Class CaPool.PublishingOptions.Builder (2.44.0)

public static final class CaPool.PublishingOptions.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

public CaPool.PublishingOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CaPool.PublishingOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CaPool.PublishingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CaPool.PublishingOptions.Builder
Overrides

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.PublishingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.PublishingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.PublishingOptions.Builder
Overrides