• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/resources.proto
18 
19 package com.google.cloud.kms.v1;
20 
21 public interface ExternalProtectionLevelOptionsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.ExternalProtectionLevelOptions)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The URI for an external resource that this
31    * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
32    * </pre>
33    *
34    * <code>string external_key_uri = 1;</code>
35    *
36    * @return The externalKeyUri.
37    */
getExternalKeyUri()38   java.lang.String getExternalKeyUri();
39   /**
40    *
41    *
42    * <pre>
43    * The URI for an external resource that this
44    * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
45    * </pre>
46    *
47    * <code>string external_key_uri = 1;</code>
48    *
49    * @return The bytes for externalKeyUri.
50    */
getExternalKeyUriBytes()51   com.google.protobuf.ByteString getExternalKeyUriBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * The path to the external key material on the EKM when using
58    * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
59    * this field instead of external_key_uri when using an
60    * [EkmConnection][google.cloud.kms.v1.EkmConnection].
61    * </pre>
62    *
63    * <code>string ekm_connection_key_path = 2;</code>
64    *
65    * @return The ekmConnectionKeyPath.
66    */
getEkmConnectionKeyPath()67   java.lang.String getEkmConnectionKeyPath();
68   /**
69    *
70    *
71    * <pre>
72    * The path to the external key material on the EKM when using
73    * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
74    * this field instead of external_key_uri when using an
75    * [EkmConnection][google.cloud.kms.v1.EkmConnection].
76    * </pre>
77    *
78    * <code>string ekm_connection_key_path = 2;</code>
79    *
80    * @return The bytes for ekmConnectionKeyPath.
81    */
getEkmConnectionKeyPathBytes()82   com.google.protobuf.ByteString getEkmConnectionKeyPathBytes();
83 }
84