// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/kms/v1/service.proto

package com.google.cloud.kms.v1;

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

  /**
   * <pre>
   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  java.lang.String getParent();
  /**
   * <pre>
   * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the
   * [CryptoKeys][google.cloud.kms.v1.CryptoKey].
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  com.google.protobuf.ByteString
      getParentBytes();

  /**
   * <pre>
   * Required. It must be unique within a KeyRing and match the regular
   * expression `[a-zA-Z0-9_-]{1,63}`
   * </pre>
   *
   * <code>string crypto_key_id = 2;</code>
   */
  java.lang.String getCryptoKeyId();
  /**
   * <pre>
   * Required. It must be unique within a KeyRing and match the regular
   * expression `[a-zA-Z0-9_-]{1,63}`
   * </pre>
   *
   * <code>string crypto_key_id = 2;</code>
   */
  com.google.protobuf.ByteString
      getCryptoKeyIdBytes();

  /**
   * <pre>
   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
   * </pre>
   *
   * <code>.google.cloud.kms.v1.CryptoKey crypto_key = 3;</code>
   */
  boolean hasCryptoKey();
  /**
   * <pre>
   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
   * </pre>
   *
   * <code>.google.cloud.kms.v1.CryptoKey crypto_key = 3;</code>
   */
  com.google.cloud.kms.v1.CryptoKey getCryptoKey();
  /**
   * <pre>
   * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
   * </pre>
   *
   * <code>.google.cloud.kms.v1.CryptoKey crypto_key = 3;</code>
   */
  com.google.cloud.kms.v1.CryptoKeyOrBuilder getCryptoKeyOrBuilder();
}
