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
Protobuf typegoogle.protobuf.DescriptorProto
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.DescriptorProto.Builder
addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
addAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
addAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
addAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
addAllOneofDecl(java.lang.Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
addAllReservedName(java.lang.Iterable<java.lang.String> values)
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.Builder
addAllReservedRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
addField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
addField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
addField(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
addNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
addNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
addNestedType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
addOneofDecl(DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
addReservedName(java.lang.String value)
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.Builder
addReservedNameBytes(ByteString value)
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.Builder
addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
clearExtensionRange()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
clearField()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
clearName()
optional string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.Builder
clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
clearOneofDecl()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
clearOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
DescriptorProtos.DescriptorProto.Builder
clearReservedName()
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.Builder
clearReservedRange()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.EnumDescriptorProto
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
int
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
java.util.List<DescriptorProtos.EnumDescriptorProto>
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.FieldDescriptorProto
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
int
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
java.util.List<DescriptorProtos.FieldDescriptorProto>
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.ExtensionRange
getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
int
getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange>
getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.FieldDescriptorProto
getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
int
getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
java.util.List<DescriptorProtos.FieldDescriptorProto>
getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
java.lang.String
getName()
optional string name = 1 [json_name = "name"];
ByteString
getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto
getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
int
getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
java.util.List<DescriptorProtos.DescriptorProto>
getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.OneofDescriptorProto
getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
int
getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
java.util.List<DescriptorProtos.OneofDescriptorProto>
getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.MessageOptions
getOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
java.lang.String
getReservedName(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
ByteString
getReservedNameBytes(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
int
getReservedNameCount()
repeated string reserved_name = 10 [json_name = "reservedName"];
java.util.List<java.lang.String>
getReservedNameList()
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.ReservedRange
getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
int
getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
java.util.List<DescriptorProtos.DescriptorProto.ReservedRange>
getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
boolean
hasName()
optional string name = 1 [json_name = "name"];
boolean
hasOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
DescriptorProtos.DescriptorProto.Builder
mergeOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
DescriptorProtos.DescriptorProto.Builder
removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
removeExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
removeField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
removeNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
removeOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
removeReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
DescriptorProtos.DescriptorProto.Builder
setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
DescriptorProtos.DescriptorProto.Builder
setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
DescriptorProtos.DescriptorProto.Builder
setField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
setField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
DescriptorProtos.DescriptorProto.Builder
setName(java.lang.String value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.Builder
setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
DescriptorProtos.DescriptorProto.Builder
setNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
setNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
DescriptorProtos.DescriptorProto.Builder
setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
DescriptorProtos.DescriptorProto.Builder
setOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
DescriptorProtos.DescriptorProto.Builder
setOptions(DescriptorProtos.MessageOptions.Builder builderForValue)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
DescriptorProtos.DescriptorProto.Builder
setReservedName(int index, java.lang.String value)
repeated string reserved_name = 10 [json_name = "reservedName"];
DescriptorProtos.DescriptorProto.Builder
setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
DescriptorProtos.DescriptorProto.Builder
setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
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 [json_name = "name"];
- Specified by:
hasName
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public ByteString getNameBytes()
optional string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
public DescriptorProtos.DescriptorProto.Builder setName(java.lang.String value)
optional string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DescriptorProtos.DescriptorProto.Builder clearName()
optional string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
public DescriptorProtos.DescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];
- 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 [json_name = "field"];
- Specified by:
getFieldList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldCount
public int getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
- Specified by:
getFieldCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getField
public DescriptorProtos.FieldDescriptorProto getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
- Specified by:
getField
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setField
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
setField
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addAllField
public DescriptorProtos.DescriptorProto.Builder addAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
clearField
public DescriptorProtos.DescriptorProto.Builder clearField()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
removeField
public DescriptorProtos.DescriptorProto.Builder removeField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
- Specified by:
getExtensionList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
- Specified by:
getExtensionCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtension
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
- Specified by:
getExtension
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setExtension
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
setExtension
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addAllExtension
public DescriptorProtos.DescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
clearExtension
public DescriptorProtos.DescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
removeExtension
public DescriptorProtos.DescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
getNestedTypeList
public java.util.List<DescriptorProtos.DescriptorProto> getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
- Specified by:
getNestedTypeList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeCount
public int getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
- Specified by:
getNestedTypeCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedType
public DescriptorProtos.DescriptorProto getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
- Specified by:
getNestedType
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setNestedType
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
setNestedType
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addAllNestedType
public DescriptorProtos.DescriptorProto.Builder addAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
clearNestedType
public DescriptorProtos.DescriptorProto.Builder clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
removeNestedType
public DescriptorProtos.DescriptorProto.Builder removeNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
- Specified by:
getEnumTypeList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
- Specified by:
getEnumTypeCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumType
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
- Specified by:
getEnumType
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setEnumType
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
setEnumType
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addAllEnumType
public DescriptorProtos.DescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
clearEnumType
public DescriptorProtos.DescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
removeEnumType
public DescriptorProtos.DescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
getExtensionRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
- Specified by:
getExtensionRangeList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeCount
public int getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
- Specified by:
getExtensionRangeCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRange
public DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
- Specified by:
getExtensionRange
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setExtensionRange
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
setExtensionRange
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addAllExtensionRange
public DescriptorProtos.DescriptorProto.Builder addAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
clearExtensionRange
public DescriptorProtos.DescriptorProto.Builder clearExtensionRange()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
removeExtensionRange
public DescriptorProtos.DescriptorProto.Builder removeExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
getOneofDeclList
public java.util.List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
- Specified by:
getOneofDeclList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclCount
public int getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
- Specified by:
getOneofDeclCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDecl
public DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
- Specified by:
getOneofDecl
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setOneofDecl
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
setOneofDecl
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addAllOneofDecl
public DescriptorProtos.DescriptorProto.Builder addAllOneofDecl(java.lang.Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
clearOneofDecl
public DescriptorProtos.DescriptorProto.Builder clearOneofDecl()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
removeOneofDecl
public DescriptorProtos.DescriptorProto.Builder removeOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
- Specified by:
hasOptions
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
public DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
- Specified by:
getOptions
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- The options.
-
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions.Builder builderForValue)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
mergeOptions
public DescriptorProtos.DescriptorProto.Builder mergeOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
clearOptions
public DescriptorProtos.DescriptorProto.Builder clearOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
getReservedRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
- Specified by:
getReservedRangeList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeCount
public int getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
- Specified by:
getReservedRangeCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRange
public DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
- Specified by:
getReservedRange
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setReservedRange
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
setReservedRange
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addAllReservedRange
public DescriptorProtos.DescriptorProto.Builder addAllReservedRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
clearReservedRange
public DescriptorProtos.DescriptorProto.Builder clearReservedRange()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
removeReservedRange
public DescriptorProtos.DescriptorProto.Builder removeReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
getReservedNameList
public java.util.List<java.lang.String> getReservedNameList()
repeated string reserved_name = 10 [json_name = "reservedName"];
- Specified by:
getReservedNameList
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- A list containing the reservedName.
-
getReservedNameCount
public int getReservedNameCount()
repeated string reserved_name = 10 [json_name = "reservedName"];
- Specified by:
getReservedNameCount
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Returns:
- The count of reservedName.
-
getReservedName
public java.lang.String getReservedName(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
- Specified by:
getReservedName
in interfaceDescriptorProtos.DescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The reservedName at the given index.
-
getReservedNameBytes
public ByteString getReservedNameBytes(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];
- Specified by:
getReservedNameBytes
in 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)
repeated string reserved_name = 10 [json_name = "reservedName"];
- 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)
repeated string reserved_name = 10 [json_name = "reservedName"];
- Parameters:
value
- The reservedName to add.- Returns:
- This builder for chaining.
-
addAllReservedName
public DescriptorProtos.DescriptorProto.Builder addAllReservedName(java.lang.Iterable<java.lang.String> values)
repeated string reserved_name = 10 [json_name = "reservedName"];
- Parameters:
values
- The reservedName to add.- Returns:
- This builder for chaining.
-
clearReservedName
public DescriptorProtos.DescriptorProto.Builder clearReservedName()
repeated string reserved_name = 10 [json_name = "reservedName"];
- Returns:
- This builder for chaining.
-
addReservedNameBytes
public DescriptorProtos.DescriptorProto.Builder addReservedNameBytes(ByteString value)
repeated string reserved_name = 10 [json_name = "reservedName"];
- Parameters:
value
- The bytes of the reservedName to add.- Returns:
- This builder for chaining.
-
-