Class CertificateAuthority

  • All Implemented Interfaces:
    CertificateAuthorityOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class CertificateAuthority
    extends com.google.protobuf.GeneratedMessageV3
    implements CertificateAuthorityOrBuilder
     A
     [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
     represents an individual Certificate Authority. A
     [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
     can be used to create
     [Certificates][google.cloud.security.privateca.v1.Certificate].
     
    Protobuf type google.cloud.security.privateca.v1.CertificateAuthority
    See Also:
    Serialized Form
    • 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()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Output only. The resource name for this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface CertificateAuthorityOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name for this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface CertificateAuthorityOrBuilder
        Returns:
        The bytes for name.
      • getTypeValue

        public int getTypeValue()
         Required. Immutable. The
         [Type][google.cloud.security.privateca.v1.CertificateAuthority.Type] of
         this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         
        .google.cloud.security.privateca.v1.CertificateAuthority.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getTypeValue in interface CertificateAuthorityOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getType

        public CertificateAuthority.Type getType()
         Required. Immutable. The
         [Type][google.cloud.security.privateca.v1.CertificateAuthority.Type] of
         this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         
        .google.cloud.security.privateca.v1.CertificateAuthority.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getType in interface CertificateAuthorityOrBuilder
        Returns:
        The type.
      • hasConfig

        public boolean hasConfig()
         Required. Immutable. The config used to create a self-signed X.509
         certificate or CSR.
         
        .google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasConfig in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the config field is set.
      • getConfig

        public CertificateConfig getConfig()
         Required. Immutable. The config used to create a self-signed X.509
         certificate or CSR.
         
        .google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConfig in interface CertificateAuthorityOrBuilder
        Returns:
        The config.
      • getConfigOrBuilder

        public CertificateConfigOrBuilder getConfigOrBuilder()
         Required. Immutable. The config used to create a self-signed X.509
         certificate or CSR.
         
        .google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getConfigOrBuilder in interface CertificateAuthorityOrBuilder
      • hasLifetime

        public boolean hasLifetime()
         Required. Immutable. The desired lifetime of the CA certificate. Used to
         create the "not_before_time" and "not_after_time" fields inside an X.509
         certificate.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasLifetime in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the lifetime field is set.
      • getLifetime

        public com.google.protobuf.Duration getLifetime()
         Required. Immutable. The desired lifetime of the CA certificate. Used to
         create the "not_before_time" and "not_after_time" fields inside an X.509
         certificate.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLifetime in interface CertificateAuthorityOrBuilder
        Returns:
        The lifetime.
      • getLifetimeOrBuilder

        public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder()
         Required. Immutable. The desired lifetime of the CA certificate. Used to
         create the "not_before_time" and "not_after_time" fields inside an X.509
         certificate.
         
        .google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getLifetimeOrBuilder in interface CertificateAuthorityOrBuilder
      • hasKeySpec

        public boolean hasKeySpec()
         Required. Immutable. Used when issuing certificates for this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         If this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         is a self-signed CertificateAuthority, this key is also used to sign the
         self-signed CA certificate. Otherwise, it is used to sign a CSR.
         
        .google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec key_spec = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasKeySpec in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the keySpec field is set.
      • getKeySpec

        public CertificateAuthority.KeyVersionSpec getKeySpec()
         Required. Immutable. Used when issuing certificates for this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         If this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         is a self-signed CertificateAuthority, this key is also used to sign the
         self-signed CA certificate. Otherwise, it is used to sign a CSR.
         
        .google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec key_spec = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getKeySpec in interface CertificateAuthorityOrBuilder
        Returns:
        The keySpec.
      • getKeySpecOrBuilder

        public CertificateAuthority.KeyVersionSpecOrBuilder getKeySpecOrBuilder()
         Required. Immutable. Used when issuing certificates for this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         If this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         is a self-signed CertificateAuthority, this key is also used to sign the
         self-signed CA certificate. Otherwise, it is used to sign a CSR.
         
        .google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec key_spec = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getKeySpecOrBuilder in interface CertificateAuthorityOrBuilder
      • hasSubordinateConfig

        public boolean hasSubordinateConfig()
         Optional. If this is a subordinate
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority],
         this field will be set with the subordinate configuration, which describes
         its issuers. This may be updated, but this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         must continue to validate.
         
        .google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasSubordinateConfig in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the subordinateConfig field is set.
      • getSubordinateConfig

        public SubordinateConfig getSubordinateConfig()
         Optional. If this is a subordinate
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority],
         this field will be set with the subordinate configuration, which describes
         its issuers. This may be updated, but this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         must continue to validate.
         
        .google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSubordinateConfig in interface CertificateAuthorityOrBuilder
        Returns:
        The subordinateConfig.
      • getSubordinateConfigOrBuilder

        public SubordinateConfigOrBuilder getSubordinateConfigOrBuilder()
         Optional. If this is a subordinate
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority],
         this field will be set with the subordinate configuration, which describes
         its issuers. This may be updated, but this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         must continue to validate.
         
        .google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSubordinateConfigOrBuilder in interface CertificateAuthorityOrBuilder
      • getTierValue

        public int getTierValue()
         Output only. The
         [CaPool.Tier][google.cloud.security.privateca.v1.CaPool.Tier] of the
         [CaPool][google.cloud.security.privateca.v1.CaPool] that includes this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         
        .google.cloud.security.privateca.v1.CaPool.Tier tier = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTierValue in interface CertificateAuthorityOrBuilder
        Returns:
        The enum numeric value on the wire for tier.
      • getTier

        public CaPool.Tier getTier()
         Output only. The
         [CaPool.Tier][google.cloud.security.privateca.v1.CaPool.Tier] of the
         [CaPool][google.cloud.security.privateca.v1.CaPool] that includes this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         
        .google.cloud.security.privateca.v1.CaPool.Tier tier = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTier in interface CertificateAuthorityOrBuilder
        Returns:
        The tier.
      • getStateValue

        public int getStateValue()
         Output only. The
         [State][google.cloud.security.privateca.v1.CertificateAuthority.State] for
         this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         
        .google.cloud.security.privateca.v1.CertificateAuthority.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface CertificateAuthorityOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public CertificateAuthority.State getState()
         Output only. The
         [State][google.cloud.security.privateca.v1.CertificateAuthority.State] for
         this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].
         
        .google.cloud.security.privateca.v1.CertificateAuthority.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface CertificateAuthorityOrBuilder
        Returns:
        The state.
      • getPemCaCertificatesList

        public com.google.protobuf.ProtocolStringList getPemCaCertificatesList()
         Output only. This
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate chain, including the current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate. Ordered such that the root issuer is the final element
         (consistent with RFC 5246). For a self-signed CA, this will only list the
         current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate.
         
        repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCaCertificatesList in interface CertificateAuthorityOrBuilder
        Returns:
        A list containing the pemCaCertificates.
      • getPemCaCertificatesCount

        public int getPemCaCertificatesCount()
         Output only. This
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate chain, including the current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate. Ordered such that the root issuer is the final element
         (consistent with RFC 5246). For a self-signed CA, this will only list the
         current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate.
         
        repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCaCertificatesCount in interface CertificateAuthorityOrBuilder
        Returns:
        The count of pemCaCertificates.
      • getPemCaCertificates

        public String getPemCaCertificates​(int index)
         Output only. This
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate chain, including the current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate. Ordered such that the root issuer is the final element
         (consistent with RFC 5246). For a self-signed CA, this will only list the
         current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate.
         
        repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCaCertificates in interface CertificateAuthorityOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pemCaCertificates at the given index.
      • getPemCaCertificatesBytes

        public com.google.protobuf.ByteString getPemCaCertificatesBytes​(int index)
         Output only. This
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate chain, including the current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate. Ordered such that the root issuer is the final element
         (consistent with RFC 5246). For a self-signed CA, this will only list the
         current
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         certificate.
         
        repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCaCertificatesBytes in interface CertificateAuthorityOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pemCaCertificates at the given index.
      • getCaCertificateDescriptionsList

        public List<CertificateDescription> getCaCertificateDescriptionsList()
         Output only. A structured description of this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and its issuers. Ordered as self-to-root.
         
        repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCaCertificateDescriptionsList in interface CertificateAuthorityOrBuilder
      • getCaCertificateDescriptionsOrBuilderList

        public List<? extends CertificateDescriptionOrBuilder> getCaCertificateDescriptionsOrBuilderList()
         Output only. A structured description of this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and its issuers. Ordered as self-to-root.
         
        repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCaCertificateDescriptionsOrBuilderList in interface CertificateAuthorityOrBuilder
      • getCaCertificateDescriptionsCount

        public int getCaCertificateDescriptionsCount()
         Output only. A structured description of this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and its issuers. Ordered as self-to-root.
         
        repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCaCertificateDescriptionsCount in interface CertificateAuthorityOrBuilder
      • getCaCertificateDescriptions

        public CertificateDescription getCaCertificateDescriptions​(int index)
         Output only. A structured description of this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and its issuers. Ordered as self-to-root.
         
        repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCaCertificateDescriptions in interface CertificateAuthorityOrBuilder
      • getCaCertificateDescriptionsOrBuilder

        public CertificateDescriptionOrBuilder getCaCertificateDescriptionsOrBuilder​(int index)
         Output only. A structured description of this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]'s
         CA certificate and its issuers. Ordered as self-to-root.
         
        repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCaCertificateDescriptionsOrBuilder in interface CertificateAuthorityOrBuilder
      • getGcsBucket

        public String getGcsBucket()
         Immutable. The name of a Cloud Storage bucket where this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         will publish content, such as the CA certificate and CRLs. This must be a
         bucket name, without any prefixes (such as `gs://`) or suffixes (such as
         `.googleapis.com`). For example, to use a bucket named `my-bucket`, you
         would simply specify `my-bucket`. If not specified, a managed bucket will
         be created.
         
        string gcs_bucket = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getGcsBucket in interface CertificateAuthorityOrBuilder
        Returns:
        The gcsBucket.
      • getGcsBucketBytes

        public com.google.protobuf.ByteString getGcsBucketBytes()
         Immutable. The name of a Cloud Storage bucket where this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         will publish content, such as the CA certificate and CRLs. This must be a
         bucket name, without any prefixes (such as `gs://`) or suffixes (such as
         `.googleapis.com`). For example, to use a bucket named `my-bucket`, you
         would simply specify `my-bucket`. If not specified, a managed bucket will
         be created.
         
        string gcs_bucket = 11 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getGcsBucketBytes in interface CertificateAuthorityOrBuilder
        Returns:
        The bytes for gcsBucket.
      • hasAccessUrls

        public boolean hasAccessUrls()
         Output only. URLs for accessing content published by this CA, such as the
         CA certificate and CRLs.
         
        .google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls access_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasAccessUrls in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the accessUrls field is set.
      • getAccessUrls

        public CertificateAuthority.AccessUrls getAccessUrls()
         Output only. URLs for accessing content published by this CA, such as the
         CA certificate and CRLs.
         
        .google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls access_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAccessUrls in interface CertificateAuthorityOrBuilder
        Returns:
        The accessUrls.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was created.
         
        .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was created.
         
        .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface CertificateAuthorityOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was created.
         
        .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface CertificateAuthorityOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was last updated.
         
        .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was last updated.
         
        .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface CertificateAuthorityOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was last updated.
         
        .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface CertificateAuthorityOrBuilder
      • hasDeleteTime

        public boolean hasDeleteTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was soft deleted, if it is in the
         [DELETED][google.cloud.security.privateca.v1.CertificateAuthority.State.DELETED]
         state.
         
        .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDeleteTime in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        public com.google.protobuf.Timestamp getDeleteTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was soft deleted, if it is in the
         [DELETED][google.cloud.security.privateca.v1.CertificateAuthority.State.DELETED]
         state.
         
        .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTime in interface CertificateAuthorityOrBuilder
        Returns:
        The deleteTime.
      • getDeleteTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         was soft deleted, if it is in the
         [DELETED][google.cloud.security.privateca.v1.CertificateAuthority.State.DELETED]
         state.
         
        .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTimeOrBuilder in interface CertificateAuthorityOrBuilder
      • hasExpireTime

        public boolean hasExpireTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         will be permanently purged, if it is in the
         [DELETED][google.cloud.security.privateca.v1.CertificateAuthority.State.DELETED]
         state.
         
        .google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExpireTime in interface CertificateAuthorityOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         will be permanently purged, if it is in the
         [DELETED][google.cloud.security.privateca.v1.CertificateAuthority.State.DELETED]
         state.
         
        .google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTime in interface CertificateAuthorityOrBuilder
        Returns:
        The expireTime.
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. The time at which this
         [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
         will be permanently purged, if it is in the
         [DELETED][google.cloud.security.privateca.v1.CertificateAuthority.State.DELETED]
         state.
         
        .google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTimeOrBuilder in interface CertificateAuthorityOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Optional. Labels with user-defined metadata.
         
        map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsLabels in interface CertificateAuthorityOrBuilder
      • 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 CertificateAuthority parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<CertificateAuthority> 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 CertificateAuthority getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder