Class BestEffortProvisioning.Builder (2.86.0)

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

Best effort provisioning.

Protobuf type google.container.v1beta1.BestEffortProvisioning

Static Methods

getDescriptor()

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

Methods

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.

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.

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 GeneratedMessage.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

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.

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.