Class DescriptorProtos.DescriptorProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
com.google.protobuf.GeneratedMessage.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 GeneratedMessage.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 AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate List<DescriptorProtos.EnumDescriptorProto> private RepeatedFieldBuilder<DescriptorProtos.EnumDescriptorProto, DescriptorProtos.EnumDescriptorProto.Builder, DescriptorProtos.EnumDescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto.ExtensionRange, DescriptorProtos.DescriptorProto.ExtensionRange.Builder, DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> private Objectprivate List<DescriptorProtos.DescriptorProto> private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto, DescriptorProtos.DescriptorProto.Builder, DescriptorProtos.DescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.OneofDescriptorProto, DescriptorProtos.OneofDescriptorProto.Builder, DescriptorProtos.OneofDescriptorProtoOrBuilder> private DescriptorProtos.MessageOptionsprivate SingleFieldBuilder<DescriptorProtos.MessageOptions, DescriptorProtos.MessageOptions.Builder, DescriptorProtos.MessageOptionsOrBuilder> private LazyStringArrayListprivate RepeatedFieldBuilder<DescriptorProtos.DescriptorProto.ReservedRange, DescriptorProtos.DescriptorProto.ReservedRange.Builder, DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> private int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBuilder()privateBuilder(AbstractMessage.BuilderParent parent) -
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;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;optional string name = 1;repeated .google.protobuf.DescriptorProto nested_type = 3;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;Support for `export` and `local` keywords on enums.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;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;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;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;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;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;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;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;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;Support for `export` and `local` keywords on enums.booleanhasName()optional string name = 1;booleanoptional .google.protobuf.MessageOptions options = 7;booleanSupport for `export` and `local` keywords on enums.private RepeatedFieldBuilder<DescriptorProtos.EnumDescriptorProto, DescriptorProtos.EnumDescriptorProto.Builder, DescriptorProtos.EnumDescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto.ExtensionRange, DescriptorProtos.DescriptorProto.ExtensionRange.Builder, DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> protected GeneratedMessage.FieldAccessorTableGet the FieldAccessorTable for this type.private RepeatedFieldBuilder<DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto, DescriptorProtos.DescriptorProto.Builder, DescriptorProtos.DescriptorProtoOrBuilder> private RepeatedFieldBuilder<DescriptorProtos.OneofDescriptorProto, DescriptorProtos.OneofDescriptorProto.Builder, DescriptorProtos.OneofDescriptorProtoOrBuilder> private SingleFieldBuilder<DescriptorProtos.MessageOptions, DescriptorProtos.MessageOptions.Builder, DescriptorProtos.MessageOptionsOrBuilder> optional .google.protobuf.MessageOptions options = 7;private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto.ReservedRange, DescriptorProtos.DescriptorProto.ReservedRange.Builder, DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> 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;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;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;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;Support for `export` and `local` keywords on enums.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, dispose, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface 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_
-
visibility_
private int visibility_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
-
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessage.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 classGeneratedMessage.Builder<DescriptorProtos.DescriptorProto.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
Description copied from class:GeneratedMessage.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 classGeneratedMessage.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 classGeneratedMessage.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
-
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 classGeneratedMessage.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:
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; -
internalGetFieldFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> internalGetFieldFieldBuilder() -
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; -
internalGetExtensionFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.FieldDescriptorProto, DescriptorProtos.FieldDescriptorProto.Builder, DescriptorProtos.FieldDescriptorProtoOrBuilder> internalGetExtensionFieldBuilder() -
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; -
internalGetNestedTypeFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto, DescriptorProtos.DescriptorProto.Builder, DescriptorProtos.DescriptorProtoOrBuilder> internalGetNestedTypeFieldBuilder() -
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; -
internalGetEnumTypeFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.EnumDescriptorProto, DescriptorProtos.EnumDescriptorProto.Builder, DescriptorProtos.EnumDescriptorProtoOrBuilder> internalGetEnumTypeFieldBuilder() -
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; -
internalGetExtensionRangeFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto.ExtensionRange, DescriptorProtos.DescriptorProto.ExtensionRange.Builder, DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> internalGetExtensionRangeFieldBuilder() -
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; -
internalGetOneofDeclFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.OneofDescriptorProto, DescriptorProtos.OneofDescriptorProto.Builder, DescriptorProtos.OneofDescriptorProtoOrBuilder> internalGetOneofDeclFieldBuilder() -
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
-
internalGetOptionsFieldBuilder
private SingleFieldBuilder<DescriptorProtos.MessageOptions, DescriptorProtos.MessageOptions.Builder, DescriptorProtos.MessageOptionsOrBuilder> internalGetOptionsFieldBuilder()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; -
internalGetReservedRangeFieldBuilder
private RepeatedFieldBuilder<DescriptorProtos.DescriptorProto.ReservedRange, DescriptorProtos.DescriptorProto.ReservedRange.Builder, DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> internalGetReservedRangeFieldBuilder() -
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.
-
hasVisibility
public boolean hasVisibility()Support for `export` and `local` keywords on enums.
optional .google.protobuf.SymbolVisibility visibility = 11;- Specified by:
hasVisibilityin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the visibility field is set.
-
getVisibility
Support for `export` and `local` keywords on enums.
optional .google.protobuf.SymbolVisibility visibility = 11;- Specified by:
getVisibilityin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The visibility.
-
setVisibility
public DescriptorProtos.DescriptorProto.Builder setVisibility(DescriptorProtos.SymbolVisibility value) Support for `export` and `local` keywords on enums.
optional .google.protobuf.SymbolVisibility visibility = 11;- Parameters:
value- The visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
Support for `export` and `local` keywords on enums.
optional .google.protobuf.SymbolVisibility visibility = 11;- Returns:
- This builder for chaining.
-