Package com.google.cloud.vmmigration.v1
Class ComputeScheduling.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
- com.google.cloud.vmmigration.v1.ComputeScheduling.Builder
-
- All Implemented Interfaces:
ComputeSchedulingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ComputeScheduling
public static final class ComputeScheduling.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder> implements ComputeSchedulingOrBuilder
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.
Protobuf typegoogle.cloud.vmmigration.v1.ComputeScheduling
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeScheduling.Builder
addAllNodeAffinities(Iterable<? extends SchedulingNodeAffinity> values)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
addNodeAffinities(int index, SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
addNodeAffinities(int index, SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
addNodeAffinities(SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
addNodeAffinities(SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations for sole tenant nodes.SchedulingNodeAffinity.Builder
addNodeAffinitiesBuilder()
A set of node affinity and anti-affinity configurations for sole tenant nodes.SchedulingNodeAffinity.Builder
addNodeAffinitiesBuilder(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ComputeScheduling
build()
ComputeScheduling
buildPartial()
ComputeScheduling.Builder
clear()
ComputeScheduling.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ComputeScheduling.Builder
clearMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.ComputeScheduling.Builder
clearNodeAffinities()
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ComputeScheduling.Builder
clearOnHostMaintenance()
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.ComputeScheduling.Builder
clearRestartType()
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).ComputeScheduling.Builder
clone()
ComputeScheduling
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.SchedulingNodeAffinity
getNodeAffinities(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.SchedulingNodeAffinity.Builder
getNodeAffinitiesBuilder(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.List<SchedulingNodeAffinity.Builder>
getNodeAffinitiesBuilderList()
A set of node affinity and anti-affinity configurations for sole tenant nodes.int
getNodeAffinitiesCount()
A set of node affinity and anti-affinity configurations for sole tenant nodes.List<SchedulingNodeAffinity>
getNodeAffinitiesList()
A set of node affinity and anti-affinity configurations for sole tenant nodes.SchedulingNodeAffinityOrBuilder
getNodeAffinitiesOrBuilder(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.List<? extends SchedulingNodeAffinityOrBuilder>
getNodeAffinitiesOrBuilderList()
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.OnHostMaintenance
getOnHostMaintenance()
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.int
getOnHostMaintenanceValue()
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.ComputeScheduling.RestartType
getRestartType()
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).int
getRestartTypeValue()
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ComputeScheduling.Builder
mergeFrom(ComputeScheduling other)
ComputeScheduling.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ComputeScheduling.Builder
mergeFrom(com.google.protobuf.Message other)
ComputeScheduling.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ComputeScheduling.Builder
removeNodeAffinities(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ComputeScheduling.Builder
setMinNodeCpus(int value)
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.ComputeScheduling.Builder
setNodeAffinities(int index, SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
setNodeAffinities(int index, SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations for sole tenant nodes.ComputeScheduling.Builder
setOnHostMaintenance(ComputeScheduling.OnHostMaintenance value)
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.ComputeScheduling.Builder
setOnHostMaintenanceValue(int value)
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.ComputeScheduling.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ComputeScheduling.Builder
setRestartType(ComputeScheduling.RestartType value)
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).ComputeScheduling.Builder
setRestartTypeValue(int value)
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).ComputeScheduling.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
clear
public ComputeScheduling.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
getDefaultInstanceForType
public ComputeScheduling getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ComputeScheduling build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ComputeScheduling buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ComputeScheduling.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
setField
public ComputeScheduling.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
clearField
public ComputeScheduling.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
clearOneof
public ComputeScheduling.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
setRepeatedField
public ComputeScheduling.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
addRepeatedField
public ComputeScheduling.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
mergeFrom
public ComputeScheduling.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ComputeScheduling.Builder>
-
mergeFrom
public ComputeScheduling.Builder mergeFrom(ComputeScheduling other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
mergeFrom
public ComputeScheduling.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ComputeScheduling.Builder>
- Throws:
IOException
-
getOnHostMaintenanceValue
public int getOnHostMaintenanceValue()
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1;
- Specified by:
getOnHostMaintenanceValue
in interfaceComputeSchedulingOrBuilder
- Returns:
- The enum numeric value on the wire for onHostMaintenance.
-
setOnHostMaintenanceValue
public ComputeScheduling.Builder setOnHostMaintenanceValue(int value)
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1;
- Parameters:
value
- The enum numeric value on the wire for onHostMaintenance to set.- Returns:
- This builder for chaining.
-
getOnHostMaintenance
public ComputeScheduling.OnHostMaintenance getOnHostMaintenance()
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1;
- Specified by:
getOnHostMaintenance
in interfaceComputeSchedulingOrBuilder
- Returns:
- The onHostMaintenance.
-
setOnHostMaintenance
public ComputeScheduling.Builder setOnHostMaintenance(ComputeScheduling.OnHostMaintenance value)
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1;
- Parameters:
value
- The onHostMaintenance to set.- Returns:
- This builder for chaining.
-
clearOnHostMaintenance
public ComputeScheduling.Builder clearOnHostMaintenance()
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1;
- Returns:
- This builder for chaining.
-
getRestartTypeValue
public int getRestartTypeValue()
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
.google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5;
- Specified by:
getRestartTypeValue
in interfaceComputeSchedulingOrBuilder
- Returns:
- The enum numeric value on the wire for restartType.
-
setRestartTypeValue
public ComputeScheduling.Builder setRestartTypeValue(int value)
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
.google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5;
- Parameters:
value
- The enum numeric value on the wire for restartType to set.- Returns:
- This builder for chaining.
-
getRestartType
public ComputeScheduling.RestartType getRestartType()
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
.google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5;
- Specified by:
getRestartType
in interfaceComputeSchedulingOrBuilder
- Returns:
- The restartType.
-
setRestartType
public ComputeScheduling.Builder setRestartType(ComputeScheduling.RestartType value)
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
.google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5;
- Parameters:
value
- The restartType to set.- Returns:
- This builder for chaining.
-
clearRestartType
public ComputeScheduling.Builder clearRestartType()
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
.google.cloud.vmmigration.v1.ComputeScheduling.RestartType restart_type = 5;
- Returns:
- This builder for chaining.
-
getNodeAffinitiesList
public List<SchedulingNodeAffinity> getNodeAffinitiesList()
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
- Specified by:
getNodeAffinitiesList
in interfaceComputeSchedulingOrBuilder
-
getNodeAffinitiesCount
public int getNodeAffinitiesCount()
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
- Specified by:
getNodeAffinitiesCount
in interfaceComputeSchedulingOrBuilder
-
getNodeAffinities
public SchedulingNodeAffinity getNodeAffinities(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
- Specified by:
getNodeAffinities
in interfaceComputeSchedulingOrBuilder
-
setNodeAffinities
public ComputeScheduling.Builder setNodeAffinities(int index, SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
setNodeAffinities
public ComputeScheduling.Builder setNodeAffinities(int index, SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
addNodeAffinities
public ComputeScheduling.Builder addNodeAffinities(SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
addNodeAffinities
public ComputeScheduling.Builder addNodeAffinities(int index, SchedulingNodeAffinity value)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
addNodeAffinities
public ComputeScheduling.Builder addNodeAffinities(SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
addNodeAffinities
public ComputeScheduling.Builder addNodeAffinities(int index, SchedulingNodeAffinity.Builder builderForValue)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
addAllNodeAffinities
public ComputeScheduling.Builder addAllNodeAffinities(Iterable<? extends SchedulingNodeAffinity> values)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
clearNodeAffinities
public ComputeScheduling.Builder clearNodeAffinities()
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
removeNodeAffinities
public ComputeScheduling.Builder removeNodeAffinities(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
getNodeAffinitiesBuilder
public SchedulingNodeAffinity.Builder getNodeAffinitiesBuilder(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
getNodeAffinitiesOrBuilder
public SchedulingNodeAffinityOrBuilder getNodeAffinitiesOrBuilder(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
- Specified by:
getNodeAffinitiesOrBuilder
in interfaceComputeSchedulingOrBuilder
-
getNodeAffinitiesOrBuilderList
public List<? extends SchedulingNodeAffinityOrBuilder> getNodeAffinitiesOrBuilderList()
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
- Specified by:
getNodeAffinitiesOrBuilderList
in interfaceComputeSchedulingOrBuilder
-
addNodeAffinitiesBuilder
public SchedulingNodeAffinity.Builder addNodeAffinitiesBuilder()
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
addNodeAffinitiesBuilder
public SchedulingNodeAffinity.Builder addNodeAffinitiesBuilder(int index)
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
getNodeAffinitiesBuilderList
public List<SchedulingNodeAffinity.Builder> getNodeAffinitiesBuilderList()
A set of node affinity and anti-affinity configurations for sole tenant nodes.
repeated .google.cloud.vmmigration.v1.SchedulingNodeAffinity node_affinities = 3;
-
getMinNodeCpus
public int getMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
int32 min_node_cpus = 4;
- Specified by:
getMinNodeCpus
in interfaceComputeSchedulingOrBuilder
- Returns:
- The minNodeCpus.
-
setMinNodeCpus
public ComputeScheduling.Builder setMinNodeCpus(int value)
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
int32 min_node_cpus = 4;
- Parameters:
value
- The minNodeCpus to set.- Returns:
- This builder for chaining.
-
clearMinNodeCpus
public ComputeScheduling.Builder clearMinNodeCpus()
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
int32 min_node_cpus = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ComputeScheduling.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
mergeUnknownFields
public final ComputeScheduling.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeScheduling.Builder>
-
-