public interface SchedulingGracefulShutdownOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()Opts-in for graceful shutdown.
optional bool enabled = 1018689;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getMaxDuration()
public abstract Duration getMaxDuration()The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
optional .google.cloud.compute.v1.Duration max_duration = 39954959;
| Returns | |
|---|---|
| Type | Description |
Duration |
The maxDuration. |
getMaxDurationOrBuilder()
public abstract DurationOrBuilder getMaxDurationOrBuilder()The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
optional .google.cloud.compute.v1.Duration max_duration = 39954959;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasEnabled()
public abstract boolean hasEnabled()Opts-in for graceful shutdown.
optional bool enabled = 1018689;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enabled field is set. |
hasMaxDuration()
public abstract boolean hasMaxDuration()The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
optional .google.cloud.compute.v1.Duration max_duration = 39954959;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxDuration field is set. |