@Generated(value="by GAPIC") @BetaApi public final class Scheduling extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Scheduling.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
Boolean |
getAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute
Engine (not terminated by a user).
|
static Scheduling |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
List<SchedulingNodeAffinity> |
getNodeAffinitiesList()
A set of node affinity and anti-affinity.
|
String |
getOnHostMaintenance()
Defines the maintenance behavior for this instance.
|
Boolean |
getPreemptible()
Defines whether the instance is preemptible.
|
int |
hashCode() |
static Scheduling.Builder |
newBuilder() |
static Scheduling.Builder |
newBuilder(Scheduling prototype) |
Scheduling.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public Boolean getAutomaticRestart()
By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.
public List<SchedulingNodeAffinity> getNodeAffinitiesList()
public String getOnHostMaintenance()
public Boolean getPreemptible()
public static Scheduling.Builder newBuilder()
public static Scheduling.Builder newBuilder(Scheduling prototype)
public Scheduling.Builder toBuilder()
public static Scheduling getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.