Class ReservationSlot

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.ReservationSlot
All Implemented Interfaces:
ReservationSlotOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ReservationSlot extends com.google.protobuf.GeneratedMessage implements ReservationSlotOrBuilder
 Represents a reservation slot resource.
 
Protobuf type google.cloud.compute.v1.ReservationSlot
See Also:
  • Field Details

  • 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
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface ReservationSlotOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface ReservationSlotOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • hasId

      public boolean hasId()
       Output only. [Output Only] The unique identifier for this resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface ReservationSlotOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] The unique identifier for this resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface ReservationSlotOrBuilder
      Returns:
      The id.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface ReservationSlotOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface ReservationSlotOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for kind.
    • hasName

      public boolean hasName()
       Output only. [Output Only] The name of the reservation slot.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface ReservationSlotOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Output only. [Output Only] The name of the reservation slot.
       
      optional string name = 3373707;
      Specified by:
      getName in interface ReservationSlotOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. [Output Only] The name of the reservation slot.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for name.
    • hasPhysicalTopology

      public boolean hasPhysicalTopology()
       Output only. [Output Only] The physical topology of the reservation slot.
       
      optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
      Specified by:
      hasPhysicalTopology in interface ReservationSlotOrBuilder
      Returns:
      Whether the physicalTopology field is set.
    • getPhysicalTopology

      public ReservationSlotPhysicalTopology getPhysicalTopology()
       Output only. [Output Only] The physical topology of the reservation slot.
       
      optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
      Specified by:
      getPhysicalTopology in interface ReservationSlotOrBuilder
      Returns:
      The physicalTopology.
    • getPhysicalTopologyOrBuilder

      public ReservationSlotPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()
       Output only. [Output Only] The physical topology of the reservation slot.
       
      optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
      Specified by:
      getPhysicalTopologyOrBuilder in interface ReservationSlotOrBuilder
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] A server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface ReservationSlotOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] A server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface ReservationSlotOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] A server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for selfLink.
    • hasSelfLinkWithId

      public boolean hasSelfLinkWithId()
       Output only. [Output Only] A server-defined URL for this resource with the resource ID.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      hasSelfLinkWithId in interface ReservationSlotOrBuilder
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

      public String getSelfLinkWithId()
       Output only. [Output Only] A server-defined URL for this resource with the resource ID.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithId in interface ReservationSlotOrBuilder
      Returns:
      The selfLinkWithId.
    • getSelfLinkWithIdBytes

      public com.google.protobuf.ByteString getSelfLinkWithIdBytes()
       Output only. [Output Only] A server-defined URL for this resource with the resource ID.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithIdBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for selfLinkWithId.
    • hasShareSettings

      public boolean hasShareSettings()
       Specify share settings to create a shared slot. Set to empty
       to inherit the share settings from a parent resource.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
      Specified by:
      hasShareSettings in interface ReservationSlotOrBuilder
      Returns:
      Whether the shareSettings field is set.
    • getShareSettings

      public ShareSettings getShareSettings()
       Specify share settings to create a shared slot. Set to empty
       to inherit the share settings from a parent resource.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
      Specified by:
      getShareSettings in interface ReservationSlotOrBuilder
      Returns:
      The shareSettings.
    • getShareSettingsOrBuilder

      public ShareSettingsOrBuilder getShareSettingsOrBuilder()
       Specify share settings to create a shared slot. Set to empty
       to inherit the share settings from a parent resource.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
      Specified by:
      getShareSettingsOrBuilder in interface ReservationSlotOrBuilder
    • hasState

      public boolean hasState()
       Output only. [Output Only] The state of the reservation slot.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      hasState in interface ReservationSlotOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       Output only. [Output Only] The state of the reservation slot.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getState in interface ReservationSlotOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       Output only. [Output Only] The state of the reservation slot.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getStateBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for state.
    • hasStatus

      public boolean hasStatus()
       Output only. [Output Only] The status of the reservation slot.
       
      optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
      Specified by:
      hasStatus in interface ReservationSlotOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public ReservationSlotStatus getStatus()
       Output only. [Output Only] The status of the reservation slot.
       
      optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
      Specified by:
      getStatus in interface ReservationSlotOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public ReservationSlotStatusOrBuilder getStatusOrBuilder()
       Output only. [Output Only] The status of the reservation slot.
       
      optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
      Specified by:
      getStatusOrBuilder in interface ReservationSlotOrBuilder
    • hasZone

      public boolean hasZone()
       Output only. [Output Only] The zone in which the reservation slot resides.
       
      optional string zone = 3744684;
      Specified by:
      hasZone in interface ReservationSlotOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] The zone in which the reservation slot resides.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface ReservationSlotOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] The zone in which the reservation slot resides.
       
      optional string zone = 3744684;
      Specified by:
      getZoneBytes in interface ReservationSlotOrBuilder
      Returns:
      The bytes for zone.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ReservationSlot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSlot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSlot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSlot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSlot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSlot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReservationSlot parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReservationSlot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReservationSlot parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReservationSlot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReservationSlot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReservationSlot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ReservationSlot.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ReservationSlot.Builder newBuilder()
    • newBuilder

      public static ReservationSlot.Builder newBuilder(ReservationSlot prototype)
    • toBuilder

      public ReservationSlot.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ReservationSlot.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ReservationSlot getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ReservationSlot> parser()
    • getParserForType

      public com.google.protobuf.Parser<ReservationSlot> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ReservationSlot getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder