Package com.google.doubleclick
Enum AdxExt.BidExt.FrequencyCap.TimeUnit
- java.lang.Object
-
- java.lang.Enum<AdxExt.BidExt.FrequencyCap.TimeUnit>
-
- com.google.doubleclick.AdxExt.BidExt.FrequencyCap.TimeUnit
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdxExt.BidExt.FrequencyCap.TimeUnit>
- Enclosing class:
- AdxExt.BidExt.FrequencyCap
public static enum AdxExt.BidExt.FrequencyCap.TimeUnit extends Enum<AdxExt.BidExt.FrequencyCap.TimeUnit> implements com.google.protobuf.ProtocolMessageEnum
The time units for which frequency caps can be enforced.
Protobuf enumcom.google.doubleclick.BidExt.FrequencyCap.TimeUnit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYDAY = 2;INDEFINITEWhen INDEFINITE is used, time_range will be ignored.MINUTEMINUTE = 1;MONTHMONTH = 4;UNKNOWN_TIME_UNITUNKNOWN_TIME_UNIT = 0;WEEKWEEK = 3;
-
Field Summary
Fields Modifier and Type Field Description static intDAY_VALUEDAY = 2;static intINDEFINITE_VALUEWhen INDEFINITE is used, time_range will be ignored.static intMINUTE_VALUEMINUTE = 1;static intMONTH_VALUEMONTH = 4;static intUNKNOWN_TIME_UNIT_VALUEUNKNOWN_TIME_UNIT = 0;static intWEEK_VALUEWEEK = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdxExt.BidExt.FrequencyCap.TimeUnitforNumber(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<AdxExt.BidExt.FrequencyCap.TimeUnit>internalGetValueMap()static AdxExt.BidExt.FrequencyCap.TimeUnitvalueOf(int value)Deprecated.static AdxExt.BidExt.FrequencyCap.TimeUnitvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdxExt.BidExt.FrequencyCap.TimeUnitvalueOf(String name)Returns the enum constant of this type with the specified name.static AdxExt.BidExt.FrequencyCap.TimeUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_TIME_UNIT
public static final AdxExt.BidExt.FrequencyCap.TimeUnit UNKNOWN_TIME_UNIT
UNKNOWN_TIME_UNIT = 0;
-
MINUTE
public static final AdxExt.BidExt.FrequencyCap.TimeUnit MINUTE
MINUTE = 1;
-
DAY
public static final AdxExt.BidExt.FrequencyCap.TimeUnit DAY
DAY = 2;
-
WEEK
public static final AdxExt.BidExt.FrequencyCap.TimeUnit WEEK
WEEK = 3;
-
MONTH
public static final AdxExt.BidExt.FrequencyCap.TimeUnit MONTH
MONTH = 4;
-
INDEFINITE
public static final AdxExt.BidExt.FrequencyCap.TimeUnit INDEFINITE
When INDEFINITE is used, time_range will be ignored. INDEFINITE means the frequency cap will be applied for a long period of time, (longer than a month) but not necessarily forever.
INDEFINITE = 5;
-
-
Field Detail
-
UNKNOWN_TIME_UNIT_VALUE
public static final int UNKNOWN_TIME_UNIT_VALUE
UNKNOWN_TIME_UNIT = 0;- See Also:
- Constant Field Values
-
MINUTE_VALUE
public static final int MINUTE_VALUE
MINUTE = 1;- See Also:
- Constant Field Values
-
DAY_VALUE
public static final int DAY_VALUE
DAY = 2;- See Also:
- Constant Field Values
-
WEEK_VALUE
public static final int WEEK_VALUE
WEEK = 3;- See Also:
- Constant Field Values
-
MONTH_VALUE
public static final int MONTH_VALUE
MONTH = 4;- See Also:
- Constant Field Values
-
INDEFINITE_VALUE
public static final int INDEFINITE_VALUE
When INDEFINITE is used, time_range will be ignored. INDEFINITE means the frequency cap will be applied for a long period of time, (longer than a month) but not necessarily forever.
INDEFINITE = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdxExt.BidExt.FrequencyCap.TimeUnit[] 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 (AdxExt.BidExt.FrequencyCap.TimeUnit c : AdxExt.BidExt.FrequencyCap.TimeUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdxExt.BidExt.FrequencyCap.TimeUnit valueOf(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:
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 public static AdxExt.BidExt.FrequencyCap.TimeUnit 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static AdxExt.BidExt.FrequencyCap.TimeUnit 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<AdxExt.BidExt.FrequencyCap.TimeUnit> 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 AdxExt.BidExt.FrequencyCap.TimeUnit 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
-
-