public static enum Intent.Message.Platform extends Enum<Intent.Message.Platform> implements ProtocolMessageEnum
Represents different platforms that a rich message can be intended for.Protobuf enum
google.cloud.dialogflow.v2beta1.Intent.Message.Platform
Enum Constant and Description |
---|
ACTIONS_ON_GOOGLE
Google Assistant
See [Dialogflow webhook
format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
|
FACEBOOK
Facebook.
|
GOOGLE_HANGOUTS
Google Hangouts.
|
KIK
Kik.
|
LINE
Line.
|
PLATFORM_UNSPECIFIED
Not specified.
|
SKYPE
Skype.
|
SLACK
Slack.
|
TELEGRAM
Telegram.
|
TELEPHONY
Telephony Gateway.
|
UNRECOGNIZED |
VIBER
Viber.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACTIONS_ON_GOOGLE_VALUE
Google Assistant
See [Dialogflow webhook
format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
|
static int |
FACEBOOK_VALUE
Facebook.
|
static int |
GOOGLE_HANGOUTS_VALUE
Google Hangouts.
|
static int |
KIK_VALUE
Kik.
|
static int |
LINE_VALUE
Line.
|
static int |
PLATFORM_UNSPECIFIED_VALUE
Not specified.
|
static int |
SKYPE_VALUE
Skype.
|
static int |
SLACK_VALUE
Slack.
|
static int |
TELEGRAM_VALUE
Telegram.
|
static int |
TELEPHONY_VALUE
Telephony Gateway.
|
static int |
VIBER_VALUE
Viber.
|
Modifier and Type | Method and Description |
---|---|
static Intent.Message.Platform |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Intent.Message.Platform> |
internalGetValueMap() |
static Intent.Message.Platform |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Intent.Message.Platform |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Intent.Message.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Intent.Message.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent.Message.Platform PLATFORM_UNSPECIFIED
Not specified.
PLATFORM_UNSPECIFIED = 0;
public static final Intent.Message.Platform FACEBOOK
Facebook.
FACEBOOK = 1;
public static final Intent.Message.Platform SLACK
Slack.
SLACK = 2;
public static final Intent.Message.Platform TELEGRAM
Telegram.
TELEGRAM = 3;
public static final Intent.Message.Platform KIK
Kik.
KIK = 4;
public static final Intent.Message.Platform SKYPE
Skype.
SKYPE = 5;
public static final Intent.Message.Platform LINE
Line.
LINE = 6;
public static final Intent.Message.Platform VIBER
Viber.
VIBER = 7;
public static final Intent.Message.Platform ACTIONS_ON_GOOGLE
Google Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
ACTIONS_ON_GOOGLE = 8;
public static final Intent.Message.Platform TELEPHONY
Telephony Gateway.
TELEPHONY = 10;
public static final Intent.Message.Platform GOOGLE_HANGOUTS
Google Hangouts.
GOOGLE_HANGOUTS = 11;
public static final Intent.Message.Platform UNRECOGNIZED
public static final int PLATFORM_UNSPECIFIED_VALUE
Not specified.
PLATFORM_UNSPECIFIED = 0;
public static final int FACEBOOK_VALUE
Facebook.
FACEBOOK = 1;
public static final int SLACK_VALUE
Slack.
SLACK = 2;
public static final int TELEGRAM_VALUE
Telegram.
TELEGRAM = 3;
public static final int KIK_VALUE
Kik.
KIK = 4;
public static final int SKYPE_VALUE
Skype.
SKYPE = 5;
public static final int LINE_VALUE
Line.
LINE = 6;
public static final int VIBER_VALUE
Viber.
VIBER = 7;
public static final int ACTIONS_ON_GOOGLE_VALUE
Google Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
ACTIONS_ON_GOOGLE = 8;
public static final int TELEPHONY_VALUE
Telephony Gateway.
TELEPHONY = 10;
public static final int GOOGLE_HANGOUTS_VALUE
Google Hangouts.
GOOGLE_HANGOUTS = 11;
public static Intent.Message.Platform[] values()
for (Intent.Message.Platform c : Intent.Message.Platform.values()) System.out.println(c);
public static Intent.Message.Platform valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Intent.Message.Platform valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.Message.Platform forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.Message.Platform> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Intent.Message.Platform valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.