Class Intent.Message.ListSelect.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
      • setRepeatedField

        public Intent.Message.ListSelect.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.ListSelect.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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
      • 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];
      • 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];
      • 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.
      • setUnknownFields

        public final Intent.Message.ListSelect.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.ListSelect.Builder>
      • mergeUnknownFields

        public final Intent.Message.ListSelect.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.ListSelect.Builder>