Enum AdUnit
- java.lang.Object
-
- java.lang.Enum<AdUnit>
-
- com.streamlayer.interactive.common.AdUnit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_UNIT_DISABLEDAD_UNIT_DISABLED = 2;AD_UNIT_ENABLEDAD_UNIT_ENABLED = 1;AD_UNIT_UNSETAD_UNIT_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intAD_UNIT_DISABLED_VALUEAD_UNIT_DISABLED = 2;static intAD_UNIT_ENABLED_VALUEAD_UNIT_ENABLED = 1;static intAD_UNIT_UNSET_VALUEAD_UNIT_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdUnitforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<AdUnit>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static AdUnitvalueOf(int value)Deprecated.static AdUnitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AD_UNIT_UNSET
public static final AdUnit AD_UNIT_UNSET
AD_UNIT_UNSET = 0;
-
AD_UNIT_ENABLED
public static final AdUnit AD_UNIT_ENABLED
AD_UNIT_ENABLED = 1;
-
AD_UNIT_DISABLED
public static final AdUnit AD_UNIT_DISABLED
AD_UNIT_DISABLED = 2;
-
UNRECOGNIZED
public static final AdUnit UNRECOGNIZED
-
-
Field Detail
-
AD_UNIT_UNSET_VALUE
public static final int AD_UNIT_UNSET_VALUE
AD_UNIT_UNSET = 0;- See Also:
- Constant Field Values
-
AD_UNIT_ENABLED_VALUE
public static final int AD_UNIT_ENABLED_VALUE
AD_UNIT_ENABLED = 1;- See Also:
- Constant Field Values
-
AD_UNIT_DISABLED_VALUE
public static final int AD_UNIT_DISABLED_VALUE
AD_UNIT_DISABLED = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdUnit[] 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 (AdUnit c : AdUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdUnit 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
-
valueOf
@Deprecated public static AdUnit 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 AdUnit forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AdUnit> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-