Class ListSpecialistPoolsResponse.Builder (3.84.0)

public static final class ListSpecialistPoolsResponse.Builder extends GeneratedMessage.Builder<ListSpecialistPoolsResponse.Builder> implements ListSpecialistPoolsResponseOrBuilder

Response message for SpecialistPoolService.ListSpecialistPools.

Protobuf type google.cloud.aiplatform.v1.ListSpecialistPoolsResponse

Static Methods

getDescriptor()

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

Methods

addAllSpecialistPools(Iterable<? extends SpecialistPool> values)

public ListSpecialistPoolsResponse.Builder addAllSpecialistPools(Iterable<? extends SpecialistPool> values)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

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

addSpecialistPools(SpecialistPool value)

public ListSpecialistPoolsResponse.Builder addSpecialistPools(SpecialistPool value)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
value SpecialistPool
Returns
Type Description
ListSpecialistPoolsResponse.Builder

addSpecialistPools(SpecialistPool.Builder builderForValue)

public ListSpecialistPoolsResponse.Builder addSpecialistPools(SpecialistPool.Builder builderForValue)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
builderForValue SpecialistPool.Builder
Returns
Type Description
ListSpecialistPoolsResponse.Builder

addSpecialistPools(int index, SpecialistPool value)

public ListSpecialistPoolsResponse.Builder addSpecialistPools(int index, SpecialistPool value)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameters
Name Description
index int
value SpecialistPool
Returns
Type Description
ListSpecialistPoolsResponse.Builder

addSpecialistPools(int index, SpecialistPool.Builder builderForValue)

public ListSpecialistPoolsResponse.Builder addSpecialistPools(int index, SpecialistPool.Builder builderForValue)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameters
Name Description
index int
builderForValue SpecialistPool.Builder
Returns
Type Description
ListSpecialistPoolsResponse.Builder

addSpecialistPoolsBuilder()

public SpecialistPool.Builder addSpecialistPoolsBuilder()

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Returns
Type Description
SpecialistPool.Builder

addSpecialistPoolsBuilder(int index)

public SpecialistPool.Builder addSpecialistPoolsBuilder(int index)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
SpecialistPool.Builder

build()

public ListSpecialistPoolsResponse build()
Returns
Type Description
ListSpecialistPoolsResponse

buildPartial()

public ListSpecialistPoolsResponse buildPartial()
Returns
Type Description
ListSpecialistPoolsResponse

clear()

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

clearNextPageToken()

public ListSpecialistPoolsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ListSpecialistPoolsResponse.Builder

This builder for chaining.

clearSpecialistPools()

public ListSpecialistPoolsResponse.Builder clearSpecialistPools()

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Returns
Type Description
ListSpecialistPoolsResponse.Builder

getDefaultInstanceForType()

public ListSpecialistPoolsResponse getDefaultInstanceForType()
Returns
Type Description
ListSpecialistPoolsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSpecialistPools(int index)

public SpecialistPool getSpecialistPools(int index)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
SpecialistPool

getSpecialistPoolsBuilder(int index)

public SpecialistPool.Builder getSpecialistPoolsBuilder(int index)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
SpecialistPool.Builder

getSpecialistPoolsBuilderList()

public List<SpecialistPool.Builder> getSpecialistPoolsBuilderList()

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Returns
Type Description
List<Builder>

getSpecialistPoolsCount()

public int getSpecialistPoolsCount()

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Returns
Type Description
int

getSpecialistPoolsList()

public List<SpecialistPool> getSpecialistPoolsList()

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Returns
Type Description
List<SpecialistPool>

getSpecialistPoolsOrBuilder(int index)

public SpecialistPoolOrBuilder getSpecialistPoolsOrBuilder(int index)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
SpecialistPoolOrBuilder

getSpecialistPoolsOrBuilderList()

public List<? extends SpecialistPoolOrBuilder> getSpecialistPoolsOrBuilderList()

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSpecialistPoolsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeSpecialistPools(int index)

public ListSpecialistPoolsResponse.Builder removeSpecialistPools(int index)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSpecialistPoolsResponse.Builder

setNextPageToken(String value)

public ListSpecialistPoolsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSpecialistPoolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSpecialistPoolsResponse.Builder setNextPageTokenBytes(ByteString value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSpecialistPoolsResponse.Builder

This builder for chaining.

setSpecialistPools(int index, SpecialistPool value)

public ListSpecialistPoolsResponse.Builder setSpecialistPools(int index, SpecialistPool value)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameters
Name Description
index int
value SpecialistPool
Returns
Type Description
ListSpecialistPoolsResponse.Builder

setSpecialistPools(int index, SpecialistPool.Builder builderForValue)

public ListSpecialistPoolsResponse.Builder setSpecialistPools(int index, SpecialistPool.Builder builderForValue)

A list of SpecialistPools that matches the specified filter in the request.

repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;

Parameters
Name Description
index int
builderForValue SpecialistPool.Builder
Returns
Type Description
ListSpecialistPoolsResponse.Builder