public interface SchedulingOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAutomaticRestart()
public abstract boolean getAutomaticRestart()Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
 optional bool automatic_restart = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The automaticRestart. | 
getInstanceTerminationAction()
public abstract Scheduling.InstanceTerminationAction getInstanceTerminationAction()Optional. Specifies the termination action for the instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Scheduling.InstanceTerminationAction | The instanceTerminationAction. | 
getInstanceTerminationActionValue()
public abstract int getInstanceTerminationActionValue()Optional. Specifies the termination action for the instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for instanceTerminationAction. | 
getLocalSsdRecoveryTimeout()
public abstract SchedulingDuration getLocalSsdRecoveryTimeout()Optional. 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.backupdr.v1.SchedulingDuration local_ssd_recovery_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| SchedulingDuration | The localSsdRecoveryTimeout. | 
getLocalSsdRecoveryTimeoutOrBuilder()
public abstract SchedulingDurationOrBuilder getLocalSsdRecoveryTimeoutOrBuilder()Optional. 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.backupdr.v1.SchedulingDuration local_ssd_recovery_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| SchedulingDurationOrBuilder | |
getMinNodeCpus()
public abstract int getMinNodeCpus()Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
 optional int32 min_node_cpus = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The minNodeCpus. | 
getNodeAffinities(int index)
public abstract Scheduling.NodeAffinity getNodeAffinities(int index)Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
 
 repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| Scheduling.NodeAffinity | |
getNodeAffinitiesCount()
public abstract int getNodeAffinitiesCount()Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
 
 repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getNodeAffinitiesList()
public abstract List<Scheduling.NodeAffinity> getNodeAffinitiesList()Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
 
 repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<NodeAffinity> | |
getNodeAffinitiesOrBuilder(int index)
public abstract Scheduling.NodeAffinityOrBuilder getNodeAffinitiesOrBuilder(int index)Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
 
 repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| Scheduling.NodeAffinityOrBuilder | |
getNodeAffinitiesOrBuilderList()
public abstract List<? extends Scheduling.NodeAffinityOrBuilder> getNodeAffinitiesOrBuilderList()Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
 
 repeated .google.cloud.backupdr.v1.Scheduling.NodeAffinity node_affinities = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.backupdr.v1.Scheduling.NodeAffinityOrBuilder> | |
getOnHostMaintenance()
public abstract Scheduling.OnHostMaintenance getOnHostMaintenance()Optional. Defines the maintenance behavior for this instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Scheduling.OnHostMaintenance | The onHostMaintenance. | 
getOnHostMaintenanceValue()
public abstract int getOnHostMaintenanceValue()Optional. Defines the maintenance behavior for this instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for onHostMaintenance. | 
getPreemptible()
public abstract boolean getPreemptible()Optional. Defines whether the instance is preemptible.
 optional bool preemptible = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The preemptible. | 
getProvisioningModel()
public abstract Scheduling.ProvisioningModel getProvisioningModel()Optional. Specifies the provisioning model of the instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Scheduling.ProvisioningModel | The provisioningModel. | 
getProvisioningModelValue()
public abstract int getProvisioningModelValue()Optional. Specifies the provisioning model of the instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for provisioningModel. | 
hasAutomaticRestart()
public abstract boolean hasAutomaticRestart()Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
 optional bool automatic_restart = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the automaticRestart field is set. | 
hasInstanceTerminationAction()
public abstract boolean hasInstanceTerminationAction()Optional. Specifies the termination action for the instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the instanceTerminationAction field is set. | 
hasLocalSsdRecoveryTimeout()
public abstract boolean hasLocalSsdRecoveryTimeout()Optional. 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.backupdr.v1.SchedulingDuration local_ssd_recovery_timeout = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the localSsdRecoveryTimeout field is set. | 
hasMinNodeCpus()
public abstract boolean hasMinNodeCpus()Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
 optional int32 min_node_cpus = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the minNodeCpus field is set. | 
hasOnHostMaintenance()
public abstract boolean hasOnHostMaintenance()Optional. Defines the maintenance behavior for this instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the onHostMaintenance field is set. | 
hasPreemptible()
public abstract boolean hasPreemptible()Optional. Defines whether the instance is preemptible.
 optional bool preemptible = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the preemptible field is set. | 
hasProvisioningModel()
public abstract boolean hasProvisioningModel()Optional. Specifies the provisioning model of the instance.
 
 optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the provisioningModel field is set. |