Enum ConversionActionCountingTypeEnum.ConversionActionCountingType
- java.lang.Object
-
- java.lang.Enum<ConversionActionCountingTypeEnum.ConversionActionCountingType>
-
- com.google.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ConversionActionCountingTypeEnum.ConversionActionCountingType>
- Enclosing class:
- ConversionActionCountingTypeEnum
public static enum ConversionActionCountingTypeEnum.ConversionActionCountingType extends java.lang.Enum<ConversionActionCountingTypeEnum.ConversionActionCountingType> implements com.google.protobuf.ProtocolMessageEnum
Indicates how conversions for this action will be counted. For more information, see https://support.google.com/google-ads/answer/3438531.
Protobuf enumgoogle.ads.googleads.v10.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANY_PER_CLICKCount all conversions per click.ONE_PER_CLICKCount only one conversion per click.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intMANY_PER_CLICK_VALUECount all conversions per click.static intONE_PER_CLICK_VALUECount only one conversion per click.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConversionActionCountingTypeEnum.ConversionActionCountingTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ConversionActionCountingTypeEnum.ConversionActionCountingType>internalGetValueMap()static ConversionActionCountingTypeEnum.ConversionActionCountingTypevalueOf(int value)Deprecated.static ConversionActionCountingTypeEnum.ConversionActionCountingTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ConversionActionCountingTypeEnum.ConversionActionCountingTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConversionActionCountingTypeEnum.ConversionActionCountingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ConversionActionCountingTypeEnum.ConversionActionCountingType UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ConversionActionCountingTypeEnum.ConversionActionCountingType UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
ONE_PER_CLICK
public static final ConversionActionCountingTypeEnum.ConversionActionCountingType ONE_PER_CLICK
Count only one conversion per click.
ONE_PER_CLICK = 2;
-
MANY_PER_CLICK
public static final ConversionActionCountingTypeEnum.ConversionActionCountingType MANY_PER_CLICK
Count all conversions per click.
MANY_PER_CLICK = 3;
-
UNRECOGNIZED
public static final ConversionActionCountingTypeEnum.ConversionActionCountingType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
ONE_PER_CLICK_VALUE
public static final int ONE_PER_CLICK_VALUE
Count only one conversion per click.
ONE_PER_CLICK = 2;- See Also:
- Constant Field Values
-
MANY_PER_CLICK_VALUE
public static final int MANY_PER_CLICK_VALUE
Count all conversions per click.
MANY_PER_CLICK = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ConversionActionCountingTypeEnum.ConversionActionCountingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConversionActionCountingTypeEnum.ConversionActionCountingType c : ConversionActionCountingTypeEnum.ConversionActionCountingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConversionActionCountingTypeEnum.ConversionActionCountingType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 ConversionActionCountingTypeEnum.ConversionActionCountingType valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ConversionActionCountingTypeEnum.ConversionActionCountingType 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<ConversionActionCountingTypeEnum.ConversionActionCountingType> 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 ConversionActionCountingTypeEnum.ConversionActionCountingType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-