public static interface GenerateSuggestionsResponse.GeneratorSuggestionAnswerOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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.v2.GeneratorSuggestion generator_suggestion = 1;
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion |
The generatorSuggestion. |
getGeneratorSuggestionOrBuilder()
public abstract GeneratorSuggestionOrBuilder getGeneratorSuggestionOrBuilder()Suggestion details.
.google.cloud.dialogflow.v2.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.v2.GeneratorSuggestion generator_suggestion = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the generatorSuggestion field is set. |