Class DataStoreConnectionSignals.Builder (0.60.0)

public static final class DataStoreConnectionSignals.Builder extends GeneratedMessageV3.Builder<DataStoreConnectionSignals.Builder> 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.DataStoreConnectionSignals

Static Methods

getDescriptor()

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

Methods

addAllAnswerParts(Iterable<? extends DataStoreConnectionSignals.AnswerPart> values)

public DataStoreConnectionSignals.Builder addAllAnswerParts(Iterable<? extends DataStoreConnectionSignals.AnswerPart> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPart>
Returns
Type Description
DataStoreConnectionSignals.Builder

addAllCitedSnippets(Iterable<? extends DataStoreConnectionSignals.CitedSnippet> values)

public DataStoreConnectionSignals.Builder addAllCitedSnippets(Iterable<? extends DataStoreConnectionSignals.CitedSnippet> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet>
Returns
Type Description
DataStoreConnectionSignals.Builder

addAllSearchSnippets(Iterable<? extends DataStoreConnectionSignals.SearchSnippet> values)

public DataStoreConnectionSignals.Builder addAllSearchSnippets(Iterable<? extends DataStoreConnectionSignals.SearchSnippet> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet>
Returns
Type Description
DataStoreConnectionSignals.Builder

addAnswerParts(DataStoreConnectionSignals.AnswerPart value)

public DataStoreConnectionSignals.Builder addAnswerParts(DataStoreConnectionSignals.AnswerPart value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.AnswerPart
Returns
Type Description
DataStoreConnectionSignals.Builder

addAnswerParts(DataStoreConnectionSignals.AnswerPart.Builder builderForValue)

public DataStoreConnectionSignals.Builder addAnswerParts(DataStoreConnectionSignals.AnswerPart.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.AnswerPart.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

addAnswerParts(int index, DataStoreConnectionSignals.AnswerPart value)

public DataStoreConnectionSignals.Builder addAnswerParts(int index, DataStoreConnectionSignals.AnswerPart value)

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];

Parameters
Name Description
index int
value DataStoreConnectionSignals.AnswerPart
Returns
Type Description
DataStoreConnectionSignals.Builder

addAnswerParts(int index, DataStoreConnectionSignals.AnswerPart.Builder builderForValue)

public DataStoreConnectionSignals.Builder addAnswerParts(int index, DataStoreConnectionSignals.AnswerPart.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue DataStoreConnectionSignals.AnswerPart.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

addAnswerPartsBuilder()

public DataStoreConnectionSignals.AnswerPart.Builder addAnswerPartsBuilder()

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];

Returns
Type Description
DataStoreConnectionSignals.AnswerPart.Builder

addAnswerPartsBuilder(int index)

public DataStoreConnectionSignals.AnswerPart.Builder addAnswerPartsBuilder(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.AnswerPart.Builder

addCitedSnippets(DataStoreConnectionSignals.CitedSnippet value)

public DataStoreConnectionSignals.Builder addCitedSnippets(DataStoreConnectionSignals.CitedSnippet value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.CitedSnippet
Returns
Type Description
DataStoreConnectionSignals.Builder

addCitedSnippets(DataStoreConnectionSignals.CitedSnippet.Builder builderForValue)

public DataStoreConnectionSignals.Builder addCitedSnippets(DataStoreConnectionSignals.CitedSnippet.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.CitedSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

addCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet value)

public DataStoreConnectionSignals.Builder addCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet value)

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];

Parameters
Name Description
index int
value DataStoreConnectionSignals.CitedSnippet
Returns
Type Description
DataStoreConnectionSignals.Builder

addCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet.Builder builderForValue)

public DataStoreConnectionSignals.Builder addCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue DataStoreConnectionSignals.CitedSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

addCitedSnippetsBuilder()

public DataStoreConnectionSignals.CitedSnippet.Builder addCitedSnippetsBuilder()

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];

Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

addCitedSnippetsBuilder(int index)

public DataStoreConnectionSignals.CitedSnippet.Builder addCitedSnippetsBuilder(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataStoreConnectionSignals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

addSearchSnippets(DataStoreConnectionSignals.SearchSnippet value)

public DataStoreConnectionSignals.Builder addSearchSnippets(DataStoreConnectionSignals.SearchSnippet value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.SearchSnippet
Returns
Type Description
DataStoreConnectionSignals.Builder

addSearchSnippets(DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

public DataStoreConnectionSignals.Builder addSearchSnippets(DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.SearchSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

addSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet value)

public DataStoreConnectionSignals.Builder addSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet value)

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];

Parameters
Name Description
index int
value DataStoreConnectionSignals.SearchSnippet
Returns
Type Description
DataStoreConnectionSignals.Builder

addSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

public DataStoreConnectionSignals.Builder addSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue DataStoreConnectionSignals.SearchSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

addSearchSnippetsBuilder()

public DataStoreConnectionSignals.SearchSnippet.Builder addSearchSnippetsBuilder()

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];

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

addSearchSnippetsBuilder(int index)

public DataStoreConnectionSignals.SearchSnippet.Builder addSearchSnippetsBuilder(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

build()

public DataStoreConnectionSignals build()
Returns
Type Description
DataStoreConnectionSignals

buildPartial()

public DataStoreConnectionSignals buildPartial()
Returns
Type Description
DataStoreConnectionSignals

clear()

public DataStoreConnectionSignals.Builder clear()
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

clearAnswer()

public DataStoreConnectionSignals.Builder clearAnswer()

Optional. The final compiled answer.

string answer = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.Builder

This builder for chaining.

clearAnswerGenerationModelCallSignals()

public DataStoreConnectionSignals.Builder clearAnswerGenerationModelCallSignals()

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];

Returns
Type Description
DataStoreConnectionSignals.Builder

clearAnswerParts()

public DataStoreConnectionSignals.Builder clearAnswerParts()

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];

Returns
Type Description
DataStoreConnectionSignals.Builder

clearCitedSnippets()

public DataStoreConnectionSignals.Builder clearCitedSnippets()

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];

Returns
Type Description
DataStoreConnectionSignals.Builder

clearField(Descriptors.FieldDescriptor field)

public DataStoreConnectionSignals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

clearGroundingSignals()

public DataStoreConnectionSignals.Builder clearGroundingSignals()

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataStoreConnectionSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

clearRewriterModelCallSignals()

public DataStoreConnectionSignals.Builder clearRewriterModelCallSignals()

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];

Returns
Type Description
DataStoreConnectionSignals.Builder

clearRewrittenQuery()

public DataStoreConnectionSignals.Builder clearRewrittenQuery()

Optional. Rewritten string query used for search.

string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.Builder

This builder for chaining.

clearSafetySignals()

public DataStoreConnectionSignals.Builder clearSafetySignals()

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.Builder

clearSearchSnippets()

public DataStoreConnectionSignals.Builder clearSearchSnippets()

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];

Returns
Type Description
DataStoreConnectionSignals.Builder

clone()

public DataStoreConnectionSignals.Builder clone()
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

getAnswer()

public String getAnswer()

Optional. The final compiled answer.

string answer = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The answer.

getAnswerBytes()

public ByteString getAnswerBytes()

Optional. The final compiled answer.

string answer = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for answer.

getAnswerGenerationModelCallSignals()

public 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];

Returns
Type Description
DataStoreConnectionSignals.AnswerGenerationModelCallSignals

The answerGenerationModelCallSignals.

getAnswerGenerationModelCallSignalsBuilder()

public DataStoreConnectionSignals.AnswerGenerationModelCallSignals.Builder getAnswerGenerationModelCallSignalsBuilder()

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];

Returns
Type Description
DataStoreConnectionSignals.AnswerGenerationModelCallSignals.Builder

getAnswerGenerationModelCallSignalsOrBuilder()

public 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];

Returns
Type Description
DataStoreConnectionSignals.AnswerGenerationModelCallSignalsOrBuilder

getAnswerParts(int index)

public 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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.AnswerPart

getAnswerPartsBuilder(int index)

public DataStoreConnectionSignals.AnswerPart.Builder getAnswerPartsBuilder(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.AnswerPart.Builder

getAnswerPartsBuilderList()

public List<DataStoreConnectionSignals.AnswerPart.Builder> getAnswerPartsBuilderList()

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];

Returns
Type Description
List<Builder>

getAnswerPartsCount()

public 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];

Returns
Type Description
int

getAnswerPartsList()

public 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];

Returns
Type Description
List<AnswerPart>

getAnswerPartsOrBuilder(int index)

public 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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.AnswerPartOrBuilder

getAnswerPartsOrBuilderList()

public 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];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.AnswerPartOrBuilder>

getCitedSnippets(int index)

public 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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.CitedSnippet

getCitedSnippetsBuilder(int index)

public DataStoreConnectionSignals.CitedSnippet.Builder getCitedSnippetsBuilder(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

getCitedSnippetsBuilderList()

public List<DataStoreConnectionSignals.CitedSnippet.Builder> getCitedSnippetsBuilderList()

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];

Returns
Type Description
List<Builder>

getCitedSnippetsCount()

public 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];

Returns
Type Description
int

getCitedSnippetsList()

public 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];

Returns
Type Description
List<CitedSnippet>

getCitedSnippetsOrBuilder(int index)

public 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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.CitedSnippetOrBuilder

getCitedSnippetsOrBuilderList()

public 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];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippetOrBuilder>

getDefaultInstanceForType()

public DataStoreConnectionSignals getDefaultInstanceForType()
Returns
Type Description
DataStoreConnectionSignals

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGroundingSignals()

public DataStoreConnectionSignals.GroundingSignals getGroundingSignals()

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals

The groundingSignals.

getGroundingSignalsBuilder()

public DataStoreConnectionSignals.GroundingSignals.Builder getGroundingSignalsBuilder()

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

getGroundingSignalsOrBuilder()

public DataStoreConnectionSignals.GroundingSignalsOrBuilder getGroundingSignalsOrBuilder()

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.GroundingSignalsOrBuilder

getRewriterModelCallSignals()

public 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];

Returns
Type Description
DataStoreConnectionSignals.RewriterModelCallSignals

The rewriterModelCallSignals.

getRewriterModelCallSignalsBuilder()

public DataStoreConnectionSignals.RewriterModelCallSignals.Builder getRewriterModelCallSignalsBuilder()

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];

Returns
Type Description
DataStoreConnectionSignals.RewriterModelCallSignals.Builder

getRewriterModelCallSignalsOrBuilder()

public 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];

Returns
Type Description
DataStoreConnectionSignals.RewriterModelCallSignalsOrBuilder

getRewrittenQuery()

public String getRewrittenQuery()

Optional. Rewritten string query used for search.

string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The rewrittenQuery.

getRewrittenQueryBytes()

public ByteString getRewrittenQueryBytes()

Optional. Rewritten string query used for search.

string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for rewrittenQuery.

getSafetySignals()

public DataStoreConnectionSignals.SafetySignals getSafetySignals()

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.SafetySignals

The safetySignals.

getSafetySignalsBuilder()

public DataStoreConnectionSignals.SafetySignals.Builder getSafetySignalsBuilder()

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.SafetySignals.Builder

getSafetySignalsOrBuilder()

public DataStoreConnectionSignals.SafetySignalsOrBuilder getSafetySignalsOrBuilder()

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataStoreConnectionSignals.SafetySignalsOrBuilder

getSearchSnippets(int index)

public 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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet

getSearchSnippetsBuilder(int index)

public DataStoreConnectionSignals.SearchSnippet.Builder getSearchSnippetsBuilder(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

getSearchSnippetsBuilderList()

public List<DataStoreConnectionSignals.SearchSnippet.Builder> getSearchSnippetsBuilderList()

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];

Returns
Type Description
List<Builder>

getSearchSnippetsCount()

public 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];

Returns
Type Description
int

getSearchSnippetsList()

public 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];

Returns
Type Description
List<SearchSnippet>

getSearchSnippetsOrBuilder(int index)

public 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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.SearchSnippetOrBuilder

getSearchSnippetsOrBuilderList()

public 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];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippetOrBuilder>

hasAnswerGenerationModelCallSignals()

public 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];

Returns
Type Description
boolean

Whether the answerGenerationModelCallSignals field is set.

hasGroundingSignals()

public boolean hasGroundingSignals()

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the groundingSignals field is set.

hasRewriterModelCallSignals()

public 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];

Returns
Type Description
boolean

Whether the rewriterModelCallSignals field is set.

hasSafetySignals()

public boolean hasSafetySignals()

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the safetySignals field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnswerGenerationModelCallSignals(DataStoreConnectionSignals.AnswerGenerationModelCallSignals value)

public DataStoreConnectionSignals.Builder mergeAnswerGenerationModelCallSignals(DataStoreConnectionSignals.AnswerGenerationModelCallSignals value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.AnswerGenerationModelCallSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

mergeFrom(DataStoreConnectionSignals other)

public DataStoreConnectionSignals.Builder mergeFrom(DataStoreConnectionSignals other)
Parameter
Name Description
other DataStoreConnectionSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataStoreConnectionSignals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataStoreConnectionSignals.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

mergeGroundingSignals(DataStoreConnectionSignals.GroundingSignals value)

public DataStoreConnectionSignals.Builder mergeGroundingSignals(DataStoreConnectionSignals.GroundingSignals value)

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreConnectionSignals.GroundingSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

mergeRewriterModelCallSignals(DataStoreConnectionSignals.RewriterModelCallSignals value)

public DataStoreConnectionSignals.Builder mergeRewriterModelCallSignals(DataStoreConnectionSignals.RewriterModelCallSignals value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.RewriterModelCallSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

mergeSafetySignals(DataStoreConnectionSignals.SafetySignals value)

public DataStoreConnectionSignals.Builder mergeSafetySignals(DataStoreConnectionSignals.SafetySignals value)

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreConnectionSignals.SafetySignals
Returns
Type Description
DataStoreConnectionSignals.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataStoreConnectionSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

removeAnswerParts(int index)

public DataStoreConnectionSignals.Builder removeAnswerParts(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.Builder

removeCitedSnippets(int index)

public DataStoreConnectionSignals.Builder removeCitedSnippets(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.Builder

removeSearchSnippets(int index)

public DataStoreConnectionSignals.Builder removeSearchSnippets(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];

Parameter
Name Description
index int
Returns
Type Description
DataStoreConnectionSignals.Builder

setAnswer(String value)

public DataStoreConnectionSignals.Builder setAnswer(String value)

Optional. The final compiled answer.

string answer = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The answer to set.

Returns
Type Description
DataStoreConnectionSignals.Builder

This builder for chaining.

setAnswerBytes(ByteString value)

public DataStoreConnectionSignals.Builder setAnswerBytes(ByteString value)

Optional. The final compiled answer.

string answer = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for answer to set.

Returns
Type Description
DataStoreConnectionSignals.Builder

This builder for chaining.

setAnswerGenerationModelCallSignals(DataStoreConnectionSignals.AnswerGenerationModelCallSignals value)

public DataStoreConnectionSignals.Builder setAnswerGenerationModelCallSignals(DataStoreConnectionSignals.AnswerGenerationModelCallSignals value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.AnswerGenerationModelCallSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

setAnswerGenerationModelCallSignals(DataStoreConnectionSignals.AnswerGenerationModelCallSignals.Builder builderForValue)

public DataStoreConnectionSignals.Builder setAnswerGenerationModelCallSignals(DataStoreConnectionSignals.AnswerGenerationModelCallSignals.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.AnswerGenerationModelCallSignals.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setAnswerParts(int index, DataStoreConnectionSignals.AnswerPart value)

public DataStoreConnectionSignals.Builder setAnswerParts(int index, DataStoreConnectionSignals.AnswerPart value)

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];

Parameters
Name Description
index int
value DataStoreConnectionSignals.AnswerPart
Returns
Type Description
DataStoreConnectionSignals.Builder

setAnswerParts(int index, DataStoreConnectionSignals.AnswerPart.Builder builderForValue)

public DataStoreConnectionSignals.Builder setAnswerParts(int index, DataStoreConnectionSignals.AnswerPart.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue DataStoreConnectionSignals.AnswerPart.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet value)

public DataStoreConnectionSignals.Builder setCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet value)

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];

Parameters
Name Description
index int
value DataStoreConnectionSignals.CitedSnippet
Returns
Type Description
DataStoreConnectionSignals.Builder

setCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet.Builder builderForValue)

public DataStoreConnectionSignals.Builder setCitedSnippets(int index, DataStoreConnectionSignals.CitedSnippet.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue DataStoreConnectionSignals.CitedSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataStoreConnectionSignals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

setGroundingSignals(DataStoreConnectionSignals.GroundingSignals value)

public DataStoreConnectionSignals.Builder setGroundingSignals(DataStoreConnectionSignals.GroundingSignals value)

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreConnectionSignals.GroundingSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

setGroundingSignals(DataStoreConnectionSignals.GroundingSignals.Builder builderForValue)

public DataStoreConnectionSignals.Builder setGroundingSignals(DataStoreConnectionSignals.GroundingSignals.Builder builderForValue)

Optional. Grounding signals.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals grounding_signals = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.GroundingSignals.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataStoreConnectionSignals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides

setRewriterModelCallSignals(DataStoreConnectionSignals.RewriterModelCallSignals value)

public DataStoreConnectionSignals.Builder setRewriterModelCallSignals(DataStoreConnectionSignals.RewriterModelCallSignals value)

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];

Parameter
Name Description
value DataStoreConnectionSignals.RewriterModelCallSignals
Returns
Type Description
DataStoreConnectionSignals.Builder

setRewriterModelCallSignals(DataStoreConnectionSignals.RewriterModelCallSignals.Builder builderForValue)

public DataStoreConnectionSignals.Builder setRewriterModelCallSignals(DataStoreConnectionSignals.RewriterModelCallSignals.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.RewriterModelCallSignals.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setRewrittenQuery(String value)

public DataStoreConnectionSignals.Builder setRewrittenQuery(String value)

Optional. Rewritten string query used for search.

string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The rewrittenQuery to set.

Returns
Type Description
DataStoreConnectionSignals.Builder

This builder for chaining.

setRewrittenQueryBytes(ByteString value)

public DataStoreConnectionSignals.Builder setRewrittenQueryBytes(ByteString value)

Optional. Rewritten string query used for search.

string rewritten_query = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for rewrittenQuery to set.

Returns
Type Description
DataStoreConnectionSignals.Builder

This builder for chaining.

setSafetySignals(DataStoreConnectionSignals.SafetySignals value)

public DataStoreConnectionSignals.Builder setSafetySignals(DataStoreConnectionSignals.SafetySignals value)

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataStoreConnectionSignals.SafetySignals
Returns
Type Description
DataStoreConnectionSignals.Builder

setSafetySignals(DataStoreConnectionSignals.SafetySignals.Builder builderForValue)

public DataStoreConnectionSignals.Builder setSafetySignals(DataStoreConnectionSignals.SafetySignals.Builder builderForValue)

Optional. Safety check result.

.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals safety_signals = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataStoreConnectionSignals.SafetySignals.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet value)

public DataStoreConnectionSignals.Builder setSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet value)

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];

Parameters
Name Description
index int
value DataStoreConnectionSignals.SearchSnippet
Returns
Type Description
DataStoreConnectionSignals.Builder

setSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

public DataStoreConnectionSignals.Builder setSearchSnippets(int index, DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue DataStoreConnectionSignals.SearchSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataStoreConnectionSignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataStoreConnectionSignals.Builder
Overrides