Send feedback
Class Intent.Message.LinkOutSuggestion.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
public static final class Intent . Message . LinkOutSuggestion . Builder extends GeneratedMessageV3 . 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.v2beta1.Intent.Message.LinkOutSuggestion
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent . Message . LinkOutSuggestion . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public Intent . Message . LinkOutSuggestion build ()
Returns
buildPartial()
public Intent . Message . LinkOutSuggestion buildPartial ()
Returns
clear()
public Intent . Message . LinkOutSuggestion . Builder clear ()
Returns
Overrides
clearDestinationName()
public Intent . Message . LinkOutSuggestion . Builder clearDestinationName ()
Required. The name of the app or site this chip is linking to.
string destination_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Intent . Message . LinkOutSuggestion . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent . Message . LinkOutSuggestion . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
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;
Returns
clone()
public Intent . Message . LinkOutSuggestion . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Intent . Message . LinkOutSuggestion getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDestinationName()
public String getDestinationName ()
Required. The name of the app or site this chip is linking to.
string destination_name = 1;
Returns
Type Description String The destinationName.
getDestinationNameBytes()
public ByteString getDestinationNameBytes ()
Required. The name of the app or site this chip is linking to.
string destination_name = 1;
Returns
Type Description ByteString The bytes for destinationName.
getUri()
Required. The URI of the app or site to open when the user taps the
suggestion chip.
string uri = 2;
Returns
getUriBytes()
public ByteString getUriBytes ()
Required. The URI of the app or site to open when the user taps the
suggestion chip.
string uri = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Intent.Message.LinkOutSuggestion other)
public Intent . Message . LinkOutSuggestion . Builder mergeFrom ( Intent . Message . LinkOutSuggestion other )
Parameter
Returns
public Intent . Message . LinkOutSuggestion . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent . Message . LinkOutSuggestion . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent . Message . LinkOutSuggestion . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDestinationName(String value)
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;
Parameter
Name Description value String
The destinationName to set.
Returns
setDestinationNameBytes(ByteString value)
public Intent . Message . LinkOutSuggestion . Builder setDestinationNameBytes ( ByteString value )
Required. The name of the app or site this chip is linking to.
string destination_name = 1;
Parameter
Name Description value ByteString
The bytes for destinationName to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Intent . Message . LinkOutSuggestion . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent . Message . LinkOutSuggestion . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent . Message . LinkOutSuggestion . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUri(String value)
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;
Parameter
Name Description value String
The uri to set.
Returns
setUriBytes(ByteString value)
public Intent . Message . LinkOutSuggestion . Builder setUriBytes ( ByteString value )
Required. The URI of the app or site to open when the user taps the
suggestion chip.
string uri = 2;
Parameter
Name Description value ByteString
The bytes for uri to set.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]