Class ReservationSlotStatus.Builder (1.101.0)

public static final class ReservationSlotStatus.Builder extends GeneratedMessage.Builder<ReservationSlotStatus.Builder> implements ReservationSlotStatusOrBuilder

Protobuf type google.cloud.compute.v1.ReservationSlotStatus

Static Methods

getDescriptor()

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

Methods

addAllRdmaIpAddresses(Iterable<String> values)

public ReservationSlotStatus.Builder addAllRdmaIpAddresses(Iterable<String> values)

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Parameter
Name Description
values Iterable<String>

The rdmaIpAddresses to add.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

addAllRunningInstances(Iterable<String> values)

public ReservationSlotStatus.Builder addAllRunningInstances(Iterable<String> values)

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Parameter
Name Description
values Iterable<String>

The runningInstances to add.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

addRdmaIpAddresses(String value)

public ReservationSlotStatus.Builder addRdmaIpAddresses(String value)

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Parameter
Name Description
value String

The rdmaIpAddresses to add.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

addRdmaIpAddressesBytes(ByteString value)

public ReservationSlotStatus.Builder addRdmaIpAddressesBytes(ByteString value)

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Parameter
Name Description
value ByteString

The bytes of the rdmaIpAddresses to add.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

addRunningInstances(String value)

public ReservationSlotStatus.Builder addRunningInstances(String value)

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Parameter
Name Description
value String

The runningInstances to add.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

addRunningInstancesBytes(ByteString value)

public ReservationSlotStatus.Builder addRunningInstancesBytes(ByteString value)

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Parameter
Name Description
value ByteString

The bytes of the runningInstances to add.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

build()

public ReservationSlotStatus build()
Returns
Type Description
ReservationSlotStatus

buildPartial()

public ReservationSlotStatus buildPartial()
Returns
Type Description
ReservationSlotStatus

clear()

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

clearPhysicalTopology()

public ReservationSlotStatus.Builder clearPhysicalTopology()

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Returns
Type Description
ReservationSlotStatus.Builder

clearRdmaIpAddresses()

public ReservationSlotStatus.Builder clearRdmaIpAddresses()

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

clearRunningInstances()

public ReservationSlotStatus.Builder clearRunningInstances()

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReservationSlotStatus getDefaultInstanceForType()
Returns
Type Description
ReservationSlotStatus

getDescriptorForType()

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

getPhysicalTopology()

public ReservationSlotPhysicalTopology getPhysicalTopology()

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Returns
Type Description
ReservationSlotPhysicalTopology

The physicalTopology.

getPhysicalTopologyBuilder()

public ReservationSlotPhysicalTopology.Builder getPhysicalTopologyBuilder()

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Returns
Type Description
ReservationSlotPhysicalTopology.Builder

getPhysicalTopologyOrBuilder()

public ReservationSlotPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Returns
Type Description
ReservationSlotPhysicalTopologyOrBuilder

getRdmaIpAddresses(int index)

public String getRdmaIpAddresses(int index)

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The rdmaIpAddresses at the given index.

getRdmaIpAddressesBytes(int index)

public ByteString getRdmaIpAddressesBytes(int index)

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the rdmaIpAddresses at the given index.

getRdmaIpAddressesCount()

public int getRdmaIpAddressesCount()

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Returns
Type Description
int

The count of rdmaIpAddresses.

getRdmaIpAddressesList()

public ProtocolStringList getRdmaIpAddressesList()

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Returns
Type Description
ProtocolStringList

A list containing the rdmaIpAddresses.

getRunningInstances(int index)

public String getRunningInstances(int index)

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The runningInstances at the given index.

getRunningInstancesBytes(int index)

public ByteString getRunningInstancesBytes(int index)

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the runningInstances at the given index.

getRunningInstancesCount()

public int getRunningInstancesCount()

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Returns
Type Description
int

The count of runningInstances.

getRunningInstancesList()

public ProtocolStringList getRunningInstancesList()

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Returns
Type Description
ProtocolStringList

A list containing the runningInstances.

hasPhysicalTopology()

public boolean hasPhysicalTopology()

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Returns
Type Description
boolean

Whether the physicalTopology field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReservationSlotStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePhysicalTopology(ReservationSlotPhysicalTopology value)

public ReservationSlotStatus.Builder mergePhysicalTopology(ReservationSlotPhysicalTopology value)

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Parameter
Name Description
value ReservationSlotPhysicalTopology
Returns
Type Description
ReservationSlotStatus.Builder

setPhysicalTopology(ReservationSlotPhysicalTopology value)

public ReservationSlotStatus.Builder setPhysicalTopology(ReservationSlotPhysicalTopology value)

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Parameter
Name Description
value ReservationSlotPhysicalTopology
Returns
Type Description
ReservationSlotStatus.Builder

setPhysicalTopology(ReservationSlotPhysicalTopology.Builder builderForValue)

public ReservationSlotStatus.Builder setPhysicalTopology(ReservationSlotPhysicalTopology.Builder builderForValue)

Output only. [Output Only] The physical topology of the reservation sub-block.

optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;

Parameter
Name Description
builderForValue ReservationSlotPhysicalTopology.Builder
Returns
Type Description
ReservationSlotStatus.Builder

setRdmaIpAddresses(int index, String value)

public ReservationSlotStatus.Builder setRdmaIpAddresses(int index, String value)

Output only. The RDMA IP address of the physical host.

repeated string rdma_ip_addresses = 167842531;

Parameters
Name Description
index int

The index to set the value at.

value String

The rdmaIpAddresses to set.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.

setRunningInstances(int index, String value)

public ReservationSlotStatus.Builder setRunningInstances(int index, String value)

Output only. The URIs of the instances currently running on this slot.

repeated string running_instances = 536292350;

Parameters
Name Description
index int

The index to set the value at.

value String

The runningInstances to set.

Returns
Type Description
ReservationSlotStatus.Builder

This builder for chaining.