public static final class ReservationSubBlockPhysicalTopology.Builder extends GeneratedMessageV3.Builder<ReservationSubBlockPhysicalTopology.Builder> implements ReservationSubBlockPhysicalTopologyOrBuilder
Protobuf type google.cloud.compute.v1.ReservationSubBlockPhysicalTopology
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReservationSubBlockPhysicalTopology.BuilderImplements
ReservationSubBlockPhysicalTopologyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReservationSubBlockPhysicalTopology.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
build()
public ReservationSubBlockPhysicalTopology build()
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology |
buildPartial()
public ReservationSubBlockPhysicalTopology buildPartial()
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology |
clear()
public ReservationSubBlockPhysicalTopology.Builder clear()
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
clearBlock()
public ReservationSubBlockPhysicalTopology.Builder clearBlock()
The hash of the capacity block within the cluster.
optional string block = 93832333;
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
clearCluster()
public ReservationSubBlockPhysicalTopology.Builder clearCluster()
The cluster name of the reservation subBlock.
optional string cluster = 335221242;
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ReservationSubBlockPhysicalTopology.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReservationSubBlockPhysicalTopology.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
clearSubBlock()
public ReservationSubBlockPhysicalTopology.Builder clearSubBlock()
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
clone()
public ReservationSubBlockPhysicalTopology.Builder clone()
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
getBlock()
public String getBlock()
The hash of the capacity block within the cluster.
optional string block = 93832333;
Returns | |
---|---|
Type | Description |
String |
The block. |
getBlockBytes()
public ByteString getBlockBytes()
The hash of the capacity block within the cluster.
optional string block = 93832333;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for block. |
getCluster()
public String getCluster()
The cluster name of the reservation subBlock.
optional string cluster = 335221242;
Returns | |
---|---|
Type | Description |
String |
The cluster. |
getClusterBytes()
public ByteString getClusterBytes()
The cluster name of the reservation subBlock.
optional string cluster = 335221242;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cluster. |
getDefaultInstanceForType()
public ReservationSubBlockPhysicalTopology getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSubBlock()
public String getSubBlock()
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;
Returns | |
---|---|
Type | Description |
String |
The subBlock. |
getSubBlockBytes()
public ByteString getSubBlockBytes()
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subBlock. |
hasBlock()
public boolean hasBlock()
The hash of the capacity block within the cluster.
optional string block = 93832333;
Returns | |
---|---|
Type | Description |
boolean |
Whether the block field is set. |
hasCluster()
public boolean hasCluster()
The cluster name of the reservation subBlock.
optional string cluster = 335221242;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cluster field is set. |
hasSubBlock()
public boolean hasSubBlock()
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;
Returns | |
---|---|
Type | Description |
boolean |
Whether the subBlock field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ReservationSubBlockPhysicalTopology other)
public ReservationSubBlockPhysicalTopology.Builder mergeFrom(ReservationSubBlockPhysicalTopology other)
Parameter | |
---|---|
Name | Description |
other |
ReservationSubBlockPhysicalTopology |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReservationSubBlockPhysicalTopology.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReservationSubBlockPhysicalTopology.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReservationSubBlockPhysicalTopology.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
setBlock(String value)
public ReservationSubBlockPhysicalTopology.Builder setBlock(String value)
The hash of the capacity block within the cluster.
optional string block = 93832333;
Parameter | |
---|---|
Name | Description |
value |
String The block to set. |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
setBlockBytes(ByteString value)
public ReservationSubBlockPhysicalTopology.Builder setBlockBytes(ByteString value)
The hash of the capacity block within the cluster.
optional string block = 93832333;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for block to set. |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
setCluster(String value)
public ReservationSubBlockPhysicalTopology.Builder setCluster(String value)
The cluster name of the reservation subBlock.
optional string cluster = 335221242;
Parameter | |
---|---|
Name | Description |
value |
String The cluster to set. |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
setClusterBytes(ByteString value)
public ReservationSubBlockPhysicalTopology.Builder setClusterBytes(ByteString value)
The cluster name of the reservation subBlock.
optional string cluster = 335221242;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cluster to set. |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ReservationSubBlockPhysicalTopology.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReservationSubBlockPhysicalTopology.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
setSubBlock(String value)
public ReservationSubBlockPhysicalTopology.Builder setSubBlock(String value)
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;
Parameter | |
---|---|
Name | Description |
value |
String The subBlock to set. |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
setSubBlockBytes(ByteString value)
public ReservationSubBlockPhysicalTopology.Builder setSubBlockBytes(ByteString value)
The hash of the capacity sub-block within the capacity block.
optional string sub_block = 478033358;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for subBlock to set. |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReservationSubBlockPhysicalTopology.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReservationSubBlockPhysicalTopology.Builder |