Class ListFieldsResponse.Builder

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

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
NameDescription
valuesIterable<? extends com.google.firestore.admin.v1.Field>
Returns
TypeDescription
ListFieldsResponse.Builder

addFields(Field value)

public ListFieldsResponse.Builder addFields(Field value)

The requested fields.

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

Parameter
NameDescription
valueField
Returns
TypeDescription
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
NameDescription
builderForValueField.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueField
Returns
TypeDescription
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
NameDescription
indexint
builderForValueField.Builder
Returns
TypeDescription
ListFieldsResponse.Builder

addFieldsBuilder()

public Field.Builder addFieldsBuilder()

The requested fields.

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

Returns
TypeDescription
Field.Builder

addFieldsBuilder(int index)

public Field.Builder addFieldsBuilder(int index)

The requested fields.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Field.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFieldsResponse build()
Returns
TypeDescription
ListFieldsResponse

buildPartial()

public ListFieldsResponse buildPartial()
Returns
TypeDescription
ListFieldsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFields()

public ListFieldsResponse.Builder clearFields()

The requested fields.

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

Returns
TypeDescription
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
TypeDescription
ListFieldsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListFieldsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFieldsResponse

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFields(int index)

public Field getFields(int index)

The requested fields.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Field

getFieldsBuilder(int index)

public Field.Builder getFieldsBuilder(int index)

The requested fields.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Field.Builder

getFieldsBuilderList()

public List<Field.Builder> getFieldsBuilderList()

The requested fields.

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

Returns
TypeDescription
List<Builder>

getFieldsCount()

public int getFieldsCount()

The requested fields.

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

Returns
TypeDescription
int

getFieldsList()

public List<Field> getFieldsList()

The requested fields.

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

Returns
TypeDescription
List<Field>

getFieldsOrBuilder(int index)

public FieldOrBuilder getFieldsOrBuilder(int index)

The requested fields.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldOrBuilder

getFieldsOrBuilderList()

public List<? extends FieldOrBuilder> getFieldsOrBuilderList()

The requested fields.

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

Returns
TypeDescription
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
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(ListFieldsResponse other)

public ListFieldsResponse.Builder mergeFrom(ListFieldsResponse other)
Parameter
NameDescription
otherListFieldsResponse
Returns
TypeDescription
ListFieldsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFields(int index)

public ListFieldsResponse.Builder removeFields(int index)

The requested fields.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFieldsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFieldsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueField
Returns
TypeDescription
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
NameDescription
indexint
builderForValueField.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFieldsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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