public interface CreateDocumentRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDocument()
public abstract Document getDocument()Required. The document to create.
.google.cloud.dialogflow.v2.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Document | The document. |
getDocumentOrBuilder()
public abstract DocumentOrBuilder getDocumentOrBuilder()Required. The document to create.
.google.cloud.dialogflow.v2.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DocumentOrBuilder |
getParent()
public abstract String getParent() Required. The knowledge base to create a document for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Required. The knowledge base to create a document for.
Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for parent. |
hasDocument()
public abstract boolean hasDocument()Required. The document to create.
.google.cloud.dialogflow.v2.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the document field is set. |