Class Intent.Message.LinkOutSuggestion.Builder (4.7.5)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.LinkOutSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

build()

public Intent.Message.LinkOutSuggestion build()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion

buildPartial()

public Intent.Message.LinkOutSuggestion buildPartial()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion

clear()

public Intent.Message.LinkOutSuggestion.Builder clear()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.LinkOutSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.LinkOutSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

This builder for chaining.

clone()

public Intent.Message.LinkOutSuggestion.Builder clone()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

getDefaultInstanceForType()

public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Intent.Message.LinkOutSuggestion other)

public Intent.Message.LinkOutSuggestion.Builder mergeFrom(Intent.Message.LinkOutSuggestion other)
Parameter
NameDescription
otherIntent.Message.LinkOutSuggestion
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.LinkOutSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Intent.Message.LinkOutSuggestion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.LinkOutSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
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 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The destinationName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destinationName to set.

Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.LinkOutSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Intent.Message.LinkOutSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.LinkOutSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
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 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

This builder for chaining.