Class BestEffortProvisioning.Builder (2.23.0)

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

Best effort provisioning.

Protobuf type google.container.v1beta1.BestEffortProvisioning

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BestEffortProvisioning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides

build()

public BestEffortProvisioning build()
Returns
TypeDescription
BestEffortProvisioning

buildPartial()

public BestEffortProvisioning buildPartial()
Returns
TypeDescription
BestEffortProvisioning

clear()

public BestEffortProvisioning.Builder clear()
Returns
TypeDescription
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
TypeDescription
BestEffortProvisioning.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BestEffortProvisioning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BestEffortProvisioning.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BestEffortProvisioning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides

clone()

public BestEffortProvisioning.Builder clone()
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides

getDefaultInstanceForType()

public BestEffortProvisioning getDefaultInstanceForType()
Returns
TypeDescription
BestEffortProvisioning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The minProvisionNodes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BestEffortProvisioning other)

public BestEffortProvisioning.Builder mergeFrom(BestEffortProvisioning other)
Parameter
NameDescription
otherBestEffortProvisioning
Returns
TypeDescription
BestEffortProvisioning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BestEffortProvisioning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BestEffortProvisioning.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BestEffortProvisioning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
BestEffortProvisioning.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BestEffortProvisioning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The minProvisionNodes to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BestEffortProvisioning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BestEffortProvisioning.Builder
Overrides