The syntax in which a protocol buffer element is defined.Protobuf enum
google.protobuf.Syntax
| Modifier and Type | Field and Description |
|---|---|
| private static final Internal. | |
| public static final Syntax | SYNTAX_PROTO2
Syntax `proto2`. |
| public static final int | SYNTAX_PROTO2_VALUE
Syntax `proto2`. |
| public static final Syntax | SYNTAX_PROTO3
Syntax `proto3`. |
| public static final int | SYNTAX_PROTO3_VALUE
Syntax `proto3`. |
| public static final Syntax | |
| private final int | |
| private static final Syntax[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Syntax | |
| public static final Descriptors. | |
| public final Descriptors. | getDescriptorForType()
Implements com. |
| public final int | getNumber()
Implements com. |
| public final Descriptors. | getValueDescriptor()
Implements com. |
| public static Internal. | |
| public static Syntax | |
| public static Syntax | |
| public static Syntax | |
| public static Syntax[] |
| internalValueMap | back to summary |
|---|---|
| private static final Internal. | |
| SYNTAX_PROTO2 | back to summary |
|---|---|
public static final Syntax SYNTAX_PROTO2Syntax `proto2`. SYNTAX_PROTO2 = 0;
| |
| SYNTAX_PROTO2_VALUE | back to summary |
|---|---|
public static final int SYNTAX_PROTO2_VALUESyntax `proto2`. SYNTAX_PROTO2 = 0;
| |
| SYNTAX_PROTO3 | back to summary |
|---|---|
public static final Syntax SYNTAX_PROTO3Syntax `proto3`. SYNTAX_PROTO3 = 1;
| |
| SYNTAX_PROTO3_VALUE | back to summary |
|---|---|
public static final int SYNTAX_PROTO3_VALUESyntax `proto3`. SYNTAX_PROTO3 = 1;
| |
| UNRECOGNIZED | back to summary |
|---|---|
| public static final Syntax UNRECOGNIZED | |
| value | back to summary |
|---|---|
| private final int value | |
| VALUES | back to summary |
|---|---|
| private static final Syntax[] VALUES | |
| Syntax | back to summary |
|---|---|
| private Syntax(int value) | |
| forNumber | back to summary |
|---|---|
| public static Syntax forNumber(int value) | |
| getDescriptor | back to summary |
|---|---|
| public static final Descriptors. | |
| getDescriptorForType | back to summary |
|---|---|
| public final Descriptors. Implements com. Doc from com. Return the enum type's descriptor, which contains information about each defined value, etc. | |
| getNumber | back to summary |
|---|---|
| public final int getNumber() Implements com. Doc from com. Return the value's numeric value as defined in the .proto file. | |
| getValueDescriptor | back to summary |
|---|---|
| public final Descriptors. Implements com. Doc from com. Return the value's descriptor, which contains information such as value name, number, and type. | |
| internalGetValueMap | back to summary |
|---|---|
| public static Internal. | |
| valueOf | back to summary |
|---|---|
| public static Syntax valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static Syntax valueOf(int value)
Deprecated Use
| |
| valueOf | back to summary |
|---|---|
| public static Syntax valueOf(Descriptors. | |
| values | back to summary |
|---|---|
| public static Syntax[] values() | |