public static final class Intent.Message.LinkOutSuggestion.Builder extends GeneratedMessage.Builder<Intent.Message.LinkOutSuggestion.Builder> implements Intent.Message.LinkOutSuggestionOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Intent.Message.LinkOutSuggestion.BuilderImplements
Intent.Message.LinkOutSuggestionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Intent.Message.LinkOutSuggestion build()| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion |
|
buildPartial()
public Intent.Message.LinkOutSuggestion buildPartial()| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion |
|
clear()
public Intent.Message.LinkOutSuggestion.Builder clear()| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
|
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 | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
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 | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| 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 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationName. |
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];
| 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 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Intent.Message.LinkOutSuggestion other)
public Intent.Message.LinkOutSuggestion.Builder mergeFrom(Intent.Message.LinkOutSuggestion other)| Parameter | |
|---|---|
| Name | Description |
other |
Intent.Message.LinkOutSuggestion |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.LinkOutSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Intent.Message.LinkOutSuggestion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
|
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 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationName to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
This builder for chaining. |
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 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationName to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
This builder for chaining. |
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 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
This builder for chaining. |
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 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.LinkOutSuggestion.Builder |
This builder for chaining. |