Enum AdvertisingType
- java.lang.Object
-
- java.lang.Enum<AdvertisingType>
-
- com.streamlayer.sdkSettings.common.AdvertisingType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<AdvertisingType>
public enum AdvertisingType extends java.lang.Enum<AdvertisingType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sdkSettings.AdvertisingType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERTISING_TYPE_BANNERSADVERTISING_TYPE_BANNERS = 3;ADVERTISING_TYPE_INTERSTITIALSADVERTISING_TYPE_INTERSTITIALS = 2;ADVERTISING_TYPE_SPONSORSADVERTISING_TYPE_SPONSORS = 1;ADVERTISING_TYPE_UNSETADVERTISING_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intADVERTISING_TYPE_BANNERS_VALUEADVERTISING_TYPE_BANNERS = 3;static intADVERTISING_TYPE_INTERSTITIALS_VALUEADVERTISING_TYPE_INTERSTITIALS = 2;static intADVERTISING_TYPE_SPONSORS_VALUEADVERTISING_TYPE_SPONSORS = 1;static intADVERTISING_TYPE_UNSET_VALUEADVERTISING_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdvertisingTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<AdvertisingType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static AdvertisingTypevalueOf(int value)Deprecated.static AdvertisingTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdvertisingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADVERTISING_TYPE_UNSET
public static final AdvertisingType ADVERTISING_TYPE_UNSET
ADVERTISING_TYPE_UNSET = 0;
-
ADVERTISING_TYPE_SPONSORS
public static final AdvertisingType ADVERTISING_TYPE_SPONSORS
ADVERTISING_TYPE_SPONSORS = 1;
-
ADVERTISING_TYPE_INTERSTITIALS
public static final AdvertisingType ADVERTISING_TYPE_INTERSTITIALS
ADVERTISING_TYPE_INTERSTITIALS = 2;
-
ADVERTISING_TYPE_BANNERS
public static final AdvertisingType ADVERTISING_TYPE_BANNERS
ADVERTISING_TYPE_BANNERS = 3;
-
UNRECOGNIZED
public static final AdvertisingType UNRECOGNIZED
-
-
Field Detail
-
ADVERTISING_TYPE_UNSET_VALUE
public static final int ADVERTISING_TYPE_UNSET_VALUE
ADVERTISING_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
ADVERTISING_TYPE_SPONSORS_VALUE
public static final int ADVERTISING_TYPE_SPONSORS_VALUE
ADVERTISING_TYPE_SPONSORS = 1;- See Also:
- Constant Field Values
-
ADVERTISING_TYPE_INTERSTITIALS_VALUE
public static final int ADVERTISING_TYPE_INTERSTITIALS_VALUE
ADVERTISING_TYPE_INTERSTITIALS = 2;- See Also:
- Constant Field Values
-
ADVERTISING_TYPE_BANNERS_VALUE
public static final int ADVERTISING_TYPE_BANNERS_VALUE
ADVERTISING_TYPE_BANNERS = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdvertisingType[] 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 (AdvertisingType c : AdvertisingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdvertisingType 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 AdvertisingType 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 AdvertisingType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AdvertisingType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-