Class Protos.X509Certificates.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Protos.X509Certificates.Builder addAllCertificate​(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
      DER-encoded X.509 certificate chain
      Protos.X509Certificates.Builder addCertificate​(com.google.protobuf.ByteString value)
      DER-encoded X.509 certificate chain
      Protos.X509Certificates.Builder clearCertificate()
      DER-encoded X.509 certificate chain
      com.google.protobuf.ByteString getCertificate​(int index)
      DER-encoded X.509 certificate chain
      int getCertificateCount()
      DER-encoded X.509 certificate chain
      java.util.List<com.google.protobuf.ByteString> getCertificateList()
      DER-encoded X.509 certificate chain
      Protos.X509Certificates.Builder setCertificate​(int index, com.google.protobuf.ByteString value)
      DER-encoded X.509 certificate chain
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getCertificateList

        public java.util.List<com.google.protobuf.ByteString> getCertificateList()
         DER-encoded X.509 certificate chain
         
        repeated bytes certificate = 1;
        Specified by:
        getCertificateList in interface Protos.X509CertificatesOrBuilder
        Returns:
        A list containing the certificate.
      • getCertificate

        public com.google.protobuf.ByteString getCertificate​(int index)
         DER-encoded X.509 certificate chain
         
        repeated bytes certificate = 1;
        Specified by:
        getCertificate in interface Protos.X509CertificatesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The certificate at the given index.
      • setCertificate

        public Protos.X509Certificates.Builder setCertificate​(int index,
                                                              com.google.protobuf.ByteString value)
         DER-encoded X.509 certificate chain
         
        repeated bytes certificate = 1;
        Parameters:
        value - The certificate to set.
        Returns:
        This builder for chaining.
      • addCertificate

        public Protos.X509Certificates.Builder addCertificate​(com.google.protobuf.ByteString value)
         DER-encoded X.509 certificate chain
         
        repeated bytes certificate = 1;
        Parameters:
        value - The certificate to add.
        Returns:
        This builder for chaining.
      • addAllCertificate

        public Protos.X509Certificates.Builder addAllCertificate​(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
         DER-encoded X.509 certificate chain
         
        repeated bytes certificate = 1;
        Parameters:
        values - The certificate to add.
        Returns:
        This builder for chaining.
      • clearCertificate

        public Protos.X509Certificates.Builder clearCertificate()
         DER-encoded X.509 certificate chain
         
        repeated bytes certificate = 1;
        Returns:
        This builder for chaining.