Class KnowledgeAssistDebugInfo.KnowledgeAssistBehavior (4.97.0)

public static final class KnowledgeAssistDebugInfo.KnowledgeAssistBehavior extends GeneratedMessage implements KnowledgeAssistDebugInfo.KnowledgeAssistBehaviorOrBuilder

Configured behaviors for Knowedge Assist.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAssistDebugInfo.KnowledgeAssistBehavior

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > KnowledgeAssistDebugInfo.KnowledgeAssistBehavior

Static Fields

ANSWER_GENERATION_REWRITER_ON_FIELD_NUMBER

public static final int ANSWER_GENERATION_REWRITER_ON_FIELD_NUMBER
Field Value
Type Description
int

APPENDED_SEARCH_CONTEXT_COUNT_FIELD_NUMBER

public static final int APPENDED_SEARCH_CONTEXT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

CONVERSATION_TRANSCRIPT_HAS_MIXED_LANGUAGES_FIELD_NUMBER

public static final int CONVERSATION_TRANSCRIPT_HAS_MIXED_LANGUAGES_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_SYNC_DELIVERY_FIELD_NUMBER

public static final int DISABLE_SYNC_DELIVERY_FIELD_NUMBER
Field Value
Type Description
int

END_USER_METADATA_INCLUDED_FIELD_NUMBER

public static final int END_USER_METADATA_INCLUDED_FIELD_NUMBER
Field Value
Type Description
int

INVALID_ITEMS_QUERY_SUGGESTION_SKIPPED_FIELD_NUMBER

public static final int INVALID_ITEMS_QUERY_SUGGESTION_SKIPPED_FIELD_NUMBER
Field Value
Type Description
int

MULTIPLE_QUERIES_GENERATED_FIELD_NUMBER

public static final int MULTIPLE_QUERIES_GENERATED_FIELD_NUMBER
Field Value
Type Description
int

PREVIOUS_QUERIES_INCLUDED_FIELD_NUMBER

public static final int PREVIOUS_QUERIES_INCLUDED_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_QUERY_REDACTED_AND_REPLACED_FIELD_NUMBER

public static final int PRIMARY_QUERY_REDACTED_AND_REPLACED_FIELD_NUMBER
Field Value
Type Description
int

QUERY_CONTAINED_SEARCH_CONTEXT_FIELD_NUMBER

public static final int QUERY_CONTAINED_SEARCH_CONTEXT_FIELD_NUMBER
Field Value
Type Description
int

QUERY_GENERATION_AGENT_LANGUAGE_MISMATCH_FIELD_NUMBER

public static final int QUERY_GENERATION_AGENT_LANGUAGE_MISMATCH_FIELD_NUMBER
Field Value
Type Description
int

QUERY_GENERATION_END_USER_LANGUAGE_MISMATCH_FIELD_NUMBER

public static final int QUERY_GENERATION_END_USER_LANGUAGE_MISMATCH_FIELD_NUMBER
Field Value
Type Description
int

RETURN_QUERY_ONLY_FIELD_NUMBER

public static final int RETURN_QUERY_ONLY_FIELD_NUMBER
Field Value
Type Description
int

THIRD_PARTY_CONNECTOR_ALLOWED_FIELD_NUMBER

public static final int THIRD_PARTY_CONNECTOR_ALLOWED_FIELD_NUMBER
Field Value
Type Description
int

USE_CUSTOM_SAFETY_FILTER_LEVEL_FIELD_NUMBER

public static final int USE_CUSTOM_SAFETY_FILTER_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

USE_PUBSUB_DELIVERY_FIELD_NUMBER

public static final int USE_PUBSUB_DELIVERY_FIELD_NUMBER
Field Value
Type Description
int

USE_TRANSLATED_MESSAGE_FIELD_NUMBER

public static final int USE_TRANSLATED_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior getDefaultInstance()
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder newBuilder()
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder

newBuilder(KnowledgeAssistDebugInfo.KnowledgeAssistBehavior prototype)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder newBuilder(KnowledgeAssistDebugInfo.KnowledgeAssistBehavior prototype)
Parameter
Name Description
prototype KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder

parseDelimitedFrom(InputStream input)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KnowledgeAssistDebugInfo.KnowledgeAssistBehavior parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<KnowledgeAssistDebugInfo.KnowledgeAssistBehavior> parser()
Returns
Type Description
Parser<KnowledgeAssistBehavior>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnswerGenerationRewriterOn()

public boolean getAnswerGenerationRewriterOn()

Whether data store agent rewriter was turned off for the request.

bool answer_generation_rewriter_on = 1;

Returns
Type Description
boolean

The answerGenerationRewriterOn.

getAppendedSearchContextCount()

public int getAppendedSearchContextCount()

The number of search contexts appended to the query.

int32 appended_search_context_count = 18;

Returns
Type Description
int

The appendedSearchContextCount.

getConversationTranscriptHasMixedLanguages()

public boolean getConversationTranscriptHasMixedLanguages()

Conversation transcript has mixed languages.

bool conversation_transcript_has_mixed_languages = 10;

Returns
Type Description
boolean

The conversationTranscriptHasMixedLanguages.

getDefaultInstanceForType()

public KnowledgeAssistDebugInfo.KnowledgeAssistBehavior getDefaultInstanceForType()
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior

getDisableSyncDelivery()

public boolean getDisableSyncDelivery()

Whether customers configured to disable the synchronous delivery of Knowedge Assist response.

bool disable_sync_delivery = 6;

Returns
Type Description
boolean

The disableSyncDelivery.

getEndUserMetadataIncluded()

public boolean getEndUserMetadataIncluded()

Whether end_user_metadata is included in the data store agent call.

bool end_user_metadata_included = 2;

Returns
Type Description
boolean

The endUserMetadataIncluded.

getInvalidItemsQuerySuggestionSkipped()

public boolean getInvalidItemsQuerySuggestionSkipped()

Indicates that invalid items were skipped when parsing the LLM response.

bool invalid_items_query_suggestion_skipped = 16;

Returns
Type Description
boolean

The invalidItemsQuerySuggestionSkipped.

getMultipleQueriesGenerated()

public boolean getMultipleQueriesGenerated()

Indicates that the query generation model generated multiple queries.

bool multiple_queries_generated = 14;

Returns
Type Description
boolean

The multipleQueriesGenerated.

getParserForType()

public Parser<KnowledgeAssistDebugInfo.KnowledgeAssistBehavior> getParserForType()
Returns
Type Description
Parser<KnowledgeAssistBehavior>
Overrides

getPreviousQueriesIncluded()

public boolean getPreviousQueriesIncluded()

Whether previously suggested queries are included in the query generation process.

bool previous_queries_included = 7;

Returns
Type Description
boolean

The previousQueriesIncluded.

getPrimaryQueryRedactedAndReplaced()

public boolean getPrimaryQueryRedactedAndReplaced()

True if the primary suggested query was redacted and replaced by an additional query.

bool primary_query_redacted_and_replaced = 17;

Returns
Type Description
boolean

The primaryQueryRedactedAndReplaced.

getQueryContainedSearchContext()

public boolean getQueryContainedSearchContext()

Indicates that the generated query contains search context.

bool query_contained_search_context = 15;

Returns
Type Description
boolean

The queryContainedSearchContext.

getQueryGenerationAgentLanguageMismatch()

public boolean getQueryGenerationAgentLanguageMismatch()

Whether the agent language from the translation generator mismatches the end-user language.

bool query_generation_agent_language_mismatch = 11;

Returns
Type Description
boolean

The queryGenerationAgentLanguageMismatch.

getQueryGenerationEndUserLanguageMismatch()

public boolean getQueryGenerationEndUserLanguageMismatch()

Whether the end-user language from the translation generator mismatches the end-user language.

bool query_generation_end_user_language_mismatch = 12;

Returns
Type Description
boolean

The queryGenerationEndUserLanguageMismatch.

getReturnQueryOnly()

public boolean getReturnQueryOnly()

Whether customers configured to return query only in the conversation profile.

bool return_query_only = 4;

Returns
Type Description
boolean

The returnQueryOnly.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getThirdPartyConnectorAllowed()

public boolean getThirdPartyConnectorAllowed()

This field indicates whether third party connectors are enabled for the project.

bool third_party_connector_allowed = 13;

Returns
Type Description
boolean

The thirdPartyConnectorAllowed.

getUseCustomSafetyFilterLevel()

public boolean getUseCustomSafetyFilterLevel()

Safety filter is adjusted by user.

bool use_custom_safety_filter_level = 9;

Returns
Type Description
boolean

The useCustomSafetyFilterLevel.

getUsePubsubDelivery()

public boolean getUsePubsubDelivery()

Whether customers configured to use pubsub to deliver.

bool use_pubsub_delivery = 5;

Returns
Type Description
boolean

The usePubsubDelivery.

getUseTranslatedMessage()

public boolean getUseTranslatedMessage()

Translated message is included in query generation process.

bool use_translated_message = 8;

Returns
Type Description
boolean

The useTranslatedMessage.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder newBuilderForType()
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder
Overrides

toBuilder()

public KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder toBuilder()
Returns
Type Description
KnowledgeAssistDebugInfo.KnowledgeAssistBehavior.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException