Class NodePool.QueuedProvisioning.Builder (2.40.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.v1.NodePool.QueuedProvisioning

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePool.QueuedProvisioning build()
Returns
TypeDescription
NodePool.QueuedProvisioning

buildPartial()

public NodePool.QueuedProvisioning buildPartial()
Returns
TypeDescription
NodePool.QueuedProvisioning

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodePool.QueuedProvisioning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodePool.QueuedProvisioning.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public NodePool.QueuedProvisioning.Builder clone()
Returns
TypeDescription
NodePool.QueuedProvisioning.Builder
Overrides

getDefaultInstanceForType()

public NodePool.QueuedProvisioning getDefaultInstanceForType()
Returns
TypeDescription
NodePool.QueuedProvisioning

getDescriptorForType()

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

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodePool.QueuedProvisioning other)

public NodePool.QueuedProvisioning.Builder mergeFrom(NodePool.QueuedProvisioning other)
Parameter
NameDescription
otherNodePool.QueuedProvisioning
Returns
TypeDescription
NodePool.QueuedProvisioning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The enabled to set.

Returns
TypeDescription
NodePool.QueuedProvisioning.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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