Class Intent.Message.ListSelect.Builder

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

public static final class Intent.Message.ListSelect.Builder extends com.google.protobuf.GeneratedMessage.Builder<Intent.Message.ListSelect.Builder> implements Intent.Message.ListSelectOrBuilder
 The card for presenting a list of options to select from.
 
Protobuf type google.cloud.dialogflow.v2.Intent.Message.ListSelect
  • 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<Intent.Message.ListSelect.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<Intent.Message.ListSelect.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<Intent.Message.ListSelect.Builder>
    • getDefaultInstanceForType

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

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

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

      public Intent.Message.ListSelect.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<Intent.Message.ListSelect.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<Intent.Message.ListSelect.Builder>
    • mergeFrom

      public Intent.Message.ListSelect.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<Intent.Message.ListSelect.Builder>
      Throws:
      IOException
    • getTitle

      public String getTitle()
       Optional. The overall title of the list.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTitle in interface Intent.Message.ListSelectOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Optional. The overall title of the list.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTitleBytes in interface Intent.Message.ListSelectOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public Intent.Message.ListSelect.Builder setTitle(String value)
       Optional. The overall title of the list.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public Intent.Message.ListSelect.Builder clearTitle()
       Optional. The overall title of the list.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTitleBytes

      public Intent.Message.ListSelect.Builder setTitleBytes(com.google.protobuf.ByteString value)
       Optional. The overall title of the list.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • getItemsList

      public List<Intent.Message.ListSelect.Item> getItemsList()
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getItemsList in interface Intent.Message.ListSelectOrBuilder
    • getItemsCount

      public int getItemsCount()
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getItemsCount in interface Intent.Message.ListSelectOrBuilder
    • getItems

      public Intent.Message.ListSelect.Item getItems(int index)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getItems in interface Intent.Message.ListSelectOrBuilder
    • setItems

       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • setItems

      public Intent.Message.ListSelect.Builder setItems(int index, Intent.Message.ListSelect.Item.Builder builderForValue)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • addItems

       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • addItems

       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • addItems

       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • addItems

      public Intent.Message.ListSelect.Builder addItems(int index, Intent.Message.ListSelect.Item.Builder builderForValue)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllItems

       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearItems

      public Intent.Message.ListSelect.Builder clearItems()
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeItems

      public Intent.Message.ListSelect.Builder removeItems(int index)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • getItemsBuilder

      public Intent.Message.ListSelect.Item.Builder getItemsBuilder(int index)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • getItemsOrBuilder

      public Intent.Message.ListSelect.ItemOrBuilder getItemsOrBuilder(int index)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getItemsOrBuilder in interface Intent.Message.ListSelectOrBuilder
    • getItemsOrBuilderList

      public List<? extends Intent.Message.ListSelect.ItemOrBuilder> getItemsOrBuilderList()
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getItemsOrBuilderList in interface Intent.Message.ListSelectOrBuilder
    • addItemsBuilder

      public Intent.Message.ListSelect.Item.Builder addItemsBuilder()
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • addItemsBuilder

      public Intent.Message.ListSelect.Item.Builder addItemsBuilder(int index)
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • getItemsBuilderList

      public List<Intent.Message.ListSelect.Item.Builder> getItemsBuilderList()
       Required. List items.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item items = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSubtitle

      public String getSubtitle()
       Optional. Subtitle of the list.
       
      string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubtitle in interface Intent.Message.ListSelectOrBuilder
      Returns:
      The subtitle.
    • getSubtitleBytes

      public com.google.protobuf.ByteString getSubtitleBytes()
       Optional. Subtitle of the list.
       
      string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubtitleBytes in interface Intent.Message.ListSelectOrBuilder
      Returns:
      The bytes for subtitle.
    • setSubtitle

      public Intent.Message.ListSelect.Builder setSubtitle(String value)
       Optional. Subtitle of the list.
       
      string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The subtitle to set.
      Returns:
      This builder for chaining.
    • clearSubtitle

      public Intent.Message.ListSelect.Builder clearSubtitle()
       Optional. Subtitle of the list.
       
      string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setSubtitleBytes

      public Intent.Message.ListSelect.Builder setSubtitleBytes(com.google.protobuf.ByteString value)
       Optional. Subtitle of the list.
       
      string subtitle = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for subtitle to set.
      Returns:
      This builder for chaining.