public static final class DescriptorProtos.DescriptorProto.Builder extends GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder> implements DescriptorProtos.DescriptorProtoOrBuilder
Describes a message type.Protobuf type
google.protobuf.DescriptorProto
Modifier and Type | Method and Description |
---|---|
DescriptorProtos.DescriptorProto.Builder |
addAllEnumType(Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addAllExtension(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.DescriptorProto.Builder |
addAllExtensionRange(Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
DescriptorProtos.DescriptorProto.Builder |
addAllField(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.DescriptorProto.Builder |
addAllNestedType(Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
addAllOneofDecl(Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
addAllReservedName(Iterable<String> values)
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.Builder |
addAllReservedRange(Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
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.Builder |
addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
addOneofDecl(DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
addOneofDecl(int index,
DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
addOneofDecl(int index,
DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.OneofDescriptorProto.Builder |
addOneofDeclBuilder()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.OneofDescriptorProto.Builder |
addOneofDeclBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value)
Like
setRepeatedField , but appends the value as a new element. |
DescriptorProtos.DescriptorProto.Builder |
addReservedName(String value)
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.Builder |
addReservedNameBytes(ByteString value)
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.Builder |
addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.Builder |
addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.Builder |
addReservedRange(int index,
DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.Builder |
addReservedRange(int index,
DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.ReservedRange.Builder |
addReservedRangeBuilder()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.ReservedRange.Builder |
addReservedRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
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 |
clearField(Descriptors.FieldDescriptor field)
Clears the field.
|
DescriptorProtos.DescriptorProto.Builder |
clearName()
optional string name = 1; |
DescriptorProtos.DescriptorProto.Builder |
clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProto.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
TODO(jieluo): Clear it when all subclasses have implemented this method.
|
DescriptorProtos.DescriptorProto.Builder |
clearOneofDecl()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
clearOptions()
optional .google.protobuf.MessageOptions options = 7; |
DescriptorProtos.DescriptorProto.Builder |
clearReservedName()
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.Builder |
clearReservedRange()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
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; |
List<DescriptorProtos.EnumDescriptorProto.Builder> |
getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
List<DescriptorProtos.EnumDescriptorProto> |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
DescriptorProtos.EnumDescriptorProtoOrBuilder |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
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; |
List<DescriptorProtos.FieldDescriptorProto.Builder> |
getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
List<DescriptorProtos.FieldDescriptorProto> |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6; |
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; |
List<DescriptorProtos.DescriptorProto.ExtensionRange.Builder> |
getExtensionRangeBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
int |
getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
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; |
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; |
List<DescriptorProtos.FieldDescriptorProto.Builder> |
getFieldBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
int |
getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
List<DescriptorProtos.FieldDescriptorProto> |
getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2; |
List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getFieldOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2; |
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; |
List<DescriptorProtos.DescriptorProto.Builder> |
getNestedTypeBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
int |
getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
List<DescriptorProtos.DescriptorProto> |
getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.DescriptorProtoOrBuilder |
getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3; |
List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getNestedTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3; |
DescriptorProtos.OneofDescriptorProto |
getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.OneofDescriptorProto.Builder |
getOneofDeclBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
List<DescriptorProtos.OneofDescriptorProto.Builder> |
getOneofDeclBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
int |
getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
List<DescriptorProtos.OneofDescriptorProto> |
getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.OneofDescriptorProtoOrBuilder |
getOneofDeclOrBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> |
getOneofDeclOrBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
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; |
String |
getReservedName(int index)
Reserved field names, which may not be used by fields in the same message.
|
ByteString |
getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message.
|
int |
getReservedNameCount()
Reserved field names, which may not be used by fields in the same message.
|
ProtocolStringList |
getReservedNameList()
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.ReservedRange |
getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.ReservedRange.Builder |
getReservedRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
List<DescriptorProtos.DescriptorProto.ReservedRange.Builder> |
getReservedRangeBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
int |
getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
List<DescriptorProtos.DescriptorProto.ReservedRange> |
getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder |
getReservedRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> |
getReservedRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasOptions()
optional .google.protobuf.MessageOptions options = 7; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.
|
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
Merge some unknown fields into the
UnknownFieldSet for this message. |
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 |
removeOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
removeReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
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(Descriptors.FieldDescriptor field,
Object value)
Sets a field to the given value.
|
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(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 |
setOneofDecl(int index,
DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
DescriptorProtos.DescriptorProto.Builder |
setOneofDecl(int index,
DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
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; |
DescriptorProtos.DescriptorProto.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value)
Sets an element of a repeated field to the given value.
|
DescriptorProtos.DescriptorProto.Builder |
setReservedName(int index,
String value)
Reserved field names, which may not be used by fields in the same message.
|
DescriptorProtos.DescriptorProto.Builder |
setReservedRange(int index,
DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.Builder |
setReservedRange(int index,
DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
DescriptorProtos.DescriptorProto.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
Set the
UnknownFieldSet for this message. |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3.Builder
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder clear()
GeneratedMessageV3.Builder
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public Descriptors.Descriptor getDescriptorForType()
Message.Builder
MessageOrBuilder.getDescriptorForType()
.getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.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 clone()
MessageLite.Builder
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
Object.clone()
public DescriptorProtos.DescriptorProto.Builder setField(Descriptors.FieldDescriptor field, Object value)
Message.Builder
MessageOrBuilder.getField(Descriptors.FieldDescriptor)
would return.setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder clearField(Descriptors.FieldDescriptor field)
Message.Builder
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder clearOneof(Descriptors.OneofDescriptor oneof)
AbstractMessage.Builder
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Message.Builder
MessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)
would return.setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Message.Builder
setRepeatedField
, but appends the value as a new element.addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.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:
* For singular primitive fields, if the field is set in other
, then other
's
value overwrites the value in this message.
* For singular message fields, if the field is set in other
, it is merged into the
corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements in other
are concatenated with the elements in
this message.
* For oneof groups, if the other message has one of the fields set, the group of this message
is cleared and replaced by the field of the other message, so that the oneof constraint is
preserved.
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 GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public DescriptorProtos.DescriptorProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws 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>
IOException
public boolean hasName()
optional string name = 1;
hasName
in interface DescriptorProtos.DescriptorProtoOrBuilder
public 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(String value)
optional string name = 1;
value
- The name to set.public DescriptorProtos.DescriptorProto.Builder clearName()
optional string name = 1;
public DescriptorProtos.DescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1;
value
- The bytes for name to set.public 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(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 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 List<DescriptorProtos.FieldDescriptorProto.Builder> getFieldBuilderList()
repeated .google.protobuf.FieldDescriptorProto field = 2;
public 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(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 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 List<DescriptorProtos.FieldDescriptorProto.Builder> getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
public 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(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 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 List<DescriptorProtos.DescriptorProto.Builder> getNestedTypeBuilderList()
repeated .google.protobuf.DescriptorProto nested_type = 3;
public 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(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 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 List<DescriptorProtos.EnumDescriptorProto.Builder> getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
public 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(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 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 List<DescriptorProtos.DescriptorProto.ExtensionRange.Builder> getExtensionRangeBuilderList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
public List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDeclList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDeclCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDecl
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder addAllOneofDecl(Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder clearOneofDecl()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.DescriptorProto.Builder removeOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.OneofDescriptorProto.Builder getOneofDeclBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDeclOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> getOneofDeclOrBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
getOneofDeclOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.OneofDescriptorProto.Builder addOneofDeclBuilder()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public DescriptorProtos.OneofDescriptorProto.Builder addOneofDeclBuilder(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
public List<DescriptorProtos.OneofDescriptorProto.Builder> getOneofDeclBuilderList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
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
public List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRangeList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRangeCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRange
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder addAllReservedRange(Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder clearReservedRange()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.Builder removeReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.ReservedRange.Builder getReservedRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRangeOrBuilder
in interface DescriptorProtos.DescriptorProtoOrBuilder
public List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
getReservedRangeOrBuilderList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public DescriptorProtos.DescriptorProto.ReservedRange.Builder addReservedRangeBuilder()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public DescriptorProtos.DescriptorProto.ReservedRange.Builder addReservedRangeBuilder(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public List<DescriptorProtos.DescriptorProto.ReservedRange.Builder> getReservedRangeBuilderList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
public ProtocolStringList getReservedNameList()
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
getReservedNameList
in interface DescriptorProtos.DescriptorProtoOrBuilder
public int getReservedNameCount()
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
getReservedNameCount
in interface DescriptorProtos.DescriptorProtoOrBuilder
public String getReservedName(int index)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
getReservedName
in interface DescriptorProtos.DescriptorProtoOrBuilder
index
- The index of the element to return.public ByteString getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
getReservedNameBytes
in interface DescriptorProtos.DescriptorProtoOrBuilder
index
- The index of the value to return.public DescriptorProtos.DescriptorProto.Builder setReservedName(int index, String value)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
index
- The index to set the value at.value
- The reservedName to set.public DescriptorProtos.DescriptorProto.Builder addReservedName(String value)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
value
- The reservedName to add.public DescriptorProtos.DescriptorProto.Builder addAllReservedName(Iterable<String> values)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
values
- The reservedName to add.public DescriptorProtos.DescriptorProto.Builder clearReservedName()
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
public DescriptorProtos.DescriptorProto.Builder addReservedNameBytes(ByteString value)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;
value
- The bytes of the reservedName to add.public final DescriptorProtos.DescriptorProto.Builder setUnknownFields(UnknownFieldSet unknownFields)
Message.Builder
UnknownFieldSet
for this message.setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
public final DescriptorProtos.DescriptorProto.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Message.Builder
UnknownFieldSet
for this message.mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
Copyright © 2008–2021. All rights reserved.