Class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder
All Implemented Interfaces:
HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
HumanAgentAssistantConfig.SuggestionQueryConfig.Sections

public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder extends com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder> implements HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
 Custom sections to return when requesting a summary of a conversation.
 This is only supported when `baseline_model_version` == '2.0'.

 Supported features: CONVERSATION_SUMMARIZATION,
 CONVERSATION_SUMMARIZATION_VOICE.
 
Protobuf type google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
    • getDefaultInstanceForType

      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
    • mergeFrom

      public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder>
      Throws:
      IOException
    • getSectionTypesList

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Specified by:
      getSectionTypesList in interface HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
      Returns:
      A list containing the sectionTypes.
    • getSectionTypesCount

      public int getSectionTypesCount()
       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Specified by:
      getSectionTypesCount in interface HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
      Returns:
      The count of sectionTypes.
    • getSectionTypes

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Specified by:
      getSectionTypes in interface HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sectionTypes at the given index.
    • setSectionTypes

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Parameters:
      index - The index to set the value at.
      value - The sectionTypes to set.
      Returns:
      This builder for chaining.
    • addSectionTypes

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Parameters:
      value - The sectionTypes to add.
      Returns:
      This builder for chaining.
    • addAllSectionTypes

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Parameters:
      values - The sectionTypes to add.
      Returns:
      This builder for chaining.
    • clearSectionTypes

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Returns:
      This builder for chaining.
    • getSectionTypesValueList

      public List<Integer> getSectionTypesValueList()
       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Specified by:
      getSectionTypesValueList in interface HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for sectionTypes.
    • getSectionTypesValue

      public int getSectionTypesValue(int index)
       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Specified by:
      getSectionTypesValue in interface HumanAgentAssistantConfig.SuggestionQueryConfig.SectionsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of sectionTypes at the given index.
    • setSectionTypesValue

      public HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder setSectionTypesValue(int index, int value)
       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for sectionTypes to set.
      Returns:
      This builder for chaining.
    • addSectionTypesValue

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Parameters:
      value - The enum numeric value on the wire for sectionTypes to add.
      Returns:
      This builder for chaining.
    • addAllSectionTypesValue

       The selected sections chosen to return when requesting a summary of a
       conversation. A duplicate selected section will be treated as a single
       selected section. If section types are not provided, the default will
       be {SITUATION, ACTION, RESULT}.
       
      repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.SectionType section_types = 1;
      Parameters:
      values - The enum numeric values on the wire for sectionTypes to add.
      Returns:
      This builder for chaining.