Class CaPool.PublishingOptions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.security.privateca.v1.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.GeneratedMessage 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:
  • Field Details

    • PUBLISH_CA_CERT_FIELD_NUMBER

      public static final int PUBLISH_CA_CERT_FIELD_NUMBER
      See Also:
    • PUBLISH_CRL_FIELD_NUMBER

      public static final int PUBLISH_CRL_FIELD_NUMBER
      See Also:
    • ENCODING_FORMAT_FIELD_NUMBER

      public static final int ENCODING_FORMAT_FIELD_NUMBER
      See Also:
  • Method Details

    • 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
    • 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.
    • getEncodingFormatValue

      public int getEncodingFormatValue()
       Optional. Specifies the encoding format of each
       [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
       resource's CA certificate and CRLs. If this is omitted, CA certificates
       and CRLs will be published in PEM.
       
      .google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncodingFormatValue in interface CaPool.PublishingOptionsOrBuilder
      Returns:
      The enum numeric value on the wire for encodingFormat.
    • getEncodingFormat

      public CaPool.PublishingOptions.EncodingFormat getEncodingFormat()
       Optional. Specifies the encoding format of each
       [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
       resource's CA certificate and CRLs. If this is omitted, CA certificates
       and CRLs will be published in PEM.
       
      .google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncodingFormat in interface CaPool.PublishingOptionsOrBuilder
      Returns:
      The encodingFormat.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static CaPool.PublishingOptions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CaPool.PublishingOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CaPool.PublishingOptions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CaPool.PublishingOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CaPool.PublishingOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CaPool.PublishingOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static CaPool.PublishingOptions.Builder newBuilder()
    • newBuilder

      public static CaPool.PublishingOptions.Builder newBuilder(CaPool.PublishingOptions prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CaPool.PublishingOptions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CaPool.PublishingOptions> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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