Interface GenerateSuggestionsResponse.GeneratorSuggestionAnswerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateSuggestionsResponse.GeneratorSuggestionAnswer, GenerateSuggestionsResponse.GeneratorSuggestionAnswer.Builder
Enclosing class:
GenerateSuggestionsResponse

public static interface GenerateSuggestionsResponse.GeneratorSuggestionAnswerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Answer record that uniquely identifies the suggestion.
    com.google.protobuf.ByteString
    Answer record that uniquely identifies the suggestion.
    Suggestion details.
    Suggestion details.
    The name of the generator used to generate this suggestion.
    com.google.protobuf.ByteString
    The name of the generator used to generate this suggestion.
    boolean
    Suggestion details.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasGeneratorSuggestion

      boolean hasGeneratorSuggestion()
       Suggestion details.
       
      .google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1;
      Returns:
      Whether the generatorSuggestion field is set.
    • getGeneratorSuggestion

      GeneratorSuggestion getGeneratorSuggestion()
       Suggestion details.
       
      .google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1;
      Returns:
      The generatorSuggestion.
    • getGeneratorSuggestionOrBuilder

      GeneratorSuggestionOrBuilder getGeneratorSuggestionOrBuilder()
       Suggestion details.
       
      .google.cloud.dialogflow.v2.GeneratorSuggestion generator_suggestion = 1;
    • getSourceGenerator

      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:
      The sourceGenerator.
    • getSourceGeneratorBytes

      com.google.protobuf.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:
      The bytes for sourceGenerator.
    • getAnswerRecord

      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:
      The answerRecord.
    • getAnswerRecordBytes

      com.google.protobuf.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:
      The bytes for answerRecord.