Class CreateNodePoolRequest (2.63.0)

publicfinalclassCreateNodePoolRequestextendsGeneratedMessageV3implementsCreateNodePoolRequestOrBuilder

CreateNodePoolRequest creates a node pool for a cluster.

Protobuf type google.container.v1.CreateNodePoolRequest

Static Fields

CLUSTER_ID_FIELD_NUMBER

publicstaticfinalintCLUSTER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_POOL_FIELD_NUMBER

publicstaticfinalintNODE_POOL_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

publicstaticfinalintPARENT_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

publicstaticfinalintPROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

publicstaticfinalintZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticCreateNodePoolRequestgetDefaultInstance()
Returns
TypeDescription
CreateNodePoolRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticCreateNodePoolRequest.BuildernewBuilder()
Returns
TypeDescription
CreateNodePoolRequest.Builder

newBuilder(CreateNodePoolRequest prototype)

publicstaticCreateNodePoolRequest.BuildernewBuilder(CreateNodePoolRequestprototype)
Parameter
NameDescription
prototypeCreateNodePoolRequest
Returns
TypeDescription
CreateNodePoolRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticCreateNodePoolRequestparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateNodePoolRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticCreateNodePoolRequestparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateNodePoolRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCreateNodePoolRequestparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateNodePoolRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCreateNodePoolRequestparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateNodePoolRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticCreateNodePoolRequestparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateNodePoolRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticCreateNodePoolRequestparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateNodePoolRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateNodePoolRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<CreateNodePoolRequest>parser()
Returns
TypeDescription
Parser<CreateNodePoolRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClusterId() (deprecated)

publicStringgetClusterId()

Deprecated.google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3642

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

string cluster_id = 3 [deprecated = true];

Returns
TypeDescription
String

The clusterId.

getClusterIdBytes() (deprecated)

publicByteStringgetClusterIdBytes()

Deprecated.google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3642

Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

string cluster_id = 3 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

publicCreateNodePoolRequestgetDefaultInstanceForType()
Returns
TypeDescription
CreateNodePoolRequest

getNodePool()

publicNodePoolgetNodePool()

Required. The node pool to create.

.google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NodePool

The nodePool.

getNodePoolOrBuilder()

publicNodePoolOrBuildergetNodePoolOrBuilder()

Required. The node pool to create.

.google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NodePoolOrBuilder

getParent()

publicStringgetParent()

The parent (project, location, cluster name) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.

string parent = 6;

Returns
TypeDescription
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

The parent (project, location, cluster name) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.

string parent = 6;

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

publicParser<CreateNodePoolRequest>getParserForType()
Returns
TypeDescription
Parser<CreateNodePoolRequest>
Overrides

getProjectId() (deprecated)

publicStringgetProjectId()

Deprecated.google.container.v1.CreateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3632

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes() (deprecated)

publicByteStringgetProjectIdBytes()

Deprecated.google.container.v1.CreateNodePoolRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3632

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for projectId.

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getZone() (deprecated)

publicStringgetZone()

Deprecated.google.container.v1.CreateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3638

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Returns
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

publicByteStringgetZoneBytes()

Deprecated.google.container.v1.CreateNodePoolRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3638

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for zone.

hasNodePool()

publicbooleanhasNodePool()

Required. The node pool to create.

.google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the nodePool field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicCreateNodePoolRequest.BuildernewBuilderForType()
Returns
TypeDescription
CreateNodePoolRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCreateNodePoolRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateNodePoolRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicCreateNodePoolRequest.BuildertoBuilder()
Returns
TypeDescription
CreateNodePoolRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException