public static final class ListFieldsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder> implements ListFieldsRequestOrBuilder
The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].Protobuf type
google.firestore.admin.v1.ListFieldsRequest
Modifier and Type | Method and Description |
---|---|
ListFieldsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListFieldsRequest |
build() |
ListFieldsRequest |
buildPartial() |
ListFieldsRequest.Builder |
clear() |
ListFieldsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListFieldsRequest.Builder |
clearFilter()
The filter to apply to list results.
|
ListFieldsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListFieldsRequest.Builder |
clearPageSize()
The number of results to return.
|
ListFieldsRequest.Builder |
clearPageToken()
A page token, returned from a previous call to
[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
page of results.
|
ListFieldsRequest.Builder |
clearParent()
Required.
|
ListFieldsRequest.Builder |
clone() |
ListFieldsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
The filter to apply to list results.
|
com.google.protobuf.ByteString |
getFilterBytes()
The filter to apply to list results.
|
int |
getPageSize()
The number of results to return.
|
String |
getPageToken()
A page token, returned from a previous call to
[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
page of results.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A page token, returned from a previous call to
[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
page of results.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListFieldsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListFieldsRequest.Builder |
mergeFrom(ListFieldsRequest other) |
ListFieldsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListFieldsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListFieldsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListFieldsRequest.Builder |
setFilter(String value)
The filter to apply to list results.
|
ListFieldsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
The filter to apply to list results.
|
ListFieldsRequest.Builder |
setPageSize(int value)
The number of results to return.
|
ListFieldsRequest.Builder |
setPageToken(String value)
A page token, returned from a previous call to
[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
page of results.
|
ListFieldsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A page token, returned from a previous call to
[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
page of results.
|
ListFieldsRequest.Builder |
setParent(String value)
Required.
|
ListFieldsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListFieldsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListFieldsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListFieldsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListFieldsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListFieldsRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder mergeFrom(ListFieldsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public ListFieldsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListFieldsRequest.Builder>
IOException
public String getParent()
Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListFieldsRequestOrBuilder
public com.google.protobuf.ByteString getParentBytes()
Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListFieldsRequestOrBuilder
public ListFieldsRequest.Builder setParent(String value)
Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public ListFieldsRequest.Builder clearParent()
Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListFieldsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public String getFilter()
The filter to apply to list results. Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields that have been explicitly overridden. To issue this query, call [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes `indexConfig.usesAncestorConfig:false` .
string filter = 2;
getFilter
in interface ListFieldsRequestOrBuilder
public com.google.protobuf.ByteString getFilterBytes()
The filter to apply to list results. Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields that have been explicitly overridden. To issue this query, call [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes `indexConfig.usesAncestorConfig:false` .
string filter = 2;
getFilterBytes
in interface ListFieldsRequestOrBuilder
public ListFieldsRequest.Builder setFilter(String value)
The filter to apply to list results. Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields that have been explicitly overridden. To issue this query, call [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes `indexConfig.usesAncestorConfig:false` .
string filter = 2;
value
- The filter to set.public ListFieldsRequest.Builder clearFilter()
The filter to apply to list results. Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields that have been explicitly overridden. To issue this query, call [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes `indexConfig.usesAncestorConfig:false` .
string filter = 2;
public ListFieldsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
The filter to apply to list results. Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields that have been explicitly overridden. To issue this query, call [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes `indexConfig.usesAncestorConfig:false` .
string filter = 2;
value
- The bytes for filter to set.public int getPageSize()
The number of results to return.
int32 page_size = 3;
getPageSize
in interface ListFieldsRequestOrBuilder
public ListFieldsRequest.Builder setPageSize(int value)
The number of results to return.
int32 page_size = 3;
value
- The pageSize to set.public ListFieldsRequest.Builder clearPageSize()
The number of results to return.
int32 page_size = 3;
public String getPageToken()
A page token, returned from a previous call to [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next page of results.
string page_token = 4;
getPageToken
in interface ListFieldsRequestOrBuilder
public com.google.protobuf.ByteString getPageTokenBytes()
A page token, returned from a previous call to [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next page of results.
string page_token = 4;
getPageTokenBytes
in interface ListFieldsRequestOrBuilder
public ListFieldsRequest.Builder setPageToken(String value)
A page token, returned from a previous call to [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next page of results.
string page_token = 4;
value
- The pageToken to set.public ListFieldsRequest.Builder clearPageToken()
A page token, returned from a previous call to [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next page of results.
string page_token = 4;
public ListFieldsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A page token, returned from a previous call to [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next page of results.
string page_token = 4;
value
- The bytes for pageToken to set.public final ListFieldsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
public final ListFieldsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListFieldsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.