publicfinalclass SchedulingextendsGeneratedMessageV3implementsSchedulingOrBuilder
Sets the scheduling options for an Instance.
Protobuf type google.cloud.backupdr.v1.Scheduling
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTOMATIC_RESTART_FIELD_NUMBER
publicstaticfinalintAUTOMATIC_RESTART_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
INSTANCE_TERMINATION_ACTION_FIELD_NUMBER
publicstaticfinalintINSTANCE_TERMINATION_ACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LOCAL_SSD_RECOVERY_TIMEOUT_FIELD_NUMBER
publicstaticfinalintLOCAL_SSD_RECOVERY_TIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MIN_NODE_CPUS_FIELD_NUMBER
publicstaticfinalintMIN_NODE_CPUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NODE_AFFINITIES_FIELD_NUMBER
publicstaticfinalintNODE_AFFINITIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ON_HOST_MAINTENANCE_FIELD_NUMBER
publicstaticfinalintON_HOST_MAINTENANCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PREEMPTIBLE_FIELD_NUMBER
publicstaticfinalintPREEMPTIBLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PROVISIONING_MODEL_FIELD_NUMBER
publicstaticfinalintPROVISIONING_MODEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticSchedulinggetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticScheduling.BuildernewBuilder()
newBuilder(Scheduling prototype)
publicstaticScheduling.BuildernewBuilder(Schedulingprototype)
publicstaticSchedulingparseDelimitedFrom(InputStreaminput)
publicstaticSchedulingparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticSchedulingparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSchedulingparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticSchedulingparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSchedulingparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticSchedulingparseFrom(CodedInputStreaminput)
publicstaticSchedulingparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticSchedulingparseFrom(InputStreaminput)
publicstaticSchedulingparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticSchedulingparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSchedulingparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Scheduling>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAutomaticRestart()
publicbooleangetAutomaticRestart()
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.
|
getDefaultInstanceForType()
publicSchedulinggetDefaultInstanceForType()
getInstanceTerminationAction()
publicScheduling.InstanceTerminationActiongetInstanceTerminationAction()
Optional. Specifies the termination action for the instance.
optional .google.cloud.backupdr.v1.Scheduling.InstanceTerminationAction instance_termination_action = 7 [(.google.api.field_behavior) = OPTIONAL];
getInstanceTerminationActionValue()
publicintgetInstanceTerminationActionValue()
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()
publicSchedulingDurationgetLocalSsdRecoveryTimeout()
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];
getLocalSsdRecoveryTimeoutOrBuilder()
publicSchedulingDurationOrBuildergetLocalSsdRecoveryTimeoutOrBuilder()
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];
getMinNodeCpus()
publicintgetMinNodeCpus()
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)
publicScheduling.NodeAffinitygetNodeAffinities(intindex)
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
|
getNodeAffinitiesCount()
publicintgetNodeAffinitiesCount()
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()
publicList<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];
getNodeAffinitiesOrBuilder(int index)
publicScheduling.NodeAffinityOrBuildergetNodeAffinitiesOrBuilder(intindex)
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
|
getNodeAffinitiesOrBuilderList()
publicList<?extendsScheduling.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()
publicScheduling.OnHostMaintenancegetOnHostMaintenance()
Optional. Defines the maintenance behavior for this instance.
optional .google.cloud.backupdr.v1.Scheduling.OnHostMaintenance on_host_maintenance = 1 [(.google.api.field_behavior) = OPTIONAL];
getOnHostMaintenanceValue()
publicintgetOnHostMaintenanceValue()
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.
|
getParserForType()
publicParser<Scheduling>getParserForType()
Overrides
getPreemptible()
publicbooleangetPreemptible()
Optional. Defines whether the instance is preemptible.
optional bool preemptible = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The preemptible.
|
getProvisioningModel()
publicScheduling.ProvisioningModelgetProvisioningModel()
Optional. Specifies the provisioning model of the instance.
optional .google.cloud.backupdr.v1.Scheduling.ProvisioningModel provisioning_model = 6 [(.google.api.field_behavior) = OPTIONAL];
getProvisioningModelValue()
publicintgetProvisioningModelValue()
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.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasAutomaticRestart()
publicbooleanhasAutomaticRestart()
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()
publicbooleanhasInstanceTerminationAction()
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()
publicbooleanhasLocalSsdRecoveryTimeout()
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()
publicbooleanhasMinNodeCpus()
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()
publicbooleanhasOnHostMaintenance()
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()
publicbooleanhasPreemptible()
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()
publicbooleanhasProvisioningModel()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicScheduling.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedScheduling.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicScheduling.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides