public static final class ListIndexesResponse.Builder extends GeneratedMessageV3.Builder<ListIndexesResponse.Builder> implements ListIndexesResponseOrBuilder
Response message for IndexService.ListIndexes.
Protobuf type google.cloud.aiplatform.v1.ListIndexesResponse
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListIndexesResponse.Builder addAllIndexes(Iterable<? extends Index> values)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.Index>
|
Returns
public ListIndexesResponse.Builder addIndexes(Index value)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Name | Description |
value | Index
|
Returns
public ListIndexesResponse.Builder addIndexes(Index.Builder builderForValue)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Returns
public ListIndexesResponse.Builder addIndexes(int index, Index value)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameters
Returns
public ListIndexesResponse.Builder addIndexes(int index, Index.Builder builderForValue)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameters
Returns
public Index.Builder addIndexesBuilder()
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Returns
public Index.Builder addIndexesBuilder(int index)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Returns
public ListIndexesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListIndexesResponse build()
Returns
public ListIndexesResponse buildPartial()
Returns
public ListIndexesResponse.Builder clear()
Returns
Overrides
public ListIndexesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListIndexesResponse.Builder clearIndexes()
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Returns
clearNextPageToken()
public ListIndexesResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to ListIndexesRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
public ListIndexesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListIndexesResponse.Builder clone()
Returns
Overrides
public ListIndexesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Index getIndexes(int index)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Returns
public Index.Builder getIndexesBuilder(int index)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Returns
public List<Index.Builder> getIndexesBuilderList()
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Returns
public int getIndexesCount()
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Returns
public List<Index> getIndexesList()
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Returns
public IndexOrBuilder getIndexesOrBuilder(int index)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Returns
public List<? extends IndexOrBuilder> getIndexesOrBuilderList()
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.IndexOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to ListIndexesRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results.
Pass to ListIndexesRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListIndexesResponse.Builder mergeFrom(ListIndexesResponse other)
Parameter
Returns
public ListIndexesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListIndexesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListIndexesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListIndexesResponse.Builder removeIndexes(int index)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Returns
public ListIndexesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListIndexesResponse.Builder setIndexes(int index, Index value)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameters
Returns
public ListIndexesResponse.Builder setIndexes(int index, Index.Builder builderForValue)
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameters
Returns
setNextPageToken(String value)
public ListIndexesResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to ListIndexesRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListIndexesResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
Pass to ListIndexesRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListIndexesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListIndexesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides