Class ListFieldsResponse.Builder (3.21.4)

public static final class ListFieldsResponse.Builder extends GeneratedMessageV3.Builder<ListFieldsResponse.Builder> implements ListFieldsResponseOrBuilder

The response for FirestoreAdmin.ListFields.

Protobuf type google.firestore.admin.v1.ListFieldsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFields(Iterable<? extends Field> values)

public ListFieldsResponse.Builder addAllFields(Iterable<? extends Field> values)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
values Iterable<? extends com.google.firestore.admin.v1.Field>
Returns
Type Description
ListFieldsResponse.Builder

addFields(Field value)

public ListFieldsResponse.Builder addFields(Field value)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
value Field
Returns
Type Description
ListFieldsResponse.Builder

addFields(Field.Builder builderForValue)

public ListFieldsResponse.Builder addFields(Field.Builder builderForValue)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
builderForValue Field.Builder
Returns
Type Description
ListFieldsResponse.Builder

addFields(int index, Field value)

public ListFieldsResponse.Builder addFields(int index, Field value)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameters
Name Description
index int
value Field
Returns
Type Description
ListFieldsResponse.Builder

addFields(int index, Field.Builder builderForValue)

public ListFieldsResponse.Builder addFields(int index, Field.Builder builderForValue)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameters
Name Description
index int
builderForValue Field.Builder
Returns
Type Description
ListFieldsResponse.Builder

addFieldsBuilder()

public Field.Builder addFieldsBuilder()

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Returns
Type Description
Field.Builder

addFieldsBuilder(int index)

public Field.Builder addFieldsBuilder(int index)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
index int
Returns
Type Description
Field.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFieldsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFieldsResponse.Builder
Overrides

build()

public ListFieldsResponse build()
Returns
Type Description
ListFieldsResponse

buildPartial()

public ListFieldsResponse buildPartial()
Returns
Type Description
ListFieldsResponse

clear()

public ListFieldsResponse.Builder clear()
Returns
Type Description
ListFieldsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFieldsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFieldsResponse.Builder
Overrides

clearFields()

public ListFieldsResponse.Builder clearFields()

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Returns
Type Description
ListFieldsResponse.Builder

clearNextPageToken()

public ListFieldsResponse.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
Type Description
ListFieldsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFieldsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFieldsResponse.Builder
Overrides

clone()

public ListFieldsResponse.Builder clone()
Returns
Type Description
ListFieldsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFieldsResponse getDefaultInstanceForType()
Returns
Type Description
ListFieldsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFields(int index)

public Field getFields(int index)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
index int
Returns
Type Description
Field

getFieldsBuilder(int index)

public Field.Builder getFieldsBuilder(int index)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
index int
Returns
Type Description
Field.Builder

getFieldsBuilderList()

public List<Field.Builder> getFieldsBuilderList()

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Returns
Type Description
List<Builder>

getFieldsCount()

public int getFieldsCount()

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Returns
Type Description
int

getFieldsList()

public List<Field> getFieldsList()

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Returns
Type Description
List<Field>

getFieldsOrBuilder(int index)

public FieldOrBuilder getFieldsOrBuilder(int index)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
index int
Returns
Type Description
FieldOrBuilder

getFieldsOrBuilderList()

public List<? extends FieldOrBuilder> getFieldsOrBuilderList()

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Returns
Type Description
List<? extends com.google.firestore.admin.v1.FieldOrBuilder>

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFieldsResponse other)

public ListFieldsResponse.Builder mergeFrom(ListFieldsResponse other)
Parameter
Name Description
other ListFieldsResponse
Returns
Type Description
ListFieldsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFieldsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFieldsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFieldsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFieldsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFieldsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFieldsResponse.Builder
Overrides

removeFields(int index)

public ListFieldsResponse.Builder removeFields(int index)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFieldsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFieldsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFieldsResponse.Builder
Overrides

setFields(int index, Field value)

public ListFieldsResponse.Builder setFields(int index, Field value)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameters
Name Description
index int
value Field
Returns
Type Description
ListFieldsResponse.Builder

setFields(int index, Field.Builder builderForValue)

public ListFieldsResponse.Builder setFields(int index, Field.Builder builderForValue)

The requested fields.

repeated .google.firestore.admin.v1.Field fields = 1;

Parameters
Name Description
index int
builderForValue Field.Builder
Returns
Type Description
ListFieldsResponse.Builder

setNextPageToken(String value)

public ListFieldsResponse.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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFieldsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFieldsResponse.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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFieldsResponse.Builder

This builder for chaining.

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

public ListFieldsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFieldsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFieldsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFieldsResponse.Builder
Overrides