Class CertificateAuthority.IssuingOptions.Builder (2.54.0)

public static final class CertificateAuthority.IssuingOptions.Builder extends GeneratedMessageV3.Builder<CertificateAuthority.IssuingOptions.Builder> implements CertificateAuthority.IssuingOptionsOrBuilder

Options that affect all certificates issued by a CertificateAuthority.

Protobuf type google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.IssuingOptions build()
Returns
Type Description
CertificateAuthority.IssuingOptions

buildPartial()

public CertificateAuthority.IssuingOptions buildPartial()
Returns
Type Description
CertificateAuthority.IssuingOptions

clear()

public CertificateAuthority.IssuingOptions.Builder clear()
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.IssuingOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides

clearIncludeCaCertUrl()

public CertificateAuthority.IssuingOptions.Builder clearIncludeCaCertUrl()

Required. When true, includes a URL to the issuing CA certificate in the "authority information access" X.509 extension.

bool include_ca_cert_url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateAuthority.IssuingOptions.Builder

This builder for chaining.

clearIncludeCrlAccessUrl()

public CertificateAuthority.IssuingOptions.Builder clearIncludeCrlAccessUrl()

Required. When true, includes a URL to the CRL corresponding to certificates issued from a CertificateAuthority. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.

bool include_crl_access_url = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateAuthority.IssuingOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.IssuingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides

clone()

public CertificateAuthority.IssuingOptions.Builder clone()
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides

getDefaultInstanceForType()

public CertificateAuthority.IssuingOptions getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.IssuingOptions

getDescriptorForType()

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

getIncludeCaCertUrl()

public boolean getIncludeCaCertUrl()

Required. When true, includes a URL to the issuing CA certificate in the "authority information access" X.509 extension.

bool include_ca_cert_url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The includeCaCertUrl.

getIncludeCrlAccessUrl()

public boolean getIncludeCrlAccessUrl()

Required. When true, includes a URL to the CRL corresponding to certificates issued from a CertificateAuthority. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.

bool include_crl_access_url = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The includeCrlAccessUrl.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateAuthority.IssuingOptions other)

public CertificateAuthority.IssuingOptions.Builder mergeFrom(CertificateAuthority.IssuingOptions other)
Parameter
Name Description
other CertificateAuthority.IssuingOptions
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.IssuingOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.IssuingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeCaCertUrl(boolean value)

public CertificateAuthority.IssuingOptions.Builder setIncludeCaCertUrl(boolean value)

Required. When true, includes a URL to the issuing CA certificate in the "authority information access" X.509 extension.

bool include_ca_cert_url = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The includeCaCertUrl to set.

Returns
Type Description
CertificateAuthority.IssuingOptions.Builder

This builder for chaining.

setIncludeCrlAccessUrl(boolean value)

public CertificateAuthority.IssuingOptions.Builder setIncludeCrlAccessUrl(boolean value)

Required. When true, includes a URL to the CRL corresponding to certificates issued from a CertificateAuthority. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.

bool include_crl_access_url = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The includeCrlAccessUrl to set.

Returns
Type Description
CertificateAuthority.IssuingOptions.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.IssuingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.IssuingOptions.Builder
Overrides