public final class ResourceStatusShutdownDetails extends GeneratedMessage implements ResourceStatusShutdownDetailsOrBuilder
Specifies if the instance is in PENDING_STOP state or there is a
programmed stop scheduled.
Protobuf type google.cloud.compute.v1.ResourceStatusShutdownDetails
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
MAX_DURATION_FIELD_NUMBER
public static final int MAX_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REQUEST_TIMESTAMP_FIELD_NUMBER
public static final int REQUEST_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STOP_STATE_FIELD_NUMBER
public static final int STOP_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGET_STATE_FIELD_NUMBER
public static final int TARGET_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ResourceStatusShutdownDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResourceStatusShutdownDetails.Builder newBuilder()
newBuilder(ResourceStatusShutdownDetails prototype)
public static ResourceStatusShutdownDetails.Builder newBuilder(ResourceStatusShutdownDetails prototype)
public static ResourceStatusShutdownDetails parseDelimitedFrom(InputStream input)
public static ResourceStatusShutdownDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResourceStatusShutdownDetails parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatusShutdownDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResourceStatusShutdownDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatusShutdownDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatusShutdownDetails parseFrom(CodedInputStream input)
public static ResourceStatusShutdownDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceStatusShutdownDetails parseFrom(InputStream input)
public static ResourceStatusShutdownDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResourceStatusShutdownDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceStatusShutdownDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResourceStatusShutdownDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ResourceStatusShutdownDetails getDefaultInstanceForType()
getMaxDuration()
public Duration getMaxDuration()
The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
optional .google.cloud.compute.v1.Duration max_duration = 39954959;
| Returns |
| Type |
Description |
Duration |
The maxDuration.
|
getMaxDurationOrBuilder()
public DurationOrBuilder getMaxDurationOrBuilder()
The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
optional .google.cloud.compute.v1.Duration max_duration = 39954959;
getParserForType()
public Parser<ResourceStatusShutdownDetails> getParserForType()
Overrides
getRequestTimestamp()
public String getRequestTimestamp()
Past timestamp indicating the beginning of current stopState in RFC3339 text format.
optional string request_timestamp = 521301862;
| Returns |
| Type |
Description |
String |
The requestTimestamp.
|
getRequestTimestampBytes()
public ByteString getRequestTimestampBytes()
Past timestamp indicating the beginning of current stopState in RFC3339 text format.
optional string request_timestamp = 521301862;
| Returns |
| Type |
Description |
ByteString |
The bytes for requestTimestamp.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStopState()
public String getStopState()
Current stopping state of the instance.
Check the StopState enum for the list of possible values.
optional string stop_state = 67347988;
| Returns |
| Type |
Description |
String |
The stopState.
|
getStopStateBytes()
public ByteString getStopStateBytes()
Current stopping state of the instance.
Check the StopState enum for the list of possible values.
optional string stop_state = 67347988;
| Returns |
| Type |
Description |
ByteString |
The bytes for stopState.
|
getTargetState()
public String getTargetState()
Target instance state.
Check the TargetState enum for the list of possible values.
optional string target_state = 338978915;
| Returns |
| Type |
Description |
String |
The targetState.
|
getTargetStateBytes()
public ByteString getTargetStateBytes()
Target instance state.
Check the TargetState enum for the list of possible values.
optional string target_state = 338978915;
| Returns |
| Type |
Description |
ByteString |
The bytes for targetState.
|
hasMaxDuration()
public boolean hasMaxDuration()
The duration for graceful shutdown. Only applicable when
stop_state=PENDING_STOP.
optional .google.cloud.compute.v1.Duration max_duration = 39954959;
| Returns |
| Type |
Description |
boolean |
Whether the maxDuration field is set.
|
hasRequestTimestamp()
public boolean hasRequestTimestamp()
Past timestamp indicating the beginning of current stopState in RFC3339 text format.
optional string request_timestamp = 521301862;
| Returns |
| Type |
Description |
boolean |
Whether the requestTimestamp field is set.
|
hasStopState()
public boolean hasStopState()
Current stopping state of the instance.
Check the StopState enum for the list of possible values.
optional string stop_state = 67347988;
| Returns |
| Type |
Description |
boolean |
Whether the stopState field is set.
|
hasTargetState()
public boolean hasTargetState()
Target instance state.
Check the TargetState enum for the list of possible values.
optional string target_state = 338978915;
| Returns |
| Type |
Description |
boolean |
Whether the targetState field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResourceStatusShutdownDetails.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ResourceStatusShutdownDetails.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ResourceStatusShutdownDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides