Class NodeGroupsAddNodesRequest (1.21.0)

public final class NodeGroupsAddNodesRequest extends GeneratedMessageV3 implements NodeGroupsAddNodesRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsAddNodesRequest

Static Fields

ADDITIONAL_NODE_COUNT_FIELD_NUMBER

public static final int ADDITIONAL_NODE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeGroupsAddNodesRequest getDefaultInstance()
Returns
TypeDescription
NodeGroupsAddNodesRequest

getDescriptor()

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

newBuilder()

public static NodeGroupsAddNodesRequest.Builder newBuilder()
Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder

newBuilder(NodeGroupsAddNodesRequest prototype)

public static NodeGroupsAddNodesRequest.Builder newBuilder(NodeGroupsAddNodesRequest prototype)
Parameter
NameDescription
prototypeNodeGroupsAddNodesRequest
Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder

parseDelimitedFrom(InputStream input)

public static NodeGroupsAddNodesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupsAddNodesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeGroupsAddNodesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupsAddNodesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeGroupsAddNodesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupsAddNodesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeGroupsAddNodesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupsAddNodesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeGroupsAddNodesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeGroupsAddNodesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeGroupsAddNodesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeGroupsAddNodesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupsAddNodesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeGroupsAddNodesRequest> parser()
Returns
TypeDescription
Parser<NodeGroupsAddNodesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<NodeGroupsAddNodesRequest> getParserForType()
Returns
TypeDescription
Parser<NodeGroupsAddNodesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeGroupsAddNodesRequest.Builder newBuilderForType()
Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeGroupsAddNodesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeGroupsAddNodesRequest.Builder toBuilder()
Returns
TypeDescription
NodeGroupsAddNodesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException