Class NodeGroupsAddNodesRequest.Builder (1.65.0)

public static final class NodeGroupsAddNodesRequest.Builder extends GeneratedMessageV3.Builder<NodeGroupsAddNodesRequest.Builder> implements NodeGroupsAddNodesRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsAddNodesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsAddNodesRequest build()
Returns
Type Description
NodeGroupsAddNodesRequest

buildPartial()

public NodeGroupsAddNodesRequest buildPartial()
Returns
Type Description
NodeGroupsAddNodesRequest

clear()

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

clearAdditionalNodeCount()

public NodeGroupsAddNodesRequest.Builder clearAdditionalNodeCount()

Count of additional nodes to be added to the node group.

optional int32 additional_node_count = 134997930;

Returns
Type Description
NodeGroupsAddNodesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAdditionalNodeCount()

public int getAdditionalNodeCount()

Count of additional nodes to be added to the node group.

optional int32 additional_node_count = 134997930;

Returns
Type Description
int

The additionalNodeCount.

getDefaultInstanceForType()

public NodeGroupsAddNodesRequest getDefaultInstanceForType()
Returns
Type Description
NodeGroupsAddNodesRequest

getDescriptorForType()

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

hasAdditionalNodeCount()

public boolean hasAdditionalNodeCount()

Count of additional nodes to be added to the node group.

optional int32 additional_node_count = 134997930;

Returns
Type Description
boolean

Whether the additionalNodeCount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupsAddNodesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdditionalNodeCount(int value)

public NodeGroupsAddNodesRequest.Builder setAdditionalNodeCount(int value)

Count of additional nodes to be added to the node group.

optional int32 additional_node_count = 134997930;

Parameter
Name Description
value int

The additionalNodeCount to set.

Returns
Type Description
NodeGroupsAddNodesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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