Top Methods
com.google.protobuf

public Interface TypeOrBuilder

extends MessageOrBuilder
Known Direct Implementers
com.google.protobuf.Type, com.google.protobuf.Type.Builder

Method Summary

Modifier and TypeMethod and Description
public Field
getFields(int index)

The list of fields.
public int
getFieldsCount()

The list of fields.
public List<Field>
getFieldsList()

The list of fields.
public FieldOrBuilder
getFieldsOrBuilder(int index)

The list of fields.
public List<? extends FieldOrBuilder>
getFieldsOrBuilderList()

The list of fields.
public String
getName()

The fully qualified message name.
public ByteString
getNameBytes()

The fully qualified message name.
public String
getOneofs(int index)

The list of types appearing in `oneof` definitions in this type.
public ByteString
getOneofsBytes(int index)

The list of types appearing in `oneof` definitions in this type.
public int
getOneofsCount()

The list of types appearing in `oneof` definitions in this type.
public List<String>
getOneofsList()

The list of types appearing in `oneof` definitions in this type.
public Option
getOptions(int index)

The protocol buffer options.
public int
getOptionsCount()

The protocol buffer options.
public List<Option>
getOptionsList()

The protocol buffer options.
public OptionOrBuilder
getOptionsOrBuilder(int index)

The protocol buffer options.
public List<? extends OptionOrBuilder>
getOptionsOrBuilderList()

The protocol buffer options.
public SourceContext
getSourceContext()

The source context.
public SourceContextOrBuilder
getSourceContextOrBuilder()

The source context.
public Syntax
getSyntax()

The source syntax.
public int
getSyntaxValue()

The source syntax.
public boolean
hasSourceContext()

The source context.
Inherited from com.google.protobuf.MessageOrBuilder:
findInitializationErrorsgetAllFieldsgetDefaultInstanceForTypegetDescriptorForTypegetFieldgetInitializationErrorStringgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCountgetUnknownFieldshasFieldhasOneof

Method Detail

getFieldsback to summary
public Field getFields(int index)
The list of fields.
repeated .google.protobuf.Field fields = 2;
getFieldsCountback to summary
public int getFieldsCount()
The list of fields.
repeated .google.protobuf.Field fields = 2;
getFieldsListback to summary
public List<Field> getFieldsList()
The list of fields.
repeated .google.protobuf.Field fields = 2;
getFieldsOrBuilderback to summary
public FieldOrBuilder getFieldsOrBuilder(int index)
The list of fields.
repeated .google.protobuf.Field fields = 2;
getFieldsOrBuilderListback to summary
public List<? extends FieldOrBuilder> getFieldsOrBuilderList()
The list of fields.
repeated .google.protobuf.Field fields = 2;
getNameback to summary
public String getName()
The fully qualified message name.
string name = 1;
getNameBytesback to summary
public ByteString getNameBytes()
The fully qualified message name.
string name = 1;
getOneofsback to summary
public String getOneofs(int index)
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
getOneofsBytesback to summary
public ByteString getOneofsBytes(int index)
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
getOneofsCountback to summary
public int getOneofsCount()
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
getOneofsListback to summary
public List<String> getOneofsList()
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
getOptionsback to summary
public Option getOptions(int index)
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
getOptionsCountback to summary
public int getOptionsCount()
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
getOptionsListback to summary
public List<Option> getOptionsList()
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
getOptionsOrBuilderback to summary
public OptionOrBuilder getOptionsOrBuilder(int index)
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
getOptionsOrBuilderListback to summary
public List<? extends OptionOrBuilder> getOptionsOrBuilderList()
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
getSourceContextback to summary
public SourceContext getSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 5;
getSourceContextOrBuilderback to summary
public SourceContextOrBuilder getSourceContextOrBuilder()
The source context.
.google.protobuf.SourceContext source_context = 5;
getSyntaxback to summary
public Syntax getSyntax()
The source syntax.
.google.protobuf.Syntax syntax = 6;
getSyntaxValueback to summary
public int getSyntaxValue()
The source syntax.
.google.protobuf.Syntax syntax = 6;
hasSourceContextback to summary
public boolean hasSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 5;