Enum Syntax

public enum Syntax extends Enum<Syntax> implements Internal.EnumLite

The syntax in which a protocol buffer element is defined.

Protobuf enum google.protobuf.Syntax

Implements

Internal.EnumLite

Static Fields

NameDescription
SYNTAX_PROTO2

Syntax proto2.

SYNTAX_PROTO2 = 0;

SYNTAX_PROTO2_VALUE

Syntax proto2.

SYNTAX_PROTO2 = 0;

SYNTAX_PROTO3

Syntax proto3.

SYNTAX_PROTO3 = 1;

SYNTAX_PROTO3_VALUE

Syntax proto3.

SYNTAX_PROTO3 = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
internalGetValueMap()
internalGetVerifier()
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getNumber()