Class TrustBundle.Builder

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

    public static final class TrustBundle.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<TrustBundle.Builder>
    implements TrustBundleOrBuilder
    Protobuf type dev.sigstore.fulcio.v2.TrustBundle
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TrustBundle.Builder addAllChains​(java.lang.Iterable<? extends CertificateChain> values)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle.Builder addChains​(int index, CertificateChain value)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle.Builder addChains​(int index, CertificateChain.Builder builderForValue)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle.Builder addChains​(CertificateChain value)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle.Builder addChains​(CertificateChain.Builder builderForValue)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      CertificateChain.Builder addChainsBuilder()
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      CertificateChain.Builder addChainsBuilder​(int index)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle build()  
      TrustBundle buildPartial()  
      TrustBundle.Builder clear()  
      TrustBundle.Builder clearChains()
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      CertificateChain getChains​(int index)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      CertificateChain.Builder getChainsBuilder​(int index)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      java.util.List<CertificateChain.Builder> getChainsBuilderList()
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      int getChainsCount()
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      java.util.List<CertificateChain> getChainsList()
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      CertificateChainOrBuilder getChainsOrBuilder​(int index)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      java.util.List<? extends CertificateChainOrBuilder> getChainsOrBuilderList()
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      TrustBundle.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      TrustBundle.Builder mergeFrom​(com.google.protobuf.Message other)  
      TrustBundle.Builder mergeFrom​(TrustBundle other)  
      TrustBundle.Builder removeChains​(int index)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle.Builder setChains​(int index, CertificateChain value)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      TrustBundle.Builder setChains​(int index, CertificateChain.Builder builderForValue)
      The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any intermediate certificates (if present), finishing with the root certificate.
      • 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<TrustBundle.Builder>
      • clear

        public TrustBundle.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<TrustBundle.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<TrustBundle.Builder>
      • getDefaultInstanceForType

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

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

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

        public TrustBundle.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrustBundle.Builder>
      • isInitialized

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

        public TrustBundle.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<TrustBundle.Builder>
        Throws:
        java.io.IOException
      • getChainsList

        public java.util.List<CertificateChain> getChainsList()
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
        Specified by:
        getChainsList in interface TrustBundleOrBuilder
      • getChainsCount

        public int getChainsCount()
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
        Specified by:
        getChainsCount in interface TrustBundleOrBuilder
      • getChains

        public CertificateChain getChains​(int index)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
        Specified by:
        getChains in interface TrustBundleOrBuilder
      • setChains

        public TrustBundle.Builder setChains​(int index,
                                             CertificateChain value)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • setChains

        public TrustBundle.Builder setChains​(int index,
                                             CertificateChain.Builder builderForValue)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • addChains

        public TrustBundle.Builder addChains​(CertificateChain value)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • addChains

        public TrustBundle.Builder addChains​(int index,
                                             CertificateChain value)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • addChains

        public TrustBundle.Builder addChains​(CertificateChain.Builder builderForValue)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • addChains

        public TrustBundle.Builder addChains​(int index,
                                             CertificateChain.Builder builderForValue)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • addAllChains

        public TrustBundle.Builder addAllChains​(java.lang.Iterable<? extends CertificateChain> values)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • clearChains

        public TrustBundle.Builder clearChains()
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • removeChains

        public TrustBundle.Builder removeChains​(int index)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • getChainsBuilder

        public CertificateChain.Builder getChainsBuilder​(int index)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • getChainsOrBuilder

        public CertificateChainOrBuilder getChainsOrBuilder​(int index)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
        Specified by:
        getChainsOrBuilder in interface TrustBundleOrBuilder
      • getChainsOrBuilderList

        public java.util.List<? extends CertificateChainOrBuilder> getChainsOrBuilderList()
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
        Specified by:
        getChainsOrBuilderList in interface TrustBundleOrBuilder
      • addChainsBuilder

        public CertificateChain.Builder addChainsBuilder()
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • addChainsBuilder

        public CertificateChain.Builder addChainsBuilder​(int index)
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;
      • getChainsBuilderList

        public java.util.List<CertificateChain.Builder> getChainsBuilderList()
        
         The set of PEM-encoded certificate chains for this Fulcio instance; each chain will start with any
         intermediate certificates (if present), finishing with the root certificate.
         
        repeated .dev.sigstore.fulcio.v2.CertificateChain chains = 1;