public static final class Intent.Message.RbmSuggestedAction extends GeneratedMessageV3 implements Intent.Message.RbmSuggestedActionOrBuilder
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction
Modifier and Type | Class and Description |
---|---|
static class |
Intent.Message.RbmSuggestedAction.ActionCase |
static class |
Intent.Message.RbmSuggestedAction.Builder
Rich Business Messaging (RBM) suggested client-side action that the user
can choose from the card.
|
static class |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial
Opens the user's default dialer app with the specified phone number
but does not dial automatically.
|
static interface |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder |
static class |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri
Opens the user's default web browser app to the specified uri
If the user has an app installed that is
registered as the default handler for the URL, then this app will be
opened instead, and its icon will be used in the suggested action UI.
|
static interface |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder |
static class |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation
Opens the device's location chooser so the user can pick a location
to send back to the agent.
|
static interface |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
DIAL_FIELD_NUMBER |
static int |
OPEN_URL_FIELD_NUMBER |
static int |
POSTBACK_DATA_FIELD_NUMBER |
static int |
SHARE_LOCATION_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int TEXT_FIELD_NUMBER
public static final int POSTBACK_DATA_FIELD_NUMBER
public static final int DIAL_FIELD_NUMBER
public static final int OPEN_URL_FIELD_NUMBER
public static final int SHARE_LOCATION_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Intent.Message.RbmSuggestedAction.ActionCase getActionCase()
getActionCase
in interface Intent.Message.RbmSuggestedActionOrBuilder
public String getText()
Text to display alongside the action.
string text = 1;
getText
in interface Intent.Message.RbmSuggestedActionOrBuilder
public ByteString getTextBytes()
Text to display alongside the action.
string text = 1;
getTextBytes
in interface Intent.Message.RbmSuggestedActionOrBuilder
public String getPostbackData()
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;
getPostbackData
in interface Intent.Message.RbmSuggestedActionOrBuilder
public ByteString getPostbackDataBytes()
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;
getPostbackDataBytes
in interface Intent.Message.RbmSuggestedActionOrBuilder
public boolean hasDial()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
hasDial
in interface Intent.Message.RbmSuggestedActionOrBuilder
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial getDial()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
getDial
in interface Intent.Message.RbmSuggestedActionOrBuilder
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder getDialOrBuilder()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
getDialOrBuilder
in interface Intent.Message.RbmSuggestedActionOrBuilder
public boolean hasOpenUrl()
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
hasOpenUrl
in interface Intent.Message.RbmSuggestedActionOrBuilder
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri getOpenUrl()
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
getOpenUrl
in interface Intent.Message.RbmSuggestedActionOrBuilder
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder getOpenUrlOrBuilder()
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
getOpenUrlOrBuilder
in interface Intent.Message.RbmSuggestedActionOrBuilder
public boolean hasShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
hasShareLocation
in interface Intent.Message.RbmSuggestedActionOrBuilder
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation getShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
getShareLocation
in interface Intent.Message.RbmSuggestedActionOrBuilder
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder getShareLocationOrBuilder()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
getShareLocationOrBuilder
in interface Intent.Message.RbmSuggestedActionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Intent.Message.RbmSuggestedAction parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent.Message.RbmSuggestedAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent.Message.RbmSuggestedAction parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent.Message.RbmSuggestedAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent.Message.RbmSuggestedAction parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent.Message.RbmSuggestedAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent.Message.RbmSuggestedAction parseFrom(InputStream input) throws IOException
IOException
public static Intent.Message.RbmSuggestedAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Intent.Message.RbmSuggestedAction parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Intent.Message.RbmSuggestedAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Intent.Message.RbmSuggestedAction parseFrom(CodedInputStream input) throws IOException
IOException
public static Intent.Message.RbmSuggestedAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Intent.Message.RbmSuggestedAction.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Intent.Message.RbmSuggestedAction.Builder newBuilder()
public static Intent.Message.RbmSuggestedAction.Builder newBuilder(Intent.Message.RbmSuggestedAction prototype)
public Intent.Message.RbmSuggestedAction.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Intent.Message.RbmSuggestedAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Intent.Message.RbmSuggestedAction getDefaultInstance()
public static Parser<Intent.Message.RbmSuggestedAction> parser()
public Parser<Intent.Message.RbmSuggestedAction> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Intent.Message.RbmSuggestedAction getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.