Class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder (2.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

build()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType build()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

buildPartial()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType buildPartial()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The minModulusSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType other)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType other)
Parameter
NameDescription
otherCaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The maxModulusSize to set.

Returns
TypeDescription
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
NameDescription
valuelong

The minModulusSize to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides