com.google.cloud.dialogflow.v2.AssistQueryParametersOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/participant.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.v2;
public interface AssistQueryParametersOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.AssistQueryParameters)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Key-value filters on the metadata of documents returned by article
* suggestion. If specified, article suggestion only returns suggested
* documents that match all filters in their
* [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
* values for a metadata key should be concatenated by comma. For example,
* filters to match all documents that have 'US' or 'CA' in their market
* metadata values and 'agent' in their user metadata values will be
* ```
* documents_metadata_filters {
* key: "market"
* value: "US,CA"
* }
* documents_metadata_filters {
* key: "user"
* value: "agent"
* }
* ```
*
*
* map<string, string> documents_metadata_filters = 1;
*/
int getDocumentsMetadataFiltersCount();
/**
*
*
*
* Key-value filters on the metadata of documents returned by article
* suggestion. If specified, article suggestion only returns suggested
* documents that match all filters in their
* [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
* values for a metadata key should be concatenated by comma. For example,
* filters to match all documents that have 'US' or 'CA' in their market
* metadata values and 'agent' in their user metadata values will be
* ```
* documents_metadata_filters {
* key: "market"
* value: "US,CA"
* }
* documents_metadata_filters {
* key: "user"
* value: "agent"
* }
* ```
*
*
* map<string, string> documents_metadata_filters = 1;
*/
boolean containsDocumentsMetadataFilters(java.lang.String key);
/** Use {@link #getDocumentsMetadataFiltersMap()} instead. */
@java.lang.Deprecated
java.util.Map getDocumentsMetadataFilters();
/**
*
*
*
* Key-value filters on the metadata of documents returned by article
* suggestion. If specified, article suggestion only returns suggested
* documents that match all filters in their
* [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
* values for a metadata key should be concatenated by comma. For example,
* filters to match all documents that have 'US' or 'CA' in their market
* metadata values and 'agent' in their user metadata values will be
* ```
* documents_metadata_filters {
* key: "market"
* value: "US,CA"
* }
* documents_metadata_filters {
* key: "user"
* value: "agent"
* }
* ```
*
*
* map<string, string> documents_metadata_filters = 1;
*/
java.util.Map getDocumentsMetadataFiltersMap();
/**
*
*
*
* Key-value filters on the metadata of documents returned by article
* suggestion. If specified, article suggestion only returns suggested
* documents that match all filters in their
* [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
* values for a metadata key should be concatenated by comma. For example,
* filters to match all documents that have 'US' or 'CA' in their market
* metadata values and 'agent' in their user metadata values will be
* ```
* documents_metadata_filters {
* key: "market"
* value: "US,CA"
* }
* documents_metadata_filters {
* key: "user"
* value: "agent"
* }
* ```
*
*
* map<string, string> documents_metadata_filters = 1;
*/
/* nullable */
java.lang.String getDocumentsMetadataFiltersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Key-value filters on the metadata of documents returned by article
* suggestion. If specified, article suggestion only returns suggested
* documents that match all filters in their
* [Document.metadata][google.cloud.dialogflow.v2.Document.metadata]. Multiple
* values for a metadata key should be concatenated by comma. For example,
* filters to match all documents that have 'US' or 'CA' in their market
* metadata values and 'agent' in their user metadata values will be
* ```
* documents_metadata_filters {
* key: "market"
* value: "US,CA"
* }
* documents_metadata_filters {
* key: "user"
* value: "agent"
* }
* ```
*
*
* map<string, string> documents_metadata_filters = 1;
*/
java.lang.String getDocumentsMetadataFiltersOrThrow(java.lang.String key);
}