main.java.com.streamlayer.sdkSettings.common.AdvertisingPlacement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sdkSettings/sdkSettings.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.common;
/**
* Protobuf enum {@code streamlayer.sdkSettings.AdvertisingPlacement}
*/
public enum AdvertisingPlacement
implements com.google.protobuf.Internal.EnumLite {
/**
* ADVERTISING_PLACEMENT_UNSET = 0;
*/
ADVERTISING_PLACEMENT_UNSET(0),
/**
* ADVERTISING_PLACEMENT_DEFAULT = 1;
*/
ADVERTISING_PLACEMENT_DEFAULT(1),
/**
* ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE = 2;
*/
ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE(2),
/**
* ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL = 3;
*/
ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL(3),
/**
* ADVERTISING_PLACEMENT_OVERLAY_NAVBAR = 4;
*/
ADVERTISING_PLACEMENT_OVERLAY_NAVBAR(4),
UNRECOGNIZED(-1),
;
/**
* ADVERTISING_PLACEMENT_UNSET = 0;
*/
public static final int ADVERTISING_PLACEMENT_UNSET_VALUE = 0;
/**
* ADVERTISING_PLACEMENT_DEFAULT = 1;
*/
public static final int ADVERTISING_PLACEMENT_DEFAULT_VALUE = 1;
/**
* ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE = 2;
*/
public static final int ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE_VALUE = 2;
/**
* ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL = 3;
*/
public static final int ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL_VALUE = 3;
/**
* ADVERTISING_PLACEMENT_OVERLAY_NAVBAR = 4;
*/
public static final int ADVERTISING_PLACEMENT_OVERLAY_NAVBAR_VALUE = 4;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AdvertisingPlacement valueOf(int value) {
return forNumber(value);
}
public static AdvertisingPlacement forNumber(int value) {
switch (value) {
case 0: return ADVERTISING_PLACEMENT_UNSET;
case 1: return ADVERTISING_PLACEMENT_DEFAULT;
case 2: return ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE;
case 3: return ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL;
case 4: return ADVERTISING_PLACEMENT_OVERLAY_NAVBAR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AdvertisingPlacement> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public AdvertisingPlacement findValueByNumber(int number) {
return AdvertisingPlacement.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AdvertisingPlacementVerifier.INSTANCE;
}
private static final class AdvertisingPlacementVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AdvertisingPlacementVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AdvertisingPlacement.forNumber(number) != null;
}
};
private final int value;
private AdvertisingPlacement(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:streamlayer.sdkSettings.AdvertisingPlacement)
}