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/cloud/kms/v1/service.proto 18 19 package com.google.cloud.kms.v1; 20 21 public interface LocationMetadataOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.LocationMetadata) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with 31 * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] 32 * [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created in this 33 * location. 34 * </pre> 35 * 36 * <code>bool hsm_available = 1;</code> 37 * 38 * @return The hsmAvailable. 39 */ getHsmAvailable()40 boolean getHsmAvailable(); 41 42 /** 43 * 44 * 45 * <pre> 46 * Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey] with 47 * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] 48 * [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] can be created in 49 * this location. 50 * </pre> 51 * 52 * <code>bool ekm_available = 2;</code> 53 * 54 * @return The ekmAvailable. 55 */ getEkmAvailable()56 boolean getEkmAvailable(); 57 } 58