Class Certificate.ManagedCertificate.Builder (0.58.0)

public static final class Certificate.ManagedCertificate.Builder extends GeneratedMessageV3.Builder<Certificate.ManagedCertificate.Builder> 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 Methods

getDescriptor()

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

Methods

addAllAuthorizationAttemptInfo(Iterable<? extends Certificate.ManagedCertificate.AuthorizationAttemptInfo> values)

public Certificate.ManagedCertificate.Builder addAllAuthorizationAttemptInfo(Iterable<? extends Certificate.ManagedCertificate.AuthorizationAttemptInfo> values)

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
Name Description
values Iterable<? extends com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo>
Returns
Type Description
Certificate.ManagedCertificate.Builder

addAllDnsAuthorizations(Iterable<String> values)

public Certificate.ManagedCertificate.Builder addAllDnsAuthorizations(Iterable<String> values)

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
values Iterable<String>

The dnsAuthorizations to add.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

addAllDomains(Iterable<String> values)

public Certificate.ManagedCertificate.Builder addAllDomains(Iterable<String> values)

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
values Iterable<String>

The domains to add.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

addAuthorizationAttemptInfo(Certificate.ManagedCertificate.AuthorizationAttemptInfo value)

public Certificate.ManagedCertificate.Builder addAuthorizationAttemptInfo(Certificate.ManagedCertificate.AuthorizationAttemptInfo value)

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
Name Description
value Certificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
Type Description
Certificate.ManagedCertificate.Builder

addAuthorizationAttemptInfo(Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue)

public Certificate.ManagedCertificate.Builder addAuthorizationAttemptInfo(Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue)

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
Name Description
builderForValue Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Returns
Type Description
Certificate.ManagedCertificate.Builder

addAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo value)

public Certificate.ManagedCertificate.Builder addAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo value)

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];

Parameters
Name Description
index int
value Certificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
Type Description
Certificate.ManagedCertificate.Builder

addAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue)

public Certificate.ManagedCertificate.Builder addAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Returns
Type Description
Certificate.ManagedCertificate.Builder

addAuthorizationAttemptInfoBuilder()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addAuthorizationAttemptInfoBuilder()

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
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

addAuthorizationAttemptInfoBuilder(int index)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addAuthorizationAttemptInfoBuilder(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
Name Description
index int
Returns
Type Description
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

addDnsAuthorizations(String value)

public Certificate.ManagedCertificate.Builder addDnsAuthorizations(String value)

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
value String

The dnsAuthorizations to add.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

addDnsAuthorizationsBytes(ByteString value)

public Certificate.ManagedCertificate.Builder addDnsAuthorizationsBytes(ByteString value)

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

The bytes of the dnsAuthorizations to add.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

addDomains(String value)

public Certificate.ManagedCertificate.Builder addDomains(String value)

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
value String

The domains to add.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

addDomainsBytes(ByteString value)

public Certificate.ManagedCertificate.Builder addDomainsBytes(ByteString value)

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

The bytes of the domains to add.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certificate.ManagedCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

build()

public Certificate.ManagedCertificate build()
Returns
Type Description
Certificate.ManagedCertificate

buildPartial()

public Certificate.ManagedCertificate buildPartial()
Returns
Type Description
Certificate.ManagedCertificate

clear()

public Certificate.ManagedCertificate.Builder clear()
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

clearAuthorizationAttemptInfo()

public Certificate.ManagedCertificate.Builder clearAuthorizationAttemptInfo()

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
Certificate.ManagedCertificate.Builder

clearDnsAuthorizations()

public Certificate.ManagedCertificate.Builder clearDnsAuthorizations()

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
Certificate.ManagedCertificate.Builder

This builder for chaining.

clearDomains()

public Certificate.ManagedCertificate.Builder clearDomains()

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
Certificate.ManagedCertificate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Certificate.ManagedCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

clearIssuanceConfig()

public Certificate.ManagedCertificate.Builder clearIssuanceConfig()

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
Certificate.ManagedCertificate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Certificate.ManagedCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

clearProvisioningIssue()

public Certificate.ManagedCertificate.Builder clearProvisioningIssue()

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
Certificate.ManagedCertificate.Builder

clearState()

public Certificate.ManagedCertificate.Builder clearState()

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
Certificate.ManagedCertificate.Builder

This builder for chaining.

clone()

public Certificate.ManagedCertificate.Builder clone()
Returns
Type Description
Certificate.ManagedCertificate.Builder
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
Name Description
index int
Returns
Type Description
Certificate.ManagedCertificate.AuthorizationAttemptInfo

getAuthorizationAttemptInfoBuilder(int index)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder getAuthorizationAttemptInfoBuilder(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
Name Description
index int
Returns
Type Description
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

getAuthorizationAttemptInfoBuilderList()

public List<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder> getAuthorizationAttemptInfoBuilderList()

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<Builder>

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
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.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.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
Type Description
Certificate.ManagedCertificate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
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 [(.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
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 [(.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.

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

The provisioningIssue.

getProvisioningIssueBuilder()

public Certificate.ManagedCertificate.ProvisioningIssue.Builder getProvisioningIssueBuilder()

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

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

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
Type Description
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
Type Description
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
Type Description
boolean

Whether the provisioningIssue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Certificate.ManagedCertificate other)

public Certificate.ManagedCertificate.Builder mergeFrom(Certificate.ManagedCertificate other)
Parameter
Name Description
other Certificate.ManagedCertificate
Returns
Type Description
Certificate.ManagedCertificate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certificate.ManagedCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Certificate.ManagedCertificate.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

mergeProvisioningIssue(Certificate.ManagedCertificate.ProvisioningIssue value)

public Certificate.ManagedCertificate.Builder mergeProvisioningIssue(Certificate.ManagedCertificate.ProvisioningIssue value)

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];

Parameter
Name Description
value Certificate.ManagedCertificate.ProvisioningIssue
Returns
Type Description
Certificate.ManagedCertificate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.ManagedCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

removeAuthorizationAttemptInfo(int index)

public Certificate.ManagedCertificate.Builder removeAuthorizationAttemptInfo(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
Name Description
index int
Returns
Type Description
Certificate.ManagedCertificate.Builder

setAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo value)

public Certificate.ManagedCertificate.Builder setAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo value)

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];

Parameters
Name Description
index int
value Certificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
Type Description
Certificate.ManagedCertificate.Builder

setAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue)

public Certificate.ManagedCertificate.Builder setAuthorizationAttemptInfo(int index, Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Returns
Type Description
Certificate.ManagedCertificate.Builder

setDnsAuthorizations(int index, String value)

public Certificate.ManagedCertificate.Builder setDnsAuthorizations(int index, String value)

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

repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The dnsAuthorizations to set.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

setDomains(int index, String value)

public Certificate.ManagedCertificate.Builder setDomains(int index, String value)

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];

Parameters
Name Description
index int

The index to set the value at.

value String

The domains to set.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Certificate.ManagedCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

setIssuanceConfig(String value)

public Certificate.ManagedCertificate.Builder setIssuanceConfig(String value)

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) = { ... }

Parameter
Name Description
value String

The issuanceConfig to set.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

setIssuanceConfigBytes(ByteString value)

public Certificate.ManagedCertificate.Builder setIssuanceConfigBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for issuanceConfig to set.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

setProvisioningIssue(Certificate.ManagedCertificate.ProvisioningIssue value)

public Certificate.ManagedCertificate.Builder setProvisioningIssue(Certificate.ManagedCertificate.ProvisioningIssue value)

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];

Parameter
Name Description
value Certificate.ManagedCertificate.ProvisioningIssue
Returns
Type Description
Certificate.ManagedCertificate.Builder

setProvisioningIssue(Certificate.ManagedCertificate.ProvisioningIssue.Builder builderForValue)

public Certificate.ManagedCertificate.Builder setProvisioningIssue(Certificate.ManagedCertificate.ProvisioningIssue.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Certificate.ManagedCertificate.ProvisioningIssue.Builder
Returns
Type Description
Certificate.ManagedCertificate.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Certificate.ManagedCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides

setState(Certificate.ManagedCertificate.State value)

public Certificate.ManagedCertificate.Builder setState(Certificate.ManagedCertificate.State value)

Output only. State of the managed certificate resource.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Certificate.ManagedCertificate.State

The state to set.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

setStateValue(int value)

public Certificate.ManagedCertificate.Builder setStateValue(int value)

Output only. State of the managed certificate resource.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Certificate.ManagedCertificate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.ManagedCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Certificate.ManagedCertificate.Builder
Overrides