Class CaPool.PublishingOptions (2.35.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

PUBLISH_CA_CERT_FIELD_NUMBER

public static final int PUBLISH_CA_CERT_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLISH_CRL_FIELD_NUMBER

public static final int PUBLISH_CRL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CaPool.PublishingOptions getDefaultInstance()
Returns
TypeDescription
CaPool.PublishingOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CaPool.PublishingOptions.Builder newBuilder()
Returns
TypeDescription
CaPool.PublishingOptions.Builder

newBuilder(CaPool.PublishingOptions prototype)

public static CaPool.PublishingOptions.Builder newBuilder(CaPool.PublishingOptions prototype)
Parameter
NameDescription
prototypeCaPool.PublishingOptions
Returns
TypeDescription
CaPool.PublishingOptions.Builder

parseDelimitedFrom(InputStream input)

public static CaPool.PublishingOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CaPool.PublishingOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CaPool.PublishingOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CaPool.PublishingOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CaPool.PublishingOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CaPool.PublishingOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CaPool.PublishingOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.PublishingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CaPool.PublishingOptions.Builder newBuilderForType()
Returns
TypeDescription
CaPool.PublishingOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CaPool.PublishingOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CaPool.PublishingOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CaPool.PublishingOptions.Builder toBuilder()
Returns
TypeDescription
CaPool.PublishingOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException