Package com.google.protobuf
Class DescriptorProtos.DescriptorProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder
- All Implemented Interfaces:
DescriptorProtos.DescriptorProtoOrBuilder,Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable
- Enclosing class:
- DescriptorProtos.DescriptorProto
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-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate List<DescriptorProtos.EnumDescriptorProto>private RepeatedFieldBuilderV3<DescriptorProtos.EnumDescriptorProto,DescriptorProtos.EnumDescriptorProto.Builder, DescriptorProtos.EnumDescriptorProtoOrBuilder> private RepeatedFieldBuilderV3<DescriptorProtos.FieldDescriptorProto,DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> private RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto.ExtensionRange,DescriptorProtos.DescriptorProto.ExtensionRange.Builder, DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> private RepeatedFieldBuilderV3<DescriptorProtos.FieldDescriptorProto,DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> private Objectprivate List<DescriptorProtos.DescriptorProto>private RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder, DescriptorProtos.DescriptorProtoOrBuilder> private RepeatedFieldBuilderV3<DescriptorProtos.OneofDescriptorProto,DescriptorProtos.OneofDescriptorProto.Builder, DescriptorProtos.OneofDescriptorProtoOrBuilder> private DescriptorProtos.MessageOptionsprivate SingleFieldBuilderV3<DescriptorProtos.MessageOptions,DescriptorProtos.MessageOptions.Builder, DescriptorProtos.MessageOptionsOrBuilder> private LazyStringArrayListprivate RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto.ReservedRange,DescriptorProtos.DescriptorProto.ReservedRange.Builder, DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllEnumType(Iterable<? extends DescriptorProtos.EnumDescriptorProto> values) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;addAllExtension(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values) repeated .google.protobuf.FieldDescriptorProto extension = 6;addAllExtensionRange(Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;addAllField(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values) repeated .google.protobuf.FieldDescriptorProto field = 2;addAllNestedType(Iterable<? extends DescriptorProtos.DescriptorProto> values) repeated .google.protobuf.DescriptorProto nested_type = 3;addAllOneofDecl(Iterable<? extends DescriptorProtos.OneofDescriptorProto> values) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;addAllReservedName(Iterable<String> values) Reserved field names, which may not be used by fields in the same message.addAllReservedRange(Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;addEnumType(int index, DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.EnumDescriptorProto enum_type = 4;addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.EnumDescriptorProto enum_type = 4;addEnumTypeBuilder(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;addExtension(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 6;addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.FieldDescriptorProto extension = 6;addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.FieldDescriptorProto extension = 6;addExtensionBuilder(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;addExtensionRangeBuilder(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;addField(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto field = 2;addField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto field = 2;repeated .google.protobuf.FieldDescriptorProto field = 2;addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto field = 2;repeated .google.protobuf.FieldDescriptorProto field = 2;addFieldBuilder(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;addNestedType(int index, DescriptorProtos.DescriptorProto value) repeated .google.protobuf.DescriptorProto nested_type = 3;addNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue) repeated .google.protobuf.DescriptorProto nested_type = 3;repeated .google.protobuf.DescriptorProto nested_type = 3;addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue) repeated .google.protobuf.DescriptorProto nested_type = 3;repeated .google.protobuf.DescriptorProto nested_type = 3;addNestedTypeBuilder(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;addOneofDeclBuilder(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;addRepeatedField(Descriptors.FieldDescriptor field, Object value) LikesetRepeatedField, but appends the value as a new element.addReservedName(String value) Reserved field names, which may not be used by fields in the same message.addReservedNameBytes(ByteString value) Reserved field names, which may not be used by fields in the same message.addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;addReservedRangeBuilder(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;build()Constructs the message based on the state of the Builder.LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.private voidprivate voidclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.repeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.FieldDescriptorProto field = 2;Clears the field.optional string name = 1;repeated .google.protobuf.DescriptorProto nested_type = 3;TODO: Clear it when all subclasses have implemented this method.repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;optional .google.protobuf.MessageOptions options = 7;Reserved field names, which may not be used by fields in the same message.repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;clone()Clones the Builder.private voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidprivate voidGet an instance of the type with no fields set.static final Descriptors.DescriptorGet the message's type's descriptor.getEnumType(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;getEnumTypeBuilder(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.EnumDescriptorProto enum_type = 4;intrepeated .google.protobuf.EnumDescriptorProto enum_type = 4;private RepeatedFieldBuilderV3<DescriptorProtos.EnumDescriptorProto,DescriptorProtos.EnumDescriptorProto.Builder, DescriptorProtos.EnumDescriptorProtoOrBuilder> repeated .google.protobuf.EnumDescriptorProto enum_type = 4;getEnumTypeOrBuilder(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.EnumDescriptorProto enum_type = 4;getExtension(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;getExtensionBuilder(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.FieldDescriptorProto extension = 6;intrepeated .google.protobuf.FieldDescriptorProto extension = 6;private RepeatedFieldBuilderV3<DescriptorProtos.FieldDescriptorProto,DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> repeated .google.protobuf.FieldDescriptorProto extension = 6;getExtensionOrBuilder(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.FieldDescriptorProto extension = 6;getExtensionRange(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;getExtensionRangeBuilder(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;intrepeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;private RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto.ExtensionRange,DescriptorProtos.DescriptorProto.ExtensionRange.Builder, DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;getExtensionRangeOrBuilder(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;getField(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;getFieldBuilder(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;repeated .google.protobuf.FieldDescriptorProto field = 2;intrepeated .google.protobuf.FieldDescriptorProto field = 2;private RepeatedFieldBuilderV3<DescriptorProtos.FieldDescriptorProto,DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> repeated .google.protobuf.FieldDescriptorProto field = 2;getFieldOrBuilder(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;repeated .google.protobuf.FieldDescriptorProto field = 2;getName()optional string name = 1;optional string name = 1;getNestedType(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;getNestedTypeBuilder(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;repeated .google.protobuf.DescriptorProto nested_type = 3;intrepeated .google.protobuf.DescriptorProto nested_type = 3;private RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder, DescriptorProtos.DescriptorProtoOrBuilder> repeated .google.protobuf.DescriptorProto nested_type = 3;getNestedTypeOrBuilder(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;List<? extends DescriptorProtos.DescriptorProtoOrBuilder>repeated .google.protobuf.DescriptorProto nested_type = 3;getOneofDecl(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;getOneofDeclBuilder(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;intrepeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;private RepeatedFieldBuilderV3<DescriptorProtos.OneofDescriptorProto,DescriptorProtos.OneofDescriptorProto.Builder, DescriptorProtos.OneofDescriptorProtoOrBuilder> repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;getOneofDeclOrBuilder(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;optional .google.protobuf.MessageOptions options = 7;optional .google.protobuf.MessageOptions options = 7;private SingleFieldBuilderV3<DescriptorProtos.MessageOptions,DescriptorProtos.MessageOptions.Builder, DescriptorProtos.MessageOptionsOrBuilder> optional .google.protobuf.MessageOptions options = 7;optional .google.protobuf.MessageOptions options = 7;getReservedName(int index) Reserved field names, which may not be used by fields in the same message.getReservedNameBytes(int index) Reserved field names, which may not be used by fields in the same message.intReserved field names, which may not be used by fields in the same message.Reserved field names, which may not be used by fields in the same message.getReservedRange(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;getReservedRangeBuilder(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;intrepeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;private RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto.ReservedRange,DescriptorProtos.DescriptorProto.ReservedRange.Builder, DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;getReservedRangeOrBuilder(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;booleanhasName()optional string name = 1;booleanoptional .google.protobuf.MessageOptions options = 7;protected GeneratedMessageV3.FieldAccessorTableGet the FieldAccessorTable for this type.final booleanReturns true if all required fields in the message and all embedded messages are set, false otherwise.private voidmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.Mergeotherinto the message being built.optional .google.protobuf.MessageOptions options = 7;mergeUnknownFields(UnknownFieldSet unknownFields) Merge some unknown fields into theUnknownFieldSetfor this message.removeEnumType(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;removeExtension(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;removeExtensionRange(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;removeField(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;removeNestedType(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;removeOneofDecl(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;removeReservedRange(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;setEnumType(int index, DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;setExtension(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 6;setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto extension = 6;setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;setField(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto field = 2;setField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto field = 2;setField(Descriptors.FieldDescriptor field, Object value) Sets a field to the given value.optional string name = 1;setNameBytes(ByteString value) optional string name = 1;setNestedType(int index, DescriptorProtos.DescriptorProto value) repeated .google.protobuf.DescriptorProto nested_type = 3;setNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue) repeated .google.protobuf.DescriptorProto nested_type = 3;setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;optional .google.protobuf.MessageOptions options = 7;setOptions(DescriptorProtos.MessageOptions.Builder builderForValue) optional .google.protobuf.MessageOptions options = 7;setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) Sets an element of a repeated field to the given value.setReservedName(int index, String value) Reserved field names, which may not be used by fields in the same message.setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;setUnknownFields(UnknownFieldSet unknownFields) Set theUnknownFieldSetfor this message.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
dispose, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
name_
-
field_
-
fieldBuilder_
-
extension_
-
extensionBuilder_
-
nestedType_
-
nestedTypeBuilder_
-
enumType_
-
enumTypeBuilder_
-
extensionRange_
-
extensionRangeBuilder_
-
oneofDecl_
-
oneofDeclBuilder_
-
options_
-
optionsBuilder_
-
reservedRange_
-
reservedRangeBuilder_
-
reservedName_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
-
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
getDescriptorForType
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
getDefaultInstanceForType
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
Description copied from interface:MessageLite.BuilderLikeMessageLite.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.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
clone
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>- See Also:
-
setField
public DescriptorProtos.DescriptorProto.Builder setField(Descriptors.FieldDescriptor field, Object value) Description copied from interface:Message.BuilderSets a field to the given value. The value must be of the correct type for this field, that is, the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)returns.- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
clearField
Description copied from interface:Message.BuilderClears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
clearOneof
Description copied from class:AbstractMessage.BuilderTODO: Clear it when all subclasses have implemented this method.- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
setRepeatedField
public DescriptorProtos.DescriptorProto.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) Description copied from interface:Message.BuilderSets an element of a repeated field to the given value. The value must be of the correct type for this field; that is, the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)returns.- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
addRepeatedField
public DescriptorProtos.DescriptorProto.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) Description copied from interface:Message.BuilderLikesetRepeatedField, but appends the value as a new element.- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
mergeFrom
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare 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::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
mergeFrom
public DescriptorProtos.DescriptorProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DescriptorProtos.DescriptorProto.Builder>- Throws:
InvalidProtocolBufferException- the bytes read are not syntactically correct according to the protobuf wire format specification. The data is corrupt, incomplete, or was never a protobuf in the first place.IOException- an I/O error reading from the stream
-
hasName
public boolean hasName()optional string name = 1;- Specified by:
hasNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;- Specified by:
getNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The name.
-
getNameBytes
optional string name = 1;- Specified by:
getNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The bytes for name.
-
setName
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
ensureFieldIsMutable
private void ensureFieldIsMutable() -
getFieldList
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldCount
public int getFieldCount()repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getField
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setField
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto field = 2; -
setField
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto field = 2; -
addField
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto field = 2; -
addField
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto field = 2; -
addField
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto field = 2; -
addField
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto field = 2; -
addAllField
public DescriptorProtos.DescriptorProto.Builder addAllField(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values) repeated .google.protobuf.FieldDescriptorProto field = 2; -
clearField
repeated .google.protobuf.FieldDescriptorProto field = 2; -
removeField
repeated .google.protobuf.FieldDescriptorProto field = 2; -
getFieldBuilder
repeated .google.protobuf.FieldDescriptorProto field = 2; -
getFieldOrBuilder
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldOrBuilderList
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addFieldBuilder
repeated .google.protobuf.FieldDescriptorProto field = 2; -
addFieldBuilder
repeated .google.protobuf.FieldDescriptorProto field = 2; -
getFieldBuilderList
repeated .google.protobuf.FieldDescriptorProto field = 2; -
getFieldFieldBuilder
-
ensureExtensionIsMutable
private void ensureExtensionIsMutable() -
getExtensionList
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtension
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setExtension
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
setExtension
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
addAllExtension
public DescriptorProtos.DescriptorProto.Builder addAllExtension(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values) repeated .google.protobuf.FieldDescriptorProto extension = 6; -
clearExtension
repeated .google.protobuf.FieldDescriptorProto extension = 6; -
removeExtension
repeated .google.protobuf.FieldDescriptorProto extension = 6; -
getExtensionBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 6; -
getExtensionOrBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionOrBuilderList
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addExtensionBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 6; -
addExtensionBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 6; -
getExtensionBuilderList
repeated .google.protobuf.FieldDescriptorProto extension = 6; -
getExtensionFieldBuilder
private RepeatedFieldBuilderV3<DescriptorProtos.FieldDescriptorProto,DescriptorProtos.FieldDescriptorProto.Builder, getExtensionFieldBuilder()DescriptorProtos.FieldDescriptorProtoOrBuilder> -
ensureNestedTypeIsMutable
private void ensureNestedTypeIsMutable() -
getNestedTypeList
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeCount
public int getNestedTypeCount()repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedType
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setNestedType
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto value) repeated .google.protobuf.DescriptorProto nested_type = 3; -
setNestedType
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue) repeated .google.protobuf.DescriptorProto nested_type = 3; -
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto value) repeated .google.protobuf.DescriptorProto nested_type = 3; -
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto value) repeated .google.protobuf.DescriptorProto nested_type = 3; -
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue) repeated .google.protobuf.DescriptorProto nested_type = 3; -
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue) repeated .google.protobuf.DescriptorProto nested_type = 3; -
addAllNestedType
public DescriptorProtos.DescriptorProto.Builder addAllNestedType(Iterable<? extends DescriptorProtos.DescriptorProto> values) repeated .google.protobuf.DescriptorProto nested_type = 3; -
clearNestedType
repeated .google.protobuf.DescriptorProto nested_type = 3; -
removeNestedType
repeated .google.protobuf.DescriptorProto nested_type = 3; -
getNestedTypeBuilder
repeated .google.protobuf.DescriptorProto nested_type = 3; -
getNestedTypeOrBuilder
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeOrBuilderList
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addNestedTypeBuilder
repeated .google.protobuf.DescriptorProto nested_type = 3; -
addNestedTypeBuilder
repeated .google.protobuf.DescriptorProto nested_type = 3; -
getNestedTypeBuilderList
repeated .google.protobuf.DescriptorProto nested_type = 3; -
getNestedTypeFieldBuilder
private RepeatedFieldBuilderV3<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder, getNestedTypeFieldBuilder()DescriptorProtos.DescriptorProtoOrBuilder> -
ensureEnumTypeIsMutable
private void ensureEnumTypeIsMutable() -
getEnumTypeList
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setEnumType
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
setEnumType
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
addAllEnumType
public DescriptorProtos.DescriptorProto.Builder addAllEnumType(Iterable<? extends DescriptorProtos.EnumDescriptorProto> values) repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
clearEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
removeEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
getEnumTypeBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
getEnumTypeOrBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addEnumTypeBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
addEnumTypeBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
getEnumTypeBuilderList
repeated .google.protobuf.EnumDescriptorProto enum_type = 4; -
getEnumTypeFieldBuilder
private RepeatedFieldBuilderV3<DescriptorProtos.EnumDescriptorProto,DescriptorProtos.EnumDescriptorProto.Builder, getEnumTypeFieldBuilder()DescriptorProtos.EnumDescriptorProtoOrBuilder> -
ensureExtensionRangeIsMutable
private void ensureExtensionRangeIsMutable() -
getExtensionRangeList
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeCount
public int getExtensionRangeCount()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRange
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setExtensionRange
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
setExtensionRange
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
addAllExtensionRange
public DescriptorProtos.DescriptorProto.Builder addAllExtensionRange(Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
clearExtensionRange
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
removeExtensionRange
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
getExtensionRangeBuilder
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
getExtensionRangeOrBuilder
public DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeOrBuilderList
public List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addExtensionRangeBuilder
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
addExtensionRangeBuilder
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
getExtensionRangeBuilderList
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; -
getExtensionRangeFieldBuilder
-
ensureOneofDeclIsMutable
private void ensureOneofDeclIsMutable() -
getOneofDeclList
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclCount
public int getOneofDeclCount()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDecl
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setOneofDecl
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
setOneofDecl
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto value) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
addAllOneofDecl
public DescriptorProtos.DescriptorProto.Builder addAllOneofDecl(Iterable<? extends DescriptorProtos.OneofDescriptorProto> values) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
clearOneofDecl
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
removeOneofDecl
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
getOneofDeclBuilder
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
getOneofDeclOrBuilder
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclOrBuilderList
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addOneofDeclBuilder
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
addOneofDeclBuilder
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
getOneofDeclBuilderList
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; -
getOneofDeclFieldBuilder
private RepeatedFieldBuilderV3<DescriptorProtos.OneofDescriptorProto,DescriptorProtos.OneofDescriptorProto.Builder, getOneofDeclFieldBuilder()DescriptorProtos.OneofDescriptorProtoOrBuilder> -
hasOptions
public boolean hasOptions()optional .google.protobuf.MessageOptions options = 7;- Specified by:
hasOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The options.
-
setOptions
optional .google.protobuf.MessageOptions options = 7; -
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions.Builder builderForValue) optional .google.protobuf.MessageOptions options = 7; -
mergeOptions
optional .google.protobuf.MessageOptions options = 7; -
clearOptions
optional .google.protobuf.MessageOptions options = 7; -
getOptionsBuilder
optional .google.protobuf.MessageOptions options = 7; -
getOptionsOrBuilder
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOptionsFieldBuilder
private SingleFieldBuilderV3<DescriptorProtos.MessageOptions,DescriptorProtos.MessageOptions.Builder, getOptionsFieldBuilder()DescriptorProtos.MessageOptionsOrBuilder> optional .google.protobuf.MessageOptions options = 7; -
ensureReservedRangeIsMutable
private void ensureReservedRangeIsMutable() -
getReservedRangeList
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeCount
public int getReservedRangeCount()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRange
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setReservedRange
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
setReservedRange
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
addAllReservedRange
public DescriptorProtos.DescriptorProto.Builder addAllReservedRange(Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
clearReservedRange
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
removeReservedRange
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
getReservedRangeBuilder
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
getReservedRangeOrBuilder
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeOrBuilderList
public List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
addReservedRangeBuilder
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
addReservedRangeBuilder
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
getReservedRangeBuilderList
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; -
getReservedRangeFieldBuilder
-
ensureReservedNameIsMutable
private void ensureReservedNameIsMutable() -
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;- Specified by:
getReservedNameListin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- A list containing the reservedName.
-
getReservedNameCount
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;- Specified by:
getReservedNameCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The count of reservedName.
-
getReservedName
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;- Specified by:
getReservedNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The reservedName at the given index.
-
getReservedNameBytes
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;- Specified by:
getReservedNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the reservedName at the given index.
-
setReservedName
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;- Parameters:
index- The index to set the value at.value- The reservedName to set.- Returns:
- This builder for chaining.
-
addReservedName
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;- Parameters:
value- The reservedName to add.- Returns:
- This builder for chaining.
-
addAllReservedName
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;- Parameters:
values- The reservedName to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addReservedNameBytes
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;- Parameters:
value- The bytes of the reservedName to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DescriptorProtos.DescriptorProto.Builder setUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-
mergeUnknownFields
public final DescriptorProtos.DescriptorProto.Builder mergeUnknownFields(UnknownFieldSet unknownFields) Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<DescriptorProtos.DescriptorProto.Builder>
-