public static final class DescriptorProtos.DescriptorProto.Builder extends GeneratedMessage.Builder<DescriptorProtos.DescriptorProto.Builder> implements DescriptorProtos.DescriptorProtoOrBuilder
google.protobuf.DescriptorProto
Describes a message type.
Modifier and Type | Method and Description |
---|---|
DescriptorProtos.DescriptorProto.Builder |
addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
addAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
addAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
addAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addEnumType(int index,
DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addEnumType(int index,
DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.EnumDescriptorProto.Builder |
addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.EnumDescriptorProto.Builder |
addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
addExtension(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
addExtension(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.FieldDescriptorProto.Builder |
addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.FieldDescriptorProto.Builder |
addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
addExtensionRange(int index,
DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
addExtensionRange(int index,
DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.ExtensionRange.Builder |
addExtensionRangeBuilder()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.ExtensionRange.Builder |
addExtensionRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
addField(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
addField(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
addField(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.FieldDescriptorProto.Builder |
addFieldBuilder()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.FieldDescriptorProto.Builder |
addFieldBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addNestedType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addNestedType(int index,
DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addNestedType(int index,
DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addNestedTypeBuilder()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addNestedTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto |
build()
Constructs the message based on the state of the Builder.
|
DescriptorProtos.DescriptorProto |
buildPartial()
Like
MessageLite.Builder.build() , but does not throw an exception if the message
is missing required fields. |
DescriptorProtos.DescriptorProto.Builder |
clear()
Called by the initialization and clear code paths to allow subclasses to
reset any of their builtin fields back to the initial values.
|
DescriptorProtos.DescriptorProto.Builder |
clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
clearExtensionRange()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
clearField()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
clearName()
optional string name = 1; |
DescriptorProtos.DescriptorProto.Builder |
clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
clearOptions()
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.DescriptorProto.Builder |
clone()
Clones the Builder.
|
DescriptorProtos.DescriptorProto |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType()
Get the message's type's descriptor.
|
DescriptorProtos.EnumDescriptorProto |
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.EnumDescriptorProto.Builder |
getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> |
getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
java.util.List<DescriptorProtos.EnumDescriptorProto> |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.EnumDescriptorProtoOrBuilder |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> |
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.FieldDescriptorProto |
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.FieldDescriptorProto.Builder |
getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> |
getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
java.util.List<DescriptorProtos.FieldDescriptorProto> |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.ExtensionRange |
getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.ExtensionRange.Builder |
getExtensionRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange.Builder> |
getExtensionRangeBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
int |
getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> |
getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder |
getExtensionRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
java.util.List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> |
getExtensionRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.FieldDescriptorProto |
getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.FieldDescriptorProto.Builder |
getFieldBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> |
getFieldBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
int |
getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.util.List<DescriptorProtos.FieldDescriptorProto> |
getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getFieldOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
java.lang.String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
DescriptorProtos.DescriptorProto |
getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
getNestedTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
java.util.List<DescriptorProtos.DescriptorProto.Builder> |
getNestedTypeBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
int |
getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
java.util.List<DescriptorProtos.DescriptorProto> |
getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProtoOrBuilder |
getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getNestedTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.MessageOptions |
getOptions()
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.MessageOptions.Builder |
getOptionsBuilder()
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.MessageOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.MessageOptions options = 7; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasOptions()
optional .google.protobuf.MessageOptions options = 7; |
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded
messages are set, false otherwise.
|
DescriptorProtos.DescriptorProto.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry)
Like
MessageLite.Builder.mergeFrom(CodedInputStream) , but also
parses extensions. |
DescriptorProtos.DescriptorProto.Builder |
mergeFrom(DescriptorProtos.DescriptorProto other) |
DescriptorProtos.DescriptorProto.Builder |
mergeFrom(Message other)
Merge
other into the message being built. |
DescriptorProtos.DescriptorProto.Builder |
mergeOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.DescriptorProto.Builder |
removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
removeExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
removeField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
removeNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
setEnumType(int index,
DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
setEnumType(int index,
DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
setExtension(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
setExtension(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
setExtensionRange(int index,
DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
setExtensionRange(int index,
DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
setField(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
setField(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
setName(java.lang.String value)
optional string name = 1; |
DescriptorProtos.DescriptorProto.Builder |
setNameBytes(ByteString value)
optional string name = 1; |
DescriptorProtos.DescriptorProto.Builder |
setNestedType(int index,
DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
setNestedType(int index,
DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
setOptions(DescriptorProtos.MessageOptions.Builder builderForValue)
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.DescriptorProto.Builder |
setOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
public static final Descriptors.Descriptor getDescriptor()
public DescriptorProtos.DescriptorProto.Builder clear()
GeneratedMessage.Builder
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder clone()
MessageLite.Builder
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
Object.clone()
public Descriptors.Descriptor getDescriptorForType()
Message.Builder
MessageOrBuilder.getDescriptorForType()
.getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance()
method of generated message classes in that
this method is an abstract method of the MessageLite
interface
whereas getDefaultInstance()
is a static method of a specific
class. They return the same thing.getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DescriptorProtos.DescriptorProto build()
MessageLite.Builder
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DescriptorProtos.DescriptorProto buildPartial()
MessageLite.Builder
MessageLite.Builder.build()
, but does not throw an exception if the message
is missing required fields. Instead, a partial message is returned.
Subsequent changes to the Builder will not affect the returned message.buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DescriptorProtos.DescriptorProto.Builder mergeFrom(Message other)
Message.Builder
other
into the message being built. other
must
have the exact same type as this
(i.e.
getDescriptorForType() == other.getDescriptorForType()
).
Merging occurs as follows. For each field:other
,
then other
's value overwrites the value in this message.other
,
it is merged into the corresponding sub-message of this message
using the same merging rules.other
are concatenated
with the elements in this message.
This is equivalent to the Message::MergeFrom
method in C++.mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder mergeFrom(DescriptorProtos.DescriptorProto other)
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
MessageLite.Builder
MessageLite.Builder.mergeFrom(CodedInputStream)
, but also
parses extensions. The extensions that you want to be able to parse
must be registered in extensionRegistry
. Extensions not in
the registry will be treated as unknown fields.mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
java.io.IOException
public boolean hasName()
optional string name = 1;
hasName
in interface DescriptorProtos.DescriptorProtoOrBuilder
public java.lang.String getName()
optional string name = 1;
getName
in interface DescriptorProtos.DescriptorProtoOrBuilder
public ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setName(java.lang.String value)
optional string name = 1;
public DescriptorProtos.DescriptorProto.Builder clearName()
optional string name = 1;
public DescriptorProtos.DescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1;
public java.util.List<DescriptorProtos.FieldDescriptorProto> getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
getFieldList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2;
getFieldCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.FieldDescriptorProto getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
getField
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder addAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder clearField()
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.DescriptorProto.Builder removeField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.FieldDescriptorProto.Builder getFieldBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
getFieldOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getFieldOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
getFieldOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.FieldDescriptorProto.Builder addFieldBuilder()
repeated .google.protobuf.FieldDescriptorProto field = 2;
public DescriptorProtos.FieldDescriptorProto.Builder addFieldBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
public java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> getFieldBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtension
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.DescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
getExtensionOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public java.util.List<DescriptorProtos.DescriptorProto> getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedTypeList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedTypeCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedType
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder addAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder removeNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder getNestedTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedTypeOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getNestedTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
getNestedTypeOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder addNestedTypeBuilder()
repeated .google.protobuf.DescriptorProto nested_type = 3;
public DescriptorProtos.DescriptorProto.Builder addNestedTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
public java.util.List<DescriptorProtos.DescriptorProto.Builder> getNestedTypeBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumTypeList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumTypeCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumType
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.DescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumTypeOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
getEnumTypeOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRangeList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRangeCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRange
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder addAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder clearExtensionRange()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.Builder removeExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder getExtensionRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRangeOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public java.util.List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
getExtensionRangeOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder addExtensionRangeBuilder()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder addExtensionRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange.Builder> getExtensionRangeBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public boolean hasOptions()
optional .google.protobuf.MessageOptions options = 7;
hasOptions
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7;
getOptions
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7;
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions.Builder builderForValue)
optional .google.protobuf.MessageOptions options = 7;
public DescriptorProtos.DescriptorProto.Builder mergeOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7;
public DescriptorProtos.DescriptorProto.Builder clearOptions()
optional .google.protobuf.MessageOptions options = 7;
public DescriptorProtos.MessageOptions.Builder getOptionsBuilder()
optional .google.protobuf.MessageOptions options = 7;
public DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MessageOptions options = 7;
getOptionsOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder