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

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

        public Intent.Message.LinkOutSuggestion.Builder setUri​(String 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 uri to set.
        Returns:
        This builder for chaining.
      • clearUri

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