# Interface AuthorizedCertificateOrBuilder (2.91.0)

2.91.0 (latest) 2.88.0 2.87.0 2.85.0 2.83.0 2.82.0 2.81.0 2.80.0 2.78.0 2.76.0 2.75.0 2.74.0 2.73.0 2.72.0 2.70.0 2.68.0 2.67.0 2.64.0 2.63.0 2.62.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.52.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.40.0 2.39.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.28.0 2.27.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.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.4 2.2.0 2.1.10 0.2.0

    public interface AuthorizedCertificateOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCertificateRawData()

    public abstract CertificateRawData getCertificateRawData()

The SSL certificate serving the `AuthorizedCertificate` resource. This
must be obtained independently from a certificate authority.

`.google.appengine.v1.CertificateRawData certificate_raw_data = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/com.google.appengine.v1.CertificateRawData` | The certificateRawData. |

### getCertificateRawDataOrBuilder()

    public abstract CertificateRawDataOrBuilder getCertificateRawDataOrBuilder()

The SSL certificate serving the `AuthorizedCertificate` resource. This
must be obtained independently from a certificate authority.

`.google.appengine.v1.CertificateRawData certificate_raw_data = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/com.google.appengine.v1.CertificateRawDataOrBuilder` |   |

### getDisplayName()

    public abstract String getDisplayName()

The user-specified display name of the certificate. This is not
guaranteed to be unique. Example: `My Certificate`.

`string display_name = 3;`

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

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

The user-specified display name of the certificate. This is not
guaranteed to be unique. Example: `My Certificate`.

`string display_name = 3;`

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

### getDomainMappingsCount()

    public abstract int getDomainMappingsCount()

Aggregate count of the domain mappings with this certificate mapped. This
count includes domain mappings on applications for which the user does not
have `VIEWER` permissions.

Only returned by `GET` or `LIST` requests when specifically requested by
the `view=FULL_CERTIFICATE` option.

@OutputOnly

`int32 domain_mappings_count = 9;`

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

### getDomainNames(int index)

    public abstract String getDomainNames(int index)

Topmost applicable domains of this certificate. This certificate
applies to these domains and their subdomains. Example: `example.com`.

@OutputOnly

`repeated string domain_names = 4;`

| **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 domainNames at the given index. |

### getDomainNamesBytes(int index)

    public abstract ByteString getDomainNamesBytes(int index)

Topmost applicable domains of this certificate. This certificate
applies to these domains and their subdomains. Example: `example.com`.

@OutputOnly

`repeated string domain_names = 4;`

| **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 domainNames at the given index. |

### getDomainNamesCount()

    public abstract int getDomainNamesCount()

Topmost applicable domains of this certificate. This certificate
applies to these domains and their subdomains. Example: `example.com`.

@OutputOnly

`repeated string domain_names = 4;`

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

### getDomainNamesList()

    public abstract List<String> getDomainNamesList()

Topmost applicable domains of this certificate. This certificate
applies to these domains and their subdomains. Example: `example.com`.

@OutputOnly

`repeated string domain_names = 4;`

| **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 domainNames. |

### getExpireTime()

    public abstract Timestamp getExpireTime()

The time when this certificate expires. To update the renewal time on this
certificate, upload an SSL certificate with a different expiration time
using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().

@OutputOnly

`.google.protobuf.Timestamp expire_time = 5;`

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

### getExpireTimeOrBuilder()

    public abstract TimestampOrBuilder getExpireTimeOrBuilder()

The time when this certificate expires. To update the renewal time on this
certificate, upload an SSL certificate with a different expiration time
using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().

@OutputOnly

`.google.protobuf.Timestamp expire_time = 5;`

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

### getId()

    public abstract String getId()

Relative name of the certificate. This is a unique value autogenerated
on `AuthorizedCertificate` resource creation. Example: `12345`.

@OutputOnly

`string id = 2;`

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

### getIdBytes()

    public abstract ByteString getIdBytes()

Relative name of the certificate. This is a unique value autogenerated
on `AuthorizedCertificate` resource creation. Example: `12345`.

@OutputOnly

`string id = 2;`

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

### getManagedCertificate()

    public abstract ManagedCertificate getManagedCertificate()

Only applicable if this certificate is managed by App Engine. Managed
certificates are tied to the lifecycle of a `DomainMapping` and cannot be
updated or deleted via the `AuthorizedCertificates` API. If this
certificate is manually administered by the user, this field will be empty.

@OutputOnly

`.google.appengine.v1.ManagedCertificate managed_certificate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/com.google.appengine.v1.ManagedCertificate` | The managedCertificate. |

### getManagedCertificateOrBuilder()

    public abstract ManagedCertificateOrBuilder getManagedCertificateOrBuilder()

Only applicable if this certificate is managed by App Engine. Managed
certificates are tied to the lifecycle of a `DomainMapping` and cannot be
updated or deleted via the `AuthorizedCertificates` API. If this
certificate is manually administered by the user, this field will be empty.

@OutputOnly

`.google.appengine.v1.ManagedCertificate managed_certificate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/com.google.appengine.v1.ManagedCertificateOrBuilder` |   |

### getName()

    public abstract String getName()

Full path to the `AuthorizedCertificate` resource in the API. Example:
`apps/myapp/authorizedCertificates/12345`.

@OutputOnly

`string name = 1;`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Full path to the `AuthorizedCertificate` resource in the API. Example:
`apps/myapp/authorizedCertificates/12345`.

@OutputOnly

`string name = 1;`

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

### getVisibleDomainMappings(int index)

    public abstract String getVisibleDomainMappings(int index)

The full paths to user visible Domain Mapping resources that have this
certificate mapped. Example: `apps/myapp/domainMappings/example.com`.

This may not represent the full list of mapped domain mappings if the user
does not have `VIEWER` permissions on all of the applications that have
this certificate mapped. See `domain_mappings_count` for a complete count.

Only returned by `GET` or `LIST` requests when specifically requested by
the `view=FULL_CERTIFICATE` option.

@OutputOnly

`repeated string visible_domain_mappings = 8;`

| **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 visibleDomainMappings at the given index. |

### getVisibleDomainMappingsBytes(int index)

    public abstract ByteString getVisibleDomainMappingsBytes(int index)

The full paths to user visible Domain Mapping resources that have this
certificate mapped. Example: `apps/myapp/domainMappings/example.com`.

This may not represent the full list of mapped domain mappings if the user
does not have `VIEWER` permissions on all of the applications that have
this certificate mapped. See `domain_mappings_count` for a complete count.

Only returned by `GET` or `LIST` requests when specifically requested by
the `view=FULL_CERTIFICATE` option.

@OutputOnly

`repeated string visible_domain_mappings = 8;`

| **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 visibleDomainMappings at the given index. |

### getVisibleDomainMappingsCount()

    public abstract int getVisibleDomainMappingsCount()

The full paths to user visible Domain Mapping resources that have this
certificate mapped. Example: `apps/myapp/domainMappings/example.com`.

This may not represent the full list of mapped domain mappings if the user
does not have `VIEWER` permissions on all of the applications that have
this certificate mapped. See `domain_mappings_count` for a complete count.

Only returned by `GET` or `LIST` requests when specifically requested by
the `view=FULL_CERTIFICATE` option.

@OutputOnly

`repeated string visible_domain_mappings = 8;`

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

### getVisibleDomainMappingsList()

    public abstract List<String> getVisibleDomainMappingsList()

The full paths to user visible Domain Mapping resources that have this
certificate mapped. Example: `apps/myapp/domainMappings/example.com`.

This may not represent the full list of mapped domain mappings if the user
does not have `VIEWER` permissions on all of the applications that have
this certificate mapped. See `domain_mappings_count` for a complete count.

Only returned by `GET` or `LIST` requests when specifically requested by
the `view=FULL_CERTIFICATE` option.

@OutputOnly

`repeated string visible_domain_mappings = 8;`

| **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 visibleDomainMappings. |

### hasCertificateRawData()

    public abstract boolean hasCertificateRawData()

The SSL certificate serving the `AuthorizedCertificate` resource. This
must be obtained independently from a certificate authority.

`.google.appengine.v1.CertificateRawData certificate_raw_data = 6;`

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

### hasExpireTime()

    public abstract boolean hasExpireTime()

The time when this certificate expires. To update the renewal time on this
certificate, upload an SSL certificate with a different expiration time
using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().

@OutputOnly

`.google.protobuf.Timestamp expire_time = 5;`

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

### hasManagedCertificate()

    public abstract boolean hasManagedCertificate()

Only applicable if this certificate is managed by App Engine. Managed
certificates are tied to the lifecycle of a `DomainMapping` and cannot be
updated or deleted via the `AuthorizedCertificates` API. If this
certificate is manually administered by the user, this field will be empty.

@OutputOnly

`.google.appengine.v1.ManagedCertificate managed_certificate = 7;`

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