Class Intent.Message.LinkOutSuggestion (4.5.11)

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

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message.LinkOutSuggestion getDefaultInstance()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion

getDescriptor()

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

newBuilder()

public static Intent.Message.LinkOutSuggestion.Builder newBuilder()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

newBuilder(Intent.Message.LinkOutSuggestion prototype)

public static Intent.Message.LinkOutSuggestion.Builder newBuilder(Intent.Message.LinkOutSuggestion prototype)
Parameter
NameDescription
prototypeIntent.Message.LinkOutSuggestion
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.LinkOutSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()
Returns
TypeDescription
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
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;

Returns
TypeDescription
ByteString

The bytes for destinationName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
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;

Returns
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Intent.Message.LinkOutSuggestion.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.LinkOutSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Intent.Message.LinkOutSuggestion.Builder toBuilder()
Returns
TypeDescription
Intent.Message.LinkOutSuggestion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException