Class CaPool.PublishingOptions

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

    public static final class CaPool.PublishingOptions
    extends com.google.protobuf.GeneratedMessageV3
    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
    See Also:
    Serialized Form
    • Field Detail

      • PUBLISH_CA_CERT_FIELD_NUMBER

        public static final int PUBLISH_CA_CERT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PUBLISH_CRL_FIELD_NUMBER

        public static final int PUBLISH_CRL_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CaPool.PublishingOptions parseFrom​(ByteBuffer data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CaPool.PublishingOptions parseFrom​(ByteBuffer data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CaPool.PublishingOptions parseFrom​(com.google.protobuf.ByteString data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CaPool.PublishingOptions parseFrom​(com.google.protobuf.ByteString data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CaPool.PublishingOptions parseFrom​(byte[] data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CaPool.PublishingOptions parseFrom​(byte[] data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected CaPool.PublishingOptions.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CaPool.PublishingOptions> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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