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 Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static final class 
    Protobuf type su.litvak.chromecast.api.v2.CastMessage
    static enum 
    What type of data do we have in this message.
    static enum 
    Always 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

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Von Klasse geerbte Felder com.google.protobuf.GeneratedMessageLite

    unknownFields

    Von Klasse geerbte Felder com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    required string destination_id = 3;
    com.google.protobuf.ByteString
    required string destination_id = 3;
    This is the core multiplexing key.
    com.google.protobuf.ByteString
    This is the core multiplexing key.
    com.google.protobuf.ByteString
    optional 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.ByteString
    Depending 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.ByteString
    source and destination ids identify the origin and destination of the message.
    boolean
    required string destination_id = 3;
    boolean
    This is the core multiplexing key.
    boolean
    optional bytes payload_binary = 7;
    boolean
    required .su.litvak.chromecast.api.v2.CastMessage.PayloadType payload_type = 5;
    boolean
    Depending on payload_type, exactly one of the following optional fields will always be set.
    boolean
    required .su.litvak.chromecast.api.v2.CastMessage.ProtocolVersion protocol_version = 1;
    boolean
    source and destination ids identify the origin and destination of the message.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<CastChannel.CastMessage>
     

    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, writeTo

    Von Klasse geerbte Methoden com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Von 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:
      hasProtocolVersion in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the protocolVersion field is set.
    • getProtocolVersion

      public CastChannel.CastMessage.ProtocolVersion getProtocolVersion()
      required .su.litvak.chromecast.api.v2.CastMessage.ProtocolVersion protocol_version = 1;
      Angegeben von:
      getProtocolVersion in Schnittstelle CastChannel.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:
      hasSourceId in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the sourceId field is set.
    • getSourceId

      public String 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:
      getSourceId in Schnittstelle CastChannel.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:
      getSourceIdBytes in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      The bytes for sourceId.
    • hasDestinationId

      public boolean hasDestinationId()
      required string destination_id = 3;
      Angegeben von:
      hasDestinationId in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the destinationId field is set.
    • getDestinationId

      public String getDestinationId()
      required string destination_id = 3;
      Angegeben von:
      getDestinationId in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      The destinationId.
    • getDestinationIdBytes

      public com.google.protobuf.ByteString getDestinationIdBytes()
      required string destination_id = 3;
      Angegeben von:
      getDestinationIdBytes in Schnittstelle CastChannel.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:
      hasNamespace in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the namespace field is set.
    • getNamespace

      public String 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:
      getNamespace in Schnittstelle CastChannel.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:
      getNamespaceBytes in Schnittstelle CastChannel.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:
      hasPayloadType in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the payloadType field is set.
    • getPayloadType

      public CastChannel.CastMessage.PayloadType getPayloadType()
      required .su.litvak.chromecast.api.v2.CastMessage.PayloadType payload_type = 5;
      Angegeben von:
      getPayloadType in Schnittstelle CastChannel.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:
      hasPayloadUtf8 in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the payloadUtf8 field is set.
    • getPayloadUtf8

      public String getPayloadUtf8()
       Depending on payload_type, exactly one of the following optional fields
       will always be set.
       
      optional string payload_utf8 = 6;
      Angegeben von:
      getPayloadUtf8 in Schnittstelle CastChannel.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:
      getPayloadUtf8Bytes in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      The bytes for payloadUtf8.
    • hasPayloadBinary

      public boolean hasPayloadBinary()
      optional bytes payload_binary = 7;
      Angegeben von:
      hasPayloadBinary in Schnittstelle CastChannel.CastMessageOrBuilder
      Gibt zurück:
      Whether the payloadBinary field is set.
    • getPayloadBinary

      public com.google.protobuf.ByteString getPayloadBinary()
      optional bytes payload_binary = 7;
      Angegeben von:
      getPayloadBinary in Schnittstelle CastChannel.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

      public static CastChannel.CastMessage parseFrom(InputStream input) throws IOException
      Löst aus:
      IOException
    • parseFrom

      public static CastChannel.CastMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Löst aus:
      IOException
    • parseDelimitedFrom

      public static CastChannel.CastMessage parseDelimitedFrom(InputStream input) throws IOException
      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

      public static CastChannel.CastMessage.Builder newBuilder()
    • newBuilder

      public static CastChannel.CastMessage.Builder newBuilder(CastChannel.CastMessage prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Angegeben von:
      dynamicMethod in Klasse com.google.protobuf.GeneratedMessageLite<CastChannel.CastMessage,CastChannel.CastMessage.Builder>
    • getDefaultInstance

      public static CastChannel.CastMessage getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CastChannel.CastMessage> parser()