Class Certificate.ManagedCertificate (0.15.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.events.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
Type Description
int

DNS_AUTHORIZATIONS_FIELD_NUMBER

public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER
Field Value
Type Description
int

DOMAINS_FIELD_NUMBER

public static final int DOMAINS_FIELD_NUMBER
Field Value
Type Description
int

ISSUANCE_CONFIG_FIELD_NUMBER

public static final int ISSUANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PROVISIONING_ISSUE_FIELD_NUMBER

public static final int PROVISIONING_ISSUE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Certificate.ManagedCertificate getDefaultInstance()
Returns
Type Description
Certificate.ManagedCertificate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Certificate.ManagedCertificate.Builder newBuilder()
Returns
Type Description
Certificate.ManagedCertificate.Builder

newBuilder(Certificate.ManagedCertificate prototype)

public static Certificate.ManagedCertificate.Builder newBuilder(Certificate.ManagedCertificate prototype)
Parameter
Name Description
prototype Certificate.ManagedCertificate
Returns
Type Description
Certificate.ManagedCertificate.Builder

parseDelimitedFrom(InputStream input)

public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Certificate.ManagedCertificate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Certificate.ManagedCertificate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Certificate.ManagedCertificate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Certificate.ManagedCertificate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Certificate.ManagedCertificate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Certificate.ManagedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;

Parameter
Name Description
index int
Returns
Type Description
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.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;

Returns
Type Description
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.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;

Returns
Type Description
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.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;

Parameter
Name Description
index int
Returns
Type Description
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.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5;

Returns
Type Description
List<? extends com.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder>

getDefaultInstanceForType()

public Certificate.ManagedCertificate getDefaultInstanceForType()
Returns
Type Description
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;

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;

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;

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;

Returns
Type Description
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;

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;

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;

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;

Returns
Type Description
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;

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;

Returns
Type Description
ByteString

The bytes for issuanceConfig.

getParserForType()

public Parser<Certificate.ManagedCertificate> getParserForType()
Returns
Type Description
Parser<ManagedCertificate>
Overrides

getProvisioningIssue()

public 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
Certificate.ManagedCertificate.ProvisioningIssue

The provisioningIssue.

getProvisioningIssueOrBuilder()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public 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
Certificate.ManagedCertificate.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the managed certificate resource.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasProvisioningIssue()

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

Whether the provisioningIssue field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Certificate.ManagedCertificate.Builder newBuilderForType()
Returns
Type Description
Certificate.ManagedCertificate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Certificate.ManagedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Certificate.ManagedCertificate.Builder toBuilder()
Returns
Type Description
Certificate.ManagedCertificate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException