Class CaPool.PublishingOptions.Builder (2.85.0)

public static final class CaPool.PublishingOptions.Builder extends GeneratedMessage.Builder<CaPool.PublishingOptions.Builder> implements CaPool.PublishingOptionsOrBuilder

Options relating to the publication of each CertificateAuthority's CA certificate and CRLs and their inclusion as extensions in issued Certificates. The options set here apply to certificates issued by any CertificateAuthority in the CaPool.

Protobuf type google.cloud.security.privateca.v1.CaPool.PublishingOptions

Static Methods

getDescriptor()

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

Methods

build()

public CaPool.PublishingOptions build()
Returns
Type Description
CaPool.PublishingOptions

buildPartial()

public CaPool.PublishingOptions buildPartial()
Returns
Type Description
CaPool.PublishingOptions

clear()

public CaPool.PublishingOptions.Builder clear()
Returns
Type Description
CaPool.PublishingOptions.Builder
Overrides

clearEncodingFormat()

public CaPool.PublishingOptions.Builder clearEncodingFormat()

Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM.

.google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.

clearPublishCaCert()

public CaPool.PublishingOptions.Builder clearPublishCaCert()

Optional. When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates.

bool publish_ca_cert = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.

clearPublishCrl()

public CaPool.PublishingOptions.Builder clearPublishCrl()

Optional. When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.

bool publish_crl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public CaPool.PublishingOptions getDefaultInstanceForType()
Returns
Type Description
CaPool.PublishingOptions

getDescriptorForType()

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

getEncodingFormat()

public CaPool.PublishingOptions.EncodingFormat getEncodingFormat()

Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM.

.google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.PublishingOptions.EncodingFormat

The encodingFormat.

getEncodingFormatValue()

public int getEncodingFormatValue()

Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM.

.google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for encodingFormat.

getPublishCaCert()

public boolean getPublishCaCert()

Optional. When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates.

bool publish_ca_cert = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The publishCaCert.

getPublishCrl()

public boolean getPublishCrl()

Optional. When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.

bool publish_crl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The publishCrl.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CaPool.PublishingOptions other)

public CaPool.PublishingOptions.Builder mergeFrom(CaPool.PublishingOptions other)
Parameter
Name Description
other CaPool.PublishingOptions
Returns
Type Description
CaPool.PublishingOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CaPool.PublishingOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CaPool.PublishingOptions.Builder
Overrides

setEncodingFormat(CaPool.PublishingOptions.EncodingFormat value)

public CaPool.PublishingOptions.Builder setEncodingFormat(CaPool.PublishingOptions.EncodingFormat value)

Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM.

.google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CaPool.PublishingOptions.EncodingFormat

The encodingFormat to set.

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.

setEncodingFormatValue(int value)

public CaPool.PublishingOptions.Builder setEncodingFormatValue(int value)

Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM.

.google.cloud.security.privateca.v1.CaPool.PublishingOptions.EncodingFormat encoding_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.

setPublishCaCert(boolean value)

public CaPool.PublishingOptions.Builder setPublishCaCert(boolean value)

Optional. When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates.

bool publish_ca_cert = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The publishCaCert to set.

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.

setPublishCrl(boolean value)

public CaPool.PublishingOptions.Builder setPublishCrl(boolean value)

Optional. When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked.

bool publish_crl = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The publishCrl to set.

Returns
Type Description
CaPool.PublishingOptions.Builder

This builder for chaining.