Class ReservationSubBlockPhysicalTopology.Builder (1.93.0)

public static final class ReservationSubBlockPhysicalTopology.Builder extends GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder> implements ReservationSubBlockPhysicalTopologyOrBuilder

Protobuf type google.cloud.compute.v1.ReservationSubBlockPhysicalTopology

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReservationSubBlockPhysicalTopology.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReservationSubBlockPhysicalTopology.Builder
Overrides

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.

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.