public final class AssistQueryParameters extends com.google.protobuf.GeneratedMessageV3 implements AssistQueryParametersOrBuilder
Represents the parameters of human assist query.Protobuf type
google.cloud.dialogflow.v2beta1.AssistQueryParameters| Modifier and Type | Class and Description |
|---|---|
static class |
AssistQueryParameters.Builder
Represents the parameters of human assist query.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DOCUMENTS_METADATA_FILTERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDocumentsMetadataFilters(String key)
Key-value filters on the metadata of documents returned by article
suggestion.
|
boolean |
equals(Object obj) |
static AssistQueryParameters |
getDefaultInstance() |
AssistQueryParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getDocumentsMetadataFilters()
Deprecated.
|
int |
getDocumentsMetadataFiltersCount()
Key-value filters on the metadata of documents returned by article
suggestion.
|
Map<String,String> |
getDocumentsMetadataFiltersMap()
Key-value filters on the metadata of documents returned by article
suggestion.
|
String |
getDocumentsMetadataFiltersOrDefault(String key,
String defaultValue)
Key-value filters on the metadata of documents returned by article
suggestion.
|
String |
getDocumentsMetadataFiltersOrThrow(String key)
Key-value filters on the metadata of documents returned by article
suggestion.
|
com.google.protobuf.Parser<AssistQueryParameters> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static AssistQueryParameters.Builder |
newBuilder() |
static AssistQueryParameters.Builder |
newBuilder(AssistQueryParameters prototype) |
AssistQueryParameters.Builder |
newBuilderForType() |
protected AssistQueryParameters.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AssistQueryParameters |
parseDelimitedFrom(InputStream input) |
static AssistQueryParameters |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistQueryParameters |
parseFrom(byte[] data) |
static AssistQueryParameters |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistQueryParameters |
parseFrom(ByteBuffer data) |
static AssistQueryParameters |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistQueryParameters |
parseFrom(com.google.protobuf.ByteString data) |
static AssistQueryParameters |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistQueryParameters |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AssistQueryParameters |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AssistQueryParameters |
parseFrom(InputStream input) |
static AssistQueryParameters |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AssistQueryParameters> |
parser() |
AssistQueryParameters.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DOCUMENTS_METADATA_FILTERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getDocumentsMetadataFiltersCount()
AssistQueryParametersOrBuilder
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.v2beta1.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;getDocumentsMetadataFiltersCount in interface AssistQueryParametersOrBuilderpublic boolean containsDocumentsMetadataFilters(String key)
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.v2beta1.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;containsDocumentsMetadataFilters in interface AssistQueryParametersOrBuilder@Deprecated public Map<String,String> getDocumentsMetadataFilters()
getDocumentsMetadataFiltersMap() instead.getDocumentsMetadataFilters in interface AssistQueryParametersOrBuilderpublic Map<String,String> 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.v2beta1.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;getDocumentsMetadataFiltersMap in interface AssistQueryParametersOrBuilderpublic String getDocumentsMetadataFiltersOrDefault(String key, 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.v2beta1.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;getDocumentsMetadataFiltersOrDefault in interface AssistQueryParametersOrBuilderpublic String getDocumentsMetadataFiltersOrThrow(String key)
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.v2beta1.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;getDocumentsMetadataFiltersOrThrow in interface AssistQueryParametersOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AssistQueryParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistQueryParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistQueryParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistQueryParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistQueryParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistQueryParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AssistQueryParameters parseFrom(InputStream input) throws IOException
IOExceptionpublic static AssistQueryParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AssistQueryParameters parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AssistQueryParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AssistQueryParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AssistQueryParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AssistQueryParameters.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AssistQueryParameters.Builder newBuilder()
public static AssistQueryParameters.Builder newBuilder(AssistQueryParameters prototype)
public AssistQueryParameters.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AssistQueryParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AssistQueryParameters getDefaultInstance()
public static com.google.protobuf.Parser<AssistQueryParameters> parser()
public com.google.protobuf.Parser<AssistQueryParameters> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AssistQueryParameters getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.