public interface TypeOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Field |
getFields(int index)
The list of fields.
|
int |
getFieldsCount()
The list of fields.
|
java.util.List<Field> |
getFieldsList()
The list of fields.
|
FieldOrBuilder |
getFieldsOrBuilder(int index)
The list of fields.
|
java.util.List<? extends FieldOrBuilder> |
getFieldsOrBuilderList()
The list of fields.
|
java.lang.String |
getName()
The fully qualified message name.
|
ByteString |
getNameBytes()
The fully qualified message name.
|
java.lang.String |
getOneofs(int index)
The list of types appearing in `oneof` definitions in this type.
|
ByteString |
getOneofsBytes(int index)
The list of types appearing in `oneof` definitions in this type.
|
int |
getOneofsCount()
The list of types appearing in `oneof` definitions in this type.
|
java.util.List<java.lang.String> |
getOneofsList()
The list of types appearing in `oneof` definitions in this type.
|
Option |
getOptions(int index)
The protocol buffer options.
|
int |
getOptionsCount()
The protocol buffer options.
|
java.util.List<Option> |
getOptionsList()
The protocol buffer options.
|
OptionOrBuilder |
getOptionsOrBuilder(int index)
The protocol buffer options.
|
java.util.List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
The protocol buffer options.
|
SourceContext |
getSourceContext()
The source context.
|
SourceContextOrBuilder |
getSourceContextOrBuilder()
The source context.
|
Syntax |
getSyntax()
The source syntax.
|
int |
getSyntaxValue()
The source syntax.
|
boolean |
hasSourceContext()
The source context.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getName()
The fully qualified message name.
string name = 1;
ByteString getNameBytes()
The fully qualified message name.
string name = 1;
java.util.List<Field> getFieldsList()
The list of fields.
repeated .google.protobuf.Field fields = 2;
Field getFields(int index)
The list of fields.
repeated .google.protobuf.Field fields = 2;
int getFieldsCount()
The list of fields.
repeated .google.protobuf.Field fields = 2;
java.util.List<? extends FieldOrBuilder> getFieldsOrBuilderList()
The list of fields.
repeated .google.protobuf.Field fields = 2;
FieldOrBuilder getFieldsOrBuilder(int index)
The list of fields.
repeated .google.protobuf.Field fields = 2;
java.util.List<java.lang.String> getOneofsList()
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
int getOneofsCount()
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
java.lang.String getOneofs(int index)
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
ByteString getOneofsBytes(int index)
The list of types appearing in `oneof` definitions in this type.
repeated string oneofs = 3;
java.util.List<Option> getOptionsList()
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
Option getOptions(int index)
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
int getOptionsCount()
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
java.util.List<? extends OptionOrBuilder> getOptionsOrBuilderList()
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
OptionOrBuilder getOptionsOrBuilder(int index)
The protocol buffer options.
repeated .google.protobuf.Option options = 4;
boolean hasSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 5;
SourceContext getSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 5;
SourceContextOrBuilder getSourceContextOrBuilder()
The source context.
.google.protobuf.SourceContext source_context = 5;
int getSyntaxValue()
The source syntax.
.google.protobuf.Syntax syntax = 6;
Syntax getSyntax()
The source syntax.
.google.protobuf.Syntax syntax = 6;
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.