Class Certificate.ManagedCertificate.Builder (0.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The dnsAuthorizations to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The domains to add.

Returns
TypeDescription
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
NameDescription
valueCertificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
TypeDescription
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
NameDescription
builderForValueCertificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCertificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCertificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The dnsAuthorizations to add.

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

The bytes of the dnsAuthorizations to add.

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

The domains to add.

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

The bytes of the domains to add.

Returns
TypeDescription
Certificate.ManagedCertificate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certificate.ManagedCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Certificate.ManagedCertificate.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Certificate.ManagedCertificate.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Certificate.ManagedCertificate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Certificate.ManagedCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Certificate.ManagedCertificate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Certificate.ManagedCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Certificate.ManagedCertificate.Builder

This builder for chaining.

clone()

public Certificate.ManagedCertificate.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Certificate.ManagedCertificate other)

public Certificate.ManagedCertificate.Builder mergeFrom(Certificate.ManagedCertificate other)
Parameter
NameDescription
otherCertificate.ManagedCertificate
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certificate.ManagedCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Certificate.ManagedCertificate.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueCertificate.ManagedCertificate.ProvisioningIssue
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.ManagedCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCertificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCertificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The dnsAuthorizations to set.

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

The index to set the value at.

valueString

The domains to set.

Returns
TypeDescription
Certificate.ManagedCertificate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Certificate.ManagedCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The issuanceConfig to set.

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

The bytes for issuanceConfig to set.

Returns
TypeDescription
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
NameDescription
valueCertificate.ManagedCertificate.ProvisioningIssue
Returns
TypeDescription
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
NameDescription
builderForValueCertificate.ManagedCertificate.ProvisioningIssue.Builder
Returns
TypeDescription
Certificate.ManagedCertificate.Builder

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

public Certificate.ManagedCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueCertificate.ManagedCertificate.State

The state to set.

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

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

Returns
TypeDescription
Certificate.ManagedCertificate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.ManagedCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certificate.ManagedCertificate.Builder
Overrides