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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.LinkOutSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.LinkOutSuggestion build()
buildPartial()
public Intent.Message.LinkOutSuggestion buildPartial()
clear()
public Intent.Message.LinkOutSuggestion.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.LinkOutSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.LinkOutSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public Intent.Message.LinkOutSuggestion.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
String |
The uri.
|
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 |
Type |
Description |
ByteString |
The bytes for uri.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.LinkOutSuggestion other)
public Intent.Message.LinkOutSuggestion.Builder mergeFrom(Intent.Message.LinkOutSuggestion other)
public Intent.Message.LinkOutSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.LinkOutSuggestion.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.LinkOutSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.LinkOutSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.LinkOutSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.LinkOutSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|