/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/kms/v1/resources.proto

package com.google.cloud.kms.v1;

public interface ExternalProtectionLevelOptionsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.ExternalProtectionLevelOptions)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The URI for an external resource that this
   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
   * </pre>
   *
   * <code>string external_key_uri = 1;</code>
   *
   * @return The externalKeyUri.
   */
  java.lang.String getExternalKeyUri();
  /**
   *
   *
   * <pre>
   * The URI for an external resource that this
   * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
   * </pre>
   *
   * <code>string external_key_uri = 1;</code>
   *
   * @return The bytes for externalKeyUri.
   */
  com.google.protobuf.ByteString getExternalKeyUriBytes();

  /**
   *
   *
   * <pre>
   * The path to the external key material on the EKM when using
   * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
   * this field instead of external_key_uri when using an
   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
   * </pre>
   *
   * <code>string ekm_connection_key_path = 2;</code>
   *
   * @return The ekmConnectionKeyPath.
   */
  java.lang.String getEkmConnectionKeyPath();
  /**
   *
   *
   * <pre>
   * The path to the external key material on the EKM when using
   * [EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
   * this field instead of external_key_uri when using an
   * [EkmConnection][google.cloud.kms.v1.EkmConnection].
   * </pre>
   *
   * <code>string ekm_connection_key_path = 2;</code>
   *
   * @return The bytes for ekmConnectionKeyPath.
   */
  com.google.protobuf.ByteString getEkmConnectionKeyPathBytes();
}
