Class ListDeploymentResourcePoolsResponse.Builder (3.56.0)

public static final class ListDeploymentResourcePoolsResponse.Builder extends GeneratedMessageV3.Builder<ListDeploymentResourcePoolsResponse.Builder> implements ListDeploymentResourcePoolsResponseOrBuilder

Response message for ListDeploymentResourcePools method.

Protobuf type google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse

Static Methods

getDescriptor()

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

Methods

addAllDeploymentResourcePools(Iterable<? extends DeploymentResourcePool> values)

public ListDeploymentResourcePoolsResponse.Builder addAllDeploymentResourcePools(Iterable<? extends DeploymentResourcePool> values)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.DeploymentResourcePool>
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePools(DeploymentResourcePool value)

public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(DeploymentResourcePool value)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
value DeploymentResourcePool
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePools(DeploymentResourcePool.Builder builderForValue)

public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(DeploymentResourcePool.Builder builderForValue)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
builderForValue DeploymentResourcePool.Builder
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePools(int index, DeploymentResourcePool value)

public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(int index, DeploymentResourcePool value)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
Name Description
index int
value DeploymentResourcePool
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePools(int index, DeploymentResourcePool.Builder builderForValue)

public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(int index, DeploymentResourcePool.Builder builderForValue)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
Name Description
index int
builderForValue DeploymentResourcePool.Builder
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePoolsBuilder()

public DeploymentResourcePool.Builder addDeploymentResourcePoolsBuilder()

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Returns
Type Description
DeploymentResourcePool.Builder

addDeploymentResourcePoolsBuilder(int index)

public DeploymentResourcePool.Builder addDeploymentResourcePoolsBuilder(int index)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentResourcePool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeploymentResourcePoolsResponse build()
Returns
Type Description
ListDeploymentResourcePoolsResponse

buildPartial()

public ListDeploymentResourcePoolsResponse buildPartial()
Returns
Type Description
ListDeploymentResourcePoolsResponse

clear()

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

clearDeploymentResourcePools()

public ListDeploymentResourcePoolsResponse.Builder clearDeploymentResourcePools()

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDeploymentResourcePoolsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDeploymentResourcePoolsResponse getDefaultInstanceForType()
Returns
Type Description
ListDeploymentResourcePoolsResponse

getDeploymentResourcePools(int index)

public DeploymentResourcePool getDeploymentResourcePools(int index)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentResourcePool

getDeploymentResourcePoolsBuilder(int index)

public DeploymentResourcePool.Builder getDeploymentResourcePoolsBuilder(int index)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentResourcePool.Builder

getDeploymentResourcePoolsBuilderList()

public List<DeploymentResourcePool.Builder> getDeploymentResourcePoolsBuilderList()

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Returns
Type Description
List<Builder>

getDeploymentResourcePoolsCount()

public int getDeploymentResourcePoolsCount()

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Returns
Type Description
int

getDeploymentResourcePoolsList()

public List<DeploymentResourcePool> getDeploymentResourcePoolsList()

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Returns
Type Description
List<DeploymentResourcePool>

getDeploymentResourcePoolsOrBuilder(int index)

public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolsOrBuilder(int index)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
DeploymentResourcePoolOrBuilder

getDeploymentResourcePoolsOrBuilderList()

public List<? extends DeploymentResourcePoolOrBuilder> getDeploymentResourcePoolsOrBuilderList()

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.DeploymentResourcePoolOrBuilder>

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDeploymentResourcePoolsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeploymentResourcePools(int index)

public ListDeploymentResourcePoolsResponse.Builder removeDeploymentResourcePools(int index)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

setDeploymentResourcePools(int index, DeploymentResourcePool value)

public ListDeploymentResourcePoolsResponse.Builder setDeploymentResourcePools(int index, DeploymentResourcePool value)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
Name Description
index int
value DeploymentResourcePool
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

setDeploymentResourcePools(int index, DeploymentResourcePool.Builder builderForValue)

public ListDeploymentResourcePoolsResponse.Builder setDeploymentResourcePools(int index, DeploymentResourcePool.Builder builderForValue)

The DeploymentResourcePools from the specified location.

repeated .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
Name Description
index int
builderForValue DeploymentResourcePool.Builder
Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDeploymentResourcePoolsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeploymentResourcePoolsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDeploymentResourcePoolsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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