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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType build()
Returns
buildPartial()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType buildPartial()
Returns
clear()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType other)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType other)
Parameter
Returns
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides