Package su.litvak.chromecast.api.v2
Class CastChannel.DeviceAuthMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite<CastChannel.DeviceAuthMessage,CastChannel.DeviceAuthMessage.Builder>
com.google.protobuf.GeneratedMessageLite<CastChannel.DeviceAuthMessage,CastChannel.DeviceAuthMessage.Builder>
su.litvak.chromecast.api.v2.CastChannel.DeviceAuthMessage
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CastChannel.DeviceAuthMessageOrBuilder
- Enclosing class:
CastChannel
public static final class CastChannel.DeviceAuthMessage
extends com.google.protobuf.GeneratedMessageLite<CastChannel.DeviceAuthMessage,CastChannel.DeviceAuthMessage.Builder>
implements CastChannel.DeviceAuthMessageOrBuilder
Protobuf type
su.litvak.chromecast.api.v2.DeviceAuthMessage-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typesu.litvak.chromecast.api.v2.DeviceAuthMessageNested classes/interfaces inherited from class 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) Request fieldsgetError()optional .su.litvak.chromecast.api.v2.AuthError error = 3;Response fieldsbooleanRequest fieldsbooleanhasError()optional .su.litvak.chromecast.api.v2.AuthError error = 3;booleanResponse fieldsnewBuilder(CastChannel.DeviceAuthMessage prototype) parseDelimitedFrom(InputStream input) 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) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CastChannel.DeviceAuthMessage> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, 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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
CHALLENGE_FIELD_NUMBER
public static final int CHALLENGE_FIELD_NUMBER- See Also:
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasChallenge
public boolean hasChallenge()Request fields
optional .su.litvak.chromecast.api.v2.AuthChallenge challenge = 1;- Specified by:
hasChallengein interfaceCastChannel.DeviceAuthMessageOrBuilder- Returns:
- Whether the challenge field is set.
-
getChallenge
Request fields
optional .su.litvak.chromecast.api.v2.AuthChallenge challenge = 1;- Specified by:
getChallengein interfaceCastChannel.DeviceAuthMessageOrBuilder- Returns:
- The challenge.
-
hasResponse
public boolean hasResponse()Response fields
optional .su.litvak.chromecast.api.v2.AuthResponse response = 2;- Specified by:
hasResponsein interfaceCastChannel.DeviceAuthMessageOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
Response fields
optional .su.litvak.chromecast.api.v2.AuthResponse response = 2;- Specified by:
getResponsein interfaceCastChannel.DeviceAuthMessageOrBuilder- Returns:
- The response.
-
hasError
public boolean hasError()optional .su.litvak.chromecast.api.v2.AuthError error = 3;- Specified by:
hasErrorin interfaceCastChannel.DeviceAuthMessageOrBuilder- Returns:
- Whether the error field is set.
-
getError
optional .su.litvak.chromecast.api.v2.AuthError error = 3;- Specified by:
getErrorin interfaceCastChannel.DeviceAuthMessageOrBuilder- Returns:
- The error.
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CastChannel.DeviceAuthMessage parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static CastChannel.DeviceAuthMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CastChannel.DeviceAuthMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static CastChannel.DeviceAuthMessage.Builder newBuilder(CastChannel.DeviceAuthMessage prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<CastChannel.DeviceAuthMessage,CastChannel.DeviceAuthMessage.Builder>
-
getDefaultInstance
-
parser
-