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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReservationSlotStatus.Builder>
    • getDefaultInstanceForType

      public ReservationSlotStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReservationSlotStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReservationSlotStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReservationSlotStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReservationSlotStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasPhysicalTopology in interface ReservationSlotStatusOrBuilder
      Returns:
      Whether the physicalTopology field is set.
    • 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;
      Specified by:
      getPhysicalTopology in interface ReservationSlotStatusOrBuilder
      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

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getPhysicalTopologyOrBuilder in interface ReservationSlotStatusOrBuilder
    • 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:
      getRdmaIpAddressesList in interface ReservationSlotStatusOrBuilder
      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:
      getRdmaIpAddressesCount in interface ReservationSlotStatusOrBuilder
      Returns:
      The count of rdmaIpAddresses.
    • getRdmaIpAddresses

      public String getRdmaIpAddresses(int index)
       Output only. The RDMA IP address of the physical host.
       
      repeated string rdma_ip_addresses = 167842531;
      Specified by:
      getRdmaIpAddresses in interface ReservationSlotStatusOrBuilder
      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:
      getRdmaIpAddressesBytes in interface ReservationSlotStatusOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the rdmaIpAddresses at the given index.
    • setRdmaIpAddresses

      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:
      index - The index to set the value at.
      value - The rdmaIpAddresses to set.
      Returns:
      This builder for chaining.
    • addRdmaIpAddresses

      public ReservationSlotStatus.Builder addRdmaIpAddresses(String value)
       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

      public ReservationSlotStatus.Builder addAllRdmaIpAddresses(Iterable<String> values)
       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

      public ReservationSlotStatus.Builder clearRdmaIpAddresses()
       Output only. The RDMA IP address of the physical host.
       
      repeated string rdma_ip_addresses = 167842531;
      Returns:
      This builder for chaining.
    • addRdmaIpAddressesBytes

      public ReservationSlotStatus.Builder addRdmaIpAddressesBytes(com.google.protobuf.ByteString value)
       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:
      getRunningInstancesList in interface ReservationSlotStatusOrBuilder
      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:
      getRunningInstancesCount in interface ReservationSlotStatusOrBuilder
      Returns:
      The count of runningInstances.
    • getRunningInstances

      public String getRunningInstances(int index)
       Output only. The URIs of the instances currently running on this slot.
       
      repeated string running_instances = 536292350;
      Specified by:
      getRunningInstances in interface ReservationSlotStatusOrBuilder
      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:
      getRunningInstancesBytes in interface ReservationSlotStatusOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the runningInstances at the given index.
    • setRunningInstances

      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:
      index - The index to set the value at.
      value - The runningInstances to set.
      Returns:
      This builder for chaining.
    • addRunningInstances

      public ReservationSlotStatus.Builder addRunningInstances(String value)
       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

      public ReservationSlotStatus.Builder addAllRunningInstances(Iterable<String> values)
       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

      public ReservationSlotStatus.Builder clearRunningInstances()
       Output only. The URIs of the instances currently running on this slot.
       
      repeated string running_instances = 536292350;
      Returns:
      This builder for chaining.
    • addRunningInstancesBytes

      public ReservationSlotStatus.Builder addRunningInstancesBytes(com.google.protobuf.ByteString value)
       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.