Package com.google.cloud.compute.v1
Class Scheduling
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.Scheduling
- All Implemented Interfaces:
SchedulingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Scheduling
extends com.google.protobuf.GeneratedMessage
implements SchedulingOrBuilder
Sets the scheduling options for an Instance.Protobuf type
google.cloud.compute.v1.Scheduling- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSets the scheduling options for an Instance.static enumSpecifies the termination action for the instance.static enumDefines the maintenance behavior for this instance.static enumSpecifies the provisioning model of the instance.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanSpecifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).intSpecifies the availability domain to place the instance in.static Schedulingstatic final com.google.protobuf.Descriptors.DescriptorintSpecify 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.Specifies the termination action for the instance.com.google.protobuf.ByteStringSpecifies the termination action for the instance.Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.An opaque location hint used to place the instance close to other resources.com.google.protobuf.ByteStringAn opaque location hint used to place the instance close to other resources.Specifies the max run duration for the given instance.Specifies the max run duration for the given instance.intThe minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.getNodeAffinities(int index) A set of node affinity and anti-affinity configurations.intA set of node affinity and anti-affinity configurations.A set of node affinity and anti-affinity configurations.getNodeAffinitiesOrBuilder(int index) A set of node affinity and anti-affinity configurations.List<? extends SchedulingNodeAffinityOrBuilder>A set of node affinity and anti-affinity configurations.Defines the maintenance behavior for this instance.com.google.protobuf.ByteStringDefines the maintenance behavior for this instance.optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;com.google.protobuf.Parser<Scheduling>booleanDefines whether the instance is preemptible.Specifies the provisioning model of the instance.com.google.protobuf.ByteStringSpecifies the provisioning model of the instance.intbooleanDefault 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.Specifies the timestamp, when the instance will be terminated, inRFC3339 text format.com.google.protobuf.ByteStringSpecifies the timestamp, when the instance will be terminated, inRFC3339 text format.booleanSpecifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).booleanSpecifies the availability domain to place the instance in.inthashCode()booleanSpecify 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.booleanSpecifies the termination action for the instance.booleanSpecifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted.booleanAn opaque location hint used to place the instance close to other resources.booleanSpecifies the max run duration for the given instance.booleanThe minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.booleanDefines the maintenance behavior for this instance.booleanoptional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;booleanDefines whether the instance is preemptible.booleanSpecifies the provisioning model of the instance.booleanDefault 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.booleanSpecifies the timestamp, when the instance will be terminated, inRFC3339 text format.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Scheduling.Builderstatic Scheduling.BuildernewBuilder(Scheduling prototype) protected Scheduling.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SchedulingparseDelimitedFrom(InputStream input) static SchedulingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchedulingparseFrom(byte[] data) static SchedulingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchedulingparseFrom(com.google.protobuf.ByteString data) static SchedulingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchedulingparseFrom(com.google.protobuf.CodedInputStream input) static SchedulingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchedulingparseFrom(InputStream input) static SchedulingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SchedulingparseFrom(ByteBuffer data) static SchedulingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Scheduling>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AUTOMATIC_RESTART_FIELD_NUMBER
public static final int AUTOMATIC_RESTART_FIELD_NUMBER- See Also:
-
AVAILABILITY_DOMAIN_FIELD_NUMBER
public static final int AVAILABILITY_DOMAIN_FIELD_NUMBER- See Also:
-
HOST_ERROR_TIMEOUT_SECONDS_FIELD_NUMBER
public static final int HOST_ERROR_TIMEOUT_SECONDS_FIELD_NUMBER- See Also:
-
INSTANCE_TERMINATION_ACTION_FIELD_NUMBER
public static final int INSTANCE_TERMINATION_ACTION_FIELD_NUMBER- See Also:
-
LOCAL_SSD_RECOVERY_TIMEOUT_FIELD_NUMBER
public static final int LOCAL_SSD_RECOVERY_TIMEOUT_FIELD_NUMBER- See Also:
-
LOCATION_HINT_FIELD_NUMBER
public static final int LOCATION_HINT_FIELD_NUMBER- See Also:
-
MAX_RUN_DURATION_FIELD_NUMBER
public static final int MAX_RUN_DURATION_FIELD_NUMBER- See Also:
-
MIN_NODE_CPUS_FIELD_NUMBER
public static final int MIN_NODE_CPUS_FIELD_NUMBER- See Also:
-
NODE_AFFINITIES_FIELD_NUMBER
public static final int NODE_AFFINITIES_FIELD_NUMBER- See Also:
-
ON_HOST_MAINTENANCE_FIELD_NUMBER
public static final int ON_HOST_MAINTENANCE_FIELD_NUMBER- See Also:
-
ON_INSTANCE_STOP_ACTION_FIELD_NUMBER
public static final int ON_INSTANCE_STOP_ACTION_FIELD_NUMBER- See Also:
-
PREEMPTIBLE_FIELD_NUMBER
public static final int PREEMPTIBLE_FIELD_NUMBER- See Also:
-
PROVISIONING_MODEL_FIELD_NUMBER
public static final int PROVISIONING_MODEL_FIELD_NUMBER- See Also:
-
SKIP_GUEST_OS_SHUTDOWN_FIELD_NUMBER
public static final int SKIP_GUEST_OS_SHUTDOWN_FIELD_NUMBER- See Also:
-
TERMINATION_TIME_FIELD_NUMBER
public static final int TERMINATION_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasAutomaticRestart
public boolean 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;- Specified by:
hasAutomaticRestartin interfaceSchedulingOrBuilder- Returns:
- Whether the automaticRestart field is set.
-
getAutomaticRestart
public 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;- Specified by:
getAutomaticRestartin interfaceSchedulingOrBuilder- Returns:
- The automaticRestart.
-
hasAvailabilityDomain
public boolean hasAvailabilityDomain()Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
optional int32 availability_domain = 252514344;- Specified by:
hasAvailabilityDomainin interfaceSchedulingOrBuilder- Returns:
- Whether the availabilityDomain field is set.
-
getAvailabilityDomain
public int getAvailabilityDomain()Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
optional int32 availability_domain = 252514344;- Specified by:
getAvailabilityDomainin interfaceSchedulingOrBuilder- Returns:
- The availabilityDomain.
-
hasHostErrorTimeoutSeconds
public boolean hasHostErrorTimeoutSeconds()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.
optional int32 host_error_timeout_seconds = 408317459;- Specified by:
hasHostErrorTimeoutSecondsin interfaceSchedulingOrBuilder- Returns:
- Whether the hostErrorTimeoutSeconds field is set.
-
getHostErrorTimeoutSeconds
public int getHostErrorTimeoutSeconds()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.
optional int32 host_error_timeout_seconds = 408317459;- Specified by:
getHostErrorTimeoutSecondsin interfaceSchedulingOrBuilder- Returns:
- The hostErrorTimeoutSeconds.
-
hasInstanceTerminationAction
public 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;- Specified by:
hasInstanceTerminationActionin interfaceSchedulingOrBuilder- Returns:
- Whether the instanceTerminationAction field is set.
-
getInstanceTerminationAction
Specifies the termination action for the instance. Check the InstanceTerminationAction enum for the list of possible values.
optional string instance_termination_action = 107380667;- Specified by:
getInstanceTerminationActionin interfaceSchedulingOrBuilder- Returns:
- The instanceTerminationAction.
-
getInstanceTerminationActionBytes
public 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;- Specified by:
getInstanceTerminationActionBytesin interfaceSchedulingOrBuilder- Returns:
- The bytes for instanceTerminationAction.
-
hasLocalSsdRecoveryTimeout
public boolean hasLocalSsdRecoveryTimeout()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.compute.v1.Duration local_ssd_recovery_timeout = 268015590;- Specified by:
hasLocalSsdRecoveryTimeoutin interfaceSchedulingOrBuilder- Returns:
- Whether the localSsdRecoveryTimeout field is set.
-
getLocalSsdRecoveryTimeout
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.compute.v1.Duration local_ssd_recovery_timeout = 268015590;- Specified by:
getLocalSsdRecoveryTimeoutin interfaceSchedulingOrBuilder- Returns:
- The localSsdRecoveryTimeout.
-
getLocalSsdRecoveryTimeoutOrBuilder
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.compute.v1.Duration local_ssd_recovery_timeout = 268015590;- Specified by:
getLocalSsdRecoveryTimeoutOrBuilderin interfaceSchedulingOrBuilder
-
hasLocationHint
public 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;- Specified by:
hasLocationHintin interfaceSchedulingOrBuilder- Returns:
- Whether the locationHint field is set.
-
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;- Specified by:
getLocationHintin interfaceSchedulingOrBuilder- Returns:
- The locationHint.
-
getLocationHintBytes
public 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;- Specified by:
getLocationHintBytesin interfaceSchedulingOrBuilder- Returns:
- The bytes for locationHint.
-
hasMaxRunDuration
public boolean hasMaxRunDuration()Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration.
optional .google.cloud.compute.v1.Duration max_run_duration = 430839747;- Specified by:
hasMaxRunDurationin interfaceSchedulingOrBuilder- Returns:
- Whether the maxRunDuration field is set.
-
getMaxRunDuration
Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration.
optional .google.cloud.compute.v1.Duration max_run_duration = 430839747;- Specified by:
getMaxRunDurationin interfaceSchedulingOrBuilder- Returns:
- The maxRunDuration.
-
getMaxRunDurationOrBuilder
Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration.
optional .google.cloud.compute.v1.Duration max_run_duration = 430839747;- Specified by:
getMaxRunDurationOrBuilderin interfaceSchedulingOrBuilder
-
hasMinNodeCpus
public 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;- Specified by:
hasMinNodeCpusin interfaceSchedulingOrBuilder- Returns:
- Whether the minNodeCpus field is set.
-
getMinNodeCpus
public 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;- Specified by:
getMinNodeCpusin interfaceSchedulingOrBuilder- Returns:
- The minNodeCpus.
-
getNodeAffinitiesList
A set of node affinity and anti-affinity configurations. Refer toConfiguring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;- Specified by:
getNodeAffinitiesListin interfaceSchedulingOrBuilder
-
getNodeAffinitiesOrBuilderList
A set of node affinity and anti-affinity configurations. Refer toConfiguring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;- Specified by:
getNodeAffinitiesOrBuilderListin interfaceSchedulingOrBuilder
-
getNodeAffinitiesCount
public int getNodeAffinitiesCount()A set of node affinity and anti-affinity configurations. Refer toConfiguring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;- Specified by:
getNodeAffinitiesCountin interfaceSchedulingOrBuilder
-
getNodeAffinities
A set of node affinity and anti-affinity configurations. Refer toConfiguring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;- Specified by:
getNodeAffinitiesin interfaceSchedulingOrBuilder
-
getNodeAffinitiesOrBuilder
A set of node affinity and anti-affinity configurations. Refer toConfiguring node affinity for more information. Overrides reservationAffinity.
repeated .google.cloud.compute.v1.SchedulingNodeAffinity node_affinities = 461799971;- Specified by:
getNodeAffinitiesOrBuilderin interfaceSchedulingOrBuilder
-
hasOnHostMaintenance
public boolean hasOnHostMaintenance()Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. Forpreemptible 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;- Specified by:
hasOnHostMaintenancein interfaceSchedulingOrBuilder- Returns:
- Whether the onHostMaintenance field is set.
-
getOnHostMaintenance
Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. Forpreemptible 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;- Specified by:
getOnHostMaintenancein interfaceSchedulingOrBuilder- Returns:
- The onHostMaintenance.
-
getOnHostMaintenanceBytes
public com.google.protobuf.ByteString getOnHostMaintenanceBytes()Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. Forpreemptible 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;- Specified by:
getOnHostMaintenanceBytesin interfaceSchedulingOrBuilder- Returns:
- The bytes for onHostMaintenance.
-
hasOnInstanceStopAction
public boolean hasOnInstanceStopAction()optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;- Specified by:
hasOnInstanceStopActionin interfaceSchedulingOrBuilder- Returns:
- Whether the onInstanceStopAction field is set.
-
getOnInstanceStopAction
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;- Specified by:
getOnInstanceStopActionin interfaceSchedulingOrBuilder- Returns:
- The onInstanceStopAction.
-
getOnInstanceStopActionOrBuilder
optional .google.cloud.compute.v1.SchedulingOnInstanceStopAction on_instance_stop_action = 529876681;- Specified by:
getOnInstanceStopActionOrBuilderin interfaceSchedulingOrBuilder
-
hasPreemptible
public boolean hasPreemptible()Defines whether the instance is preemptible. This can only be set during instance creation or while the instance isstopped and therefore, in a `TERMINATED` state. SeeInstance Life Cycle for more information on the possible instance states.
optional bool preemptible = 324203169;- Specified by:
hasPreemptiblein interfaceSchedulingOrBuilder- Returns:
- Whether the preemptible field is set.
-
getPreemptible
public boolean getPreemptible()Defines whether the instance is preemptible. This can only be set during instance creation or while the instance isstopped and therefore, in a `TERMINATED` state. SeeInstance Life Cycle for more information on the possible instance states.
optional bool preemptible = 324203169;- Specified by:
getPreemptiblein interfaceSchedulingOrBuilder- Returns:
- The preemptible.
-
hasProvisioningModel
public boolean hasProvisioningModel()Specifies the provisioning model of the instance. Check the ProvisioningModel enum for the list of possible values.
optional string provisioning_model = 494423;- Specified by:
hasProvisioningModelin interfaceSchedulingOrBuilder- Returns:
- Whether the provisioningModel field is set.
-
getProvisioningModel
Specifies the provisioning model of the instance. Check the ProvisioningModel enum for the list of possible values.
optional string provisioning_model = 494423;- Specified by:
getProvisioningModelin interfaceSchedulingOrBuilder- Returns:
- The provisioningModel.
-
getProvisioningModelBytes
public 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;- Specified by:
getProvisioningModelBytesin interfaceSchedulingOrBuilder- Returns:
- The bytes for provisioningModel.
-
hasSkipGuestOsShutdown
public boolean hasSkipGuestOsShutdown()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.
optional bool skip_guest_os_shutdown = 201662378;- Specified by:
hasSkipGuestOsShutdownin interfaceSchedulingOrBuilder- Returns:
- Whether the skipGuestOsShutdown field is set.
-
getSkipGuestOsShutdown
public boolean getSkipGuestOsShutdown()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.
optional bool skip_guest_os_shutdown = 201662378;- Specified by:
getSkipGuestOsShutdownin interfaceSchedulingOrBuilder- Returns:
- The skipGuestOsShutdown.
-
hasTerminationTime
public boolean hasTerminationTime()Specifies the timestamp, when the instance will be terminated, inRFC3339 text format. If specified, the instance termination action will be performed at the termination time.
optional string termination_time = 428082984;- Specified by:
hasTerminationTimein interfaceSchedulingOrBuilder- Returns:
- Whether the terminationTime field is set.
-
getTerminationTime
Specifies the timestamp, when the instance will be terminated, inRFC3339 text format. If specified, the instance termination action will be performed at the termination time.
optional string termination_time = 428082984;- Specified by:
getTerminationTimein interfaceSchedulingOrBuilder- Returns:
- The terminationTime.
-
getTerminationTimeBytes
public com.google.protobuf.ByteString getTerminationTimeBytes()Specifies the timestamp, when the instance will be terminated, inRFC3339 text format. If specified, the instance termination action will be performed at the termination time.
optional string termination_time = 428082984;- Specified by:
getTerminationTimeBytesin interfaceSchedulingOrBuilder- Returns:
- The bytes for terminationTime.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Scheduling parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Scheduling parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Scheduling parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Scheduling parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Scheduling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Scheduling parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Scheduling parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Scheduling parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Scheduling parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Scheduling.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-