public interface TypeOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Field |
getFields(int index)
repeated .google.protobuf.Field fields = 2; |
int |
getFieldsCount()
repeated .google.protobuf.Field fields = 2; |
List<Field> |
getFieldsList()
repeated .google.protobuf.Field fields = 2; |
FieldOrBuilder |
getFieldsOrBuilder(int index)
repeated .google.protobuf.Field fields = 2; |
List<? extends FieldOrBuilder> |
getFieldsOrBuilderList()
repeated .google.protobuf.Field fields = 2; |
String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
String |
getOneofs(int index)
repeated string oneofs = 3; |
ByteString |
getOneofsBytes(int index)
repeated string oneofs = 3; |
int |
getOneofsCount()
repeated string oneofs = 3; |
ProtocolStringList |
getOneofsList()
repeated string oneofs = 3; |
Option |
getOptions(int index)
repeated .google.protobuf.Option options = 4; |
int |
getOptionsCount()
repeated .google.protobuf.Option options = 4; |
List<Option> |
getOptionsList()
repeated .google.protobuf.Option options = 4; |
OptionOrBuilder |
getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 4; |
List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 4; |
SourceContext |
getSourceContext()
optional .google.protobuf.SourceContext source_context = 5; |
SourceContextOrBuilder |
getSourceContextOrBuilder()
optional .google.protobuf.SourceContext source_context = 5; |
boolean |
hasSourceContext()
optional .google.protobuf.SourceContext source_context = 5; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
optional string name = 1;
The fully qualified message name.
ByteString getNameBytes()
optional string name = 1;
The fully qualified message name.
List<Field> getFieldsList()
repeated .google.protobuf.Field fields = 2;
The list of fields.
Field getFields(int index)
repeated .google.protobuf.Field fields = 2;
The list of fields.
int getFieldsCount()
repeated .google.protobuf.Field fields = 2;
The list of fields.
List<? extends FieldOrBuilder> getFieldsOrBuilderList()
repeated .google.protobuf.Field fields = 2;
The list of fields.
FieldOrBuilder getFieldsOrBuilder(int index)
repeated .google.protobuf.Field fields = 2;
The list of fields.
ProtocolStringList getOneofsList()
repeated string oneofs = 3;
The list of oneof definitions. The list of oneofs declared in this Type
int getOneofsCount()
repeated string oneofs = 3;
The list of oneof definitions. The list of oneofs declared in this Type
String getOneofs(int index)
repeated string oneofs = 3;
The list of oneof definitions. The list of oneofs declared in this Type
ByteString getOneofsBytes(int index)
repeated string oneofs = 3;
The list of oneof definitions. The list of oneofs declared in this Type
List<Option> getOptionsList()
repeated .google.protobuf.Option options = 4;
The proto options.
Option getOptions(int index)
repeated .google.protobuf.Option options = 4;
The proto options.
int getOptionsCount()
repeated .google.protobuf.Option options = 4;
The proto options.
List<? extends OptionOrBuilder> getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 4;
The proto options.
OptionOrBuilder getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 4;
The proto options.
boolean hasSourceContext()
optional .google.protobuf.SourceContext source_context = 5;
The source context.
SourceContext getSourceContext()
optional .google.protobuf.SourceContext source_context = 5;
The source context.
SourceContextOrBuilder getSourceContextOrBuilder()
optional .google.protobuf.SourceContext source_context = 5;
The source context.
Copyright © 2008–2015 Google. All rights reserved.