Class SummarySuggestion.Builder

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

public static final class SummarySuggestion.Builder extends com.google.protobuf.GeneratedMessage.Builder<SummarySuggestion.Builder> implements SummarySuggestionOrBuilder
 Suggested summary of the conversation.
 
Protobuf type google.cloud.dialogflow.v2.SummarySuggestion
  • 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<SummarySuggestion.Builder>
    • clear

      public SummarySuggestion.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<SummarySuggestion.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<SummarySuggestion.Builder>
    • getDefaultInstanceForType

      public SummarySuggestion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SummarySuggestion build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SummarySuggestion buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SummarySuggestion.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<SummarySuggestion.Builder>
    • mergeFrom

      public SummarySuggestion.Builder mergeFrom(SummarySuggestion other)
    • isInitialized

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

      public SummarySuggestion.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<SummarySuggestion.Builder>
      Throws:
      IOException
    • getSummarySectionsList

      public List<SummarySuggestion.SummarySection> getSummarySectionsList()
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSummarySectionsList in interface SummarySuggestionOrBuilder
    • getSummarySectionsCount

      public int getSummarySectionsCount()
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSummarySectionsCount in interface SummarySuggestionOrBuilder
    • getSummarySections

      public SummarySuggestion.SummarySection getSummarySections(int index)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSummarySections in interface SummarySuggestionOrBuilder
    • setSummarySections

      public SummarySuggestion.Builder setSummarySections(int index, SummarySuggestion.SummarySection value)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • setSummarySections

      public SummarySuggestion.Builder setSummarySections(int index, SummarySuggestion.SummarySection.Builder builderForValue)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • addSummarySections

       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • addSummarySections

      public SummarySuggestion.Builder addSummarySections(int index, SummarySuggestion.SummarySection value)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • addSummarySections

      public SummarySuggestion.Builder addSummarySections(SummarySuggestion.SummarySection.Builder builderForValue)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • addSummarySections

      public SummarySuggestion.Builder addSummarySections(int index, SummarySuggestion.SummarySection.Builder builderForValue)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllSummarySections

      public SummarySuggestion.Builder addAllSummarySections(Iterable<? extends SummarySuggestion.SummarySection> values)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearSummarySections

      public SummarySuggestion.Builder clearSummarySections()
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeSummarySections

      public SummarySuggestion.Builder removeSummarySections(int index)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSummarySectionsBuilder

      public SummarySuggestion.SummarySection.Builder getSummarySectionsBuilder(int index)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSummarySectionsOrBuilder

      public SummarySuggestion.SummarySectionOrBuilder getSummarySectionsOrBuilder(int index)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSummarySectionsOrBuilder in interface SummarySuggestionOrBuilder
    • getSummarySectionsOrBuilderList

      public List<? extends SummarySuggestion.SummarySectionOrBuilder> getSummarySectionsOrBuilderList()
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSummarySectionsOrBuilderList in interface SummarySuggestionOrBuilder
    • addSummarySectionsBuilder

      public SummarySuggestion.SummarySection.Builder addSummarySectionsBuilder()
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • addSummarySectionsBuilder

      public SummarySuggestion.SummarySection.Builder addSummarySectionsBuilder(int index)
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];
    • getSummarySectionsBuilderList

      public List<SummarySuggestion.SummarySection.Builder> getSummarySectionsBuilderList()
       Required. All the parts of generated summary.
       
      repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];