Class NodePoolDefaults.Builder (2.10.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.v1beta1.NodePoolDefaults

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodePoolDefaults build()
Returns
TypeDescription
NodePoolDefaults

buildPartial()

public NodePoolDefaults buildPartial()
Returns
TypeDescription
NodePoolDefaults

clear()

public NodePoolDefaults.Builder clear()
Returns
TypeDescription
NodePoolDefaults.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNodeConfigDefaults()

public NodePoolDefaults.Builder clearNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

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

Returns
TypeDescription
NodePoolDefaults.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodePoolDefaults getDefaultInstanceForType()
Returns
TypeDescription
NodePoolDefaults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodeConfigDefaults()

public NodeConfigDefaults getNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

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

Returns
TypeDescription
NodeConfigDefaults

The nodeConfigDefaults.

getNodeConfigDefaultsBuilder()

public NodeConfigDefaults.Builder getNodeConfigDefaultsBuilder()

Subset of NodeConfig message that has defaults.

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

Returns
TypeDescription
NodeConfigDefaults.Builder

getNodeConfigDefaultsOrBuilder()

public NodeConfigDefaultsOrBuilder getNodeConfigDefaultsOrBuilder()

Subset of NodeConfig message that has defaults.

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

Returns
TypeDescription
NodeConfigDefaultsOrBuilder

hasNodeConfigDefaults()

public boolean hasNodeConfigDefaults()

Subset of NodeConfig message that has defaults.

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

Returns
TypeDescription
boolean

Whether the nodeConfigDefaults field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodePoolDefaults other)

public NodePoolDefaults.Builder mergeFrom(NodePoolDefaults other)
Parameter
NameDescription
otherNodePoolDefaults
Returns
TypeDescription
NodePoolDefaults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNodeConfigDefaults(NodeConfigDefaults value)

public NodePoolDefaults.Builder mergeNodeConfigDefaults(NodeConfigDefaults value)

Subset of NodeConfig message that has defaults.

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

Parameter
NameDescription
valueNodeConfigDefaults
Returns
TypeDescription
NodePoolDefaults.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodePoolDefaults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodePoolDefaults.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeConfigDefaults(NodeConfigDefaults value)

public NodePoolDefaults.Builder setNodeConfigDefaults(NodeConfigDefaults value)

Subset of NodeConfig message that has defaults.

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

Parameter
NameDescription
valueNodeConfigDefaults
Returns
TypeDescription
NodePoolDefaults.Builder

setNodeConfigDefaults(NodeConfigDefaults.Builder builderForValue)

public NodePoolDefaults.Builder setNodeConfigDefaults(NodeConfigDefaults.Builder builderForValue)

Subset of NodeConfig message that has defaults.

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

Parameter
NameDescription
builderForValueNodeConfigDefaults.Builder
Returns
TypeDescription
NodePoolDefaults.Builder

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

public NodePoolDefaults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodePoolDefaults.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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