Class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
com.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
All Implemented Interfaces:
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

public static final class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder extends com.google.protobuf.GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder> implements CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder
 Describes an RSA key that may be used in a
 [Certificate][google.cloud.security.privateca.v1.Certificate] issued
 from a [CaPool][google.cloud.security.privateca.v1.CaPool].
 
Protobuf type google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
    • getDefaultInstanceForType

      public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
    • mergeFrom

      public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getMinModulusSize in interface CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder
      Returns:
      The minModulusSize.
    • setMinModulusSize

      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];
      Parameters:
      value - The minModulusSize to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getMaxModulusSize in interface CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder
      Returns:
      The maxModulusSize.
    • setMaxModulusSize

      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];
      Parameters:
      value - The maxModulusSize to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.