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
Static Fields
DESTINATION_NAME_FIELD_NUMBER
public static final int DESTINATION_NAME_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.LinkOutSuggestion getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.LinkOutSuggestion.Builder newBuilder()
Returns
newBuilder(Intent.Message.LinkOutSuggestion prototype)
public static Intent.Message.LinkOutSuggestion.Builder newBuilder(Intent.Message.LinkOutSuggestion prototype)
Parameter
Returns
public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.LinkOutSuggestion> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUri()
Required. The URI of the app or site to open when the user taps the
suggestion chip.
string uri = 2;
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.LinkOutSuggestion.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.LinkOutSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.LinkOutSuggestion.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions