Enum Class CallToActionTypeEnum.CallToActionType
java.lang.Object
java.lang.Enum<CallToActionTypeEnum.CallToActionType>
com.google.ads.googleads.v18.enums.CallToActionTypeEnum.CallToActionType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CallToActionTypeEnum.CallToActionType>,Constable
- Enclosing class:
- CallToActionTypeEnum
public static enum CallToActionTypeEnum.CallToActionType
extends Enum<CallToActionTypeEnum.CallToActionType>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible types of call to action.Protobuf enum
google.ads.googleads.v18.enums.CallToActionTypeEnum.CallToActionType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe call to action type is apply now.The call to action type is book now.The call to action type is buy now.The call to action type is contact us.The call to action type is donate now.The call to action type is download.The call to action type is get quote.The call to action type is learn more.The call to action type is order now.The call to action type is play now.The call to action type is see more.The call to action type is shop now.The call to action type is sign up.The call to action type is start now.The call to action type is subscribe.Used for return value only.Not specified.The call to action type is visit site.The call to action type is watch now. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe call to action type is apply now.static final intThe call to action type is book now.static final intThe call to action type is buy now.static final intThe call to action type is contact us.static final intThe call to action type is donate now.static final intThe call to action type is download.static final intThe call to action type is get quote.static final intThe call to action type is learn more.static final intThe call to action type is order now.static final intThe call to action type is play now.static final intThe call to action type is see more.static final intThe call to action type is shop now.static final intThe call to action type is sign up.static final intThe call to action type is start now.static final intThe call to action type is subscribe.static final intUsed for return value only.static final intNot specified.static final intThe call to action type is visit site.static final intThe call to action type is watch now. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CallToActionTypeEnum.CallToActionType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
LEARN_MORE
The call to action type is learn more.
LEARN_MORE = 2; -
GET_QUOTE
The call to action type is get quote.
GET_QUOTE = 3; -
APPLY_NOW
The call to action type is apply now.
APPLY_NOW = 4; -
SIGN_UP
The call to action type is sign up.
SIGN_UP = 5; -
CONTACT_US
The call to action type is contact us.
CONTACT_US = 6; -
SUBSCRIBE
The call to action type is subscribe.
SUBSCRIBE = 7; -
DOWNLOAD
The call to action type is download.
DOWNLOAD = 8; -
BOOK_NOW
The call to action type is book now.
BOOK_NOW = 9; -
SHOP_NOW
The call to action type is shop now.
SHOP_NOW = 10; -
BUY_NOW
The call to action type is buy now.
BUY_NOW = 11; -
DONATE_NOW
The call to action type is donate now.
DONATE_NOW = 12; -
ORDER_NOW
The call to action type is order now.
ORDER_NOW = 13; -
PLAY_NOW
The call to action type is play now.
PLAY_NOW = 14; -
SEE_MORE
The call to action type is see more.
SEE_MORE = 15; -
START_NOW
The call to action type is start now.
START_NOW = 16; -
VISIT_SITE
The call to action type is visit site.
VISIT_SITE = 17; -
WATCH_NOW
The call to action type is watch now.
WATCH_NOW = 18; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
LEARN_MORE_VALUE
public static final int LEARN_MORE_VALUEThe call to action type is learn more.
LEARN_MORE = 2;- See Also:
-
GET_QUOTE_VALUE
public static final int GET_QUOTE_VALUEThe call to action type is get quote.
GET_QUOTE = 3;- See Also:
-
APPLY_NOW_VALUE
public static final int APPLY_NOW_VALUEThe call to action type is apply now.
APPLY_NOW = 4;- See Also:
-
SIGN_UP_VALUE
public static final int SIGN_UP_VALUEThe call to action type is sign up.
SIGN_UP = 5;- See Also:
-
CONTACT_US_VALUE
public static final int CONTACT_US_VALUEThe call to action type is contact us.
CONTACT_US = 6;- See Also:
-
SUBSCRIBE_VALUE
public static final int SUBSCRIBE_VALUEThe call to action type is subscribe.
SUBSCRIBE = 7;- See Also:
-
DOWNLOAD_VALUE
public static final int DOWNLOAD_VALUEThe call to action type is download.
DOWNLOAD = 8;- See Also:
-
BOOK_NOW_VALUE
public static final int BOOK_NOW_VALUEThe call to action type is book now.
BOOK_NOW = 9;- See Also:
-
SHOP_NOW_VALUE
public static final int SHOP_NOW_VALUEThe call to action type is shop now.
SHOP_NOW = 10;- See Also:
-
BUY_NOW_VALUE
public static final int BUY_NOW_VALUEThe call to action type is buy now.
BUY_NOW = 11;- See Also:
-
DONATE_NOW_VALUE
public static final int DONATE_NOW_VALUEThe call to action type is donate now.
DONATE_NOW = 12;- See Also:
-
ORDER_NOW_VALUE
public static final int ORDER_NOW_VALUEThe call to action type is order now.
ORDER_NOW = 13;- See Also:
-
PLAY_NOW_VALUE
public static final int PLAY_NOW_VALUEThe call to action type is play now.
PLAY_NOW = 14;- See Also:
-
SEE_MORE_VALUE
public static final int SEE_MORE_VALUEThe call to action type is see more.
SEE_MORE = 15;- See Also:
-
START_NOW_VALUE
public static final int START_NOW_VALUEThe call to action type is start now.
START_NOW = 16;- See Also:
-
VISIT_SITE_VALUE
public static final int VISIT_SITE_VALUEThe call to action type is visit site.
VISIT_SITE = 17;- See Also:
-
WATCH_NOW_VALUE
public static final int WATCH_NOW_VALUEThe call to action type is watch now.
WATCH_NOW = 18;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<CallToActionTypeEnum.CallToActionType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static CallToActionTypeEnum.CallToActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-