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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ListSpecialistPoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
public ListSpecialistPoolsResponse build()
Returns
public ListSpecialistPoolsResponse buildPartial()
Returns
public ListSpecialistPoolsResponse.Builder clear()
Returns
Overrides
public ListSpecialistPoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSpecialistPoolsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;
Returns
public ListSpecialistPoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public ListSpecialistPoolsResponse.Builder clone()
Returns
Overrides
public ListSpecialistPoolsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
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
Returns
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
Returns
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
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
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
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
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListSpecialistPoolsResponse.Builder mergeFrom(ListSpecialistPoolsResponse other)
Parameter
Returns
public ListSpecialistPoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListSpecialistPoolsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListSpecialistPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public ListSpecialistPoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
public ListSpecialistPoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public final ListSpecialistPoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides