Class AlloyDbSettings.EncryptionConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.EncryptionConfig.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.GeneratedMessageV3.Builder<AlloyDbSettings.EncryptionConfig.Builder>
      • getDefaultInstanceForType

        public AlloyDbSettings.EncryptionConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AlloyDbSettings.EncryptionConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AlloyDbSettings.EncryptionConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.EncryptionConfig.Builder>
      • getKmsKeyName

        public String getKmsKeyName()
         The fully-qualified resource name of the KMS key.
         Each Cloud KMS key is regionalized and has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string kms_key_name = 1;
        Specified by:
        getKmsKeyName in interface AlloyDbSettings.EncryptionConfigOrBuilder
        Returns:
        The kmsKeyName.
      • getKmsKeyNameBytes

        public com.google.protobuf.ByteString getKmsKeyNameBytes()
         The fully-qualified resource name of the KMS key.
         Each Cloud KMS key is regionalized and has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string kms_key_name = 1;
        Specified by:
        getKmsKeyNameBytes in interface AlloyDbSettings.EncryptionConfigOrBuilder
        Returns:
        The bytes for kmsKeyName.
      • setKmsKeyName

        public AlloyDbSettings.EncryptionConfig.Builder setKmsKeyName​(String value)
         The fully-qualified resource name of the KMS key.
         Each Cloud KMS key is regionalized and has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string kms_key_name = 1;
        Parameters:
        value - The kmsKeyName to set.
        Returns:
        This builder for chaining.
      • clearKmsKeyName

        public AlloyDbSettings.EncryptionConfig.Builder clearKmsKeyName()
         The fully-qualified resource name of the KMS key.
         Each Cloud KMS key is regionalized and has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string kms_key_name = 1;
        Returns:
        This builder for chaining.
      • setKmsKeyNameBytes

        public AlloyDbSettings.EncryptionConfig.Builder setKmsKeyNameBytes​(com.google.protobuf.ByteString value)
         The fully-qualified resource name of the KMS key.
         Each Cloud KMS key is regionalized and has the following format:
         projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
         
        string kms_key_name = 1;
        Parameters:
        value - The bytes for kmsKeyName to set.
        Returns:
        This builder for chaining.