Class ListNodePoolsRequest.Builder (2.86.0)

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

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

Protobuf type google.container.v1beta1.ListNodePoolsRequest

Static Methods

getDescriptor()

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

Methods

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.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5185

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.

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.v1beta1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5175

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.v1beta1.ListNodePoolsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5181

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.

getClusterId() (deprecated)

public String getClusterId()

Deprecated. google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5185

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.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5185

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.v1beta1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5175

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.v1beta1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5175

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.v1beta1.ListNodePoolsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5181

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.v1beta1.ListNodePoolsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5181

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 GeneratedMessage.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

setClusterId(String value) (deprecated)

public ListNodePoolsRequest.Builder setClusterId(String value)

Deprecated. google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5185

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.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5185

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.

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.v1beta1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5175

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.v1beta1.ListNodePoolsRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=5175

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.

setZone(String value) (deprecated)

public ListNodePoolsRequest.Builder setZone(String value)

Deprecated. google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5181

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.v1beta1.ListNodePoolsRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=5181

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.