Class NodePoolDefaults.Builder (2.48.0)

public static final class NodePoolDefaults.Builder extends GeneratedMessageV3.Builder<NodePoolDefaults.Builder> implements NodePoolDefaultsOrBuilder

Subset of Nodepool message that has defaults.

Protobuf type google.container.v1.NodePoolDefaults

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePoolDefaults build()
Returns
Type Description
NodePoolDefaults

buildPartial()

public NodePoolDefaults buildPartial()
Returns
Type Description
NodePoolDefaults

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodeConfigDefaults()

public NodePoolDefaults.Builder clearNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
Type Description
NodePoolDefaults.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodePoolDefaults getDefaultInstanceForType()
Returns
Type Description
NodePoolDefaults

getDescriptorForType()

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

getNodeConfigDefaults()

public NodeConfigDefaults getNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
Type Description
NodeConfigDefaults

The nodeConfigDefaults.

getNodeConfigDefaultsBuilder()

public NodeConfigDefaults.Builder getNodeConfigDefaultsBuilder()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
Type Description
NodeConfigDefaults.Builder

getNodeConfigDefaultsOrBuilder()

public NodeConfigDefaultsOrBuilder getNodeConfigDefaultsOrBuilder()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
Type Description
NodeConfigDefaultsOrBuilder

hasNodeConfigDefaults()

public boolean hasNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Returns
Type Description
boolean

Whether the nodeConfigDefaults field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePoolDefaults other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNodeConfigDefaults(NodeConfigDefaults value)

public NodePoolDefaults.Builder mergeNodeConfigDefaults(NodeConfigDefaults value)

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Parameter
Name Description
value NodeConfigDefaults
Returns
Type Description
NodePoolDefaults.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeConfigDefaults(NodeConfigDefaults value)

public NodePoolDefaults.Builder setNodeConfigDefaults(NodeConfigDefaults value)

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Parameter
Name Description
value NodeConfigDefaults
Returns
Type Description
NodePoolDefaults.Builder

setNodeConfigDefaults(NodeConfigDefaults.Builder builderForValue)

public NodePoolDefaults.Builder setNodeConfigDefaults(NodeConfigDefaults.Builder builderForValue)

Subset of NodeConfig message that has defaults.

.google.container.v1.NodeConfigDefaults node_config_defaults = 1;

Parameter
Name Description
builderForValue NodeConfigDefaults.Builder
Returns
Type Description
NodePoolDefaults.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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