Class ReservationSlotPhysicalTopology.Builder (1.105.0)

public static final class ReservationSlotPhysicalTopology.Builder extends GeneratedMessage.Builder<ReservationSlotPhysicalTopology.Builder> implements ReservationSlotPhysicalTopologyOrBuilder

Protobuf type google.cloud.compute.v1.ReservationSlotPhysicalTopology

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ReservationSlotPhysicalTopology build()
Returns
Type Description
ReservationSlotPhysicalTopology

buildPartial()

public ReservationSlotPhysicalTopology buildPartial()
Returns
Type Description
ReservationSlotPhysicalTopology

clear()

public ReservationSlotPhysicalTopology.Builder clear()
Returns
Type Description
ReservationSlotPhysicalTopology.Builder
Overrides

clearBlock()

public ReservationSlotPhysicalTopology.Builder clearBlock()

The unique identifier of the capacity block within the cluster.

optional string block = 93832333;

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

clearCluster()

public ReservationSlotPhysicalTopology.Builder clearCluster()

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

clearHost()

public ReservationSlotPhysicalTopology.Builder clearHost()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

clearSubBlock()

public ReservationSlotPhysicalTopology.Builder clearSubBlock()

The unique identifier of the capacity sub-block within the capacity block.

optional string sub_block = 478033358;

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

getBlock()

public String getBlock()

The unique identifier of the capacity block within the cluster.

optional string block = 93832333;

Returns
Type Description
String

The block.

getBlockBytes()

public ByteString getBlockBytes()

The unique identifier 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 sub-block.

optional string cluster = 335221242;

Returns
Type Description
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Returns
Type Description
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public ReservationSlotPhysicalTopology getDefaultInstanceForType()
Returns
Type Description
ReservationSlotPhysicalTopology

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHost()

public String getHost()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
ByteString

The bytes for host.

getSubBlock()

public String getSubBlock()

The unique identifier 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 unique identifier 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 unique identifier 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 sub-block.

optional string cluster = 335221242;

Returns
Type Description
boolean

Whether the cluster field is set.

hasHost()

public boolean hasHost()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
boolean

Whether the host field is set.

hasSubBlock()

public boolean hasSubBlock()

The unique identifier 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(ReservationSlotPhysicalTopology other)

public ReservationSlotPhysicalTopology.Builder mergeFrom(ReservationSlotPhysicalTopology other)
Parameter
Name Description
other ReservationSlotPhysicalTopology
Returns
Type Description
ReservationSlotPhysicalTopology.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReservationSlotPhysicalTopology.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setBlock(String value)

public ReservationSlotPhysicalTopology.Builder setBlock(String value)

The unique identifier of the capacity block within the cluster.

optional string block = 93832333;

Parameter
Name Description
value String

The block to set.

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setBlockBytes(ByteString value)

public ReservationSlotPhysicalTopology.Builder setBlockBytes(ByteString value)

The unique identifier 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
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setCluster(String value)

public ReservationSlotPhysicalTopology.Builder setCluster(String value)

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Parameter
Name Description
value String

The cluster to set.

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setClusterBytes(ByteString value)

public ReservationSlotPhysicalTopology.Builder setClusterBytes(ByteString value)

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Parameter
Name Description
value ByteString

The bytes for cluster to set.

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setHost(String value)

public ReservationSlotPhysicalTopology.Builder setHost(String value)

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Parameter
Name Description
value String

The host to set.

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setHostBytes(ByteString value)

public ReservationSlotPhysicalTopology.Builder setHostBytes(ByteString value)

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setSubBlock(String value)

public ReservationSlotPhysicalTopology.Builder setSubBlock(String value)

The unique identifier 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
ReservationSlotPhysicalTopology.Builder

This builder for chaining.

setSubBlockBytes(ByteString value)

public ReservationSlotPhysicalTopology.Builder setSubBlockBytes(ByteString value)

The unique identifier 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
ReservationSlotPhysicalTopology.Builder

This builder for chaining.