Class SigningCertificateDetachedSCT.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SigningCertificateDetachedSCTOrBuilder, java.lang.Cloneable
    Enclosing class:
    SigningCertificateDetachedSCT

    public static final class SigningCertificateDetachedSCT.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder>
    implements SigningCertificateDetachedSCTOrBuilder
     (-- api-linter: core::0142::time-field-type=disabled
     aip.dev/not-precedent: SCT is defined in RFC6962 and we keep the name consistent for easier understanding. --)
     
    Protobuf type dev.sigstore.fulcio.v2.SigningCertificateDetachedSCT
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SigningCertificateDetachedSCT build()  
      SigningCertificateDetachedSCT buildPartial()  
      SigningCertificateDetachedSCT.Builder clear()  
      SigningCertificateDetachedSCT.Builder clearChain()
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      SigningCertificateDetachedSCT.Builder clearSignedCertificateTimestamp()
      The signed certificate timestamp is a promise for including the certificate in a certificate transparency log.
      CertificateChain getChain()
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      CertificateChain.Builder getChainBuilder()
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      CertificateChainOrBuilder getChainOrBuilder()
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      SigningCertificateDetachedSCT getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.ByteString getSignedCertificateTimestamp()
      The signed certificate timestamp is a promise for including the certificate in a certificate transparency log.
      boolean hasChain()
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      SigningCertificateDetachedSCT.Builder mergeChain​(CertificateChain value)
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      SigningCertificateDetachedSCT.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      SigningCertificateDetachedSCT.Builder mergeFrom​(com.google.protobuf.Message other)  
      SigningCertificateDetachedSCT.Builder mergeFrom​(SigningCertificateDetachedSCT other)  
      SigningCertificateDetachedSCT.Builder setChain​(CertificateChain value)
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      SigningCertificateDetachedSCT.Builder setChain​(CertificateChain.Builder builderForValue)
      The certificate chain serialized with the leaf certificate first, followed by all intermediate certificates (if present), finishing with the root certificate.
      SigningCertificateDetachedSCT.Builder setSignedCertificateTimestamp​(com.google.protobuf.ByteString value)
      The signed certificate timestamp is a promise for including the certificate in a certificate transparency log.
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

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

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

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder>
      • getDefaultInstanceForType

        public SigningCertificateDetachedSCT getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SigningCertificateDetachedSCT build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SigningCertificateDetachedSCT buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SigningCertificateDetachedSCT.Builder>
      • mergeFrom

        public SigningCertificateDetachedSCT.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SigningCertificateDetachedSCT.Builder>
        Throws:
        java.io.IOException
      • hasChain

        public boolean hasChain()
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
        Specified by:
        hasChain in interface SigningCertificateDetachedSCTOrBuilder
        Returns:
        Whether the chain field is set.
      • getChain

        public CertificateChain getChain()
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
        Specified by:
        getChain in interface SigningCertificateDetachedSCTOrBuilder
        Returns:
        The chain.
      • setChain

        public SigningCertificateDetachedSCT.Builder setChain​(CertificateChain value)
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
      • setChain

        public SigningCertificateDetachedSCT.Builder setChain​(CertificateChain.Builder builderForValue)
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
      • mergeChain

        public SigningCertificateDetachedSCT.Builder mergeChain​(CertificateChain value)
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
      • clearChain

        public SigningCertificateDetachedSCT.Builder clearChain()
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
      • getChainBuilder

        public CertificateChain.Builder getChainBuilder()
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
      • getChainOrBuilder

        public CertificateChainOrBuilder getChainOrBuilder()
        
         The certificate chain serialized with the leaf certificate first, followed
         by all intermediate certificates (if present), finishing with the root certificate.
        
         All values are PEM-encoded certificates.
         
        .dev.sigstore.fulcio.v2.CertificateChain chain = 1;
        Specified by:
        getChainOrBuilder in interface SigningCertificateDetachedSCTOrBuilder
      • getSignedCertificateTimestamp

        public com.google.protobuf.ByteString getSignedCertificateTimestamp()
        
         The signed certificate timestamp is a promise for including the certificate in
         a certificate transparency log. It can be "stapled" to verify the inclusion of
         a certificate in the log in an offline fashion.
         
        bytes signed_certificate_timestamp = 2;
        Specified by:
        getSignedCertificateTimestamp in interface SigningCertificateDetachedSCTOrBuilder
        Returns:
        The signedCertificateTimestamp.
      • setSignedCertificateTimestamp

        public SigningCertificateDetachedSCT.Builder setSignedCertificateTimestamp​(com.google.protobuf.ByteString value)
        
         The signed certificate timestamp is a promise for including the certificate in
         a certificate transparency log. It can be "stapled" to verify the inclusion of
         a certificate in the log in an offline fashion.
         
        bytes signed_certificate_timestamp = 2;
        Parameters:
        value - The signedCertificateTimestamp to set.
        Returns:
        This builder for chaining.
      • clearSignedCertificateTimestamp

        public SigningCertificateDetachedSCT.Builder clearSignedCertificateTimestamp()
        
         The signed certificate timestamp is a promise for including the certificate in
         a certificate transparency log. It can be "stapled" to verify the inclusion of
         a certificate in the log in an offline fashion.
         
        bytes signed_certificate_timestamp = 2;
        Returns:
        This builder for chaining.