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
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
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
addFields(Field.Builder builderForValue)
public ListFieldsResponse.Builder addFields(Field.Builder builderForValue)
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Parameter
Returns
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
Returns
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
Returns
addFieldsBuilder()
public Field.Builder addFieldsBuilder()
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Returns
addFieldsBuilder(int index)
public Field.Builder addFieldsBuilder(int index)
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFieldsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListFieldsResponse build()
Returns
buildPartial()
public ListFieldsResponse buildPartial()
Returns
clear()
public ListFieldsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFieldsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFields()
public ListFieldsResponse.Builder clearFields()
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFieldsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListFieldsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListFieldsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFields(int index)
public Field getFields(int index)
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Parameter
Returns
getFieldsBuilder(int index)
public Field.Builder getFieldsBuilder(int index)
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Parameter
Returns
getFieldsBuilderList()
public List<Field.Builder> getFieldsBuilderList()
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Returns
getFieldsCount()
public int getFieldsCount()
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Returns
getFieldsList()
public List<Field> getFieldsList()
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Returns
getFieldsOrBuilder(int index)
public FieldOrBuilder getFieldsOrBuilder(int index)
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListFieldsResponse other)
public ListFieldsResponse.Builder mergeFrom(ListFieldsResponse other)
Parameter
Returns
public ListFieldsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListFieldsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFieldsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFields(int index)
public ListFieldsResponse.Builder removeFields(int index)
The requested fields.
repeated .google.firestore.admin.v1.Field fields = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListFieldsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFieldsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFieldsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides