Package com.google.cloud.dialogflow.v2
Enum Intent.Message.Platform
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Intent.Message.Platform>
- Enclosing class:
- Intent.Message
public static enum Intent.Message.Platform
extends Enum<Intent.Message.Platform>
implements com.google.protobuf.ProtocolMessageEnum
The rich response message integration platform. See [Integrations](https://cloud.google.com/dialogflow/docs/integrations).Protobuf enum
google.cloud.dialogflow.v2.Intent.Message.Platform-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGoogle Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)Facebook.Google Hangouts.Kik.Line.Default platform.Skype.Slack.Telegram.Viber. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGoogle Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)static final intFacebook.static final intGoogle Hangouts.static final intKik.static final intLine.static final intDefault platform.static final intSkype.static final intSlack.static final intTelegram.static final intViber. -
Method Summary
Modifier and TypeMethodDescriptionstatic Intent.Message.PlatformforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Intent.Message.Platform>static Intent.Message.PlatformvalueOf(int value) Deprecated.static Intent.Message.PlatformvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Intent.Message.PlatformReturns 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.
-
Enum Constant Details
-
PLATFORM_UNSPECIFIED
Default platform.
PLATFORM_UNSPECIFIED = 0; -
FACEBOOK
Facebook.
FACEBOOK = 1; -
SLACK
Slack.
SLACK = 2; -
TELEGRAM
Telegram.
TELEGRAM = 3; -
KIK
Kik.
KIK = 4; -
SKYPE
Skype.
SKYPE = 5; -
LINE
Line.
LINE = 6; -
VIBER
Viber.
VIBER = 7; -
ACTIONS_ON_GOOGLE
Google Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
ACTIONS_ON_GOOGLE = 8; -
GOOGLE_HANGOUTS
Google Hangouts.
GOOGLE_HANGOUTS = 11; -
UNRECOGNIZED
-
-
Field Details
-
PLATFORM_UNSPECIFIED_VALUE
public static final int PLATFORM_UNSPECIFIED_VALUEDefault platform.
PLATFORM_UNSPECIFIED = 0;- See Also:
-
FACEBOOK_VALUE
public static final int FACEBOOK_VALUEFacebook.
FACEBOOK = 1;- See Also:
-
SLACK_VALUE
public static final int SLACK_VALUESlack.
SLACK = 2;- See Also:
-
TELEGRAM_VALUE
public static final int TELEGRAM_VALUETelegram.
TELEGRAM = 3;- See Also:
-
KIK_VALUE
public static final int KIK_VALUEKik.
KIK = 4;- See Also:
-
SKYPE_VALUE
public static final int SKYPE_VALUESkype.
SKYPE = 5;- See Also:
-
LINE_VALUE
public static final int LINE_VALUELine.
LINE = 6;- See Also:
-
VIBER_VALUE
public static final int VIBER_VALUEViber.
VIBER = 7;- See Also:
-
ACTIONS_ON_GOOGLE_VALUE
public static final int ACTIONS_ON_GOOGLE_VALUEGoogle Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
ACTIONS_ON_GOOGLE = 8;- See Also:
-
GOOGLE_HANGOUTS_VALUE
public static final int GOOGLE_HANGOUTS_VALUEGoogle Hangouts.
GOOGLE_HANGOUTS = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Intent.Message.Platform> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Intent.Message.Platform valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-