Class GetNodePoolRequest.Builder (2.22.0)

public static final class GetNodePoolRequest.Builder extends GeneratedMessageV3.Builder<GetNodePoolRequest.Builder> implements GetNodePoolRequestOrBuilder

GetNodePoolRequest retrieves a node pool for a cluster.

Protobuf type google.container.v1.GetNodePoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNodePoolRequest build()
Returns
TypeDescription
GetNodePoolRequest

buildPartial()

public GetNodePoolRequest buildPartial()
Returns
TypeDescription
GetNodePoolRequest

clear()

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

clearClusterId() (deprecated)

public GetNodePoolRequest.Builder clearClusterId()

Deprecated. google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3098

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

string cluster_id = 3 [deprecated = true];

Returns
TypeDescription
GetNodePoolRequest.Builder

This