public static interface HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDocuments(int index)
Required.
|
ByteString |
getDocumentsBytes(int index)
Required.
|
int |
getDocumentsCount()
Required.
|
List<String> |
getDocumentsList()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
List<String> getDocumentsList()
Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
int getDocumentsCount()
Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getDocuments(int index)
Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
index
- The index of the element to return.ByteString getDocumentsBytes(int index)
Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
index
- The index of the value to return.Copyright © 2022 Google LLC. All rights reserved.