# Interface CertificateAuthorityOrBuilder (2.95.0)

2.95.0 (latest) 2.93.0 2.90.0 2.89.0 2.87.0 2.85.0 2.84.0 2.82.0 2.80.0 2.78.0 2.77.0 2.76.0 2.75.0 2.74.0 2.72.0 2.70.0 2.69.0 2.66.0 2.65.0 2.64.0 2.62.0 2.61.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.51.0 2.50.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.4 2.4.0 2.3.0 2.2.5

    public interface CertificateAuthorityOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsLabels(String key)

    public abstract boolean containsLabels(String key)

Optional. Labels with user-defined metadata.

`map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getAccessUrls()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls` | The accessUrls. |

### getAccessUrlsOrBuilder()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.AccessUrlsOrBuilder` |   |

### getCaCertificateDescriptions(int index)

    public abstract CertificateDescription getCaCertificateDescriptions(int index)

Output only. A structured description of this
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];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateDescription` |   |

### getCaCertificateDescriptionsCount()

    public abstract int getCaCertificateDescriptionsCount()

Output only. A structured description of this
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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getCaCertificateDescriptionsList()

    public abstract List<CertificateDescription> getCaCertificateDescriptionsList()

Output only. A structured description of this
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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateDescription>` |   |

### getCaCertificateDescriptionsOrBuilder(int index)

    public abstract CertificateDescriptionOrBuilder getCaCertificateDescriptionsOrBuilder(int index)

Output only. A structured description of this
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];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateDescriptionOrBuilder` |   |

### getCaCertificateDescriptionsOrBuilderList()

    public abstract List<? extends CertificateDescriptionOrBuilder> getCaCertificateDescriptionsOrBuilderList()

Output only. A structured description of this
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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.security.privateca.v1.CertificateDescriptionOrBuilder>` |   |

### getConfig()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateConfig` | The config. |

### getConfigOrBuilder()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateConfigOrBuilder` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

Output only. The time at which this
CertificateAuthority
was created.

`.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this
CertificateAuthority
was created.

`.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDeleteTime()

    public abstract Timestamp getDeleteTime()

Output only. The time at which this
CertificateAuthority
was soft deleted, if it is in the
DELETED
state.

`.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The deleteTime. |

### getDeleteTimeOrBuilder()

    public abstract TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. The time at which this
CertificateAuthority
was soft deleted, if it is in the
DELETED
state.

`.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getExpireTime()

    public abstract Timestamp getExpireTime()

Output only. The time at which this
CertificateAuthority
will be permanently purged, if it is in the
DELETED
state.

`.google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The expireTime. |

### getExpireTimeOrBuilder()

    public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The time at which this
CertificateAuthority
will be permanently purged, if it is in the
DELETED
state.

`.google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getGcsBucket()

    public abstract String getGcsBucket()

Immutable. The name of a Cloud Storage bucket where this
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];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The gcsBucket. |

### getGcsBucketBytes()

    public abstract ByteString getGcsBucketBytes()

Immutable. The name of a Cloud Storage bucket where this
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];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for gcsBucket. |

### getKeySpec()

    public abstract CertificateAuthority.KeyVersionSpec getKeySpec()

Required. Immutable. Used when issuing certificates for this
CertificateAuthority.
If this
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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec` | The keySpec. |

### getKeySpecOrBuilder()

    public abstract CertificateAuthority.KeyVersionSpecOrBuilder getKeySpecOrBuilder()

Required. Immutable. Used when issuing certificates for this
CertificateAuthority.
If this
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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpecOrBuilder` |   |

### getLabels() (deprecated)

    public abstract Map<String,String> getLabels()

Use [#getLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthorityOrBuilder#com_google_cloud_security_privateca_v1_CertificateAuthorityOrBuilder_getLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsCount()

    public abstract int getLabelsCount()

Optional. Labels with user-defined metadata.

`map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getLabelsMap()

    public abstract Map<String,String> getLabelsMap()

Optional. Labels with user-defined metadata.

`map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsOrDefault(String key, String defaultValue)

    public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels with user-defined metadata.

`map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getLabelsOrThrow(String key)

    public abstract String getLabelsOrThrow(String key)

Optional. Labels with user-defined metadata.

`map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getLifetime()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The lifetime. |

### getLifetimeOrBuilder()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### getName()

    public abstract String getName()

Identifier. The resource name for this
CertificateAuthority
in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The resource name for this
CertificateAuthority
in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getPemCaCertificates(int index)

    public abstract String getPemCaCertificates(int index)

Output only. This
CertificateAuthority's
certificate chain, including the current
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's
certificate.

`repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The pemCaCertificates at the given index. |

### getPemCaCertificatesBytes(int index)

    public abstract ByteString getPemCaCertificatesBytes(int index)

Output only. This
CertificateAuthority's
certificate chain, including the current
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's
certificate.

`repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the pemCaCertificates at the given index. |

### getPemCaCertificatesCount()

    public abstract int getPemCaCertificatesCount()

Output only. This
CertificateAuthority's
certificate chain, including the current
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's
certificate.

`repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of pemCaCertificates. |

### getPemCaCertificatesList()

    public abstract List<String> getPemCaCertificatesList()

Output only. This
CertificateAuthority's
certificate chain, including the current
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's
certificate.

`repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the pemCaCertificates. |

### getSatisfiesPzi()

    public abstract boolean getSatisfiesPzi()

Output only. Reserved for future use.

`bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The satisfiesPzi. |

### getSatisfiesPzs()

    public abstract boolean getSatisfiesPzs()

Output only. Reserved for future use.

`bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The satisfiesPzs. |

### getState()

    public abstract CertificateAuthority.State getState()

Output only. The
State for
this
CertificateAuthority.

`
.google.cloud.security.privateca.v1.CertificateAuthority.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The
State for
this
CertificateAuthority.

`
.google.cloud.security.privateca.v1.CertificateAuthority.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### getSubordinateConfig()

    public abstract SubordinateConfig getSubordinateConfig()

Optional. If this is a subordinate
CertificateAuthority,
this field will be set with the subordinate configuration, which describes
its issuers. This may be updated, but this
CertificateAuthority
must continue to validate.

`
.google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.SubordinateConfig` | The subordinateConfig. |

### getSubordinateConfigOrBuilder()

    public abstract SubordinateConfigOrBuilder getSubordinateConfigOrBuilder()

Optional. If this is a subordinate
CertificateAuthority,
this field will be set with the subordinate configuration, which describes
its issuers. This may be updated, but this
CertificateAuthority
must continue to validate.

`
.google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.SubordinateConfigOrBuilder` |   |

### getTier()

    public abstract CaPool.Tier getTier()

Output only. The
CaPool.Tier of the
CaPool that includes this
CertificateAuthority.

`
.google.cloud.security.privateca.v1.CaPool.Tier tier = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CaPool.Tier` | The tier. |

### getTierValue()

    public abstract int getTierValue()

Output only. The
CaPool.Tier of the
CaPool that includes this
CertificateAuthority.

`
.google.cloud.security.privateca.v1.CaPool.Tier tier = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for tier. |

### getType()

    public abstract CertificateAuthority.Type getType()

Required. Immutable. The
Type of
this
CertificateAuthority.

`
.google.cloud.security.privateca.v1.CertificateAuthority.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.Type` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Required. Immutable. The
Type of
this
CertificateAuthority.

`
.google.cloud.security.privateca.v1.CertificateAuthority.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for type. |

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. The time at which this
CertificateAuthority
was last updated.

`.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The updateTime. |

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which this
CertificateAuthority
was last updated.

`.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getUserDefinedAccessUrls()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.UserDefinedAccessUrls` | The userDefinedAccessUrls. |

### getUserDefinedAccessUrlsOrBuilder()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/com.google.cloud.security.privateca.v1.CertificateAuthority.UserDefinedAccessUrlsOrBuilder` |   |

### hasAccessUrls()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the accessUrls field is set. |

### hasConfig()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the config field is set. |

### hasCreateTime()

    public abstract boolean hasCreateTime()

Output only. The time at which this
CertificateAuthority
was created.

`.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the createTime field is set. |

### hasDeleteTime()

    public abstract boolean hasDeleteTime()

Output only. The time at which this
CertificateAuthority
was soft deleted, if it is in the
DELETED
state.

`.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the deleteTime field is set. |

### hasExpireTime()

    public abstract boolean hasExpireTime()

Output only. The time at which this
CertificateAuthority
will be permanently purged, if it is in the
DELETED
state.

`.google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the expireTime field is set. |

### hasKeySpec()

    public abstract boolean hasKeySpec()

Required. Immutable. Used when issuing certificates for this
CertificateAuthority.
If this
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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the keySpec field is set. |

### hasLifetime()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the lifetime field is set. |

### hasSubordinateConfig()

    public abstract boolean hasSubordinateConfig()

Optional. If this is a subordinate
CertificateAuthority,
this field will be set with the subordinate configuration, which describes
its issuers. This may be updated, but this
CertificateAuthority
must continue to validate.

`
.google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the subordinateConfig field is set. |

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. The time at which this
CertificateAuthority
was last updated.

`.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the updateTime field is set. |

### hasUserDefinedAccessUrls()

    public abstract 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];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the userDefinedAccessUrls field is set. |