public enum DescriptorProtos.FieldOptions.JSType extends Enum<DescriptorProtos.FieldOptions.JSType> implements ProtocolMessageEnum
Protobuf enum google.protobuf.FieldOptions.JSType
Implements
ProtocolMessageEnumInherited Members
Static Fields |
|
---|---|
Name | Description |
JS_NORMAL |
Use the default type. |
JS_NORMAL_VALUE |
Use the default type. |
JS_NUMBER |
Use JavaScript numbers. |
JS_NUMBER_VALUE |
Use JavaScript numbers. |
JS_STRING |
Use JavaScript strings. |
JS_STRING_VALUE |
Use JavaScript strings. |
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. |