Class NodePool.QueuedProvisioning.Builder (2.45.0)

public static final class NodePool.QueuedProvisioning.Builder extends GeneratedMessageV3.Builder<NodePool.QueuedProvisioning.Builder> implements NodePool.QueuedProvisioningOrBuilder

QueuedProvisioning defines the queued provisioning used by the node pool.

Protobuf type google.container.v1beta1.NodePool.QueuedProvisioning

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePool.QueuedProvisioning build()
Returns
Type Description
NodePool.QueuedProvisioning

buildPartial()

public NodePool.QueuedProvisioning buildPartial()
Returns
Type Description
NodePool.QueuedProvisioning

clear()

public NodePool.QueuedProvisioning.Builder clear()
Returns
Type Description
NodePool.QueuedProvisioning.Builder
Overrides

clearEnabled()

public NodePool.QueuedProvisioning.Builder clearEnabled()

Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.

bool enabled = 1;

Returns
Type Description
NodePool.QueuedProvisioning.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public NodePool.QueuedProvisioning.Builder clone()
Returns
Type Description
NodePool.QueuedProvisioning.Builder
Overrides

getDefaultInstanceForType()

public NodePool.QueuedProvisioning getDefaultInstanceForType()
Returns
Type Description
NodePool.QueuedProvisioning

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePool.QueuedProvisioning other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public NodePool.QueuedProvisioning.Builder setEnabled(boolean value)

Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
NodePool.QueuedProvisioning.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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