Package su.litvak.chromecast.api.v2
Class CastChannel.AuthResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder>
com.google.protobuf.GeneratedMessageLite<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder>
su.litvak.chromecast.api.v2.CastChannel.AuthResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CastChannel.AuthResponseOrBuilder
- Enclosing class:
CastChannel
public static final class CastChannel.AuthResponse
extends com.google.protobuf.GeneratedMessageLite<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder>
implements CastChannel.AuthResponseOrBuilder
Protobuf type
su.litvak.chromecast.api.v2.AuthResponse-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typesu.litvak.chromecast.api.v2.AuthResponseNested 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 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) com.google.protobuf.ByteStringrequired bytes client_auth_certificate = 2;static CastChannel.AuthResponsecom.google.protobuf.ByteStringgetIntermediateCertificate(int index) repeated bytes intermediate_certificate = 3;intrepeated bytes intermediate_certificate = 3;List<com.google.protobuf.ByteString> repeated bytes intermediate_certificate = 3;com.google.protobuf.ByteStringrequired bytes signature = 1;optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];booleanrequired bytes client_auth_certificate = 2;booleanrequired bytes signature = 1;booleanoptional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];newBuilder(CastChannel.AuthResponse prototype) static CastChannel.AuthResponseparseDelimitedFrom(InputStream input) static CastChannel.AuthResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.AuthResponseparseFrom(byte[] data) static CastChannel.AuthResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.AuthResponseparseFrom(com.google.protobuf.ByteString data) static CastChannel.AuthResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.AuthResponseparseFrom(com.google.protobuf.CodedInputStream input) static CastChannel.AuthResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.AuthResponseparseFrom(InputStream input) static CastChannel.AuthResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CastChannel.AuthResponseparseFrom(ByteBuffer data) static CastChannel.AuthResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CastChannel.AuthResponse> 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
-
SIGNATURE_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER- See Also:
-
CLIENT_AUTH_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_AUTH_CERTIFICATE_FIELD_NUMBER- See Also:
-
INTERMEDIATE_CERTIFICATE_FIELD_NUMBER
public static final int INTERMEDIATE_CERTIFICATE_FIELD_NUMBER- See Also:
-
SIGNATURE_ALGORITHM_FIELD_NUMBER
public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasSignature
public boolean hasSignature()required bytes signature = 1;- Specified by:
hasSignaturein interfaceCastChannel.AuthResponseOrBuilder- Returns:
- Whether the signature field is set.
-
getSignature
public com.google.protobuf.ByteString getSignature()required bytes signature = 1;- Specified by:
getSignaturein interfaceCastChannel.AuthResponseOrBuilder- Returns:
- The signature.
-
hasClientAuthCertificate
public boolean hasClientAuthCertificate()required bytes client_auth_certificate = 2;- Specified by:
hasClientAuthCertificatein interfaceCastChannel.AuthResponseOrBuilder- Returns:
- Whether the clientAuthCertificate field is set.
-
getClientAuthCertificate
public com.google.protobuf.ByteString getClientAuthCertificate()required bytes client_auth_certificate = 2;- Specified by:
getClientAuthCertificatein interfaceCastChannel.AuthResponseOrBuilder- Returns:
- The clientAuthCertificate.
-
getIntermediateCertificateList
repeated bytes intermediate_certificate = 3;- Specified by:
getIntermediateCertificateListin interfaceCastChannel.AuthResponseOrBuilder- Returns:
- A list containing the intermediateCertificate.
-
getIntermediateCertificateCount
public int getIntermediateCertificateCount()repeated bytes intermediate_certificate = 3;- Specified by:
getIntermediateCertificateCountin interfaceCastChannel.AuthResponseOrBuilder- Returns:
- The count of intermediateCertificate.
-
getIntermediateCertificate
public com.google.protobuf.ByteString getIntermediateCertificate(int index) repeated bytes intermediate_certificate = 3;- Specified by:
getIntermediateCertificatein interfaceCastChannel.AuthResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The intermediateCertificate at the given index.
-
hasSignatureAlgorithm
public boolean hasSignatureAlgorithm()optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];- Specified by:
hasSignatureAlgorithmin interfaceCastChannel.AuthResponseOrBuilder- Returns:
- Whether the signatureAlgorithm field is set.
-
getSignatureAlgorithm
optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];- Specified by:
getSignatureAlgorithmin interfaceCastChannel.AuthResponseOrBuilder- Returns:
- The signatureAlgorithm.
-
parseFrom
public static CastChannel.AuthResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.AuthResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.AuthResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.AuthResponse 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.AuthResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CastChannel.AuthResponse 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.AuthResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CastChannel.AuthResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CastChannel.AuthResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CastChannel.AuthResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder>
-
getDefaultInstance
-
parser
-