Class ListIndexesResponse.Builder (2.4.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.4.0keyboard_arrow_down
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
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
Name
Description
index
int
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 static final Descriptors . Descriptor getDescriptor ()
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
Name
Description
index
int
Returns
public Index . Builder getIndexesBuilder ( int index )
List of indexes in the requested page.
repeated .google.cloud.aiplatform.v1.Index indexes = 1;
Parameter
Name
Description
index
int
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
Name
Description
index
int
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
Name
Description
index
int
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]