public final class DataStoreConnectionSignals extends com.google.protobuf.GeneratedMessageV3 implements DataStoreConnectionSignalsOrBuilder
Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ...Protobuf type
google.cloud.dialogflow.cx.v3.DataStoreConnectionSignalscom.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 |
ANSWER_FIELD_NUMBER |
static int |
ANSWER_GENERATION_MODEL_CALL_SIGNALS_FIELD_NUMBER |
static int |
ANSWER_PARTS_FIELD_NUMBER |
static int |
CITED_SNIPPETS_FIELD_NUMBER |
static int |
GROUNDING_SIGNALS_FIELD_NUMBER |
static int |
REWRITER_MODEL_CALL_SIGNALS_FIELD_NUMBER |
static int |
REWRITTEN_QUERY_FIELD_NUMBER |
static int |
SAFETY_SIGNALS_FIELD_NUMBER |
static int |
SEARCH_SNIPPETS_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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 REWRITER_MODEL_CALL_SIGNALS_FIELD_NUMBER
public static final int REWRITTEN_QUERY_FIELD_NUMBER
public static final int SEARCH_SNIPPETS_FIELD_NUMBER
public static final int ANSWER_GENERATION_MODEL_CALL_SIGNALS_FIELD_NUMBER
public static final int ANSWER_FIELD_NUMBER
public static final int ANSWER_PARTS_FIELD_NUMBER
public static final int CITED_SNIPPETS_FIELD_NUMBER
public static final int GROUNDING_SIGNALS_FIELD_NUMBER
public static final int SAFETY_SIGNALS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRewriterModelCallSignals()
Optional. Diagnostic info related to the rewriter model call.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.RewriterModelCallSignals rewriter_model_call_signals = 1 [(.google.api.field_behavior) = OPTIONAL];
hasRewriterModelCallSignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.RewriterModelCallSignals getRewriterModelCallSignals()
Optional. Diagnostic info related to the rewriter model call.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.RewriterModelCallSignals rewriter_model_call_signals = 1 [(.google.api.field_behavior) = OPTIONAL];
getRewriterModelCallSignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.RewriterModelCallSignalsOrBuilder getRewriterModelCallSignalsOrBuilder()
Optional. Diagnostic info related to the rewriter model call.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.RewriterModelCallSignals rewriter_model_call_signals = 1 [(.google.api.field_behavior) = OPTIONAL];
getRewriterModelCallSignalsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic String getRewrittenQuery()
Optional. Rewritten string query used for search.
string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];getRewrittenQuery in interface DataStoreConnectionSignalsOrBuilderpublic com.google.protobuf.ByteString getRewrittenQueryBytes()
Optional. Rewritten string query used for search.
string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];getRewrittenQueryBytes in interface DataStoreConnectionSignalsOrBuilderpublic List<DataStoreConnectionSignals.SearchSnippet> getSearchSnippetsList()
Optional. Search snippets included in the answer generation prompt.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippets = 3 [(.google.api.field_behavior) = OPTIONAL];
getSearchSnippetsList in interface DataStoreConnectionSignalsOrBuilderpublic List<? extends DataStoreConnectionSignals.SearchSnippetOrBuilder> getSearchSnippetsOrBuilderList()
Optional. Search snippets included in the answer generation prompt.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippets = 3 [(.google.api.field_behavior) = OPTIONAL];
getSearchSnippetsOrBuilderList in interface DataStoreConnectionSignalsOrBuilderpublic int getSearchSnippetsCount()
Optional. Search snippets included in the answer generation prompt.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippets = 3 [(.google.api.field_behavior) = OPTIONAL];
getSearchSnippetsCount in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.SearchSnippet getSearchSnippets(int index)
Optional. Search snippets included in the answer generation prompt.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippets = 3 [(.google.api.field_behavior) = OPTIONAL];
getSearchSnippets in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.SearchSnippetOrBuilder getSearchSnippetsOrBuilder(int index)
Optional. Search snippets included in the answer generation prompt.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet search_snippets = 3 [(.google.api.field_behavior) = OPTIONAL];
getSearchSnippetsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic boolean hasAnswerGenerationModelCallSignals()
Optional. Diagnostic info related to the answer generation model call.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerGenerationModelCallSignals answer_generation_model_call_signals = 4 [(.google.api.field_behavior) = OPTIONAL];
hasAnswerGenerationModelCallSignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.AnswerGenerationModelCallSignals getAnswerGenerationModelCallSignals()
Optional. Diagnostic info related to the answer generation model call.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerGenerationModelCallSignals answer_generation_model_call_signals = 4 [(.google.api.field_behavior) = OPTIONAL];
getAnswerGenerationModelCallSignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.AnswerGenerationModelCallSignalsOrBuilder getAnswerGenerationModelCallSignalsOrBuilder()
Optional. Diagnostic info related to the answer generation model call.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerGenerationModelCallSignals answer_generation_model_call_signals = 4 [(.google.api.field_behavior) = OPTIONAL];
getAnswerGenerationModelCallSignalsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic String getAnswer()
Optional. The final compiled answer.
string answer = 5 [(.google.api.field_behavior) = OPTIONAL];getAnswer in interface DataStoreConnectionSignalsOrBuilderpublic com.google.protobuf.ByteString getAnswerBytes()
Optional. The final compiled answer.
string answer = 5 [(.google.api.field_behavior) = OPTIONAL];getAnswerBytes in interface DataStoreConnectionSignalsOrBuilderpublic List<DataStoreConnectionSignals.AnswerPart> getAnswerPartsList()
Optional. Answer parts with relevant citations. Concatenation of texts should add up the `answer` (not counting whitespaces).
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart answer_parts = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnswerPartsList in interface DataStoreConnectionSignalsOrBuilderpublic List<? extends DataStoreConnectionSignals.AnswerPartOrBuilder> getAnswerPartsOrBuilderList()
Optional. Answer parts with relevant citations. Concatenation of texts should add up the `answer` (not counting whitespaces).
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart answer_parts = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnswerPartsOrBuilderList in interface DataStoreConnectionSignalsOrBuilderpublic int getAnswerPartsCount()
Optional. Answer parts with relevant citations. Concatenation of texts should add up the `answer` (not counting whitespaces).
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart answer_parts = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnswerPartsCount in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.AnswerPart getAnswerParts(int index)
Optional. Answer parts with relevant citations. Concatenation of texts should add up the `answer` (not counting whitespaces).
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart answer_parts = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnswerParts in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.AnswerPartOrBuilder getAnswerPartsOrBuilder(int index)
Optional. Answer parts with relevant citations. Concatenation of texts should add up the `answer` (not counting whitespaces).
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart answer_parts = 6 [(.google.api.field_behavior) = OPTIONAL];
getAnswerPartsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic List<DataStoreConnectionSignals.CitedSnippet> getCitedSnippetsList()
Optional. Snippets cited by the answer generation model from the most to least relevant.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet cited_snippets = 7 [(.google.api.field_behavior) = OPTIONAL];
getCitedSnippetsList in interface DataStoreConnectionSignalsOrBuilderpublic List<? extends DataStoreConnectionSignals.CitedSnippetOrBuilder> getCitedSnippetsOrBuilderList()
Optional. Snippets cited by the answer generation model from the most to least relevant.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet cited_snippets = 7 [(.google.api.field_behavior) = OPTIONAL];
getCitedSnippetsOrBuilderList in interface DataStoreConnectionSignalsOrBuilderpublic int getCitedSnippetsCount()
Optional. Snippets cited by the answer generation model from the most to least relevant.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet cited_snippets = 7 [(.google.api.field_behavior) = OPTIONAL];
getCitedSnippetsCount in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.CitedSnippet getCitedSnippets(int index)
Optional. Snippets cited by the answer generation model from the most to least relevant.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet cited_snippets = 7 [(.google.api.field_behavior) = OPTIONAL];
getCitedSnippets in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.CitedSnippetOrBuilder getCitedSnippetsOrBuilder(int index)
Optional. Snippets cited by the answer generation model from the most to least relevant.
repeated .google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet cited_snippets = 7 [(.google.api.field_behavior) = OPTIONAL];
getCitedSnippetsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic boolean hasGroundingSignals()
Optional. Grounding signals.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];
hasGroundingSignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.GroundingSignals getGroundingSignals()
Optional. Grounding signals.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];
getGroundingSignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.GroundingSignalsOrBuilder getGroundingSignalsOrBuilder()
Optional. Grounding signals.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];
getGroundingSignalsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic boolean hasSafetySignals()
Optional. Safety check result.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];
hasSafetySignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.SafetySignals getSafetySignals()
Optional. Safety check result.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];
getSafetySignals in interface DataStoreConnectionSignalsOrBuilderpublic DataStoreConnectionSignals.SafetySignalsOrBuilder getSafetySignalsOrBuilder()
Optional. Safety check result.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];
getSafetySignalsOrBuilder in interface DataStoreConnectionSignalsOrBuilderpublic 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 DataStoreConnectionSignals parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStoreConnectionSignals parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStoreConnectionSignals parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStoreConnectionSignals parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStoreConnectionSignals parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStoreConnectionSignals parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStoreConnectionSignals parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataStoreConnectionSignals parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataStoreConnectionSignals parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataStoreConnectionSignals parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataStoreConnectionSignals parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataStoreConnectionSignals parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DataStoreConnectionSignals.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataStoreConnectionSignals.Builder newBuilder()
public static DataStoreConnectionSignals.Builder newBuilder(DataStoreConnectionSignals prototype)
public DataStoreConnectionSignals.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataStoreConnectionSignals.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataStoreConnectionSignals getDefaultInstance()
public static com.google.protobuf.Parser<DataStoreConnectionSignals> parser()
public com.google.protobuf.Parser<DataStoreConnectionSignals> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataStoreConnectionSignals getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.