public interface CreateDocumentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionId()
The collection ID, relative to `parent`, to list.
|
ByteString |
getCollectionIdBytes()
The collection ID, relative to `parent`, to list.
|
Document |
getDocument()
The document to create.
|
java.lang.String |
getDocumentId()
The client-assigned document ID to use for this document.
|
ByteString |
getDocumentIdBytes()
The client-assigned document ID to use for this document.
|
DocumentOrBuilder |
getDocumentOrBuilder()
The document to create.
|
DocumentMask |
getMask()
The fields to return.
|
DocumentMaskOrBuilder |
getMaskOrBuilder()
The fields to return.
|
java.lang.String |
getParent()
The parent resource.
|
ByteString |
getParentBytes()
The parent resource.
|
boolean |
hasDocument()
The document to create.
|
boolean |
hasMask()
The fields to return.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getParent()
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;
ByteString getParentBytes()
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;
java.lang.String getCollectionId()
The collection ID, relative to `parent`, to list. For example: `chatrooms`.
string collection_id = 2;
ByteString getCollectionIdBytes()
The collection ID, relative to `parent`, to list. For example: `chatrooms`.
string collection_id = 2;
java.lang.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;
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()
The document to create. `name` must not be set.
.google.firestore.v1beta1.Document document = 4;
Document getDocument()
The document to create. `name` must not be set.
.google.firestore.v1beta1.Document document = 4;
DocumentOrBuilder getDocumentOrBuilder()
The document to create. `name` must not be set.
.google.firestore.v1beta1.Document document = 4;
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.v1beta1.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.v1beta1.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.v1beta1.DocumentMask mask = 5;