@Generated(value="Generated by the protocol buffer compiler") public enum CastMode extends java.lang.Enum<CastMode> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
BROWSER
Cast the browser's web content.
|
CAST_MODE_UNSPECIFIED |
PRESENTATION
Cast the content specified by the presentation URLs or frame's origin provided via the
Presentation API.
|
SCREEN
Cast the screen's content.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BROWSER_VALUE
Cast the browser's web content.
|
static int |
CAST_MODE_UNSPECIFIED_VALUE |
static int |
PRESENTATION_VALUE
Cast the content specified by the presentation URLs or frame's origin provided via the
Presentation API.
|
static int |
SCREEN_VALUE
Cast the screen's content.
|
Modifier and Type | Method and Description |
---|---|
static CastMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CastMode> |
internalGetValueMap() |
static CastMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CastMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CastMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CastMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CastMode CAST_MODE_UNSPECIFIED
public static final CastMode PRESENTATION
public static final CastMode BROWSER
public static final CastMode SCREEN
public static final CastMode UNRECOGNIZED
public static final int CAST_MODE_UNSPECIFIED_VALUE
public static final int PRESENTATION_VALUE
public static final int BROWSER_VALUE
public static final int SCREEN_VALUE
public static CastMode[] values()
for (CastMode c : CastMode.values()) System.out.println(c);
public static CastMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static CastMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CastMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CastMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CastMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)