Class Intent.Message.LinkOutSuggestion.Builder

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

public static final class Intent.Message.LinkOutSuggestion.Builder extends com.google.protobuf.GeneratedMessage.Builder<Intent.Message.LinkOutSuggestion.Builder> implements Intent.Message.LinkOutSuggestionOrBuilder
 The suggestion chip message that allows the user to jump out to the app
 or website associated with this agent.
 
Protobuf type google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion
  • 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.LinkOutSuggestion.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.LinkOutSuggestion.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.LinkOutSuggestion.Builder>
    • getDefaultInstanceForType

      public Intent.Message.LinkOutSuggestion 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

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

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

      public String getDestinationName()
       Required. The name of the app or site this chip is linking to.
       
      string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationName in interface Intent.Message.LinkOutSuggestionOrBuilder
      Returns:
      The destinationName.
    • getDestinationNameBytes

      public com.google.protobuf.ByteString getDestinationNameBytes()
       Required. The name of the app or site this chip is linking to.
       
      string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationNameBytes in interface Intent.Message.LinkOutSuggestionOrBuilder
      Returns:
      The bytes for destinationName.
    • setDestinationName

      public Intent.Message.LinkOutSuggestion.Builder setDestinationName(String value)
       Required. The name of the app or site this chip is linking to.
       
      string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The destinationName to set.
      Returns:
      This builder for chaining.
    • clearDestinationName

      public Intent.Message.LinkOutSuggestion.Builder clearDestinationName()
       Required. The name of the app or site this chip is linking to.
       
      string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDestinationNameBytes

      public Intent.Message.LinkOutSuggestion.Builder setDestinationNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the app or site this chip is linking to.
       
      string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for destinationName to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
       Required. The URI of the app or site to open when the user taps the
       suggestion chip.
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUri in interface Intent.Message.LinkOutSuggestionOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The URI of the app or site to open when the user taps the
       suggestion chip.
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUriBytes in interface Intent.Message.LinkOutSuggestionOrBuilder
      Returns:
      The bytes for uri.
    • setUri

       Required. The URI of the app or site to open when the user taps the
       suggestion chip.
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

       Required. The URI of the app or site to open when the user taps the
       suggestion chip.
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setUriBytes

      public Intent.Message.LinkOutSuggestion.Builder setUriBytes(com.google.protobuf.ByteString value)
       Required. The URI of the app or site to open when the user taps the
       suggestion chip.
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.