Class Certificate.ManagedCertificate (0.44.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Certificate.ManagedCertificate

Static Fields

AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER

public static final int AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

DNS_AUTHORIZATIONS_FIELD_NUMBER

public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DOMAINS_FIELD_NUMBER

public static final int DOMAINS_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUANCE_CONFIG_FIELD_NUMBER

public static final int ISSUANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

PROVISIONING_ISSUE_FIELD_NUMBER

public static final int PROVISIONING_ISSUE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Certificate.ManagedCertificate getDefaultInstance()
Returns
TypeDescription
Certificate.ManagedCertificate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Certificate.ManagedCertificate.Builder newBuilder()
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

newBuilder(Certificate.ManagedCertificate prototype)

public static Certificate.ManagedCertificate.Builder newBuilder(Certificate.ManagedCertificate prototype)
Parameter
NameDescription
prototypeCertificate.ManagedCertificate
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

parseDelimitedFrom(InputStream input)

public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Certificate.ManagedCertificate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Certificate.ManagedCertificate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Certificate.ManagedCertificate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Certificate.ManagedCertificate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Certificate.ManagedCertificate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Certificate.ManagedCertificate> parser()
Returns
TypeDescription
Parser<ManagedCertificate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
NameDescription
indexint
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo

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
TypeDescription
int

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
TypeDescription
List<AuthorizationAttemptInfo>

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
NameDescription
indexint
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder

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
TypeDescription
List<? extends com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder>

getDefaultInstanceForType()

public Certificate.ManagedCertificate getDefaultInstanceForType()
Returns
TypeDescription
Certificate.ManagedCertificate

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the dnsAuthorizations.

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the domains.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for issuanceConfig.

getParserForType()

public Parser<Certificate.ManagedCertificate> getParserForType()
Returns
TypeDescription
Parser<ManagedCertificate>
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
TypeDescription
Certificate.ManagedCertificate.ProvisioningIssue

The provisioningIssue.

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
TypeDescription
Certificate.ManagedCertificate.ProvisioningIssueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
Certificate.ManagedCertificate.State

The state.

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
TypeDescription
int

The enum numeric value on the wire for state.

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
TypeDescription
boolean

Whether the provisioningIssue field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Certificate.ManagedCertificate.Builder newBuilderForType()
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Certificate.ManagedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Certificate.ManagedCertificate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Certificate.ManagedCertificate.Builder toBuilder()
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException