Package su.litvak.chromecast.api.v2
Klasse CastChannel.CastMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite<CastChannel.CastMessage,CastChannel.CastMessage.Builder>
com.google.protobuf.GeneratedMessageLite<CastChannel.CastMessage,CastChannel.CastMessage.Builder>
su.litvak.chromecast.api.v2.CastChannel.CastMessage
- Alle implementierten Schnittstellen:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CastChannel.CastMessageOrBuilder
- Umschließende Klasse:
CastChannel
public static final class CastChannel.CastMessage
extends com.google.protobuf.GeneratedMessageLite<CastChannel.CastMessage,CastChannel.CastMessage.Builder>
implements CastChannel.CastMessageOrBuilder
Protobuf type
su.litvak.chromecast.api.v2.CastMessage-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic final classProtobuf typesu.litvak.chromecast.api.v2.CastMessagestatic enumWhat type of data do we have in this message.static enumAlways pass a version of the protocol for future compatibility requirements.Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intVon Klasse geerbte Felder com.google.protobuf.GeneratedMessageLite
unknownFieldsVon Klasse geerbte Felder com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static CastChannel.CastMessagerequired string destination_id = 3;com.google.protobuf.ByteStringrequired string destination_id = 3;This is the core multiplexing key.com.google.protobuf.ByteStringThis is the core multiplexing key.com.google.protobuf.ByteStringoptional bytes payload_binary = 7;required .su.litvak.chromecast.api.v2.CastMessage.PayloadType payload_type = 5;Depending on payload_type, exactly one of the following optional fields will always be set.com.google.protobuf.ByteStringDepending on payload_type, exactly one of the following optional fields will always be set.required .su.litvak.chromecast.api.v2.CastMessage.ProtocolVersion protocol_version = 1;source and destination ids identify the origin and destination of the message.com.google.protobuf.ByteStringsource and destination ids identify the origin and destination of the message.booleanrequired string destination_id = 3;booleanThis is the core multiplexing key.booleanoptional bytes payload_binary = 7;booleanrequired .su.litvak.chromecast.api.v2.CastMessage.PayloadType payload_type = 5;booleanDepending on payload_type, exactly one of the following optional fields will always be set.booleanrequired .su.litvak.chromecast.api.v2.CastMessage.ProtocolVersion protocol_version = 1;booleansource and destination ids identify the origin and destination of the message.newBuilder(CastChannel.CastMessage prototype) static CastChannel.CastMessageparseDelimitedFrom(InputStream input) static CastChannel.CastMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.CastMessageparseFrom(byte[] data) static CastChannel.CastMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.CastMessageparseFrom(com.google.protobuf.ByteString data) static CastChannel.CastMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.CastMessageparseFrom(com.google.protobuf.CodedInputStream input) static CastChannel.CastMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.CastMessageparseFrom(InputStream input) static CastChannel.CastMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.CastMessageparseFrom(ByteBuffer data) static CastChannel.CastMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CastChannel.CastMessage> parser()Von Klasse geerbte Methoden com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToVon Klasse geerbte Methoden com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Felddetails
-
PROTOCOL_VERSION_FIELD_NUMBER
public static final int PROTOCOL_VERSION_FIELD_NUMBER- Siehe auch:
-
SOURCE_ID_FIELD_NUMBER
public static final int SOURCE_ID_FIELD_NUMBER- Siehe auch:
-
DESTINATION_ID_FIELD_NUMBER
public static final int DESTINATION_ID_FIELD_NUMBER- Siehe auch:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- Siehe auch:
-
PAYLOAD_TYPE_FIELD_NUMBER
public static final int PAYLOAD_TYPE_FIELD_NUMBER- Siehe auch:
-
PAYLOAD_UTF8_FIELD_NUMBER
public static final int PAYLOAD_UTF8_FIELD_NUMBER- Siehe auch:
-
PAYLOAD_BINARY_FIELD_NUMBER
public static final int PAYLOAD_BINARY_FIELD_NUMBER- Siehe auch:
-
-
Methodendetails
-
hasProtocolVersion
public boolean hasProtocolVersion()required .su.litvak.chromecast.api.v2.CastMessage.ProtocolVersion protocol_version = 1;- Angegeben von:
hasProtocolVersionin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the protocolVersion field is set.
-
getProtocolVersion
required .su.litvak.chromecast.api.v2.CastMessage.ProtocolVersion protocol_version = 1;- Angegeben von:
getProtocolVersionin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The protocolVersion.
-
hasSourceId
public boolean hasSourceId()source and destination ids identify the origin and destination of the message. They are used to route messages between endpoints that share a device-to-device channel. For messages between applications: - The sender application id is a unique identifier generated on behalf of the sender application. - The receiver id is always the the session id for the application. For messages to or from the sender or receiver platform, the special ids 'sender-0' and 'receiver-0' can be used. For messages intended for all endpoints using a given channel, the wildcard destination_id '*' can be used.required string source_id = 2;- Angegeben von:
hasSourceIdin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the sourceId field is set.
-
getSourceId
source and destination ids identify the origin and destination of the message. They are used to route messages between endpoints that share a device-to-device channel. For messages between applications: - The sender application id is a unique identifier generated on behalf of the sender application. - The receiver id is always the the session id for the application. For messages to or from the sender or receiver platform, the special ids 'sender-0' and 'receiver-0' can be used. For messages intended for all endpoints using a given channel, the wildcard destination_id '*' can be used.required string source_id = 2;- Angegeben von:
getSourceIdin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The sourceId.
-
getSourceIdBytes
public com.google.protobuf.ByteString getSourceIdBytes()source and destination ids identify the origin and destination of the message. They are used to route messages between endpoints that share a device-to-device channel. For messages between applications: - The sender application id is a unique identifier generated on behalf of the sender application. - The receiver id is always the the session id for the application. For messages to or from the sender or receiver platform, the special ids 'sender-0' and 'receiver-0' can be used. For messages intended for all endpoints using a given channel, the wildcard destination_id '*' can be used.required string source_id = 2;- Angegeben von:
getSourceIdBytesin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The bytes for sourceId.
-
hasDestinationId
public boolean hasDestinationId()required string destination_id = 3;- Angegeben von:
hasDestinationIdin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the destinationId field is set.
-
getDestinationId
required string destination_id = 3;- Angegeben von:
getDestinationIdin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The destinationId.
-
getDestinationIdBytes
public com.google.protobuf.ByteString getDestinationIdBytes()required string destination_id = 3;- Angegeben von:
getDestinationIdBytesin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The bytes for destinationId.
-
hasNamespace
public boolean hasNamespace()This is the core multiplexing key. All messages are sent on a namespace and endpoints sharing a channel listen on one or more namespaces. The namespace defines the protocol and semantics of the message.
required string namespace = 4;- Angegeben von:
hasNamespacein SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the namespace field is set.
-
getNamespace
This is the core multiplexing key. All messages are sent on a namespace and endpoints sharing a channel listen on one or more namespaces. The namespace defines the protocol and semantics of the message.
required string namespace = 4;- Angegeben von:
getNamespacein SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()This is the core multiplexing key. All messages are sent on a namespace and endpoints sharing a channel listen on one or more namespaces. The namespace defines the protocol and semantics of the message.
required string namespace = 4;- Angegeben von:
getNamespaceBytesin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The bytes for namespace.
-
hasPayloadType
public boolean hasPayloadType()required .su.litvak.chromecast.api.v2.CastMessage.PayloadType payload_type = 5;- Angegeben von:
hasPayloadTypein SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the payloadType field is set.
-
getPayloadType
required .su.litvak.chromecast.api.v2.CastMessage.PayloadType payload_type = 5;- Angegeben von:
getPayloadTypein SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The payloadType.
-
hasPayloadUtf8
public boolean hasPayloadUtf8()Depending on payload_type, exactly one of the following optional fields will always be set.
optional string payload_utf8 = 6;- Angegeben von:
hasPayloadUtf8in SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the payloadUtf8 field is set.
-
getPayloadUtf8
Depending on payload_type, exactly one of the following optional fields will always be set.
optional string payload_utf8 = 6;- Angegeben von:
getPayloadUtf8in SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The payloadUtf8.
-
getPayloadUtf8Bytes
public com.google.protobuf.ByteString getPayloadUtf8Bytes()Depending on payload_type, exactly one of the following optional fields will always be set.
optional string payload_utf8 = 6;- Angegeben von:
getPayloadUtf8Bytesin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The bytes for payloadUtf8.
-
hasPayloadBinary
public boolean hasPayloadBinary()optional bytes payload_binary = 7;- Angegeben von:
hasPayloadBinaryin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- Whether the payloadBinary field is set.
-
getPayloadBinary
public com.google.protobuf.ByteString getPayloadBinary()optional bytes payload_binary = 7;- Angegeben von:
getPayloadBinaryin SchnittstelleCastChannel.CastMessageOrBuilder- Gibt zurück:
- The payloadBinary.
-
parseFrom
public static CastChannel.CastMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Löst aus:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.CastMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Löst aus:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.CastMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Löst aus:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.CastMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Löst aus:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.CastMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Löst aus:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.CastMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Löst aus:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Löst aus:
IOException
-
parseFrom
public static CastChannel.CastMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Löst aus:
IOException
-
parseDelimitedFrom
- Löst aus:
IOException
-
parseDelimitedFrom
public static CastChannel.CastMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Löst aus:
IOException
-
parseFrom
public static CastChannel.CastMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Löst aus:
IOException
-
parseFrom
public static CastChannel.CastMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Löst aus:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Angegeben von:
dynamicMethodin Klassecom.google.protobuf.GeneratedMessageLite<CastChannel.CastMessage,CastChannel.CastMessage.Builder>
-
getDefaultInstance
-
parser
-