- show
signature(object = "EnumDescriptor"): small information
- as.character
signature(x = "EnumDescriptor"):
returns the debug string of the enum descriptor.
This is retrieved by a call to the DebugString
method of the EnumDescriptor object.
- toString
signature(x = "EnumDescriptor"): same as as.character
- $
signature(x = "EnumDescriptor"): get the
number associated with the name
- has
signature(object = "EnumDescriptor"): indicate if
the given name is a constant present in this enum.
- containing_type
signature(object = "EnumDescriptor") : returns a Descriptor of the message type that contains this enum descriptor, or NULL if this is a top level enum descriptor.
- length
signature(x = "EnumDescriptor") : number of constants in this enum.
- value_count
signature(object = "EnumDescriptor") : number of constants in this enum.
- value
signature(object = "EnumDescriptor") : extracts an EnumValueDescriptor.
Exactly one argument of index, number or name has to be
used.
If index is used, the enum value descriptor is retrieved
by position, using the value method of the C++ class.
If number is used, the enum value descriptor is retrieved
using the value of the constant, using the FindValueByNumber
C++ method.
If name is used, the enum value descriptor is retrieved
using the name of the constant, using the FindValueByName
C++ method.
- [[
signature(x = "EnumDescriptor"): extracts field identified by its name or declared tag number
- names
signature(x = "EnumDescriptor") : extracts names of this enum