Class CertificateAuthority

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.security.privateca.v1.CertificateAuthority
All Implemented Interfaces:
CertificateAuthorityOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CertificateAuthority extends com.google.protobuf.GeneratedMessage 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:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • CONFIG_FIELD_NUMBER

      public static final int CONFIG_FIELD_NUMBER
      See Also:
    • LIFETIME_FIELD_NUMBER

      public static final int LIFETIME_FIELD_NUMBER
      See Also:
    • KEY_SPEC_FIELD_NUMBER

      public static final int KEY_SPEC_FIELD_NUMBER
      See Also:
    • SUBORDINATE_CONFIG_FIELD_NUMBER

      public static final int SUBORDINATE_CONFIG_FIELD_NUMBER
      See Also:
    • TIER_FIELD_NUMBER

      public static final int TIER_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • PEM_CA_CERTIFICATES_FIELD_NUMBER

      public static final int PEM_CA_CERTIFICATES_FIELD_NUMBER
      See Also:
    • CA_CERTIFICATE_DESCRIPTIONS_FIELD_NUMBER

      public static final int CA_CERTIFICATE_DESCRIPTIONS_FIELD_NUMBER
      See Also:
    • GCS_BUCKET_FIELD_NUMBER

      public static final int GCS_BUCKET_FIELD_NUMBER
      See Also:
    • ACCESS_URLS_FIELD_NUMBER

      public static final int ACCESS_URLS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • DELETE_TIME_FIELD_NUMBER

      public static final int DELETE_TIME_FIELD_NUMBER
      See Also:
    • EXPIRE_TIME_FIELD_NUMBER

      public static final int EXPIRE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • USER_DEFINED_ACCESS_URLS_FIELD_NUMBER

      public static final int USER_DEFINED_ACCESS_URLS_FIELD_NUMBER
      See Also:
    • SATISFIES_PZS_FIELD_NUMBER

      public static final int SATISFIES_PZS_FIELD_NUMBER
      See Also:
    • SATISFIES_PZI_FIELD_NUMBER

      public static final int SATISFIES_PZI_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

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

      public String getName()
       Identifier. 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) = IDENTIFIER];
      Specified by:
      getName in interface CertificateAuthorityOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. 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) = IDENTIFIER];
      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

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

      public CertificateAuthority.AccessUrlsOrBuilder getAccessUrlsOrBuilder()
       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:
      getAccessUrlsOrBuilder in interface CertificateAuthorityOrBuilder
    • 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
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: CertificateAuthorityOrBuilder
       Optional. Labels with user-defined metadata.
       
      map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount 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
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface CertificateAuthorityOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels with user-defined metadata.
       
      map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface CertificateAuthorityOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels with user-defined metadata.
       
      map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface CertificateAuthorityOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels with user-defined metadata.
       
      map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface CertificateAuthorityOrBuilder
    • hasUserDefinedAccessUrls

      public boolean hasUserDefinedAccessUrls()
       Optional. User-defined URLs for CA certificate and CRLs. The service does
       not publish content to these URLs. It is up to the user to mirror content
       to these URLs.
       
      .google.cloud.security.privateca.v1.CertificateAuthority.UserDefinedAccessUrls user_defined_access_urls = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUserDefinedAccessUrls in interface CertificateAuthorityOrBuilder
      Returns:
      Whether the userDefinedAccessUrls field is set.
    • getUserDefinedAccessUrls

      public CertificateAuthority.UserDefinedAccessUrls getUserDefinedAccessUrls()
       Optional. User-defined URLs for CA certificate and CRLs. The service does
       not publish content to these URLs. It is up to the user to mirror content
       to these URLs.
       
      .google.cloud.security.privateca.v1.CertificateAuthority.UserDefinedAccessUrls user_defined_access_urls = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUserDefinedAccessUrls in interface CertificateAuthorityOrBuilder
      Returns:
      The userDefinedAccessUrls.
    • getUserDefinedAccessUrlsOrBuilder

      public CertificateAuthority.UserDefinedAccessUrlsOrBuilder getUserDefinedAccessUrlsOrBuilder()
       Optional. User-defined URLs for CA certificate and CRLs. The service does
       not publish content to these URLs. It is up to the user to mirror content
       to these URLs.
       
      .google.cloud.security.privateca.v1.CertificateAuthority.UserDefinedAccessUrls user_defined_access_urls = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUserDefinedAccessUrlsOrBuilder in interface CertificateAuthorityOrBuilder
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface CertificateAuthorityOrBuilder
      Returns:
      The satisfiesPzs.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface CertificateAuthorityOrBuilder
      Returns:
      The satisfiesPzi.
    • 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 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
    • parseFrom

      public static CertificateAuthority parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static CertificateAuthority parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static CertificateAuthority.Builder newBuilder()
    • newBuilder

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

      public static CertificateAuthority getDefaultInstance()
    • parser

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

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