com.google.cloud.backupdr.v1.CustomerEncryptionKeyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-backupdr-v1 Show documentation
Show all versions of proto-google-cloud-backupdr-v1 Show documentation
Proto library for google-cloud-backupdr
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/backupdr/v1/backupvault_gce.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.backupdr.v1;
public interface CustomerEncryptionKeyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.backupdr.v1.CustomerEncryptionKey)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Specifies a 256-bit customer-supplied
* encryption key.
*
*
* string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the rawKey field is set.
*/
boolean hasRawKey();
/**
*
*
*
* Optional. Specifies a 256-bit customer-supplied
* encryption key.
*
*
* string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The rawKey.
*/
java.lang.String getRawKey();
/**
*
*
*
* Optional. Specifies a 256-bit customer-supplied
* encryption key.
*
*
* string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for rawKey.
*/
com.google.protobuf.ByteString getRawKeyBytes();
/**
*
*
*
* Optional. RSA-wrapped 2048-bit
* customer-supplied encryption key to either encrypt or decrypt this
* resource.
*
*
* string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the rsaEncryptedKey field is set.
*/
boolean hasRsaEncryptedKey();
/**
*
*
*
* Optional. RSA-wrapped 2048-bit
* customer-supplied encryption key to either encrypt or decrypt this
* resource.
*
*
* string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The rsaEncryptedKey.
*/
java.lang.String getRsaEncryptedKey();
/**
*
*
*
* Optional. RSA-wrapped 2048-bit
* customer-supplied encryption key to either encrypt or decrypt this
* resource.
*
*
* string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for rsaEncryptedKey.
*/
com.google.protobuf.ByteString getRsaEncryptedKeyBytes();
/**
*
*
*
* Optional. The name of the encryption key that is stored in Google Cloud
* KMS.
*
*
* string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the kmsKeyName field is set.
*/
boolean hasKmsKeyName();
/**
*
*
*
* Optional. The name of the encryption key that is stored in Google Cloud
* KMS.
*
*
* string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The kmsKeyName.
*/
java.lang.String getKmsKeyName();
/**
*
*
*
* Optional. The name of the encryption key that is stored in Google Cloud
* KMS.
*
*
* string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for kmsKeyName.
*/
com.google.protobuf.ByteString getKmsKeyNameBytes();
/**
*
*
*
* Optional. The service account being used for the encryption request for the
* given KMS key. If absent, the Compute Engine default service account is
* used.
*
*
* optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the kmsKeyServiceAccount field is set.
*/
boolean hasKmsKeyServiceAccount();
/**
*
*
*
* Optional. The service account being used for the encryption request for the
* given KMS key. If absent, the Compute Engine default service account is
* used.
*
*
* optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The kmsKeyServiceAccount.
*/
java.lang.String getKmsKeyServiceAccount();
/**
*
*
*
* Optional. The service account being used for the encryption request for the
* given KMS key. If absent, the Compute Engine default service account is
* used.
*
*
* optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The bytes for kmsKeyServiceAccount.
*/
com.google.protobuf.ByteString getKmsKeyServiceAccountBytes();
com.google.cloud.backupdr.v1.CustomerEncryptionKey.KeyCase getKeyCase();
}