Enum PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit
- java.lang.Object
-
- java.lang.Enum<PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit>
-
- com.google.ads.googleads.v10.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit>
- Enclosing class:
- PriceExtensionPriceUnitEnum
public static enum PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit extends java.lang.Enum<PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit> implements com.google.protobuf.ProtocolMessageEnum
Price extension price unit.
Protobuf enumgoogle.ads.googleads.v10.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PER_DAYPer day.PER_HOURPer hour.PER_MONTHPer month.PER_NIGHTPer night.PER_WEEKPer week.PER_YEARPer year.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intPER_DAY_VALUEPer day.static intPER_HOUR_VALUEPer hour.static intPER_MONTH_VALUEPer month.static intPER_NIGHT_VALUEPer night.static intPER_WEEK_VALUEPer week.static intPER_YEAR_VALUEPer year.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 PriceExtensionPriceUnitEnum.PriceExtensionPriceUnitforNumber(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<PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit>internalGetValueMap()static PriceExtensionPriceUnitEnum.PriceExtensionPriceUnitvalueOf(int value)Deprecated.static PriceExtensionPriceUnitEnum.PriceExtensionPriceUnitvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PriceExtensionPriceUnitEnum.PriceExtensionPriceUnitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
PER_HOUR
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit PER_HOUR
Per hour.
PER_HOUR = 2;
-
PER_DAY
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit PER_DAY
Per day.
PER_DAY = 3;
-
PER_WEEK
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit PER_WEEK
Per week.
PER_WEEK = 4;
-
PER_MONTH
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit PER_MONTH
Per month.
PER_MONTH = 5;
-
PER_YEAR
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit PER_YEAR
Per year.
PER_YEAR = 6;
-
PER_NIGHT
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit PER_NIGHT
Per night.
PER_NIGHT = 7;
-
UNRECOGNIZED
public static final PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit 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
-
PER_HOUR_VALUE
public static final int PER_HOUR_VALUE
Per hour.
PER_HOUR = 2;- See Also:
- Constant Field Values
-
PER_DAY_VALUE
public static final int PER_DAY_VALUE
Per day.
PER_DAY = 3;- See Also:
- Constant Field Values
-
PER_WEEK_VALUE
public static final int PER_WEEK_VALUE
Per week.
PER_WEEK = 4;- See Also:
- Constant Field Values
-
PER_MONTH_VALUE
public static final int PER_MONTH_VALUE
Per month.
PER_MONTH = 5;- See Also:
- Constant Field Values
-
PER_YEAR_VALUE
public static final int PER_YEAR_VALUE
Per year.
PER_YEAR = 6;- See Also:
- Constant Field Values
-
PER_NIGHT_VALUE
public static final int PER_NIGHT_VALUE
Per night.
PER_NIGHT = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit[] 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 (PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit c : PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit 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 PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit 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 PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit 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<PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit> 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 PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit 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
-
-