# Interface Certificate.ManagedCertificateOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder)

    public static interface Certificate.ManagedCertificateOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAuthorizationAttemptInfo(int index)

    public abstract Certificate.ManagedCertificate.AuthorizationAttemptInfo getAuthorizationAttemptInfo(int index)

Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.

`
repeated .google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;
`

| **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-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo` |   |

### getAuthorizationAttemptInfoCount()

    public abstract int getAuthorizationAttemptInfoCount()

Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.

`
repeated .google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;
`

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

### getAuthorizationAttemptInfoList()

    public abstract List<Certificate.ManagedCertificate.AuthorizationAttemptInfo> getAuthorizationAttemptInfoList()

Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.

`
repeated .google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo>` |   |

### getAuthorizationAttemptInfoOrBuilder(int index)

    public abstract Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder getAuthorizationAttemptInfoOrBuilder(int index)

Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.

`
repeated .google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;
`

| **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-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder` |   |

### getAuthorizationAttemptInfoOrBuilderList()

    public abstract List<? extends Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder> getAuthorizationAttemptInfoOrBuilderList()

Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.

`
repeated .google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder>` |   |

### getDnsAuthorizations(int index)

    public abstract String getDnsAuthorizations(int index)

Immutable. Authorizations that will be used for performing domain
authorization.

`repeated string dns_authorizations = 2;`

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

### getDnsAuthorizationsBytes(int index)

    public abstract ByteString getDnsAuthorizationsBytes(int index)

Immutable. Authorizations that will be used for performing domain
authorization.

`repeated string dns_authorizations = 2;`

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

### getDnsAuthorizationsCount()

    public abstract int getDnsAuthorizationsCount()

Immutable. Authorizations that will be used for performing domain
authorization.

`repeated string dns_authorizations = 2;`

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

### getDnsAuthorizationsList()

    public abstract List<String> getDnsAuthorizationsList()

Immutable. Authorizations that will be used for performing domain
authorization.

`repeated string dns_authorizations = 2;`

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

### getDomains(int index)

    public abstract String getDomains(int index)

Immutable. The domains for which a managed SSL certificate will be
generated. Wildcard domains are only supported with DNS challenge
resolution.

`repeated string domains = 1;`

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

### getDomainsBytes(int index)

    public abstract ByteString getDomainsBytes(int index)

Immutable. The domains for which a managed SSL certificate will be
generated. Wildcard domains are only supported with DNS challenge
resolution.

`repeated string domains = 1;`

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

### getDomainsCount()

    public abstract int getDomainsCount()

Immutable. The domains for which a managed SSL certificate will be
generated. Wildcard domains are only supported with DNS challenge
resolution.

`repeated string domains = 1;`

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

### getDomainsList()

    public abstract List<String> getDomainsList()

Immutable. The domains for which a managed SSL certificate will be
generated. Wildcard domains are only supported with DNS challenge
resolution.

`repeated string domains = 1;`

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

### getIssuanceConfig()

    public abstract String getIssuanceConfig()

Immutable. The resource name for a
CertificateIssuanceConfig
used to configure private PKI certificates in the format
`projects/*/locations/*/certificateIssuanceConfigs/*`.
If this field is not set, the certificates will instead be publicly
signed as documented at
<https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa>.

`string issuance_config = 6;`

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

### getIssuanceConfigBytes()

    public abstract ByteString getIssuanceConfigBytes()

Immutable. The resource name for a
CertificateIssuanceConfig
used to configure private PKI certificates in the format
`projects/*/locations/*/certificateIssuanceConfigs/*`.
If this field is not set, the certificates will instead be publicly
signed as documented at
<https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa>.

`string issuance_config = 6;`

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

### getProvisioningIssue()

    public abstract Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue()

Output only. Information about issues with provisioning a Managed
Certificate.

`
.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue` | The provisioningIssue. |

### getProvisioningIssueOrBuilder()

    public abstract Certificate.ManagedCertificate.ProvisioningIssueOrBuilder getProvisioningIssueOrBuilder()

Output only. Information about issues with provisioning a Managed
Certificate.

`
.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder` |   |

### getState()

    public abstract Certificate.ManagedCertificate.State getState()

Output only. State of the managed certificate resource.

`
.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. State of the managed certificate resource.

`
.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4;
`

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

### hasProvisioningIssue()

    public abstract boolean hasProvisioningIssue()

Output only. Information about issues with provisioning a Managed
Certificate.

`
.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3;
`

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