Class ListNodePoolsRequest.Builder (2.48.0)

public static final class ListNodePoolsRequest.Builder extends GeneratedMessageV3.Builder<ListNodePoolsRequest.Builder> implements ListNodePoolsRequestOrBuilder

ListNodePoolsRequest lists the node pool(s) for a cluster.

Protobuf type google.container.v1.ListNodePoolsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNodePoolsRequest build()
Returns
Type Description
ListNodePoolsRequest

buildPartial()

public ListNodePoolsRequest buildPartial()
Returns
Type Description
ListNodePoolsRequest

clear()

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

clearClusterId() (deprecated)

public ListNodePoolsRequest.Builder clearClusterId()

Deprecated. google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3268

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

string cluster_id = 3 [deprecated = true];

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ListNodePoolsRequest.Builder clearParent()

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

string parent = 5;

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

clearProjectId() (deprecated)

public ListNodePoolsRequest.Builder clearProjectId()

Deprecated. google.container.v1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3258

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
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

clearZone() (deprecated)

public ListNodePoolsRequest.Builder clearZone()

Deprecated. google.container.v1.ListNodePoolsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3264

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
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

clone()

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

getClusterId() (deprecated)

public String getClusterId()

Deprecated. google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3268

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

string cluster_id = 3 [deprecated = true];

Returns
Type Description
String

The clusterId.

getClusterIdBytes() (deprecated)

public ByteString getClusterIdBytes()

Deprecated. google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3268

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

string cluster_id = 3 [deprecated = true];

Returns
Type Description
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public ListNodePoolsRequest getDefaultInstanceForType()
Returns
Type Description
ListNodePoolsRequest

getDescriptorForType()

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

getParent()

public String getParent()

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

string parent = 5;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

string parent = 5;

Returns
Type Description
ByteString

The bytes for parent.

getProjectId() (deprecated)

public String getProjectId()

Deprecated. google.container.v1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3258

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
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public ByteString getProjectIdBytes()

Deprecated. google.container.v1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3258

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
Type Description
ByteString

The bytes for projectId.

getZone() (deprecated)

public String getZone()

Deprecated. google.container.v1.ListNodePoolsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3264

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
Type Description
String

The zone.

getZoneBytes() (deprecated)

public ByteString getZoneBytes()

Deprecated. google.container.v1.ListNodePoolsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3264

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
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNodePoolsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClusterId(String value) (deprecated)

public ListNodePoolsRequest.Builder setClusterId(String value)

Deprecated. google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3268

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

string cluster_id = 3 [deprecated = true];

Parameter
Name Description
value String

The clusterId to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

setClusterIdBytes(ByteString value) (deprecated)

public ListNodePoolsRequest.Builder setClusterIdBytes(ByteString value)

Deprecated. google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=3268

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

string cluster_id = 3 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for clusterId to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ListNodePoolsRequest.Builder setParent(String value)

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

string parent = 5;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListNodePoolsRequest.Builder setParentBytes(ByteString value)

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

string parent = 5;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

setProjectId(String value) (deprecated)

public ListNodePoolsRequest.Builder setProjectId(String value)

Deprecated. google.container.v1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3258

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];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value) (deprecated)

public ListNodePoolsRequest.Builder setProjectIdBytes(ByteString value)

Deprecated. google.container.v1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3258

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];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value) (deprecated)

public ListNodePoolsRequest.Builder setZone(String value)

Deprecated. google.container.v1.ListNodePoolsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3264

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];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value) (deprecated)

public ListNodePoolsRequest.Builder setZoneBytes(ByteString value)

Deprecated. google.container.v1.ListNodePoolsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3264

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];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
ListNodePoolsRequest.Builder

This builder for chaining.