Enum Class BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType
java.lang.Object
java.lang.Enum<BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType>
com.google.ads.googleads.v21.enums.BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType>,Constable
- Enclosing class:
- BusinessMessageCallToActionTypeEnum
public static enum BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType
extends Enum<BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing the type of call-to-action phrases in a business message.Protobuf enum
google.ads.googleads.v21.enums.BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApply now.Book now.Contact us.Get info.Get offer.Get quote.Get started.Learn more.Used for return value only.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intApply now.static final intBook now.static final intContact us.static final intGet info.static final intGet offer.static final intGet quote.static final intGet started.static final intLearn more.static final intUsed for return value only.static final intNot specified. -
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<BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType>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; -
APPLY_NOW
Apply now.
APPLY_NOW = 2; -
BOOK_NOW
Book now.
BOOK_NOW = 3; -
CONTACT_US
Contact us.
CONTACT_US = 4; -
GET_INFO
Get info.
GET_INFO = 5; -
GET_OFFER
Get offer.
GET_OFFER = 6; -
GET_QUOTE
Get quote.
GET_QUOTE = 7; -
GET_STARTED
Get started.
GET_STARTED = 8; -
LEARN_MORE
Learn more.
LEARN_MORE = 9; -
UNRECOGNIZED
public static final BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType 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:
-
APPLY_NOW_VALUE
public static final int APPLY_NOW_VALUEApply now.
APPLY_NOW = 2;- See Also:
-
BOOK_NOW_VALUE
public static final int BOOK_NOW_VALUEBook now.
BOOK_NOW = 3;- See Also:
-
CONTACT_US_VALUE
public static final int CONTACT_US_VALUEContact us.
CONTACT_US = 4;- See Also:
-
GET_INFO_VALUE
public static final int GET_INFO_VALUEGet info.
GET_INFO = 5;- See Also:
-
GET_OFFER_VALUE
public static final int GET_OFFER_VALUEGet offer.
GET_OFFER = 6;- See Also:
-
GET_QUOTE_VALUE
public static final int GET_QUOTE_VALUEGet quote.
GET_QUOTE = 7;- See Also:
-
GET_STARTED_VALUE
public static final int GET_STARTED_VALUEGet started.
GET_STARTED = 8;- See Also:
-
LEARN_MORE_VALUE
public static final int LEARN_MORE_VALUELearn more.
LEARN_MORE = 9;- 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
public static BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType valueOf(String name) 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 public static BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType valueOf(int value) 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
public static BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType forNumber(int value) - 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<BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType> 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 BusinessMessageCallToActionTypeEnum.BusinessMessageCallToActionType 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
-