Class ListDeploymentResourcePoolsResponse.Builder (3.32.0)

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

Response message for ListDeploymentResourcePools method.

Protobuf type google.cloud.aiplatform.v1beta1.ListDeploymentResourcePoolsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.DeploymentResourcePool>
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePools(DeploymentResourcePool value)

public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(DeploymentResourcePool value)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
valueDeploymentResourcePool
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePools(DeploymentResourcePool.Builder builderForValue)

public ListDeploymentResourcePoolsResponse.Builder addDeploymentResourcePools(DeploymentResourcePool.Builder builderForValue)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
builderForValueDeploymentResourcePool.Builder
Returns
TypeDescription
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.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
NameDescription
indexint
valueDeploymentResourcePool
Returns
TypeDescription
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.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
NameDescription
indexint
builderForValueDeploymentResourcePool.Builder
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

addDeploymentResourcePoolsBuilder()

public DeploymentResourcePool.Builder addDeploymentResourcePoolsBuilder()

The DeploymentResourcePools from the specified location.

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

Returns
TypeDescription
DeploymentResourcePool.Builder

addDeploymentResourcePoolsBuilder(int index)

public DeploymentResourcePool.Builder addDeploymentResourcePoolsBuilder(int index)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeploymentResourcePool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeploymentResourcePoolsResponse build()
Returns
TypeDescription
ListDeploymentResourcePoolsResponse

buildPartial()

public ListDeploymentResourcePoolsResponse buildPartial()
Returns
TypeDescription
ListDeploymentResourcePoolsResponse

clear()

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

clearDeploymentResourcePools()

public ListDeploymentResourcePoolsResponse.Builder clearDeploymentResourcePools()

The DeploymentResourcePools from the specified location.

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

Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDeploymentResourcePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDeploymentResourcePoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder
Overrides

clone()

public ListDeploymentResourcePoolsResponse.Builder clone()
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDeploymentResourcePoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeploymentResourcePoolsResponse

getDeploymentResourcePools(int index)

public DeploymentResourcePool getDeploymentResourcePools(int index)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeploymentResourcePool

getDeploymentResourcePoolsBuilder(int index)

public DeploymentResourcePool.Builder getDeploymentResourcePoolsBuilder(int index)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeploymentResourcePool.Builder

getDeploymentResourcePoolsBuilderList()

public List<DeploymentResourcePool.Builder> getDeploymentResourcePoolsBuilderList()

The DeploymentResourcePools from the specified location.

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

Returns
TypeDescription
List<Builder>

getDeploymentResourcePoolsCount()

public int getDeploymentResourcePoolsCount()

The DeploymentResourcePools from the specified location.

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

Returns
TypeDescription
int

getDeploymentResourcePoolsList()

public List<DeploymentResourcePool> getDeploymentResourcePoolsList()

The DeploymentResourcePools from the specified location.

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

Returns
TypeDescription
List<DeploymentResourcePool>

getDeploymentResourcePoolsOrBuilder(int index)

public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolsOrBuilder(int index)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DeploymentResourcePoolOrBuilder

getDeploymentResourcePoolsOrBuilderList()

public List<? extends DeploymentResourcePoolOrBuilder> getDeploymentResourcePoolsOrBuilderList()

The DeploymentResourcePools from the specified location.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.DeploymentResourcePoolOrBuilder>

getDescriptorForType()

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDeploymentResourcePoolsResponse other)

public ListDeploymentResourcePoolsResponse.Builder mergeFrom(ListDeploymentResourcePoolsResponse other)
Parameter
NameDescription
otherListDeploymentResourcePoolsResponse
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeploymentResourcePoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder
Overrides

removeDeploymentResourcePools(int index)

public ListDeploymentResourcePoolsResponse.Builder removeDeploymentResourcePools(int index)

The DeploymentResourcePools from the specified location.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
NameDescription
indexint
valueDeploymentResourcePool
Returns
TypeDescription
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.v1beta1.DeploymentResourcePool deployment_resource_pools = 1;

Parameters
NameDescription
indexint
builderForValueDeploymentResourcePool.Builder
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDeploymentResourcePoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDeploymentResourcePoolsResponse.Builder
Overrides