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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaPool.PublishingOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CaPool.PublishingOptions build()
Returns
buildPartial()
public CaPool.PublishingOptions buildPartial()
Returns
clear()
public CaPool.PublishingOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CaPool.PublishingOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CaPool.PublishingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public CaPool.PublishingOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CaPool.PublishingOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CaPool.PublishingOptions other)
public CaPool.PublishingOptions.Builder mergeFrom(CaPool.PublishingOptions other)
Parameter
Returns
public CaPool.PublishingOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CaPool.PublishingOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.PublishingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CaPool.PublishingOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaPool.PublishingOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.PublishingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides