1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/privacy/dlp/v2/dlp.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface KmsWrappedCryptoKeyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.KmsWrappedCryptoKey) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The wrapped data crypto key. 31 * </pre> 32 * 33 * <code>bytes wrapped_key = 1 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return The wrappedKey. 36 */ getWrappedKey()37 com.google.protobuf.ByteString getWrappedKey(); 38 39 /** 40 * 41 * 42 * <pre> 43 * Required. The resource name of the KMS CryptoKey to use for unwrapping. 44 * </pre> 45 * 46 * <code>string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];</code> 47 * 48 * @return The cryptoKeyName. 49 */ getCryptoKeyName()50 java.lang.String getCryptoKeyName(); 51 /** 52 * 53 * 54 * <pre> 55 * Required. The resource name of the KMS CryptoKey to use for unwrapping. 56 * </pre> 57 * 58 * <code>string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];</code> 59 * 60 * @return The bytes for cryptoKeyName. 61 */ getCryptoKeyNameBytes()62 com.google.protobuf.ByteString getCryptoKeyNameBytes(); 63 } 64