Class NodeGroupsAddNodesRequest.Builder (1.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsAddNodesRequest build()
Returns
TypeDescription
NodeGroupsAddNodesRequest

buildPartial()

public NodeGroupsAddNodesRequest buildPartial()
Returns
TypeDescription
NodeGroupsAddNodesRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public NodeGroupsAddNodesRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
int

The additionalNodeCount.

getDefaultInstanceForType()

public NodeGroupsAddNodesRequest getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsAddNodesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAdditionalNodeCount()

public boolean hasAdditionalNodeCount()

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

optional int32 additional_node_count = 134997930;

Returns
TypeDescription
boolean

Whether the additionalNodeCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeGroupsAddNodesRequest other)

public NodeGroupsAddNodesRequest.Builder mergeFrom(NodeGroupsAddNodesRequest other)
Parameter
NameDescription
otherNodeGroupsAddNodesRequest
Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The additionalNodeCount to set.

Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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