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).
|
String |
getInstanceTerminationAction()
Specifies the termination action for the instance.
|
com.google.protobuf.ByteString |
getInstanceTerminationActionBytes()
Specifies the termination action for the instance.
|
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.
|
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.
|
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.
|
boolean |
hasAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
|
boolean |
hasInstanceTerminationAction()
Specifies the termination action for the instance.
|
boolean |
hasLocationHint()
An opaque location hint used to place the instance close to other resources.
|
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 |
hasPreemptible()
Defines whether the instance is preemptible.
|
boolean |
hasProvisioningModel()
Specifies the provisioning model of the instance.
|
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 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 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 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 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;Copyright © 2023 Google LLC. All rights reserved.