Class BestEffortProvisioning.Builder (2.46.0)

public static final class BestEffortProvisioning.Builder extends GeneratedMessageV3.Builder<BestEffortProvisioning.Builder> implements BestEffortProvisioningOrBuilder

Best effort provisioning.

Protobuf type google.container.v1.BestEffortProvisioning

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BestEffortProvisioning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

build()

public BestEffortProvisioning build()
Returns
Type Description
BestEffortProvisioning

buildPartial()

public BestEffortProvisioning buildPartial()
Returns
Type Description
BestEffortProvisioning

clear()

public BestEffortProvisioning.Builder clear()
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

clearEnabled()

public BestEffortProvisioning.Builder clearEnabled()

When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes

bool enabled = 1;

Returns
Type Description
BestEffortProvisioning.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BestEffortProvisioning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

clearMinProvisionNodes()

public BestEffortProvisioning.Builder clearMinProvisionNodes()

Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.

int32 min_provision_nodes = 2;

Returns
Type Description
BestEffortProvisioning.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BestEffortProvisioning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

clone()

public BestEffortProvisioning.Builder clone()
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

getDefaultInstanceForType()

public BestEffortProvisioning getDefaultInstanceForType()
Returns
Type Description
BestEffortProvisioning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getMinProvisionNodes()

public int getMinProvisionNodes()

Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.

int32 min_provision_nodes = 2;

Returns
Type Description
int

The minProvisionNodes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BestEffortProvisioning other)

public BestEffortProvisioning.Builder mergeFrom(BestEffortProvisioning other)
Parameter
Name Description
other BestEffortProvisioning
Returns
Type Description
BestEffortProvisioning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BestEffortProvisioning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BestEffortProvisioning.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BestEffortProvisioning.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BestEffortProvisioning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

setEnabled(boolean value)

public BestEffortProvisioning.Builder setEnabled(boolean value)

When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
BestEffortProvisioning.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BestEffortProvisioning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

setMinProvisionNodes(int value)

public BestEffortProvisioning.Builder setMinProvisionNodes(int value)

Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.

int32 min_provision_nodes = 2;

Parameter
Name Description
value int

The minProvisionNodes to set.

Returns
Type Description
BestEffortProvisioning.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BestEffortProvisioning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BestEffortProvisioning.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BestEffortProvisioning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BestEffortProvisioning.Builder
Overrides