Class ListNodePoolsRequest.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNodePoolsRequest build()
Returns
TypeDescription
ListNodePoolsRequest

buildPartial()

public ListNodePoolsRequest buildPartial()
Returns
TypeDescription
ListNodePoolsRequest

clear()

public ListNodePoolsRequest.Builder clear()
Returns
TypeDescription
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=2863

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListNodePoolsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListNodePoolsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNodePoolsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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=2853

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
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=2859

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

This builder for chaining.

clone()

public ListNodePoolsRequest.Builder clone()
Returns
TypeDescription
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=2863

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)

public ByteString getClusterIdBytes()

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

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()

public ListNodePoolsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListNodePoolsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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=2853

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)

public ByteString getProjectIdBytes()

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

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.

getZone() (deprecated)

public String getZone()

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

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)

public ByteString getZoneBytes()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNodePoolsRequest other)

public ListNodePoolsRequest.Builder mergeFrom(ListNodePoolsRequest other)
Parameter
NameDescription
otherListNodePoolsRequest
Returns
TypeDescription
ListNodePoolsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNodePoolsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNodePoolsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListNodePoolsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListNodePoolsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNodePoolsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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=2863

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

string cluster_id = 3 [deprecated = true];

Parameter
NameDescription
valueString

The clusterId to set.

Returns
TypeDescription
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=2863

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

string cluster_id = 3 [deprecated = true];

Parameter
NameDescription
valueByteString

The bytes for clusterId to set.

Returns
TypeDescription
ListNodePoolsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ListNodePoolsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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=2853

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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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=2853

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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNodePoolsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNodePoolsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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=2859

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
NameDescription
valueString

The zone to set.

Returns
TypeDescription
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=2859

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
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
ListNodePoolsRequest.Builder

This builder for chaining.