Class ListSpecialistPoolsResponse.Builder (3.13.0)

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

Response message for SpecialistPoolService.ListSpecialistPools.

Protobuf type google.cloud.aiplatform.v1beta1.ListSpecialistPoolsResponse

Static Methods

getDescriptor()

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSpecialistPoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameter
NameDescription
valueSpecialistPool
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameter
NameDescription
builderForValueSpecialistPool.Builder
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameters
NameDescription
indexint
valueSpecialistPool
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameters
NameDescription
indexint
builderForValueSpecialistPool.Builder
Returns
TypeDescription
ListSpecialistPoolsResponse.Builder

addSpecialistPoolsBuilder()

public SpecialistPool.Builder addSpecialistPoolsBuilder()

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

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

Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpecialistPool.Builder

build()

public ListSpecialistPoolsResponse build()
Returns
TypeDescription
ListSpecialistPoolsResponse

buildPartial()

public ListSpecialistPoolsResponse buildPartial()
Returns
TypeDescription
ListSpecialistPoolsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSpecialistPoolsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ListSpecialistPoolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpecialistPools()

public ListSpecialistPoolsResponse.Builder clearSpecialistPools()

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

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

Returns
TypeDescription
ListSpecialistPoolsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSpecialistPoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSpecialistPoolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SpecialistPool.Builder

getSpecialistPoolsBuilderList()

public List<SpecialistPool.Builder> getSpecialistPoolsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getSpecialistPoolsCount()

public int getSpecialistPoolsCount()

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

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

Returns
TypeDescription
int

getSpecialistPoolsList()

public List<SpecialistPool> getSpecialistPoolsList()

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

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

Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpecialistPoolOrBuilder

getSpecialistPoolsOrBuilderList()

public List<? extends SpecialistPoolOrBuilder> getSpecialistPoolsOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSpecialistPoolsResponse other)

public ListSpecialistPoolsResponse.Builder mergeFrom(ListSpecialistPoolsResponse other)
Parameter
NameDescription
otherListSpecialistPoolsResponse
Returns
TypeDescription
ListSpecialistPoolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSpecialistPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListSpecialistPoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSpecialistPoolsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameters
NameDescription
indexint
valueSpecialistPool
Returns
TypeDescription
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.v1beta1.SpecialistPool specialist_pools = 1;

Parameters
NameDescription
indexint
builderForValueSpecialistPool.Builder
Returns
TypeDescription
ListSpecialistPoolsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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