Class CertificateAuthority.IssuingOptions.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.IssuingOptions build()
Returns
TypeDescription
CertificateAuthority.IssuingOptions

buildPartial()

public CertificateAuthority.IssuingOptions buildPartial()
Returns
TypeDescription
CertificateAuthority.IssuingOptions

clear()

public CertificateAuthority.IssuingOptions.Builder clear()
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.IssuingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides

clone()

public CertificateAuthority.IssuingOptions.Builder clone()
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides

getDefaultInstanceForType()

public CertificateAuthority.IssuingOptions getDefaultInstanceForType()
Returns
TypeDescription
CertificateAuthority.IssuingOptions

getDescriptorForType()

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

The includeCrlAccessUrl.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateAuthority.IssuingOptions other)

public CertificateAuthority.IssuingOptions.Builder mergeFrom(CertificateAuthority.IssuingOptions other)
Parameter
NameDescription
otherCertificateAuthority.IssuingOptions
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.IssuingOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.IssuingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The includeCaCertUrl to set.

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

The includeCrlAccessUrl to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.IssuingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateAuthority.IssuingOptions.Builder
Overrides