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.v2.Intent.Message.LinkOutSuggestion
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.LinkOutSuggestion.Builder newBuilder()
newBuilder(Intent.Message.LinkOutSuggestion prototype)
public static Intent.Message.LinkOutSuggestion.Builder newBuilder(Intent.Message.LinkOutSuggestion prototype)
public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input)
public static Intent.Message.LinkOutSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input)
public static Intent.Message.LinkOutSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input)
public static Intent.Message.LinkOutSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.LinkOutSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.LinkOutSuggestion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.LinkOutSuggestion getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<Intent.Message.LinkOutSuggestion> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.LinkOutSuggestion.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.LinkOutSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.LinkOutSuggestion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides