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/gkemulticloud/v1/azure_resources.proto 18 19 package com.google.cloud.gkemulticloud.v1; 20 21 public interface AzureConfigEncryptionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureConfigEncryption) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config 31 * data. 32 * For example: 33 * `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>` 34 * </pre> 35 * 36 * <code>string key_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 37 * 38 * @return The keyId. 39 */ getKeyId()40 java.lang.String getKeyId(); 41 /** 42 * 43 * 44 * <pre> 45 * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config 46 * data. 47 * For example: 48 * `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>` 49 * </pre> 50 * 51 * <code>string key_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 52 * 53 * @return The bytes for keyId. 54 */ getKeyIdBytes()55 com.google.protobuf.ByteString getKeyIdBytes(); 56 57 /** 58 * 59 * 60 * <pre> 61 * Optional. RSA key of the Azure Key Vault public key to use for encrypting 62 * the data. 63 * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) 64 * in ASN.1 DER form. The string must be comprised of a single PEM block of 65 * type "PUBLIC KEY". 66 * </pre> 67 * 68 * <code>string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];</code> 69 * 70 * @return The publicKey. 71 */ getPublicKey()72 java.lang.String getPublicKey(); 73 /** 74 * 75 * 76 * <pre> 77 * Optional. RSA key of the Azure Key Vault public key to use for encrypting 78 * the data. 79 * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) 80 * in ASN.1 DER form. The string must be comprised of a single PEM block of 81 * type "PUBLIC KEY". 82 * </pre> 83 * 84 * <code>string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];</code> 85 * 86 * @return The bytes for publicKey. 87 */ getPublicKeyBytes()88 com.google.protobuf.ByteString getPublicKeyBytes(); 89 } 90