public interface CreateDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionId()
Required.
|
com.google.protobuf.ByteString |
getCollectionIdBytes()
Required.
|
Document |
getDocument()
Required.
|
String |
getDocumentId()
The client-assigned document ID to use for this document.
|
com.google.protobuf.ByteString |
getDocumentIdBytes()
The client-assigned document ID to use for this document.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasDocument()
Required.
|
boolean |
hasMask()
The fields to return.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. The parent resource. For example:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getParentBytes()
Required. The parent resource. For example:
`projects/{project_id}/databases/{database_id}/documents` or
`projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];String getCollectionId()
Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getCollectionIdBytes()
Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];String getDocumentId()
The client-assigned document ID to use for this document. Optional. If not specified, an ID will be assigned by the service.
string document_id = 3;com.google.protobuf.ByteString getDocumentIdBytes()
The client-assigned document ID to use for this document. Optional. If not specified, an ID will be assigned by the service.
string document_id = 3;boolean hasDocument()
Required. The document to create. `name` must not be set.
.google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. The document to create. `name` must not be set.
.google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. The document to create. `name` must not be set.
.google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED];
boolean hasMask()
The fields to return. If not set, returns all fields. If the document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1.DocumentMask mask = 5;DocumentMask getMask()
The fields to return. If not set, returns all fields. If the document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1.DocumentMask mask = 5;DocumentMaskOrBuilder getMaskOrBuilder()
The fields to return. If not set, returns all fields. If the document has a field that is not present in this mask, that field will not be returned in the response.
.google.firestore.v1.DocumentMask mask = 5;Copyright © 2022 Google LLC. All rights reserved.