public static final class Certificate.ManagedCertificate extends GeneratedMessageV3 implements Certificate.ManagedCertificateOrBuilder
Configuration and state of a Managed Certificate.
Certificate Manager provisions and renews Managed Certificates
automatically, for as long as it's authorized to do so.
Protobuf type google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
Static Fields
AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER
public static final int AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER
Field Value
DNS_AUTHORIZATIONS_FIELD_NUMBER
public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER
Field Value
DOMAINS_FIELD_NUMBER
public static final int DOMAINS_FIELD_NUMBER
Field Value
ISSUANCE_CONFIG_FIELD_NUMBER
public static final int ISSUANCE_CONFIG_FIELD_NUMBER
Field Value
PROVISIONING_ISSUE_FIELD_NUMBER
public static final int PROVISIONING_ISSUE_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Certificate.ManagedCertificate getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Certificate.ManagedCertificate.Builder newBuilder()
Returns
newBuilder(Certificate.ManagedCertificate prototype)
public static Certificate.ManagedCertificate.Builder newBuilder(Certificate.ManagedCertificate prototype)
Parameter
Returns
public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Certificate.ManagedCertificate parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Certificate.ManagedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Certificate.ManagedCertificate parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Certificate.ManagedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Certificate.ManagedCertificate parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Certificate.ManagedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Certificate.ManagedCertificate parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Certificate.ManagedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Certificate.ManagedCertificate parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Certificate.ManagedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Certificate.ManagedCertificate> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAuthorizationAttemptInfo(int index)
public 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.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getAuthorizationAttemptInfoCount()
public int getAuthorizationAttemptInfoCount()
Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.
repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getAuthorizationAttemptInfoList()
public List<Certificate.ManagedCertificate.AuthorizationAttemptInfo> getAuthorizationAttemptInfoList()
Output only. Detailed state of the latest authorization attempt for each
domain specified for managed certificate resource.
repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getAuthorizationAttemptInfoOrBuilder(int index)
public 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.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getAuthorizationAttemptInfoOrBuilderList()
public 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.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
List<? extends com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder> | |
getDefaultInstanceForType()
public Certificate.ManagedCertificate getDefaultInstanceForType()
Returns
getDnsAuthorizations(int index)
public String getDnsAuthorizations(int index)
Immutable. Authorizations that will be used for performing domain
authorization.
repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The dnsAuthorizations at the given index.
|
getDnsAuthorizationsBytes(int index)
public ByteString getDnsAuthorizationsBytes(int index)
Immutable. Authorizations that will be used for performing domain
authorization.
repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the dnsAuthorizations at the given index.
|
getDnsAuthorizationsCount()
public int getDnsAuthorizationsCount()
Immutable. Authorizations that will be used for performing domain
authorization.
repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
int | The count of dnsAuthorizations.
|
getDnsAuthorizationsList()
public ProtocolStringList getDnsAuthorizationsList()
Immutable. Authorizations that will be used for performing domain
authorization.
repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
getDomains(int index)
public 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 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The domains at the given index.
|
getDomainsBytes(int index)
public 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 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the domains at the given index.
|
getDomainsCount()
public 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 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
int | The count of domains.
|
getDomainsList()
public ProtocolStringList 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 [(.google.api.field_behavior) = IMMUTABLE];
Returns
getIssuanceConfig()
public 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 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The issuanceConfig.
|
getIssuanceConfigBytes()
public 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 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for issuanceConfig.
|
getParserForType()
public Parser<Certificate.ManagedCertificate> getParserForType()
Returns
Overrides
getProvisioningIssue()
public Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue()
Output only. Information about issues with provisioning a Managed
Certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getProvisioningIssueOrBuilder()
public Certificate.ManagedCertificate.ProvisioningIssueOrBuilder getProvisioningIssueOrBuilder()
Output only. Information about issues with provisioning a Managed
Certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public Certificate.ManagedCertificate.State getState()
Output only. State of the managed certificate resource.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStateValue()
public int getStateValue()
Output only. State of the managed certificate resource.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasProvisioningIssue()
public boolean hasProvisioningIssue()
Output only. Information about issues with provisioning a Managed
Certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the provisioningIssue field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Certificate.ManagedCertificate.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Certificate.ManagedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Certificate.ManagedCertificate.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions