Class CaPool.PublishingOptions (2.51.0)

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

ENCODING_FORMAT_FIELD_NUMBER

public static final int ENCODING_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

PUBLISH_CA_CERT_FIELD_NUMBER

public static final int PUBLISH_CA_CERT_FIELD_NUMBER
Field Value
Type Description
int

PUBLISH_CRL_FIELD_NUMBER

public static final int PUBLISH_CRL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CaPool.PublishingOptions getDefaultInstance()
Returns
Type Description
CaPool.PublishingOptions

getDescriptor()

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

newBuilder()

public static CaPool.PublishingOptions.Builder newBuilder()
Returns
Type Description
CaPool.PublishingOptions.Builder

newBuilder(CaPool.PublishingOptions prototype)

public static CaPool.PublishingOptions.Builder newBuilder(CaPool.PublishingOptions prototype)
Parameter
Name Description
prototype CaPool.PublishingOptions
Returns
Type Description
CaPool.PublishingOptions.Builder

parseDelimitedFrom(InputStream input)

public static CaPool.PublishingOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CaPool.PublishingOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CaPool.PublishingOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CaPool.PublishingOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CaPool.PublishingOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CaPool.PublishingOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.PublishingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CaPool.PublishingOptions> parser()
Returns
Type Description
Parser<PublishingOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<CaPool.PublishingOptions> getParserForType()
Returns
Type Description
Parser<PublishingOptions>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CaPool.PublishingOptions.Builder newBuilderForType()
Returns
Type Description
CaPool.PublishingOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CaPool.PublishingOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CaPool.PublishingOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CaPool.PublishingOptions.Builder toBuilder()
Returns
Type Description
CaPool.PublishingOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException