Class ListIndexesResponse.Builder (3.11.0)

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

The response for FirestoreAdmin.ListIndexes.

Protobuf type google.firestore.admin.v1.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)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.firestore.admin.v1.Index>
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexes(Index value)

public ListIndexesResponse.Builder addIndexes(Index value)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
valueIndex
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexes(Index.Builder builderForValue)

public ListIndexesResponse.Builder addIndexes(Index.Builder builderForValue)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
builderForValueIndex.Builder
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexes(int index, Index value)

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

The requested indexes.

repeated .google.firestore.admin.v1.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)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameters
NameDescription
indexint
builderForValueIndex.Builder
Returns
TypeDescription
ListIndexesResponse.Builder

addIndexesBuilder()

public Index.Builder addIndexesBuilder()

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
Index.Builder

addIndexesBuilder(int index)

public Index.Builder addIndexesBuilder(int index)

The requested indexes.

repeated .google.firestore.admin.v1.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()

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
ListIndexesResponse.Builder

clearNextPageToken()

public ListIndexesResponse.Builder clearNextPageToken()

A page token that may be used to request another page of results. If blank, this is the last 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)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Index

getIndexesBuilder(int index)

public Index.Builder getIndexesBuilder(int index)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Index.Builder

getIndexesBuilderList()

public List<Index.Builder> getIndexesBuilderList()

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
List<Builder>

getIndexesCount()

public int getIndexesCount()

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
int

getIndexesList()

public List<Index> getIndexesList()

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
List<Index>

getIndexesOrBuilder(int index)

public IndexOrBuilder getIndexesOrBuilder(int index)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexOrBuilder

getIndexesOrBuilderList()

public List<? extends IndexOrBuilder> getIndexesOrBuilderList()

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
List<? extends com.google.firestore.admin.v1.IndexOrBuilder>

getNextPageToken()

public String getNextPageToken()

A page token that may be used to request another page of results. If blank, this is the last page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A page token that may be used to request another page of results. If blank, this is the last 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)

The requested indexes.

repeated .google.firestore.admin.v1.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)

The requested indexes.

repeated .google.firestore.admin.v1.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)

The requested indexes.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameters
NameDescription
indexint
builderForValueIndex.Builder
Returns
TypeDescription
ListIndexesResponse.Builder

setNextPageToken(String value)

public ListIndexesResponse.Builder setNextPageToken(String value)

A page token that may be used to request another page of results. If blank, this is the last 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 page token that may be used to request another page of results. If blank, this is the last 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