Class CastChannel.AuthResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder>
su.litvak.chromecast.api.v2.CastChannel.AuthResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, CastChannel.AuthResponseOrBuilder
Enclosing class:
CastChannel.AuthResponse

public static final class CastChannel.AuthResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CastChannel.AuthResponse,CastChannel.AuthResponse.Builder> implements CastChannel.AuthResponseOrBuilder
Protobuf type su.litvak.chromecast.api.v2.AuthResponse
  • Method Details

    • hasSignature

      public boolean hasSignature()
      required bytes signature = 1;
      Specified by:
      hasSignature in interface CastChannel.AuthResponseOrBuilder
      Returns:
      Whether the signature field is set.
    • getSignature

      public com.google.protobuf.ByteString getSignature()
      required bytes signature = 1;
      Specified by:
      getSignature in interface CastChannel.AuthResponseOrBuilder
      Returns:
      The signature.
    • setSignature

      public CastChannel.AuthResponse.Builder setSignature(com.google.protobuf.ByteString value)
      required bytes signature = 1;
      Parameters:
      value - The signature to set.
      Returns:
      This builder for chaining.
    • clearSignature

      public CastChannel.AuthResponse.Builder clearSignature()
      required bytes signature = 1;
      Returns:
      This builder for chaining.
    • hasClientAuthCertificate

      public boolean hasClientAuthCertificate()
      required bytes client_auth_certificate = 2;
      Specified by:
      hasClientAuthCertificate in interface CastChannel.AuthResponseOrBuilder
      Returns:
      Whether the clientAuthCertificate field is set.
    • getClientAuthCertificate

      public com.google.protobuf.ByteString getClientAuthCertificate()
      required bytes client_auth_certificate = 2;
      Specified by:
      getClientAuthCertificate in interface CastChannel.AuthResponseOrBuilder
      Returns:
      The clientAuthCertificate.
    • setClientAuthCertificate

      public CastChannel.AuthResponse.Builder setClientAuthCertificate(com.google.protobuf.ByteString value)
      required bytes client_auth_certificate = 2;
      Parameters:
      value - The clientAuthCertificate to set.
      Returns:
      This builder for chaining.
    • clearClientAuthCertificate

      public CastChannel.AuthResponse.Builder clearClientAuthCertificate()
      required bytes client_auth_certificate = 2;
      Returns:
      This builder for chaining.
    • getIntermediateCertificateList

      public List<com.google.protobuf.ByteString> getIntermediateCertificateList()
      repeated bytes intermediate_certificate = 3;
      Specified by:
      getIntermediateCertificateList in interface CastChannel.AuthResponseOrBuilder
      Returns:
      A list containing the intermediateCertificate.
    • getIntermediateCertificateCount

      public int getIntermediateCertificateCount()
      repeated bytes intermediate_certificate = 3;
      Specified by:
      getIntermediateCertificateCount in interface CastChannel.AuthResponseOrBuilder
      Returns:
      The count of intermediateCertificate.
    • getIntermediateCertificate

      public com.google.protobuf.ByteString getIntermediateCertificate(int index)
      repeated bytes intermediate_certificate = 3;
      Specified by:
      getIntermediateCertificate in interface CastChannel.AuthResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The intermediateCertificate at the given index.
    • setIntermediateCertificate

      public CastChannel.AuthResponse.Builder setIntermediateCertificate(int index, com.google.protobuf.ByteString value)
      repeated bytes intermediate_certificate = 3;
      Parameters:
      value - The intermediateCertificate to set.
      Returns:
      This builder for chaining.
    • addIntermediateCertificate

      public CastChannel.AuthResponse.Builder addIntermediateCertificate(com.google.protobuf.ByteString value)
      repeated bytes intermediate_certificate = 3;
      Parameters:
      value - The intermediateCertificate to add.
      Returns:
      This builder for chaining.
    • addAllIntermediateCertificate

      public CastChannel.AuthResponse.Builder addAllIntermediateCertificate(Iterable<? extends com.google.protobuf.ByteString> values)
      repeated bytes intermediate_certificate = 3;
      Parameters:
      values - The intermediateCertificate to add.
      Returns:
      This builder for chaining.
    • clearIntermediateCertificate

      public CastChannel.AuthResponse.Builder clearIntermediateCertificate()
      repeated bytes intermediate_certificate = 3;
      Returns:
      This builder for chaining.
    • hasSignatureAlgorithm

      public boolean hasSignatureAlgorithm()
      optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];
      Specified by:
      hasSignatureAlgorithm in interface CastChannel.AuthResponseOrBuilder
      Returns:
      Whether the signatureAlgorithm field is set.
    • getSignatureAlgorithm

      public CastChannel.SignatureAlgorithm getSignatureAlgorithm()
      optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];
      Specified by:
      getSignatureAlgorithm in interface CastChannel.AuthResponseOrBuilder
      Returns:
      The signatureAlgorithm.
    • setSignatureAlgorithm

      optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];
      Parameters:
      value - The enum numeric value on the wire for signatureAlgorithm to set.
      Returns:
      This builder for chaining.
    • clearSignatureAlgorithm

      public CastChannel.AuthResponse.Builder clearSignatureAlgorithm()
      optional .su.litvak.chromecast.api.v2.SignatureAlgorithm signature_algorithm = 4 [default = RSASSA_PKCS1v15];
      Returns:
      This builder for chaining.