Interface GenerateSuggestionsResponse.GeneratorSuggestionAnswerOrBuilder (4.66.0)

public static interface GenerateSuggestionsResponse.GeneratorSuggestionAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerRecord()

public abstract String getAnswerRecord()

Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.

string answer_record = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The answerRecord.

getAnswerRecordBytes()

public abstract ByteString getAnswerRecordBytes()

Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback.

string answer_record = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for answerRecord.

getGeneratorSuggestion()

public abstract GeneratorSuggestion getGeneratorSuggestion()

Suggestion details.

.google.cloud.dialogflow.v2beta1.GeneratorSuggestion generator_suggestion = 1;

Returns
Type Description
GeneratorSuggestion

The generatorSuggestion.

getGeneratorSuggestionOrBuilder()

public abstract GeneratorSuggestionOrBuilder getGeneratorSuggestionOrBuilder()

Suggestion details.

.google.cloud.dialogflow.v2beta1.GeneratorSuggestion generator_suggestion = 1;

Returns
Type Description
GeneratorSuggestionOrBuilder

getSourceGenerator()

public abstract String getSourceGenerator()

The name of the generator used to generate this suggestion. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>.

string source_generator = 2;

Returns
Type Description
String

The sourceGenerator.

getSourceGeneratorBytes()

public abstract ByteString getSourceGeneratorBytes()

The name of the generator used to generate this suggestion. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>.

string source_generator = 2;

Returns
Type Description
ByteString

The bytes for sourceGenerator.

hasGeneratorSuggestion()

public abstract boolean hasGeneratorSuggestion()

Suggestion details.

.google.cloud.dialogflow.v2beta1.GeneratorSuggestion generator_suggestion = 1;

Returns
Type Description
boolean

Whether the generatorSuggestion field is set.