Interface EnumOrBuilder (3.19.4)

  public 
  
 interface 
 EnumOrBuilder 
  
 extends 
  
 MessageLiteOrBuilder 
 

Methods

getEnumvalue(int index)

  public 
  
 abstract 
  
 EnumValue 
  
 getEnumvalue 
 ( 
 int 
  
 index 
 ) 
 

Enum value definitions.

repeated .google.protobuf.EnumValue enumvalue = 2;

Parameter
Name
Description
index
int
Returns
Type
Description

getEnumvalueCount()

  public 
  
 abstract 
  
 int 
  
 getEnumvalueCount 
 () 
 

Enum value definitions.

repeated .google.protobuf.EnumValue enumvalue = 2;

Returns
Type
Description
int

getEnumvalueList()

  public 
  
 abstract 
  
 List<EnumValue> 
  
 getEnumvalueList 
 () 
 

Enum value definitions.

repeated .google.protobuf.EnumValue enumvalue = 2;

Returns
Type
Description

getName()

  public 
  
 abstract 
  
 String 
  
 getName 
 () 
 

Enum type name.

string name = 1;

Returns
Type
Description

The name.

getNameBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getNameBytes 
 () 
 

Enum type name.

string name = 1;

Returns
Type
Description

The bytes for name.

getOptions(int index)

  public 
  
 abstract 
  
 Option 
  
 getOptions 
 ( 
 int 
  
 index 
 ) 
 

Protocol buffer options.

repeated .google.protobuf.Option options = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

getOptionsCount()

  public 
  
 abstract 
  
 int 
  
 getOptionsCount 
 () 
 

Protocol buffer options.

repeated .google.protobuf.Option options = 3;

Returns
Type
Description
int

getOptionsList()

  public 
  
 abstract 
  
 List<Option> 
  
 getOptionsList 
 () 
 

Protocol buffer options.

repeated .google.protobuf.Option options = 3;

Returns
Type
Description
List < Option >

getSourceContext()

  public 
  
 abstract 
  
 SourceContext 
  
 getSourceContext 
 () 
 

The source context.

.google.protobuf.SourceContext source_context = 4;

Returns
Type
Description

The sourceContext.

getSyntax()

  public 
  
 abstract 
  
 Syntax 
  
 getSyntax 
 () 
 

The source syntax.

.google.protobuf.Syntax syntax = 5;

Returns
Type
Description

The syntax.

getSyntaxValue()

  public 
  
 abstract 
  
 int 
  
 getSyntaxValue 
 () 
 

The source syntax.

.google.protobuf.Syntax syntax = 5;

Returns
Type
Description
int

The enum numeric value on the wire for syntax.

hasSourceContext()

  public 
  
 abstract 
  
 boolean 
  
 hasSourceContext 
 () 
 

The source context.

.google.protobuf.SourceContext source_context = 4;

Returns
Type
Description

Whether the sourceContext field is set.

Design a Mobile Site
View Site in Mobile | Classic
Share by: