public enum DescriptorProtos.FieldOptions.CType extends Enum<DescriptorProtos.FieldOptions.CType> implements ProtocolMessageEnum
Protobuf enum google.protobuf.FieldOptions.CType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
CORD |
|
CORD_VALUE |
|
STRING |
Default mode. |
STRING_PIECE |
|
STRING_PIECE_VALUE |
|
STRING_VALUE |
Default mode. |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
Return the enum type's descriptor, which contains information about each defined value, etc. |
getNumber() |
Return the value's numeric value as defined in the .proto file. |
getValueDescriptor() |
Return the value's descriptor, which contains information such as value name, number, and type. |