public static final class ListCollectionIdsRequest.Builder extends GeneratedMessageV3.Builder<ListCollectionIdsRequest.Builder> implements ListCollectionIdsRequestOrBuilder
The request for Firestore.ListCollectionIds.
Protobuf type google.firestore.v1.ListCollectionIdsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListCollectionIdsRequest.BuilderImplements
ListCollectionIdsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionIdsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListCollectionIdsRequest.Builder |
build()
public ListCollectionIdsRequest build()
Type | Description |
ListCollectionIdsRequest |
buildPartial()
public ListCollectionIdsRequest buildPartial()
Type | Description |
ListCollectionIdsRequest |
clear()
public ListCollectionIdsRequest.Builder clear()
Type | Description |
ListCollectionIdsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListCollectionIdsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListCollectionIdsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCollectionIdsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListCollectionIdsRequest.Builder |
clearPageSize()
public ListCollectionIdsRequest.Builder clearPageSize()
The maximum number of results to return.
int32 page_size = 2;
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
clearPageToken()
public ListCollectionIdsRequest.Builder clearPageToken()
A page token. Must be a value from ListCollectionIdsResponse.
string page_token = 3;
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
clearParent()
public ListCollectionIdsRequest.Builder clearParent()
Required. The parent document. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
clone()
public ListCollectionIdsRequest.Builder clone()
Type | Description |
ListCollectionIdsRequest.Builder |
getDefaultInstanceForType()
public ListCollectionIdsRequest getDefaultInstanceForType()
Type | Description |
ListCollectionIdsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
The maximum number of results to return.
int32 page_size = 2;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A page token. Must be a value from ListCollectionIdsResponse.
string page_token = 3;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A page token. Must be a value from ListCollectionIdsResponse.
string page_token = 3;
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
Required. The parent document. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent document. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListCollectionIdsRequest other)
public ListCollectionIdsRequest.Builder mergeFrom(ListCollectionIdsRequest other)
Name | Description |
other | ListCollectionIdsRequest |
Type | Description |
ListCollectionIdsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCollectionIdsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListCollectionIdsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListCollectionIdsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListCollectionIdsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionIdsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListCollectionIdsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListCollectionIdsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListCollectionIdsRequest.Builder |
setPageSize(int value)
public ListCollectionIdsRequest.Builder setPageSize(int value)
The maximum number of results to return.
int32 page_size = 2;
Name | Description |
value | int The pageSize to set. |
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ListCollectionIdsRequest.Builder setPageToken(String value)
A page token. Must be a value from ListCollectionIdsResponse.
string page_token = 3;
Name | Description |
value | String The pageToken to set. |
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListCollectionIdsRequest.Builder setPageTokenBytes(ByteString value)
A page token. Must be a value from ListCollectionIdsResponse.
string page_token = 3;
Name | Description |
value | ByteString The bytes for pageToken to set. |
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
setParent(String value)
public ListCollectionIdsRequest.Builder setParent(String value)
Required. The parent document. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The parent to set. |
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ListCollectionIdsRequest.Builder setParentBytes(ByteString value)
Required. The parent document. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
ListCollectionIdsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCollectionIdsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListCollectionIdsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCollectionIdsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListCollectionIdsRequest.Builder |