Class ListSpecialistPoolsResponse.Builder (3.52.0)

public static final class ListSpecialistPoolsResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public ListSpecialistPoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSpecialistPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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