public interface ImportDocumentTemplateOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata(String key)
Metadata for the document.
|
Document.KnowledgeType |
getKnowledgeTypes(int index)
Required.
|
int |
getKnowledgeTypesCount()
Required.
|
List<Document.KnowledgeType> |
getKnowledgeTypesList()
Required.
|
int |
getKnowledgeTypesValue(int index)
Required.
|
List<Integer> |
getKnowledgeTypesValueList()
Required.
|
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Metadata for the document.
|
Map<String,String> |
getMetadataMap()
Metadata for the document.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Metadata for the document.
|
String |
getMetadataOrThrow(String key)
Metadata for the document.
|
String |
getMimeType()
Required.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getMimeType()
Required. The MIME type of the document.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getMimeTypeBytes()
Required. The MIME type of the document.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];List<Document.KnowledgeType> getKnowledgeTypesList()
Required. The knowledge type of document content.
repeated .google.cloud.dialogflow.v2beta1.Document.KnowledgeType knowledge_types = 2 [(.google.api.field_behavior) = REQUIRED];
int getKnowledgeTypesCount()
Required. The knowledge type of document content.
repeated .google.cloud.dialogflow.v2beta1.Document.KnowledgeType knowledge_types = 2 [(.google.api.field_behavior) = REQUIRED];
Document.KnowledgeType getKnowledgeTypes(int index)
Required. The knowledge type of document content.
repeated .google.cloud.dialogflow.v2beta1.Document.KnowledgeType knowledge_types = 2 [(.google.api.field_behavior) = REQUIRED];
index - The index of the element to return.List<Integer> getKnowledgeTypesValueList()
Required. The knowledge type of document content.
repeated .google.cloud.dialogflow.v2beta1.Document.KnowledgeType knowledge_types = 2 [(.google.api.field_behavior) = REQUIRED];
int getKnowledgeTypesValue(int index)
Required. The knowledge type of document content.
repeated .google.cloud.dialogflow.v2beta1.Document.KnowledgeType knowledge_types = 2 [(.google.api.field_behavior) = REQUIRED];
index - The index of the value to return.int getMetadataCount()
Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a `key` or a `value` of the metadata is 1024 bytes.
map<string, string> metadata = 3;boolean containsMetadata(String key)
Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a `key` or a `value` of the metadata is 1024 bytes.
map<string, string> metadata = 3;@Deprecated Map<String,String> getMetadata()
getMetadataMap() instead.Map<String,String> getMetadataMap()
Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a `key` or a `value` of the metadata is 1024 bytes.
map<string, string> metadata = 3;String getMetadataOrDefault(String key, String defaultValue)
Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a `key` or a `value` of the metadata is 1024 bytes.
map<string, string> metadata = 3;String getMetadataOrThrow(String key)
Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a `key` or a `value` of the metadata is 1024 bytes.
map<string, string> metadata = 3;Copyright © 2023 Google LLC. All rights reserved.