Class Intent.Message.LinkOutSuggestion (4.54.0)

public static final class Intent.Message.LinkOutSuggestion extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Intent.Message.LinkOutSuggestion

Static Fields

DESTINATION_NAME_FIELD_NUMBER

public static final int DESTINATION_NAME_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Intent.Message.LinkOutSuggestion getDefaultInstance()
Returns
Type Description
Intent.Message.LinkOutSuggestion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Intent.Message.LinkOutSuggestion.Builder newBuilder()
Returns
Type Description
Intent.Message.LinkOutSuggestion.Builder

newBuilder(Intent.Message.LinkOutSuggestion prototype)

public static Intent.Message.LinkOutSuggestion.Builder newBuilder(Intent.Message.LinkOutSuggestion prototype)
Parameter
Name Description
prototype Intent.Message.LinkOutSuggestion
Returns
Type Description
Intent.Message.LinkOutSuggestion.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.LinkOutSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.LinkOutSuggestion> parser()
Returns
Type Description
Parser<LinkOutSuggestion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()
Returns
Type Description
Intent.Message.LinkOutSuggestion

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.

getParserForType()

public Parser<Intent.Message.LinkOutSuggestion> getParserForType()
Returns
Type Description
Parser<LinkOutSuggestion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Intent.Message.LinkOutSuggestion.Builder newBuilderForType()
Returns
Type Description
Intent.Message.LinkOutSuggestion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.LinkOutSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Intent.Message.LinkOutSuggestion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Intent.Message.LinkOutSuggestion.Builder toBuilder()
Returns
Type Description
Intent.Message.LinkOutSuggestion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException