Enum Syntax (3.19.4)

  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

Name
Description
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

Name
Description
forNumber(int value)
internalGetValueMap()
internalGetVerifier()
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name
Description
getNumber()
Create a Mobile Website
View Site in Mobile | Classic
Share by: