Interface ResourceStatusShutdownDetailsOrBuilder (1.109.0)

public interface ResourceStatusShutdownDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxDuration()

public abstract 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 abstract DurationOrBuilder getMaxDurationOrBuilder()

The duration for graceful shutdown. Only applicable when stop_state=PENDING_STOP.

optional .google.cloud.compute.v1.Duration max_duration = 39954959;

Returns
Type Description
DurationOrBuilder

getRequestTimestamp()

public abstract 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 abstract 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.

getStopState()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.