public static final class ReservationSubBlockPhysicalTopology.Builder extends GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder> implements ReservationSubBlockPhysicalTopologyOrBuilder Protobuf type google.cloud.compute.v1.ReservationSubBlockPhysicalTopology
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReservationSubBlockPhysicalTopology.BuilderImplements
ReservationSubBlockPhysicalTopologyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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. |
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. |
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 GeneratedMessage.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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for cluster to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for subBlock to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSubBlockPhysicalTopology.Builder |
This builder for chaining. |