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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaPool.PublishingOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CaPool.PublishingOptions build()
buildPartial()
public CaPool.PublishingOptions buildPartial()
clear()
public CaPool.PublishingOptions.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public CaPool.PublishingOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CaPool.PublishingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public CaPool.PublishingOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public CaPool.PublishingOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CaPool.PublishingOptions other)
public CaPool.PublishingOptions.Builder mergeFrom(CaPool.PublishingOptions other)
public CaPool.PublishingOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CaPool.PublishingOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.PublishingOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CaPool.PublishingOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaPool.PublishingOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.PublishingOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides