Class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder (2.85.0)

public static final class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder extends GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder> implements CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder

Describes an RSA key that may be used in a Certificate issued from a CaPool.

Protobuf type google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

Static Methods

getDescriptor()

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

Methods

build()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType build()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

buildPartial()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType buildPartial()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

clear()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clear()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

clearMaxModulusSize()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearMaxModulusSize()

Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes.

int64 max_modulus_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

This builder for chaining.

clearMinModulusSize()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearMinModulusSize()

Optional. The minimum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service-level min RSA modulus size will continue to apply.

int64 min_modulus_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

This builder for chaining.

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaxModulusSize()

public long getMaxModulusSize()

Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes.

int64 max_modulus_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The maxModulusSize.

getMinModulusSize()

public long getMinModulusSize()

Optional. The minimum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service-level min RSA modulus size will continue to apply.

int64 min_modulus_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The minModulusSize.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType other)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType other)
Parameter
Name Description
other CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

setMaxModulusSize(long value)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setMaxModulusSize(long value)

Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes.

int64 max_modulus_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The maxModulusSize to set.

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

This builder for chaining.

setMinModulusSize(long value)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setMinModulusSize(long value)

Optional. The minimum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service-level min RSA modulus size will continue to apply.

int64 min_modulus_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The minModulusSize to set.

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

This builder for chaining.