Class ListIndexesResponse.Builder (3.21.0)

public static final class ListIndexesResponse.Builder extends GeneratedMessageV3.Builder<ListIndexesResponse.Builder> implements ListIndexesResponseOrBuilder

Response message for IndexService.ListIndexes.

Protobuf type google.cloud.aiplatform.v1beta1.ListIndexesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllIndexes(Iterable<? extends Index> values)

public ListIndexesResponse.Builder addAllIndexes(Iterable<? extends Index> values)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

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

addIndexes(Index value)

public ListIndexesResponse.Builder addIndexes(Index value)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
valueIndex
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexes(Index.Builder builderForValue)

public ListIndexesResponse.Builder addIndexes(Index.Builder builderForValue)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
builderForValueIndex.Builder
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexes(int index, Index value)

public ListIndexesResponse.Builder addIndexes(int index, Index value)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameters
NameDescription
indexint
valueIndex
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexes(int index, Index.Builder builderForValue)

public ListIndexesResponse.Builder addIndexes(int index, Index.Builder builderForValue)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameters
NameDescription
indexint
builderForValueIndex.Builder
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexesBuilder()

public Index.Builder addIndexesBuilder()

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Returns
TypeDescription
Index.Builder

addIndexesBuilder(int index)

public Index.Builder addIndexesBuilder(int index)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Index.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListIndexesResponse build()
Returns
TypeDescription
ListIndexesResponse

buildPartial()

public ListIndexesResponse buildPartial()
Returns
TypeDescription
ListIndexesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndexes()

public ListIndexesResponse.Builder clearIndexes()

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Returns
TypeDescription
ListIndexesResponse.Builder

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
TypeDescription
ListIndexesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListIndexesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListIndexesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndexes(int index)

public Index getIndexes(int index)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Index

getIndexesBuilder(int index)

public Index.Builder getIndexesBuilder(int index)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Index.Builder

getIndexesBuilderList()

public List<Index.Builder> getIndexesBuilderList()

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Returns
TypeDescription
List<Builder>

getIndexesCount()

public int getIndexesCount()

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Returns
TypeDescription
int

getIndexesList()

public List<Index> getIndexesList()

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Returns
TypeDescription
List<Index>

getIndexesOrBuilder(int index)

public IndexOrBuilder getIndexesOrBuilder(int index)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexOrBuilder

getIndexesOrBuilderList()

public List<? extends IndexOrBuilder> getIndexesOrBuilderList()

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListIndexesResponse other)

public ListIndexesResponse.Builder mergeFrom(ListIndexesResponse other)
Parameter
NameDescription
otherListIndexesResponse
Returns
TypeDescription
ListIndexesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListIndexesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListIndexesResponse.Builder
Overrides

removeIndexes(int index)

public ListIndexesResponse.Builder removeIndexes(int index)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListIndexesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexes(int index, Index value)

public ListIndexesResponse.Builder setIndexes(int index, Index value)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameters
NameDescription
indexint
valueIndex
Returns
TypeDescription
ListIndexesResponse.Builder

setIndexes(int index, Index.Builder builderForValue)

public ListIndexesResponse.Builder setIndexes(int index, Index.Builder builderForValue)

List of indexes in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Index indexes = 1;

Parameters
NameDescription
indexint
builderForValueIndex.Builder
Returns
TypeDescription
ListIndexesResponse.Builder

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListIndexesResponse.Builder

This builder for chaining.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
ListIndexesResponse.Builder

This builder for chaining.

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

public ListIndexesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListIndexesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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