Package com.google.cloud.compute.v1
Class ReservationSlotStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
com.google.cloud.compute.v1.ReservationSlotStatus.Builder
- All Implemented Interfaces:
ReservationSlotStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationSlotStatus
public static final class ReservationSlotStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
implements ReservationSlotStatusOrBuilder
Protobuf type
google.cloud.compute.v1.ReservationSlotStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllRdmaIpAddresses(Iterable<String> values) Output only.addAllRunningInstances(Iterable<String> values) Output only.addRdmaIpAddresses(String value) Output only.addRdmaIpAddressesBytes(com.google.protobuf.ByteString value) Output only.addRunningInstances(String value) Output only.addRunningInstancesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.getRdmaIpAddresses(int index) Output only.com.google.protobuf.ByteStringgetRdmaIpAddressesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getRunningInstances(int index) Output only.com.google.protobuf.ByteStringgetRunningInstancesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReservationSlotStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setPhysicalTopology(ReservationSlotPhysicalTopology.Builder builderForValue) Output only.setRdmaIpAddresses(int index, String value) Output only.setRunningInstances(int index, String value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationSlotStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
-
mergeFrom
public ReservationSlotStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationSlotStatus.Builder>- Throws:
IOException
-
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;- Specified by:
hasPhysicalTopologyin interfaceReservationSlotStatusOrBuilder- Returns:
- Whether the physicalTopology field is set.
-
getPhysicalTopology
Output only. [Output Only] The physical topology of the reservation sub-block.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;- Specified by:
getPhysicalTopologyin interfaceReservationSlotStatusOrBuilder- Returns:
- The physicalTopology.
-
setPhysicalTopology
Output only. [Output Only] The physical topology of the reservation sub-block.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519; -
setPhysicalTopology
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; -
mergePhysicalTopology
Output only. [Output Only] The physical topology of the reservation sub-block.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519; -
clearPhysicalTopology
Output only. [Output Only] The physical topology of the reservation sub-block.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519; -
getPhysicalTopologyBuilder
Output only. [Output Only] The physical topology of the reservation sub-block.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519; -
getPhysicalTopologyOrBuilder
Output only. [Output Only] The physical topology of the reservation sub-block.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;- Specified by:
getPhysicalTopologyOrBuilderin interfaceReservationSlotStatusOrBuilder
-
getRdmaIpAddressesList
public com.google.protobuf.ProtocolStringList getRdmaIpAddressesList()Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Specified by:
getRdmaIpAddressesListin interfaceReservationSlotStatusOrBuilder- Returns:
- A list containing the rdmaIpAddresses.
-
getRdmaIpAddressesCount
public int getRdmaIpAddressesCount()Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Specified by:
getRdmaIpAddressesCountin interfaceReservationSlotStatusOrBuilder- Returns:
- The count of rdmaIpAddresses.
-
getRdmaIpAddresses
Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Specified by:
getRdmaIpAddressesin interfaceReservationSlotStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The rdmaIpAddresses at the given index.
-
getRdmaIpAddressesBytes
public com.google.protobuf.ByteString getRdmaIpAddressesBytes(int index) Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Specified by:
getRdmaIpAddressesBytesin interfaceReservationSlotStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the rdmaIpAddresses at the given index.
-
setRdmaIpAddresses
Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Parameters:
index- The index to set the value at.value- The rdmaIpAddresses to set.- Returns:
- This builder for chaining.
-
addRdmaIpAddresses
Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Parameters:
value- The rdmaIpAddresses to add.- Returns:
- This builder for chaining.
-
addAllRdmaIpAddresses
Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Parameters:
values- The rdmaIpAddresses to add.- Returns:
- This builder for chaining.
-
clearRdmaIpAddresses
Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Returns:
- This builder for chaining.
-
addRdmaIpAddressesBytes
Output only. The RDMA IP address of the physical host.
repeated string rdma_ip_addresses = 167842531;- Parameters:
value- The bytes of the rdmaIpAddresses to add.- Returns:
- This builder for chaining.
-
getRunningInstancesList
public com.google.protobuf.ProtocolStringList getRunningInstancesList()Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Specified by:
getRunningInstancesListin interfaceReservationSlotStatusOrBuilder- Returns:
- A list containing the runningInstances.
-
getRunningInstancesCount
public int getRunningInstancesCount()Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Specified by:
getRunningInstancesCountin interfaceReservationSlotStatusOrBuilder- Returns:
- The count of runningInstances.
-
getRunningInstances
Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Specified by:
getRunningInstancesin interfaceReservationSlotStatusOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The runningInstances at the given index.
-
getRunningInstancesBytes
public com.google.protobuf.ByteString getRunningInstancesBytes(int index) Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Specified by:
getRunningInstancesBytesin interfaceReservationSlotStatusOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the runningInstances at the given index.
-
setRunningInstances
Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Parameters:
index- The index to set the value at.value- The runningInstances to set.- Returns:
- This builder for chaining.
-
addRunningInstances
Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Parameters:
value- The runningInstances to add.- Returns:
- This builder for chaining.
-
addAllRunningInstances
Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Parameters:
values- The runningInstances to add.- Returns:
- This builder for chaining.
-
clearRunningInstances
Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Returns:
- This builder for chaining.
-
addRunningInstancesBytes
Output only. The URIs of the instances currently running on this slot.
repeated string running_instances = 536292350;- Parameters:
value- The bytes of the runningInstances to add.- Returns:
- This builder for chaining.
-