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 TransientCryptoKeyOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransientCryptoKey) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Name of the key. 31 * This is an arbitrary string used to differentiate different keys. 32 * A unique key is generated per name: two separate `TransientCryptoKey` 33 * protos share the same generated key if their names are the same. 34 * When the data crypto key is generated, this name is not used in any way 35 * (repeating the api call will result in a different key being generated). 36 * </pre> 37 * 38 * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> 39 * 40 * @return The name. 41 */ getName()42 java.lang.String getName(); 43 /** 44 * 45 * 46 * <pre> 47 * Required. Name of the key. 48 * This is an arbitrary string used to differentiate different keys. 49 * A unique key is generated per name: two separate `TransientCryptoKey` 50 * protos share the same generated key if their names are the same. 51 * When the data crypto key is generated, this name is not used in any way 52 * (repeating the api call will result in a different key being generated). 53 * </pre> 54 * 55 * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> 56 * 57 * @return The bytes for name. 58 */ getNameBytes()59 com.google.protobuf.ByteString getNameBytes(); 60 } 61