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

public static final class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides