Class CaPool.PublishingOptions.Builder

  • All Implemented Interfaces:
    CaPool.PublishingOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    CaPool.PublishingOptions

    public static final class CaPool.PublishingOptions.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CaPool.PublishingOptions.Builder>
    implements CaPool.PublishingOptionsOrBuilder
     Options relating to the publication of each
     [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
     CA certificate and CRLs and their inclusion as extensions in issued
     [Certificates][google.cloud.security.privateca.v1.Certificate]. The options
     set here apply to certificates issued by any
     [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
     in the [CaPool][google.cloud.security.privateca.v1.CaPool].
     
    Protobuf type google.cloud.security.privateca.v1.CaPool.PublishingOptions
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CaPool.PublishingOptions.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.GeneratedMessageV3.Builder<CaPool.PublishingOptions.Builder>
      • getDefaultInstanceForType

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

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

        public CaPool.PublishingOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public CaPool.PublishingOptions.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CaPool.PublishingOptions.Builder>
      • addRepeatedField

        public CaPool.PublishingOptions.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CaPool.PublishingOptions.Builder>
      • isInitialized

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

        public CaPool.PublishingOptions.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws 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<CaPool.PublishingOptions.Builder>
        Throws:
        IOException
      • getPublishCaCert

        public boolean getPublishCaCert()
         Optional. When true, publishes each
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and includes its URL in the "Authority Information Access"
         X.509 extension in all issued
         [Certificates][google.cloud.security.privateca.v1.Certificate]. If this
         is false, the CA certificate will not be published and the corresponding
         X.509 extension will not be written in issued certificates.
         
        bool publish_ca_cert = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPublishCaCert in interface CaPool.PublishingOptionsOrBuilder
        Returns:
        The publishCaCert.
      • setPublishCaCert

        public CaPool.PublishingOptions.Builder setPublishCaCert​(boolean value)
         Optional. When true, publishes each
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and includes its URL in the "Authority Information Access"
         X.509 extension in all issued
         [Certificates][google.cloud.security.privateca.v1.Certificate]. If this
         is false, the CA certificate will not be published and the corresponding
         X.509 extension will not be written in issued certificates.
         
        bool publish_ca_cert = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The publishCaCert to set.
        Returns:
        This builder for chaining.
      • clearPublishCaCert

        public CaPool.PublishingOptions.Builder clearPublishCaCert()
         Optional. When true, publishes each
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and includes its URL in the "Authority Information Access"
         X.509 extension in all issued
         [Certificates][google.cloud.security.privateca.v1.Certificate]. If this
         is false, the CA certificate will not be published and the corresponding
         X.509 extension will not be written in issued certificates.
         
        bool publish_ca_cert = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPublishCrl

        public boolean getPublishCrl()
         Optional. When true, publishes each
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CRL and includes its URL in the "CRL Distribution Points" X.509 extension
         in all issued
         [Certificates][google.cloud.security.privateca.v1.Certificate]. If this
         is false, CRLs will not be published and the corresponding X.509
         extension will not be written in issued certificates. CRLs will expire 7
         days from their creation. However, we will rebuild daily. CRLs are also
         rebuilt shortly after a certificate is revoked.
         
        bool publish_crl = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPublishCrl in interface CaPool.PublishingOptionsOrBuilder
        Returns:
        The publishCrl.
      • setPublishCrl

        public CaPool.PublishingOptions.Builder setPublishCrl​(boolean value)
         Optional. When true, publishes each
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CRL and includes its URL in the "CRL Distribution Points" X.509 extension
         in all issued
         [Certificates][google.cloud.security.privateca.v1.Certificate]. If this
         is false, CRLs will not be published and the corresponding X.509
         extension will not be written in issued certificates. CRLs will expire 7
         days from their creation. However, we will rebuild daily. CRLs are also
         rebuilt shortly after a certificate is revoked.
         
        bool publish_crl = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The publishCrl to set.
        Returns:
        This builder for chaining.
      • clearPublishCrl

        public CaPool.PublishingOptions.Builder clearPublishCrl()
         Optional. When true, publishes each
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CRL and includes its URL in the "CRL Distribution Points" X.509 extension
         in all issued
         [Certificates][google.cloud.security.privateca.v1.Certificate]. If this
         is false, CRLs will not be published and the corresponding X.509
         extension will not be written in issued certificates. CRLs will expire 7
         days from their creation. However, we will rebuild daily. CRLs are also
         rebuilt shortly after a certificate is revoked.
         
        bool publish_crl = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CaPool.PublishingOptions.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CaPool.PublishingOptions.Builder>
      • mergeUnknownFields

        public final CaPool.PublishingOptions.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CaPool.PublishingOptions.Builder>