Class Intent.Message.RbmSuggestedReply.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.RbmSuggestedReply.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.RbmSuggestedReply.Builder>
      • getDefaultInstanceForType

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

        public Intent.Message.RbmSuggestedReply 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.RbmSuggestedReply buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.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.RbmSuggestedReply.Builder>
      • setTextBytes

        public Intent.Message.RbmSuggestedReply.Builder setTextBytes​(com.google.protobuf.ByteString value)
         Suggested reply text.
         
        string text = 1;
        Parameters:
        value - The bytes for text to set.
        Returns:
        This builder for chaining.
      • getPostbackData

        public String getPostbackData()
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested reply. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Specified by:
        getPostbackData in interface Intent.Message.RbmSuggestedReplyOrBuilder
        Returns:
        The postbackData.
      • getPostbackDataBytes

        public com.google.protobuf.ByteString getPostbackDataBytes()
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested reply. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Specified by:
        getPostbackDataBytes in interface Intent.Message.RbmSuggestedReplyOrBuilder
        Returns:
        The bytes for postbackData.
      • setPostbackData

        public Intent.Message.RbmSuggestedReply.Builder setPostbackData​(String value)
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested reply. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Parameters:
        value - The postbackData to set.
        Returns:
        This builder for chaining.
      • clearPostbackData

        public Intent.Message.RbmSuggestedReply.Builder clearPostbackData()
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested reply. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Returns:
        This builder for chaining.
      • setPostbackDataBytes

        public Intent.Message.RbmSuggestedReply.Builder setPostbackDataBytes​(com.google.protobuf.ByteString value)
         Opaque payload that the Dialogflow receives in a user event
         when the user taps the suggested reply. This data will be also
         forwarded to webhook to allow performing custom business logic.
         
        string postback_data = 2;
        Parameters:
        value - The bytes for postbackData to set.
        Returns:
        This builder for chaining.