Class ResourceStatus

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

@Generated public final class ResourceStatus extends com.google.protobuf.GeneratedMessage implements ResourceStatusOrBuilder
 Contains output only fields.
 Use this sub-message for actual values set on Instance attributes as compared
 to the value requested by the user (intent) in their instance CRUD calls.
 
Protobuf type google.cloud.compute.v1.ResourceStatus
See Also:
  • Field Details

    • EFFECTIVE_INSTANCE_METADATA_FIELD_NUMBER

      public static final int EFFECTIVE_INSTANCE_METADATA_FIELD_NUMBER
      See Also:
    • PHYSICAL_HOST_FIELD_NUMBER

      public static final int PHYSICAL_HOST_FIELD_NUMBER
      See Also:
    • PHYSICAL_HOST_TOPOLOGY_FIELD_NUMBER

      public static final int PHYSICAL_HOST_TOPOLOGY_FIELD_NUMBER
      See Also:
    • RESERVATION_CONSUMPTION_INFO_FIELD_NUMBER

      public static final int RESERVATION_CONSUMPTION_INFO_FIELD_NUMBER
      See Also:
    • SCHEDULING_FIELD_NUMBER

      public static final int SCHEDULING_FIELD_NUMBER
      See Also:
    • UPCOMING_MAINTENANCE_FIELD_NUMBER

      public static final int UPCOMING_MAINTENANCE_FIELD_NUMBER
      See Also:
  • 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
    • hasEffectiveInstanceMetadata

      public boolean hasEffectiveInstanceMetadata()
       Output only. [Output Only] Effective metadata is a field that consolidates project,
       zonal instance settings, and instance-level predefined metadata keys to
       provide the overridden value for those metadata keys at the instance level.
       
      optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;
      Specified by:
      hasEffectiveInstanceMetadata in interface ResourceStatusOrBuilder
      Returns:
      Whether the effectiveInstanceMetadata field is set.
    • getEffectiveInstanceMetadata

      public ResourceStatusEffectiveInstanceMetadata getEffectiveInstanceMetadata()
       Output only. [Output Only] Effective metadata is a field that consolidates project,
       zonal instance settings, and instance-level predefined metadata keys to
       provide the overridden value for those metadata keys at the instance level.
       
      optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;
      Specified by:
      getEffectiveInstanceMetadata in interface ResourceStatusOrBuilder
      Returns:
      The effectiveInstanceMetadata.
    • getEffectiveInstanceMetadataOrBuilder

      public ResourceStatusEffectiveInstanceMetadataOrBuilder getEffectiveInstanceMetadataOrBuilder()
       Output only. [Output Only] Effective metadata is a field that consolidates project,
       zonal instance settings, and instance-level predefined metadata keys to
       provide the overridden value for those metadata keys at the instance level.
       
      optional .google.cloud.compute.v1.ResourceStatusEffectiveInstanceMetadata effective_instance_metadata = 55052033;
      Specified by:
      getEffectiveInstanceMetadataOrBuilder in interface ResourceStatusOrBuilder
    • hasPhysicalHost

      public boolean hasPhysicalHost()
       Output only. [Output Only] The precise location of your instance within the zone's data
       center, including the block, sub-block, and host. The field is formatted as
       follows: blockId/subBlockId/hostId.
       
      optional string physical_host = 464370704;
      Specified by:
      hasPhysicalHost in interface ResourceStatusOrBuilder
      Returns:
      Whether the physicalHost field is set.
    • getPhysicalHost

      public String getPhysicalHost()
       Output only. [Output Only] The precise location of your instance within the zone's data
       center, including the block, sub-block, and host. The field is formatted as
       follows: blockId/subBlockId/hostId.
       
      optional string physical_host = 464370704;
      Specified by:
      getPhysicalHost in interface ResourceStatusOrBuilder
      Returns:
      The physicalHost.
    • getPhysicalHostBytes

      public com.google.protobuf.ByteString getPhysicalHostBytes()
       Output only. [Output Only] The precise location of your instance within the zone's data
       center, including the block, sub-block, and host. The field is formatted as
       follows: blockId/subBlockId/hostId.
       
      optional string physical_host = 464370704;
      Specified by:
      getPhysicalHostBytes in interface ResourceStatusOrBuilder
      Returns:
      The bytes for physicalHost.
    • hasPhysicalHostTopology

      public boolean hasPhysicalHostTopology()
       Output only. [Output Only] A series of fields containing the global name of the Compute
       Engine cluster, as well as the ID of the block, sub-block, and host on
       which the running instance is located.
       
      optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;
      Specified by:
      hasPhysicalHostTopology in interface ResourceStatusOrBuilder
      Returns:
      Whether the physicalHostTopology field is set.
    • getPhysicalHostTopology

      public ResourceStatusPhysicalHostTopology getPhysicalHostTopology()
       Output only. [Output Only] A series of fields containing the global name of the Compute
       Engine cluster, as well as the ID of the block, sub-block, and host on
       which the running instance is located.
       
      optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;
      Specified by:
      getPhysicalHostTopology in interface ResourceStatusOrBuilder
      Returns:
      The physicalHostTopology.
    • getPhysicalHostTopologyOrBuilder

      public ResourceStatusPhysicalHostTopologyOrBuilder getPhysicalHostTopologyOrBuilder()
       Output only. [Output Only] A series of fields containing the global name of the Compute
       Engine cluster, as well as the ID of the block, sub-block, and host on
       which the running instance is located.
       
      optional .google.cloud.compute.v1.ResourceStatusPhysicalHostTopology physical_host_topology = 390842814;
      Specified by:
      getPhysicalHostTopologyOrBuilder in interface ResourceStatusOrBuilder
    • hasReservationConsumptionInfo

      public boolean hasReservationConsumptionInfo()
       Output only. [Output Only] Reservation information that the instance is consuming from.
       
      optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997;
      Specified by:
      hasReservationConsumptionInfo in interface ResourceStatusOrBuilder
      Returns:
      Whether the reservationConsumptionInfo field is set.
    • getReservationConsumptionInfo

      public ResourceStatusReservationConsumptionInfo getReservationConsumptionInfo()
       Output only. [Output Only] Reservation information that the instance is consuming from.
       
      optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997;
      Specified by:
      getReservationConsumptionInfo in interface ResourceStatusOrBuilder
      Returns:
      The reservationConsumptionInfo.
    • getReservationConsumptionInfoOrBuilder

      public ResourceStatusReservationConsumptionInfoOrBuilder getReservationConsumptionInfoOrBuilder()
       Output only. [Output Only] Reservation information that the instance is consuming from.
       
      optional .google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo reservation_consumption_info = 201056997;
      Specified by:
      getReservationConsumptionInfoOrBuilder in interface ResourceStatusOrBuilder
    • hasScheduling

      public boolean hasScheduling()
      optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;
      Specified by:
      hasScheduling in interface ResourceStatusOrBuilder
      Returns:
      Whether the scheduling field is set.
    • getScheduling

      public ResourceStatusScheduling getScheduling()
      optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;
      Specified by:
      getScheduling in interface ResourceStatusOrBuilder
      Returns:
      The scheduling.
    • getSchedulingOrBuilder

      public ResourceStatusSchedulingOrBuilder getSchedulingOrBuilder()
      optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;
      Specified by:
      getSchedulingOrBuilder in interface ResourceStatusOrBuilder
    • hasUpcomingMaintenance

      public boolean hasUpcomingMaintenance()
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
      Specified by:
      hasUpcomingMaintenance in interface ResourceStatusOrBuilder
      Returns:
      Whether the upcomingMaintenance field is set.
    • getUpcomingMaintenance

      public UpcomingMaintenance getUpcomingMaintenance()
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
      Specified by:
      getUpcomingMaintenance in interface ResourceStatusOrBuilder
      Returns:
      The upcomingMaintenance.
    • getUpcomingMaintenanceOrBuilder

      public UpcomingMaintenanceOrBuilder getUpcomingMaintenanceOrBuilder()
      optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
      Specified by:
      getUpcomingMaintenanceOrBuilder in interface ResourceStatusOrBuilder
    • 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 ResourceStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ResourceStatus.Builder newBuilder()
    • newBuilder

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

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

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

      public static ResourceStatus getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ResourceStatus> 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 ResourceStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder