| Modifier and Type | Method and Description |
|---|---|
Scheduling.Builder |
Scheduling.Builder.addAllNodeAffinities(Iterable<? extends SchedulingNodeAffinity> values)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.addNodeAffinities(int index,
SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.addNodeAffinities(int index,
SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.addNodeAffinities(SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.addNodeAffinities(SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Scheduling.Builder |
Scheduling.Builder.clear() |
Scheduling.Builder |
Scheduling.Builder.clearAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
|
Scheduling.Builder |
Scheduling.Builder.clearAvailabilityDomain()
Specifies the availability domain to place the instance in.
|
Scheduling.Builder |
Scheduling.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Scheduling.Builder |
Scheduling.Builder.clearHostErrorTimeoutSeconds()
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.
|
Scheduling.Builder |
Scheduling.Builder.clearInstanceTerminationAction()
Specifies the termination action for the instance.
|
Scheduling.Builder |
Scheduling.Builder.clearLocalSsdRecoveryTimeout()
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
Scheduling.Builder |
Scheduling.Builder.clearLocationHint()
An opaque location hint used to place the instance close to other resources.
|
Scheduling.Builder |
Scheduling.Builder.clearMaxRunDuration()
Specifies the max run duration for the given instance.
|
Scheduling.Builder |
Scheduling.Builder.clearMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
|
Scheduling.Builder |
Scheduling.Builder.clearNodeAffinities()
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Scheduling.Builder |
Scheduling.Builder.clearOnHostMaintenance()
Defines the maintenance behavior for this instance.
|
Scheduling.Builder |
Scheduling.Builder.clearOnInstanceStopAction()
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
Scheduling.Builder |
Scheduling.Builder.clearPreemptible()
Defines whether the instance is preemptible.
|
Scheduling.Builder |
Scheduling.Builder.clearProvisioningModel()
Specifies the provisioning model of the instance.
|
Scheduling.Builder |
Scheduling.Builder.clearSkipGuestOsShutdown()
Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs.
|
Scheduling.Builder |
Scheduling.Builder.clearTerminationTime()
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
Scheduling.Builder |
Scheduling.Builder.clone() |
Scheduling.Builder |
SourceInstanceProperties.Builder.getSchedulingBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
|
Scheduling.Builder |
Instance.Builder.getSchedulingBuilder()
Sets the scheduling options for this instance.
|
Scheduling.Builder |
InstanceProperties.Builder.getSchedulingBuilder()
Specifies the scheduling options for the instances that are created from these properties.
|
Scheduling.Builder |
SetSchedulingInstanceRequest.Builder.getSchedulingResourceBuilder()
The body resource for this request
.google.cloud.compute.v1.Scheduling scheduling_resource = 463181401 [(.google.api.field_behavior) = REQUIRED];
|
Scheduling.Builder |
Scheduling.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Scheduling.Builder |
Scheduling.Builder.mergeFrom(com.google.protobuf.Message other) |
Scheduling.Builder |
Scheduling.Builder.mergeFrom(Scheduling other) |
Scheduling.Builder |
Scheduling.Builder.mergeLocalSsdRecoveryTimeout(Duration value)
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
Scheduling.Builder |
Scheduling.Builder.mergeMaxRunDuration(Duration value)
Specifies the max run duration for the given instance.
|
Scheduling.Builder |
Scheduling.Builder.mergeOnInstanceStopAction(SchedulingOnInstanceStopAction value)
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
Scheduling.Builder |
Scheduling.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Scheduling.Builder |
Scheduling.newBuilder() |
static Scheduling.Builder |
Scheduling.newBuilder(Scheduling prototype) |
Scheduling.Builder |
Scheduling.newBuilderForType() |
protected Scheduling.Builder |
Scheduling.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Scheduling.Builder |
Scheduling.Builder.removeNodeAffinities(int index)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.setAutomaticRestart(boolean value)
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
|
Scheduling.Builder |
Scheduling.Builder.setAvailabilityDomain(int value)
Specifies the availability domain to place the instance in.
|
Scheduling.Builder |
Scheduling.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Scheduling.Builder |
Scheduling.Builder.setHostErrorTimeoutSeconds(int value)
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.
|
Scheduling.Builder |
Scheduling.Builder.setInstanceTerminationAction(String value)
Specifies the termination action for the instance.
|
Scheduling.Builder |
Scheduling.Builder.setInstanceTerminationActionBytes(com.google.protobuf.ByteString value)
Specifies the termination action for the instance.
|
Scheduling.Builder |
Scheduling.Builder.setLocalSsdRecoveryTimeout(Duration.Builder builderForValue)
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
Scheduling.Builder |
Scheduling.Builder.setLocalSsdRecoveryTimeout(Duration value)
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.
|
Scheduling.Builder |
Scheduling.Builder.setLocationHint(String value)
An opaque location hint used to place the instance close to other resources.
|
Scheduling.Builder |
Scheduling.Builder.setLocationHintBytes(com.google.protobuf.ByteString value)
An opaque location hint used to place the instance close to other resources.
|
Scheduling.Builder |
Scheduling.Builder.setMaxRunDuration(Duration.Builder builderForValue)
Specifies the max run duration for the given instance.
|
Scheduling.Builder |
Scheduling.Builder.setMaxRunDuration(Duration value)
Specifies the max run duration for the given instance.
|
Scheduling.Builder |
Scheduling.Builder.setMinNodeCpus(int value)
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
|
Scheduling.Builder |
Scheduling.Builder.setNodeAffinities(int index,
SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.setNodeAffinities(int index,
SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations.
|
Scheduling.Builder |
Scheduling.Builder.setOnHostMaintenance(String value)
Defines the maintenance behavior for this instance.
|
Scheduling.Builder |
Scheduling.Builder.setOnHostMaintenanceBytes(com.google.protobuf.ByteString value)
Defines the maintenance behavior for this instance.
|
Scheduling.Builder |
Scheduling.Builder.setOnInstanceStopAction(SchedulingOnInstanceStopAction.Builder builderForValue)
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
Scheduling.Builder |
Scheduling.Builder.setOnInstanceStopAction(SchedulingOnInstanceStopAction value)
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;
|
Scheduling.Builder |
Scheduling.Builder.setPreemptible(boolean value)
Defines whether the instance is preemptible.
|
Scheduling.Builder |
Scheduling.Builder.setProvisioningModel(String value)
Specifies the provisioning model of the instance.
|
Scheduling.Builder |
Scheduling.Builder.setProvisioningModelBytes(com.google.protobuf.ByteString value)
Specifies the provisioning model of the instance.
|
Scheduling.Builder |
Scheduling.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Scheduling.Builder |
Scheduling.Builder.setSkipGuestOsShutdown(boolean value)
Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs.
|
Scheduling.Builder |
Scheduling.Builder.setTerminationTime(String value)
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
Scheduling.Builder |
Scheduling.Builder.setTerminationTimeBytes(com.google.protobuf.ByteString value)
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
Scheduling.Builder |
Scheduling.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Scheduling.Builder |
Scheduling.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SourceInstanceProperties.Builder |
SourceInstanceProperties.Builder.setScheduling(Scheduling.Builder builderForValue)
Specifies the scheduling options for the instances that are created from this machine image.
|
Instance.Builder |
Instance.Builder.setScheduling(Scheduling.Builder builderForValue)
Sets the scheduling options for this instance.
|
InstanceProperties.Builder |
InstanceProperties.Builder.setScheduling(Scheduling.Builder builderForValue)
Specifies the scheduling options for the instances that are created from these properties.
|
SetSchedulingInstanceRequest.Builder |
SetSchedulingInstanceRequest.Builder.setSchedulingResource(Scheduling.Builder builderForValue)
The body resource for this request
.google.cloud.compute.v1.Scheduling scheduling_resource = 463181401 [(.google.api.field_behavior) = REQUIRED];
|
Copyright © 2025 Google LLC. All rights reserved.