Interface TypeOrBuilder (3.19.4)

  public 
  
 interface 
 TypeOrBuilder 
  
 extends 
  
 MessageLiteOrBuilder 
 

Methods

getFields(int index)

  public 
  
 abstract 
  
 Field 
  
 getFields 
 ( 
 int 
  
 index 
 ) 
 

The list of fields.

repeated .google.protobuf.Field fields = 2;

Parameter
Name
Description
index
int
Returns
Type
Description

getFieldsCount()

  public 
  
 abstract 
  
 int 
  
 getFieldsCount 
 () 
 

The list of fields.

repeated .google.protobuf.Field fields = 2;

Returns
Type
Description
int

getFieldsList()

  public 
  
 abstract 
  
 List<Field> 
  
 getFieldsList 
 () 
 

The list of fields.

repeated .google.protobuf.Field fields = 2;

Returns
Type
Description
List < Field >

getName()

  public 
  
 abstract 
  
 String 
  
 getName 
 () 
 

The fully qualified message name.

string name = 1;

Returns
Type
Description

The name.

getNameBytes()

  public 
  
 abstract 
  
 ByteString 
  
 getNameBytes 
 () 
 

The fully qualified message name.

string name = 1;

Returns
Type
Description

The bytes for name.

getOneofs(int index)

  public 
  
 abstract 
  
 String 
  
 getOneofs 
 ( 
 int 
  
 index 
 ) 
 

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The oneofs at the given index.

getOneofsBytes(int index)

  public 
  
 abstract 
  
 ByteString 
  
 getOneofsBytes 
 ( 
 int 
  
 index 
 ) 
 

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The oneofs at the given index.

getOneofsCount()

  public 
  
 abstract 
  
 int 
  
 getOneofsCount 
 () 
 

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Returns
Type
Description
int

The count of oneofs.

getOneofsList()

  public 
  
 abstract 
  
 List<String> 
  
 getOneofsList 
 () 
 

The list of types appearing in oneof definitions in this type.

repeated string oneofs = 3;

Returns
Type
Description
List < String >

A list containing the oneofs.

getOptions(int index)

  public 
  
 abstract 
  
 Option 
  
 getOptions 
 ( 
 int 
  
 index 
 ) 
 

The protocol buffer options.

repeated .google.protobuf.Option options = 4;

Parameter
Name
Description
index
int
Returns
Type
Description

getOptionsCount()

  public 
  
 abstract 
  
 int 
  
 getOptionsCount 
 () 
 

The protocol buffer options.

repeated .google.protobuf.Option options = 4;

Returns
Type
Description
int

getOptionsList()

  public 
  
 abstract 
  
 List<Option> 
  
 getOptionsList 
 () 
 

The protocol buffer options.

repeated .google.protobuf.Option options = 4;

Returns
Type
Description
List < Option >

getSourceContext()

  public 
  
 abstract 
  
 SourceContext 
  
 getSourceContext 
 () 
 

The source context.

.google.protobuf.SourceContext source_context = 5;

Returns
Type
Description

The sourceContext.

getSyntax()

  public 
  
 abstract 
  
 Syntax 
  
 getSyntax 
 () 
 

The source syntax.

.google.protobuf.Syntax syntax = 6;

Returns
Type
Description

The syntax.

getSyntaxValue()

  public 
  
 abstract 
  
 int 
  
 getSyntaxValue 
 () 
 

The source syntax.

.google.protobuf.Syntax syntax = 6;

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 = 5;

Returns
Type
Description

Whether the sourceContext field is set.

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