Uses of Class
com.google.cloud.compute.v1.Scheduling.Builder
-
Uses of Scheduling.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return Scheduling.BuilderModifier and TypeMethodDescriptionScheduling.Builder.addAllNodeAffinities(Iterable<? extends SchedulingNodeAffinity> values) A set of node affinity and anti-affinity configurations.Scheduling.Builder.addNodeAffinities(int index, SchedulingNodeAffinity value) A set of node affinity and anti-affinity configurations.Scheduling.Builder.addNodeAffinities(int index, SchedulingNodeAffinity.Builder builderForValue) A set of node affinity and anti-affinity configurations.Scheduling.Builder.addNodeAffinities(SchedulingNodeAffinity value) A set of node affinity and anti-affinity configurations.Scheduling.Builder.addNodeAffinities(SchedulingNodeAffinity.Builder builderForValue) A set of node affinity and anti-affinity configurations.Scheduling.Builder.clear()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.clearAvailabilityDomain()Specifies the availability domain to place the instance in.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.clearInstanceTerminationAction()Specifies the termination action for the instance.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.clearLocationHint()An opaque location hint used to place the instance close to other resources.Scheduling.Builder.clearMaxRunDuration()Specifies the max run duration for the given instance.Scheduling.Builder.clearMinNodeCpus()The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.Scheduling.Builder.clearNodeAffinities()A set of node affinity and anti-affinity configurations.Scheduling.Builder.clearOnHostMaintenance()Defines the maintenance behavior for this instance.Scheduling.Builder.clearOnInstanceStopAction()optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;Scheduling.Builder.clearPreemptible()Defines whether the instance is preemptible.Scheduling.Builder.clearProvisioningModel()Specifies the provisioning model of the instance.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.clearTerminationTime()Specifies the timestamp, when the instance will be terminated, inRFC3339 text format.Instance.Builder.getSchedulingBuilder()Sets the scheduling options for this instance.InstanceProperties.Builder.getSchedulingBuilder()Specifies the scheduling options for the instances that are created from these properties.SourceInstanceProperties.Builder.getSchedulingBuilder()Specifies the scheduling options for the instances that are created from this machine image.SetSchedulingInstanceRequest.Builder.getSchedulingResourceBuilder()The body resource for this requestScheduling.Builder.mergeFrom(Scheduling other) Scheduling.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Scheduling.Builder.mergeFrom(com.google.protobuf.Message other) 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.mergeMaxRunDuration(Duration value) Specifies the max run duration for the given instance.Scheduling.Builder.mergeOnInstanceStopAction(SchedulingOnInstanceStopAction value) optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;static Scheduling.BuilderScheduling.newBuilder()static Scheduling.BuilderScheduling.newBuilder(Scheduling prototype) Scheduling.newBuilderForType()protected Scheduling.BuilderScheduling.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Scheduling.Builder.removeNodeAffinities(int index) A set of node affinity and anti-affinity configurations.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.setAvailabilityDomain(int value) Specifies the availability domain to place the instance in.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.setInstanceTerminationAction(String value) Specifies the termination action for the instance.Scheduling.Builder.setInstanceTerminationActionBytes(com.google.protobuf.ByteString value) Specifies the termination action for the instance.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.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.setLocationHint(String value) An opaque location hint used to place the instance close to other resources.Scheduling.Builder.setLocationHintBytes(com.google.protobuf.ByteString value) An opaque location hint used to place the instance close to other resources.Scheduling.Builder.setMaxRunDuration(Duration value) Specifies the max run duration for the given instance.Scheduling.Builder.setMaxRunDuration(Duration.Builder builderForValue) Specifies the max run duration for the given instance.Scheduling.Builder.setMinNodeCpus(int value) The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.Scheduling.Builder.setNodeAffinities(int index, SchedulingNodeAffinity value) A set of node affinity and anti-affinity configurations.Scheduling.Builder.setNodeAffinities(int index, SchedulingNodeAffinity.Builder builderForValue) A set of node affinity and anti-affinity configurations.Scheduling.Builder.setOnHostMaintenance(String value) Defines the maintenance behavior for this instance.Scheduling.Builder.setOnHostMaintenanceBytes(com.google.protobuf.ByteString value) Defines the maintenance behavior for this instance.Scheduling.Builder.setOnInstanceStopAction(SchedulingOnInstanceStopAction value) optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;Scheduling.Builder.setOnInstanceStopAction(SchedulingOnInstanceStopAction.Builder builderForValue) optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;Scheduling.Builder.setPreemptible(boolean value) Defines whether the instance is preemptible.Scheduling.Builder.setProvisioningModel(String value) Specifies the provisioning model of the instance.Scheduling.Builder.setProvisioningModelBytes(com.google.protobuf.ByteString value) Specifies the provisioning model of the instance.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.setTerminationTime(String value) Specifies the timestamp, when the instance will be terminated, inRFC3339 text format.Scheduling.Builder.setTerminationTimeBytes(com.google.protobuf.ByteString value) Specifies the timestamp, when the instance will be terminated, inRFC3339 text format.Scheduling.toBuilder()Methods in com.google.cloud.compute.v1 with parameters of type Scheduling.BuilderModifier and TypeMethodDescriptionInstance.Builder.setScheduling(Scheduling.Builder builderForValue) Sets the scheduling options for this instance.InstanceProperties.Builder.setScheduling(Scheduling.Builder builderForValue) Specifies the scheduling options for the instances that are created from these properties.SourceInstanceProperties.Builder.setScheduling(Scheduling.Builder builderForValue) Specifies the scheduling options for the instances that are created from this machine image.SetSchedulingInstanceRequest.Builder.setSchedulingResource(Scheduling.Builder builderForValue) The body resource for this request