public interface SchedulingOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
|
int |
getAvailabilityDomain()
Specifies the availability domain to place the instance in.
|
int |
getHostErrorTimeoutSeconds()
Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.
|
String |
getInstanceTerminationAction()
Specifies the termination action for the instance.
|
com.google.protobuf.ByteString |
getInstanceTerminationActionBytes()
Specifies the termination action for the instance.
|
Duration |
getLocalSsdRecoveryTimeout()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
DurationOrBuilder |
getLocalSsdRecoveryTimeoutOrBuilder()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
String |
getLocationHint()
An opaque location hint used to place the instance close to other resources.
|
com.google.protobuf.ByteString |
getLocationHintBytes()
An opaque location hint used to place the instance close to other resources.
|
Duration |
getMaxRunDuration()
Specifies the max run duration for the given instance.
|
DurationOrBuilder |
getMaxRunDurationOrBuilder()
Specifies the max run duration for the given instance.
|
int |
getMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
|
SchedulingNodeAffinity |
getNodeAffinities(int index)
A set of node affinity and anti-affinity configurations.
|
int |
getNodeAffinitiesCount()
A set of node affinity and anti-affinity configurations.
|
List<SchedulingNodeAffinity> |
getNodeAffinitiesList()
A set of node affinity and anti-affinity configurations.
|
SchedulingNodeAffinityOrBuilder |
getNodeAffinitiesOrBuilder(int index)
A set of node affinity and anti-affinity configurations.
|
List<? extends SchedulingNodeAffinityOrBuilder> |
getNodeAffinitiesOrBuilderList()
A set of node affinity and anti-affinity configurations.
|
String |
getOnHostMaintenance()
Defines the maintenance behavior for this instance.
|
com.google.protobuf.ByteString |
getOnHostMaintenanceBytes()
Defines the maintenance behavior for this instance.
|
SchedulingOnInstanceStopAction |
getOnInstanceStopAction()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
SchedulingOnInstanceStopActionOrBuilder |
getOnInstanceStopActionOrBuilder()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
boolean |
getPreemptible()
Defines whether the instance is preemptible.
|
String |
getProvisioningModel()
Specifies the provisioning model of the instance.
|
com.google.protobuf.ByteString |
getProvisioningModelBytes()
Specifies the provisioning model of the instance.
|
String |
getTerminationTime()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
com.google.protobuf.ByteString |
getTerminationTimeBytes()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
boolean |
hasAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
|
boolean |
hasAvailabilityDomain()
Specifies the availability domain to place the instance in.
|
boolean |
hasHostErrorTimeoutSeconds()
Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.
|
boolean |
hasInstanceTerminationAction()
Specifies the termination action for the instance.
|
boolean |
hasLocalSsdRecoveryTimeout()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
boolean |
hasLocationHint()
An opaque location hint used to place the instance close to other resources.
|
boolean |
hasMaxRunDuration()
Specifies the max run duration for the given instance.
|
boolean |
hasMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
|
boolean |
hasOnHostMaintenance()
Defines the maintenance behavior for this instance.
|
boolean |
hasOnInstanceStopAction()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
boolean |
hasPreemptible()
Defines whether the instance is preemptible.
|
boolean |
hasProvisioningModel()
Specifies the provisioning model of the instance.
|
boolean |
hasTerminationTime()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.
optional bool automatic_restart = 350821371;boolean getAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.
optional bool automatic_restart = 350821371;boolean hasAvailabilityDomain()
Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
optional int32 availability_domain = 252514344;int getAvailabilityDomain()
Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
optional int32 availability_domain = 252514344;boolean hasHostErrorTimeoutSeconds()
Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.
optional int32 host_error_timeout_seconds = 408317459;int getHostErrorTimeoutSeconds()
Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.
optional int32 host_error_timeout_seconds = 408317459;boolean hasInstanceTerminationAction()
Specifies the termination action for the instance. Check the InstanceTerminationAction enum for the list of possible values.
optional string instance_termination_action = 107380667;String getInstanceTerminationAction()
Specifies the termination action for the instance. Check the InstanceTerminationAction enum for the list of possible values.
optional string instance_termination_action = 107380667;com.google.protobuf.ByteString getInstanceTerminationActionBytes()
Specifies the termination action for the instance. Check the InstanceTerminationAction enum for the list of possible values.
optional string instance_termination_action = 107380667;boolean hasLocalSsdRecoveryTimeout()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
optional .google.cloud.compute.v1.Duration local_ssd_recovery_timeout = 268015590;Duration getLocalSsdRecoveryTimeout()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
optional .google.cloud.compute.v1.Duration local_ssd_recovery_timeout = 268015590;DurationOrBuilder getLocalSsdRecoveryTimeoutOrBuilder()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
optional .google.cloud.compute.v1.Duration local_ssd_recovery_timeout = 268015590;boolean hasLocationHint()
An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;String getLocationHint()
An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;com.google.protobuf.ByteString getLocationHintBytes()
An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;boolean hasMaxRunDuration()
Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration.
optional .google.cloud.compute.v1.Duration max_run_duration = 430839747;Duration getMaxRunDuration()
Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration.
optional .google.cloud.compute.v1.Duration max_run_duration = 430839747;DurationOrBuilder getMaxRunDurationOrBuilder()
Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration.
optional .google.cloud.compute.v1.Duration max_run_duration = 430839747;boolean hasMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
optional int32 min_node_cpus = 317231675;int getMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
optional int32 min_node_cpus = 317231675;List<SchedulingNodeAffinity> getNodeAffinitiesList()
A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;
SchedulingNodeAffinity getNodeAffinities(int index)
A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;
int getNodeAffinitiesCount()
A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;
List<? extends SchedulingNodeAffinityOrBuilder> getNodeAffinitiesOrBuilderList()
A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;
SchedulingNodeAffinityOrBuilder getNodeAffinitiesOrBuilder(int index)
A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;
boolean hasOnHostMaintenance()
Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. Check the OnHostMaintenance enum for the list of possible values.
optional string on_host_maintenance = 64616796;String getOnHostMaintenance()
Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. Check the OnHostMaintenance enum for the list of possible values.
optional string on_host_maintenance = 64616796;com.google.protobuf.ByteString getOnHostMaintenanceBytes()
Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. Check the OnHostMaintenance enum for the list of possible values.
optional string on_host_maintenance = 64616796;boolean hasOnInstanceStopAction()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
SchedulingOnInstanceStopAction getOnInstanceStopAction()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
SchedulingOnInstanceStopActionOrBuilder getOnInstanceStopActionOrBuilder()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
boolean hasPreemptible()
Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
optional bool preemptible = 324203169;boolean getPreemptible()
Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
optional bool preemptible = 324203169;boolean hasProvisioningModel()
Specifies the provisioning model of the instance. Check the ProvisioningModel enum for the list of possible values.
optional string provisioning_model = 494423;String getProvisioningModel()
Specifies the provisioning model of the instance. Check the ProvisioningModel enum for the list of possible values.
optional string provisioning_model = 494423;com.google.protobuf.ByteString getProvisioningModelBytes()
Specifies the provisioning model of the instance. Check the ProvisioningModel enum for the list of possible values.
optional string provisioning_model = 494423;boolean hasTerminationTime()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
optional string termination_time = 428082984;String getTerminationTime()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
optional string termination_time = 428082984;com.google.protobuf.ByteString getTerminationTimeBytes()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
optional string termination_time = 428082984;Copyright © 2025 Google LLC. All rights reserved.