Package com.google.protobuf
Class DescriptorProtos.DescriptorProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder>
-
- com.google.protobuf.DescriptorProtos.DescriptorProto.Builder
-
- All Implemented Interfaces:
DescriptorProtos.DescriptorProtoOrBuilder,MessageLite.Builder,MessageLiteOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.DescriptorProto
public static final class DescriptorProtos.DescriptorProto.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder> implements DescriptorProtos.DescriptorProtoOrBuilder
Describes a message type.
Protobuf typegoogle.protobuf.DescriptorProto
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.DescriptorProto.BuilderaddAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderaddAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderaddAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderaddAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderaddAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderaddAllOneofDecl(java.lang.Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderaddAllReservedName(java.lang.Iterable<java.lang.String> values)Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.BuilderaddAllReservedRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuilderaddEnumType(int index, DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderaddEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderaddEnumType(DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderaddEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderaddExtension(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderaddExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderaddExtension(DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderaddExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderaddField(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderaddField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderaddField(DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderaddField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderaddNestedType(int index, DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderaddNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderaddNestedType(DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderaddNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(DescriptorProtos.OneofDescriptorProto value)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderaddReservedName(java.lang.String value)Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.BuilderaddReservedNameBytes(ByteString value)Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.BuilderaddReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuilderaddReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuilderaddReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuilderaddReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuilderclearEnumType()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderclearExtension()repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderclearExtensionRange()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderclearField()repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderclearName()optional string name = 1;DescriptorProtos.DescriptorProto.BuilderclearNestedType()repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderclearOneofDecl()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderclearOptions()optional .google.protobuf.MessageOptions options = 7;DescriptorProtos.DescriptorProto.BuilderclearReservedName()Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.BuilderclearReservedRange()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.EnumDescriptorProtogetEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;intgetEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;java.util.List<DescriptorProtos.EnumDescriptorProto>getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.FieldDescriptorProtogetExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 6;intgetExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 6;java.util.List<DescriptorProtos.FieldDescriptorProto>getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.ExtensionRangegetExtensionRange(int index)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;intgetExtensionRangeCount()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange>getExtensionRangeList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.FieldDescriptorProtogetField(int index)repeated .google.protobuf.FieldDescriptorProto field = 2;intgetFieldCount()repeated .google.protobuf.FieldDescriptorProto field = 2;java.util.List<DescriptorProtos.FieldDescriptorProto>getFieldList()repeated .google.protobuf.FieldDescriptorProto field = 2;java.lang.StringgetName()optional string name = 1;ByteStringgetNameBytes()optional string name = 1;DescriptorProtos.DescriptorProtogetNestedType(int index)repeated .google.protobuf.DescriptorProto nested_type = 3;intgetNestedTypeCount()repeated .google.protobuf.DescriptorProto nested_type = 3;java.util.List<DescriptorProtos.DescriptorProto>getNestedTypeList()repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.OneofDescriptorProtogetOneofDecl(int index)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;intgetOneofDeclCount()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;java.util.List<DescriptorProtos.OneofDescriptorProto>getOneofDeclList()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.MessageOptionsgetOptions()optional .google.protobuf.MessageOptions options = 7;java.lang.StringgetReservedName(int index)Reserved field names, which may not be used by fields in the same message.ByteStringgetReservedNameBytes(int index)Reserved field names, which may not be used by fields in the same message.intgetReservedNameCount()Reserved field names, which may not be used by fields in the same message.java.util.List<java.lang.String>getReservedNameList()Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.ReservedRangegetReservedRange(int index)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;intgetReservedRangeCount()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;java.util.List<DescriptorProtos.DescriptorProto.ReservedRange>getReservedRangeList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;booleanhasName()optional string name = 1;booleanhasOptions()optional .google.protobuf.MessageOptions options = 7;DescriptorProtos.DescriptorProto.BuildermergeOptions(DescriptorProtos.MessageOptions value)optional .google.protobuf.MessageOptions options = 7;DescriptorProtos.DescriptorProto.BuilderremoveEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuilderremoveExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuilderremoveExtensionRange(int index)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuilderremoveField(int index)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuilderremoveNestedType(int index)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuilderremoveOneofDecl(int index)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuilderremoveReservedRange(int index)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuildersetEnumType(int index, DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuildersetEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.DescriptorProto.BuildersetExtension(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuildersetExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.BuildersetExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuildersetExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.BuildersetField(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuildersetField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.DescriptorProto.BuildersetName(java.lang.String value)optional string name = 1;DescriptorProtos.DescriptorProto.BuildersetNameBytes(ByteString value)optional string name = 1;DescriptorProtos.DescriptorProto.BuildersetNestedType(int index, DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuildersetNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProto.BuildersetOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuildersetOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.DescriptorProto.BuildersetOptions(DescriptorProtos.MessageOptions value)optional .google.protobuf.MessageOptions options = 7;DescriptorProtos.DescriptorProto.BuildersetOptions(DescriptorProtos.MessageOptions.Builder builderForValue)optional .google.protobuf.MessageOptions options = 7;DescriptorProtos.DescriptorProto.BuildersetReservedName(int index, java.lang.String value)Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.BuildersetReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.BuildersetReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
hasName
public boolean hasName()
optional string name = 1;- Specified by:
hasNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 1;- Specified by:
getNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public ByteString getNameBytes()
optional string name = 1;- Specified by:
getNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public DescriptorProtos.DescriptorProto.Builder setName(java.lang.String value)
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DescriptorProtos.DescriptorProto.Builder clearName()
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public DescriptorProtos.DescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFieldList
public java.util.List<DescriptorProtos.FieldDescriptorProto> 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
public DescriptorProtos.FieldDescriptorProto getField(int index)
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(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2;
-
clearField
public DescriptorProtos.DescriptorProto.Builder clearField()
repeated .google.protobuf.FieldDescriptorProto field = 2;
-
removeField
public DescriptorProtos.DescriptorProto.Builder removeField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> 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
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
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(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
clearExtension
public DescriptorProtos.DescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
removeExtension
public DescriptorProtos.DescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;
-
getNestedTypeList
public java.util.List<DescriptorProtos.DescriptorProto> 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
public DescriptorProtos.DescriptorProto getNestedType(int index)
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(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3;
-
clearNestedType
public DescriptorProtos.DescriptorProto.Builder clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3;
-
removeNestedType
public DescriptorProtos.DescriptorProto.Builder removeNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> 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
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
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(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
clearEnumType
public DescriptorProtos.DescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
removeEnumType
public DescriptorProtos.DescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
-
getExtensionRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> 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
public DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
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(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
clearExtensionRange
public DescriptorProtos.DescriptorProto.Builder clearExtensionRange()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
removeExtensionRange
public DescriptorProtos.DescriptorProto.Builder removeExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
-
getOneofDeclList
public java.util.List<DescriptorProtos.OneofDescriptorProto> 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
public DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
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(java.lang.Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
clearOneofDecl
public DescriptorProtos.DescriptorProto.Builder clearOneofDecl()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
removeOneofDecl
public DescriptorProtos.DescriptorProto.Builder removeOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.MessageOptions options = 7;- Specified by:
hasOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The options.
-
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7;
-
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions.Builder builderForValue)
optional .google.protobuf.MessageOptions options = 7;
-
mergeOptions
public DescriptorProtos.DescriptorProto.Builder mergeOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7;
-
clearOptions
public DescriptorProtos.DescriptorProto.Builder clearOptions()
optional .google.protobuf.MessageOptions options = 7;
-
getReservedRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ReservedRange> 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
public DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
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(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
clearReservedRange
public DescriptorProtos.DescriptorProto.Builder clearReservedRange()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
removeReservedRange
public DescriptorProtos.DescriptorProto.Builder removeReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
-
getReservedNameList
public java.util.List<java.lang.String> 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
public java.lang.String getReservedName(int index)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Specified by:
getReservedNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The reservedName at the given index.
-
getReservedNameBytes
public ByteString getReservedNameBytes(int index)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- 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
public DescriptorProtos.DescriptorProto.Builder setReservedName(int index, java.lang.String value)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Parameters:
index- The index to set the value at.value- The reservedName to set.- Returns:
- This builder for chaining.
-
addReservedName
public DescriptorProtos.DescriptorProto.Builder addReservedName(java.lang.String value)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Parameters:
value- The reservedName to add.- Returns:
- This builder for chaining.
-
addAllReservedName
public DescriptorProtos.DescriptorProto.Builder addAllReservedName(java.lang.Iterable<java.lang.String> values)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Parameters:
values- The reservedName to add.- Returns:
- This builder for chaining.
-
clearReservedName
public DescriptorProtos.DescriptorProto.Builder clearReservedName()
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Returns:
- This builder for chaining.
-
addReservedNameBytes
public DescriptorProtos.DescriptorProto.Builder addReservedNameBytes(ByteString value)
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Parameters:
value- The bytes of the reservedName to add.- Returns:
- This builder for chaining.
-
-