Package su.litvak.chromecast.api.v2
Enum Class CastChannel.CastMessage.PayloadType
java.lang.Object
java.lang.Enum<CastChannel.CastMessage.PayloadType>
su.litvak.chromecast.api.v2.CastChannel.CastMessage.PayloadType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<CastChannel.CastMessage.PayloadType>,java.lang.constant.Constable
- Enclosing class:
CastChannel.CastMessage
public static enum CastChannel.CastMessage.PayloadType
extends Enum<CastChannel.CastMessage.PayloadType>
implements com.google.protobuf.Internal.EnumLite
What type of data do we have in this message.Protobuf enum
su.litvak.chromecast.api.v2.CastMessage.PayloadType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBINARY = 1;static final intSTRING = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<CastChannel.CastMessage.PayloadType> static com.google.protobuf.Internal.EnumVerifiervalueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.static CastChannel.CastMessage.PayloadType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
STRING = 0; -
BINARY
BINARY = 1;
-
-
Field Details
-
STRING_VALUE
public static final int STRING_VALUESTRING = 0;- See Also:
-
BINARY_VALUE
public static final int BINARY_VALUEBINARY = 1;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CastChannel.CastMessage.PayloadType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-