Class CaPool.PublishingOptions.Builder (2.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CaPool.PublishingOptions build()
Returns
TypeDescription
CaPool.PublishingOptions

buildPartial()

public CaPool.PublishingOptions buildPartial()
Returns
TypeDescription
CaPool.PublishingOptions

clear()

public CaPool.PublishingOptions.Builder clear()
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CaPool.PublishingOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CaPool.PublishingOptions.Builder clone()
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides

getDefaultInstanceForType()

public CaPool.PublishingOptions getDefaultInstanceForType()
Returns
TypeDescription
CaPool.PublishingOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

The publishCrl.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CaPool.PublishingOptions other)

public CaPool.PublishingOptions.Builder mergeFrom(CaPool.PublishingOptions other)
Parameter
NameDescription
otherCaPool.PublishingOptions
Returns
TypeDescription
CaPool.PublishingOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CaPool.PublishingOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.PublishingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The publishCaCert to set.

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

The publishCrl to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.PublishingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides