Package com.google.cloud.compute.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains output only fields.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ResourceStatusstatic final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.com.google.protobuf.Parser<ResourceStatus>Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;intoptional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.booleanoptional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;booleanoptional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ResourceStatus.Builderstatic ResourceStatus.BuildernewBuilder(ResourceStatus prototype) protected ResourceStatus.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ResourceStatusparseDelimitedFrom(InputStream input) static ResourceStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceStatusparseFrom(byte[] data) static ResourceStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceStatusparseFrom(com.google.protobuf.ByteString data) static ResourceStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceStatusparseFrom(com.google.protobuf.CodedInputStream input) static ResourceStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceStatusparseFrom(InputStream input) static ResourceStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResourceStatusparseFrom(ByteBuffer data) static ResourceStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResourceStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
hasEffectiveInstanceMetadatain interfaceResourceStatusOrBuilder- Returns:
- Whether the effectiveInstanceMetadata field is set.
-
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:
getEffectiveInstanceMetadatain interfaceResourceStatusOrBuilder- Returns:
- The effectiveInstanceMetadata.
-
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:
getEffectiveInstanceMetadataOrBuilderin interfaceResourceStatusOrBuilder
-
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:
hasPhysicalHostin interfaceResourceStatusOrBuilder- Returns:
- Whether the physicalHost field is set.
-
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:
getPhysicalHostin interfaceResourceStatusOrBuilder- 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:
getPhysicalHostBytesin interfaceResourceStatusOrBuilder- 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:
hasPhysicalHostTopologyin interfaceResourceStatusOrBuilder- Returns:
- Whether the physicalHostTopology field is set.
-
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:
getPhysicalHostTopologyin interfaceResourceStatusOrBuilder- Returns:
- The physicalHostTopology.
-
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:
getPhysicalHostTopologyOrBuilderin interfaceResourceStatusOrBuilder
-
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:
hasReservationConsumptionInfoin interfaceResourceStatusOrBuilder- Returns:
- Whether the reservationConsumptionInfo field is set.
-
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:
getReservationConsumptionInfoin interfaceResourceStatusOrBuilder- Returns:
- The reservationConsumptionInfo.
-
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:
getReservationConsumptionInfoOrBuilderin interfaceResourceStatusOrBuilder
-
hasScheduling
public boolean hasScheduling()optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;- Specified by:
hasSchedulingin interfaceResourceStatusOrBuilder- Returns:
- Whether the scheduling field is set.
-
getScheduling
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;- Specified by:
getSchedulingin interfaceResourceStatusOrBuilder- Returns:
- The scheduling.
-
getSchedulingOrBuilder
optional .google.cloud.compute.v1.ResourceStatusScheduling scheduling = 386688404;- Specified by:
getSchedulingOrBuilderin interfaceResourceStatusOrBuilder
-
hasUpcomingMaintenance
public boolean hasUpcomingMaintenance()optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;- Specified by:
hasUpcomingMaintenancein interfaceResourceStatusOrBuilder- Returns:
- Whether the upcomingMaintenance field is set.
-
getUpcomingMaintenance
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;- Specified by:
getUpcomingMaintenancein interfaceResourceStatusOrBuilder- Returns:
- The upcomingMaintenance.
-
getUpcomingMaintenanceOrBuilder
optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;- Specified by:
getUpcomingMaintenanceOrBuilderin interfaceResourceStatusOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ResourceStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResourceStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-