# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/kms_v1/proto/service.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.cloud.kms_v1.proto import (
    resources_pb2 as google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2,
)
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/kms_v1/proto/service.proto",
    package="google.cloud.kms.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n\027com.google.cloud.kms.v1B\010KmsProtoP\001Z6google.golang.org/genproto/googleapis/cloud/kms/v1;kms\370\001\001\252\002\023Google.Cloud.Kms.V1\312\002\023Google\\Cloud\\Kms\\V1"
    ),
    serialized_pb=_b(
        '\n\'google/cloud/kms_v1/proto/service.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a)google/cloud/kms_v1/proto/resources.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.proto"n\n\x13ListKeyRingsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t"\xc2\x01\n\x15ListCryptoKeysRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12P\n\x0cversion_view\x18\x04 \x01(\x0e\x32:.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x10\n\x08order_by\x18\x06 \x01(\t"\xc1\x01\n\x1cListCryptoKeyVersionsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12H\n\x04view\x18\x04 \x01(\x0e\x32:.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x10\n\x08order_by\x18\x06 \x01(\t"p\n\x15ListImportJobsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t"t\n\x14ListKeyRingsResponse\x12/\n\tkey_rings\x18\x01 \x03(\x0b\x32\x1c.google.cloud.kms.v1.KeyRing\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05"z\n\x16ListCryptoKeysResponse\x12\x33\n\x0b\x63rypto_keys\x18\x01 \x03(\x0b\x32\x1e.google.cloud.kms.v1.CryptoKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05"\x90\x01\n\x1dListCryptoKeyVersionsResponse\x12\x42\n\x13\x63rypto_key_versions\x18\x01 \x03(\x0b\x32%.google.cloud.kms.v1.CryptoKeyVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05"z\n\x16ListImportJobsResponse\x12\x33\n\x0bimport_jobs\x18\x01 \x03(\x0b\x32\x1e.google.cloud.kms.v1.ImportJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05"!\n\x11GetKeyRingRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"#\n\x13GetCryptoKeyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"*\n\x1aGetCryptoKeyVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"#\n\x13GetPublicKeyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"#\n\x13GetImportJobRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"k\n\x14\x43reateKeyRingRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x13\n\x0bkey_ring_id\x18\x02 \x01(\t\x12.\n\x08key_ring\x18\x03 \x01(\x0b\x32\x1c.google.cloud.kms.v1.KeyRing"\x9a\x01\n\x16\x43reateCryptoKeyRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x15\n\rcrypto_key_id\x18\x02 \x01(\t\x12\x32\n\ncrypto_key\x18\x03 \x01(\x0b\x32\x1e.google.cloud.kms.v1.CryptoKey\x12%\n\x1dskip_initial_version_creation\x18\x05 \x01(\x08"r\n\x1d\x43reateCryptoKeyVersionRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x41\n\x12\x63rypto_key_version\x18\x02 \x01(\x0b\x32%.google.cloud.kms.v1.CryptoKeyVersion"\xce\x01\n\x1dImportCryptoKeyVersionRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12R\n\talgorithm\x18\x02 \x01(\x0e\x32?.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm\x12\x12\n\nimport_job\x18\x04 \x01(\t\x12\x1d\n\x13rsa_aes_wrapped_key\x18\x05 \x01(\x0cH\x00\x42\x16\n\x14wrapped_key_material"s\n\x16\x43reateImportJobRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x15\n\rimport_job_id\x18\x02 \x01(\t\x12\x32\n\nimport_job\x18\x03 \x01(\x0b\x32\x1e.google.cloud.kms.v1.ImportJob"}\n\x16UpdateCryptoKeyRequest\x12\x32\n\ncrypto_key\x18\x01 \x01(\x0b\x32\x1e.google.cloud.kms.v1.CryptoKey\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x93\x01\n\x1dUpdateCryptoKeyVersionRequest\x12\x41\n\x12\x63rypto_key_version\x18\x01 \x01(\x0b\x32%.google.cloud.kms.v1.CryptoKeyVersion\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"X\n\x0e\x45ncryptRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tplaintext\x18\x02 \x01(\x0c\x12%\n\x1d\x61\x64\x64itional_authenticated_data\x18\x03 \x01(\x0c"Y\n\x0e\x44\x65\x63ryptRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nciphertext\x18\x02 \x01(\x0c\x12%\n\x1d\x61\x64\x64itional_authenticated_data\x18\x03 \x01(\x0c"R\n\x15\x41symmetricSignRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12+\n\x06\x64igest\x18\x03 \x01(\x0b\x32\x1b.google.cloud.kms.v1.Digest"<\n\x18\x41symmetricDecryptRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nciphertext\x18\x03 \x01(\x0c"$\n\x0f\x44\x65\x63ryptResponse\x12\x11\n\tplaintext\x18\x01 \x01(\x0c"3\n\x0f\x45ncryptResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nciphertext\x18\x02 \x01(\x0c"+\n\x16\x41symmetricSignResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c".\n\x19\x41symmetricDecryptResponse\x12\x11\n\tplaintext\x18\x01 \x01(\x0c"S\n$UpdateCryptoKeyPrimaryVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1d\n\x15\x63rypto_key_version_id\x18\x02 \x01(\t".\n\x1e\x44\x65stroyCryptoKeyVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t".\n\x1eRestoreCryptoKeyVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"H\n\x06\x44igest\x12\x10\n\x06sha256\x18\x01 \x01(\x0cH\x00\x12\x10\n\x06sha384\x18\x02 \x01(\x0cH\x00\x12\x10\n\x06sha512\x18\x03 \x01(\x0cH\x00\x42\x08\n\x06\x64igest")\n\x10LocationMetadata\x12\x15\n\rhsm_available\x18\x01 \x01(\x08\x32\x97#\n\x14KeyManagementService\x12\x99\x01\n\x0cListKeyRings\x12(.google.cloud.kms.v1.ListKeyRingsRequest\x1a).google.cloud.kms.v1.ListKeyRingsResponse"4\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/keyRings\x12\xac\x01\n\x0eListCryptoKeys\x12*.google.cloud.kms.v1.ListCryptoKeysRequest\x1a+.google.cloud.kms.v1.ListCryptoKeysResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys\x12\xd5\x01\n\x15ListCryptoKeyVersions\x12\x31.google.cloud.kms.v1.ListCryptoKeyVersionsRequest\x1a\x32.google.cloud.kms.v1.ListCryptoKeyVersionsResponse"U\x82\xd3\xe4\x93\x02O\x12M/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions\x12\xac\x01\n\x0eListImportJobs\x12*.google.cloud.kms.v1.ListImportJobsRequest\x1a+.google.cloud.kms.v1.ListImportJobsResponse"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs\x12\x88\x01\n\nGetKeyRing\x12&.google.cloud.kms.v1.GetKeyRingRequest\x1a\x1c.google.cloud.kms.v1.KeyRing"4\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/keyRings/*}\x12\x9b\x01\n\x0cGetCryptoKey\x12(.google.cloud.kms.v1.GetCryptoKeyRequest\x1a\x1e.google.cloud.kms.v1.CryptoKey"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}\x12\xc4\x01\n\x13GetCryptoKeyVersion\x12/.google.cloud.kms.v1.GetCryptoKeyVersionRequest\x1a%.google.cloud.kms.v1.CryptoKeyVersion"U\x82\xd3\xe4\x93\x02O\x12M/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}\x12\xb9\x01\n\x0cGetPublicKey\x12(.google.cloud.kms.v1.GetPublicKeyRequest\x1a\x1e.google.cloud.kms.v1.PublicKey"_\x82\xd3\xe4\x93\x02Y\x12W/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}/publicKey\x12\x9b\x01\n\x0cGetImportJob\x12(.google.cloud.kms.v1.GetImportJobRequest\x1a\x1e.google.cloud.kms.v1.ImportJob"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/keyRings/*/importJobs/*}\x12\x98\x01\n\rCreateKeyRing\x12).google.cloud.kms.v1.CreateKeyRingRequest\x1a\x1c.google.cloud.kms.v1.KeyRing">\x82\xd3\xe4\x93\x02\x38",/v1/{parent=projects/*/locations/*}/keyRings:\x08key_ring\x12\xad\x01\n\x0f\x43reateCryptoKey\x12+.google.cloud.kms.v1.CreateCryptoKeyRequest\x1a\x1e.google.cloud.kms.v1.CryptoKey"M\x82\xd3\xe4\x93\x02G"9/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys:\ncrypto_key\x12\xde\x01\n\x16\x43reateCryptoKeyVersion\x12\x32.google.cloud.kms.v1.CreateCryptoKeyVersionRequest\x1a%.google.cloud.kms.v1.CryptoKeyVersion"i\x82\xd3\xe4\x93\x02\x63"M/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:\x12\x63rypto_key_version\x12\xd4\x01\n\x16ImportCryptoKeyVersion\x12\x32.google.cloud.kms.v1.ImportCryptoKeyVersionRequest\x1a%.google.cloud.kms.v1.CryptoKeyVersion"_\x82\xd3\xe4\x93\x02Y"T/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:import:\x01*\x12\xad\x01\n\x0f\x43reateImportJob\x12+.google.cloud.kms.v1.CreateImportJobRequest\x1a\x1e.google.cloud.kms.v1.ImportJob"M\x82\xd3\xe4\x93\x02G"9/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs:\nimport_job\x12\xb8\x01\n\x0fUpdateCryptoKey\x12+.google.cloud.kms.v1.UpdateCryptoKeyRequest\x1a\x1e.google.cloud.kms.v1.CryptoKey"X\x82\xd3\xe4\x93\x02R2D/v1/{crypto_key.name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:\ncrypto_key\x12\xf1\x01\n\x16UpdateCryptoKeyVersion\x12\x32.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest\x1a%.google.cloud.kms.v1.CryptoKeyVersion"|\x82\xd3\xe4\x93\x02v2`/v1/{crypto_key_version.name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:\x12\x63rypto_key_version\x12\xa3\x01\n\x07\x45ncrypt\x12#.google.cloud.kms.v1.EncryptRequest\x1a$.google.cloud.kms.v1.EncryptResponse"M\x82\xd3\xe4\x93\x02G"B/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}:encrypt:\x01*\x12\xa2\x01\n\x07\x44\x65\x63rypt\x12#.google.cloud.kms.v1.DecryptRequest\x1a$.google.cloud.kms.v1.DecryptResponse"L\x82\xd3\xe4\x93\x02\x46"A/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:decrypt:\x01*\x12\xd2\x01\n\x0e\x41symmetricSign\x12*.google.cloud.kms.v1.AsymmetricSignRequest\x1a+.google.cloud.kms.v1.AsymmetricSignResponse"g\x82\xd3\xe4\x93\x02\x61"\\/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricSign:\x01*\x12\xde\x01\n\x11\x41symmetricDecrypt\x12-.google.cloud.kms.v1.AsymmetricDecryptRequest\x1a..google.cloud.kms.v1.AsymmetricDecryptResponse"j\x82\xd3\xe4\x93\x02\x64"_/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricDecrypt:\x01*\x12\xd5\x01\n\x1dUpdateCryptoKeyPrimaryVersion\x12\x39.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest\x1a\x1e.google.cloud.kms.v1.CryptoKey"Y\x82\xd3\xe4\x93\x02S"N/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:updatePrimaryVersion:\x01*\x12\xd7\x01\n\x17\x44\x65stroyCryptoKeyVersion\x12\x33.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest\x1a%.google.cloud.kms.v1.CryptoKeyVersion"`\x82\xd3\xe4\x93\x02Z"U/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:destroy:\x01*\x12\xd7\x01\n\x17RestoreCryptoKeyVersion\x12\x33.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest\x1a%.google.cloud.kms.v1.CryptoKeyVersion"`\x82\xd3\xe4\x93\x02Z"U/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:restore:\x01*\x1at\xca\x41\x17\x63loudkms.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloudkmsB\x8c\x01\n\x17\x63om.google.cloud.kms.v1B\x08KmsProtoP\x01Z6google.golang.org/genproto/googleapis/cloud/kms/v1;kms\xf8\x01\x01\xaa\x02\x13Google.Cloud.Kms.V1\xca\x02\x13Google\\Cloud\\Kms\\V1b\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
    ],
)


_LISTKEYRINGSREQUEST = _descriptor.Descriptor(
    name="ListKeyRingsRequest",
    full_name="google.cloud.kms.v1.ListKeyRingsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.ListKeyRingsRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.kms.v1.ListKeyRingsRequest.page_size",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.kms.v1.ListKeyRingsRequest.page_token",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.cloud.kms.v1.ListKeyRingsRequest.filter",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="order_by",
            full_name="google.cloud.kms.v1.ListKeyRingsRequest.order_by",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=196,
    serialized_end=306,
)


_LISTCRYPTOKEYSREQUEST = _descriptor.Descriptor(
    name="ListCryptoKeysRequest",
    full_name="google.cloud.kms.v1.ListCryptoKeysRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.ListCryptoKeysRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.kms.v1.ListCryptoKeysRequest.page_size",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.kms.v1.ListCryptoKeysRequest.page_token",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="version_view",
            full_name="google.cloud.kms.v1.ListCryptoKeysRequest.version_view",
            index=3,
            number=4,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.cloud.kms.v1.ListCryptoKeysRequest.filter",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="order_by",
            full_name="google.cloud.kms.v1.ListCryptoKeysRequest.order_by",
            index=5,
            number=6,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=309,
    serialized_end=503,
)


_LISTCRYPTOKEYVERSIONSREQUEST = _descriptor.Descriptor(
    name="ListCryptoKeyVersionsRequest",
    full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_size",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="view",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest.view",
            index=3,
            number=4,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest.filter",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="order_by",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsRequest.order_by",
            index=5,
            number=6,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=506,
    serialized_end=699,
)


_LISTIMPORTJOBSREQUEST = _descriptor.Descriptor(
    name="ListImportJobsRequest",
    full_name="google.cloud.kms.v1.ListImportJobsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.ListImportJobsRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.kms.v1.ListImportJobsRequest.page_size",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.kms.v1.ListImportJobsRequest.page_token",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.cloud.kms.v1.ListImportJobsRequest.filter",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="order_by",
            full_name="google.cloud.kms.v1.ListImportJobsRequest.order_by",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=701,
    serialized_end=813,
)


_LISTKEYRINGSRESPONSE = _descriptor.Descriptor(
    name="ListKeyRingsResponse",
    full_name="google.cloud.kms.v1.ListKeyRingsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key_rings",
            full_name="google.cloud.kms.v1.ListKeyRingsResponse.key_rings",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.kms.v1.ListKeyRingsResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="total_size",
            full_name="google.cloud.kms.v1.ListKeyRingsResponse.total_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=815,
    serialized_end=931,
)


_LISTCRYPTOKEYSRESPONSE = _descriptor.Descriptor(
    name="ListCryptoKeysResponse",
    full_name="google.cloud.kms.v1.ListCryptoKeysResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="crypto_keys",
            full_name="google.cloud.kms.v1.ListCryptoKeysResponse.crypto_keys",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="total_size",
            full_name="google.cloud.kms.v1.ListCryptoKeysResponse.total_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=933,
    serialized_end=1055,
)


_LISTCRYPTOKEYVERSIONSRESPONSE = _descriptor.Descriptor(
    name="ListCryptoKeyVersionsResponse",
    full_name="google.cloud.kms.v1.ListCryptoKeyVersionsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="crypto_key_versions",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsResponse.crypto_key_versions",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="total_size",
            full_name="google.cloud.kms.v1.ListCryptoKeyVersionsResponse.total_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1058,
    serialized_end=1202,
)


_LISTIMPORTJOBSRESPONSE = _descriptor.Descriptor(
    name="ListImportJobsResponse",
    full_name="google.cloud.kms.v1.ListImportJobsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="import_jobs",
            full_name="google.cloud.kms.v1.ListImportJobsResponse.import_jobs",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.kms.v1.ListImportJobsResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="total_size",
            full_name="google.cloud.kms.v1.ListImportJobsResponse.total_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1204,
    serialized_end=1326,
)


_GETKEYRINGREQUEST = _descriptor.Descriptor(
    name="GetKeyRingRequest",
    full_name="google.cloud.kms.v1.GetKeyRingRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.GetKeyRingRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1328,
    serialized_end=1361,
)


_GETCRYPTOKEYREQUEST = _descriptor.Descriptor(
    name="GetCryptoKeyRequest",
    full_name="google.cloud.kms.v1.GetCryptoKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.GetCryptoKeyRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1363,
    serialized_end=1398,
)


_GETCRYPTOKEYVERSIONREQUEST = _descriptor.Descriptor(
    name="GetCryptoKeyVersionRequest",
    full_name="google.cloud.kms.v1.GetCryptoKeyVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.GetCryptoKeyVersionRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1400,
    serialized_end=1442,
)


_GETPUBLICKEYREQUEST = _descriptor.Descriptor(
    name="GetPublicKeyRequest",
    full_name="google.cloud.kms.v1.GetPublicKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.GetPublicKeyRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1444,
    serialized_end=1479,
)


_GETIMPORTJOBREQUEST = _descriptor.Descriptor(
    name="GetImportJobRequest",
    full_name="google.cloud.kms.v1.GetImportJobRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.GetImportJobRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1481,
    serialized_end=1516,
)


_CREATEKEYRINGREQUEST = _descriptor.Descriptor(
    name="CreateKeyRingRequest",
    full_name="google.cloud.kms.v1.CreateKeyRingRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.CreateKeyRingRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="key_ring_id",
            full_name="google.cloud.kms.v1.CreateKeyRingRequest.key_ring_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="key_ring",
            full_name="google.cloud.kms.v1.CreateKeyRingRequest.key_ring",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1518,
    serialized_end=1625,
)


_CREATECRYPTOKEYREQUEST = _descriptor.Descriptor(
    name="CreateCryptoKeyRequest",
    full_name="google.cloud.kms.v1.CreateCryptoKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.CreateCryptoKeyRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="crypto_key_id",
            full_name="google.cloud.kms.v1.CreateCryptoKeyRequest.crypto_key_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="crypto_key",
            full_name="google.cloud.kms.v1.CreateCryptoKeyRequest.crypto_key",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="skip_initial_version_creation",
            full_name="google.cloud.kms.v1.CreateCryptoKeyRequest.skip_initial_version_creation",
            index=3,
            number=5,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1628,
    serialized_end=1782,
)


_CREATECRYPTOKEYVERSIONREQUEST = _descriptor.Descriptor(
    name="CreateCryptoKeyVersionRequest",
    full_name="google.cloud.kms.v1.CreateCryptoKeyVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.CreateCryptoKeyVersionRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="crypto_key_version",
            full_name="google.cloud.kms.v1.CreateCryptoKeyVersionRequest.crypto_key_version",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1784,
    serialized_end=1898,
)


_IMPORTCRYPTOKEYVERSIONREQUEST = _descriptor.Descriptor(
    name="ImportCryptoKeyVersionRequest",
    full_name="google.cloud.kms.v1.ImportCryptoKeyVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.ImportCryptoKeyVersionRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="algorithm",
            full_name="google.cloud.kms.v1.ImportCryptoKeyVersionRequest.algorithm",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="import_job",
            full_name="google.cloud.kms.v1.ImportCryptoKeyVersionRequest.import_job",
            index=2,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="rsa_aes_wrapped_key",
            full_name="google.cloud.kms.v1.ImportCryptoKeyVersionRequest.rsa_aes_wrapped_key",
            index=3,
            number=5,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="wrapped_key_material",
            full_name="google.cloud.kms.v1.ImportCryptoKeyVersionRequest.wrapped_key_material",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=1901,
    serialized_end=2107,
)


_CREATEIMPORTJOBREQUEST = _descriptor.Descriptor(
    name="CreateImportJobRequest",
    full_name="google.cloud.kms.v1.CreateImportJobRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.kms.v1.CreateImportJobRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="import_job_id",
            full_name="google.cloud.kms.v1.CreateImportJobRequest.import_job_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="import_job",
            full_name="google.cloud.kms.v1.CreateImportJobRequest.import_job",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2109,
    serialized_end=2224,
)


_UPDATECRYPTOKEYREQUEST = _descriptor.Descriptor(
    name="UpdateCryptoKeyRequest",
    full_name="google.cloud.kms.v1.UpdateCryptoKeyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="crypto_key",
            full_name="google.cloud.kms.v1.UpdateCryptoKeyRequest.crypto_key",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.kms.v1.UpdateCryptoKeyRequest.update_mask",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2226,
    serialized_end=2351,
)


_UPDATECRYPTOKEYVERSIONREQUEST = _descriptor.Descriptor(
    name="UpdateCryptoKeyVersionRequest",
    full_name="google.cloud.kms.v1.UpdateCryptoKeyVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="crypto_key_version",
            full_name="google.cloud.kms.v1.UpdateCryptoKeyVersionRequest.crypto_key_version",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.kms.v1.UpdateCryptoKeyVersionRequest.update_mask",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2354,
    serialized_end=2501,
)


_ENCRYPTREQUEST = _descriptor.Descriptor(
    name="EncryptRequest",
    full_name="google.cloud.kms.v1.EncryptRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.EncryptRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="plaintext",
            full_name="google.cloud.kms.v1.EncryptRequest.plaintext",
            index=1,
            number=2,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="additional_authenticated_data",
            full_name="google.cloud.kms.v1.EncryptRequest.additional_authenticated_data",
            index=2,
            number=3,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2503,
    serialized_end=2591,
)


_DECRYPTREQUEST = _descriptor.Descriptor(
    name="DecryptRequest",
    full_name="google.cloud.kms.v1.DecryptRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.DecryptRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="ciphertext",
            full_name="google.cloud.kms.v1.DecryptRequest.ciphertext",
            index=1,
            number=2,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="additional_authenticated_data",
            full_name="google.cloud.kms.v1.DecryptRequest.additional_authenticated_data",
            index=2,
            number=3,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2593,
    serialized_end=2682,
)


_ASYMMETRICSIGNREQUEST = _descriptor.Descriptor(
    name="AsymmetricSignRequest",
    full_name="google.cloud.kms.v1.AsymmetricSignRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.AsymmetricSignRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="digest",
            full_name="google.cloud.kms.v1.AsymmetricSignRequest.digest",
            index=1,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2684,
    serialized_end=2766,
)


_ASYMMETRICDECRYPTREQUEST = _descriptor.Descriptor(
    name="AsymmetricDecryptRequest",
    full_name="google.cloud.kms.v1.AsymmetricDecryptRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.AsymmetricDecryptRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="ciphertext",
            full_name="google.cloud.kms.v1.AsymmetricDecryptRequest.ciphertext",
            index=1,
            number=3,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2768,
    serialized_end=2828,
)


_DECRYPTRESPONSE = _descriptor.Descriptor(
    name="DecryptResponse",
    full_name="google.cloud.kms.v1.DecryptResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="plaintext",
            full_name="google.cloud.kms.v1.DecryptResponse.plaintext",
            index=0,
            number=1,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2830,
    serialized_end=2866,
)


_ENCRYPTRESPONSE = _descriptor.Descriptor(
    name="EncryptResponse",
    full_name="google.cloud.kms.v1.EncryptResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.EncryptResponse.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="ciphertext",
            full_name="google.cloud.kms.v1.EncryptResponse.ciphertext",
            index=1,
            number=2,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2868,
    serialized_end=2919,
)


_ASYMMETRICSIGNRESPONSE = _descriptor.Descriptor(
    name="AsymmetricSignResponse",
    full_name="google.cloud.kms.v1.AsymmetricSignResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="signature",
            full_name="google.cloud.kms.v1.AsymmetricSignResponse.signature",
            index=0,
            number=1,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2921,
    serialized_end=2964,
)


_ASYMMETRICDECRYPTRESPONSE = _descriptor.Descriptor(
    name="AsymmetricDecryptResponse",
    full_name="google.cloud.kms.v1.AsymmetricDecryptResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="plaintext",
            full_name="google.cloud.kms.v1.AsymmetricDecryptResponse.plaintext",
            index=0,
            number=1,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2966,
    serialized_end=3012,
)


_UPDATECRYPTOKEYPRIMARYVERSIONREQUEST = _descriptor.Descriptor(
    name="UpdateCryptoKeyPrimaryVersionRequest",
    full_name="google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="crypto_key_version_id",
            full_name="google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest.crypto_key_version_id",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3014,
    serialized_end=3097,
)


_DESTROYCRYPTOKEYVERSIONREQUEST = _descriptor.Descriptor(
    name="DestroyCryptoKeyVersionRequest",
    full_name="google.cloud.kms.v1.DestroyCryptoKeyVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.DestroyCryptoKeyVersionRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3099,
    serialized_end=3145,
)


_RESTORECRYPTOKEYVERSIONREQUEST = _descriptor.Descriptor(
    name="RestoreCryptoKeyVersionRequest",
    full_name="google.cloud.kms.v1.RestoreCryptoKeyVersionRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.kms.v1.RestoreCryptoKeyVersionRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3147,
    serialized_end=3193,
)


_DIGEST = _descriptor.Descriptor(
    name="Digest",
    full_name="google.cloud.kms.v1.Digest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="sha256",
            full_name="google.cloud.kms.v1.Digest.sha256",
            index=0,
            number=1,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="sha384",
            full_name="google.cloud.kms.v1.Digest.sha384",
            index=1,
            number=2,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="sha512",
            full_name="google.cloud.kms.v1.Digest.sha512",
            index=2,
            number=3,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="digest",
            full_name="google.cloud.kms.v1.Digest.digest",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=3195,
    serialized_end=3267,
)


_LOCATIONMETADATA = _descriptor.Descriptor(
    name="LocationMetadata",
    full_name="google.cloud.kms.v1.LocationMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="hsm_available",
            full_name="google.cloud.kms.v1.LocationMetadata.hsm_available",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3269,
    serialized_end=3310,
)

_LISTCRYPTOKEYSREQUEST.fields_by_name[
    "version_view"
].enum_type = (
    google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION_CRYPTOKEYVERSIONVIEW
)
_LISTCRYPTOKEYVERSIONSREQUEST.fields_by_name[
    "view"
].enum_type = (
    google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION_CRYPTOKEYVERSIONVIEW
)
_LISTKEYRINGSRESPONSE.fields_by_name[
    "key_rings"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._KEYRING
_LISTCRYPTOKEYSRESPONSE.fields_by_name[
    "crypto_keys"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY
_LISTCRYPTOKEYVERSIONSRESPONSE.fields_by_name[
    "crypto_key_versions"
].message_type = (
    google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION
)
_LISTIMPORTJOBSRESPONSE.fields_by_name[
    "import_jobs"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._IMPORTJOB
_CREATEKEYRINGREQUEST.fields_by_name[
    "key_ring"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._KEYRING
_CREATECRYPTOKEYREQUEST.fields_by_name[
    "crypto_key"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY
_CREATECRYPTOKEYVERSIONREQUEST.fields_by_name[
    "crypto_key_version"
].message_type = (
    google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION
)
_IMPORTCRYPTOKEYVERSIONREQUEST.fields_by_name[
    "algorithm"
].enum_type = (
    google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION_CRYPTOKEYVERSIONALGORITHM
)
_IMPORTCRYPTOKEYVERSIONREQUEST.oneofs_by_name["wrapped_key_material"].fields.append(
    _IMPORTCRYPTOKEYVERSIONREQUEST.fields_by_name["rsa_aes_wrapped_key"]
)
_IMPORTCRYPTOKEYVERSIONREQUEST.fields_by_name[
    "rsa_aes_wrapped_key"
].containing_oneof = _IMPORTCRYPTOKEYVERSIONREQUEST.oneofs_by_name[
    "wrapped_key_material"
]
_CREATEIMPORTJOBREQUEST.fields_by_name[
    "import_job"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._IMPORTJOB
_UPDATECRYPTOKEYREQUEST.fields_by_name[
    "crypto_key"
].message_type = google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY
_UPDATECRYPTOKEYREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_UPDATECRYPTOKEYVERSIONREQUEST.fields_by_name[
    "crypto_key_version"
].message_type = (
    google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION
)
_UPDATECRYPTOKEYVERSIONREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_ASYMMETRICSIGNREQUEST.fields_by_name["digest"].message_type = _DIGEST
_DIGEST.oneofs_by_name["digest"].fields.append(_DIGEST.fields_by_name["sha256"])
_DIGEST.fields_by_name["sha256"].containing_oneof = _DIGEST.oneofs_by_name["digest"]
_DIGEST.oneofs_by_name["digest"].fields.append(_DIGEST.fields_by_name["sha384"])
_DIGEST.fields_by_name["sha384"].containing_oneof = _DIGEST.oneofs_by_name["digest"]
_DIGEST.oneofs_by_name["digest"].fields.append(_DIGEST.fields_by_name["sha512"])
_DIGEST.fields_by_name["sha512"].containing_oneof = _DIGEST.oneofs_by_name["digest"]
DESCRIPTOR.message_types_by_name["ListKeyRingsRequest"] = _LISTKEYRINGSREQUEST
DESCRIPTOR.message_types_by_name["ListCryptoKeysRequest"] = _LISTCRYPTOKEYSREQUEST
DESCRIPTOR.message_types_by_name[
    "ListCryptoKeyVersionsRequest"
] = _LISTCRYPTOKEYVERSIONSREQUEST
DESCRIPTOR.message_types_by_name["ListImportJobsRequest"] = _LISTIMPORTJOBSREQUEST
DESCRIPTOR.message_types_by_name["ListKeyRingsResponse"] = _LISTKEYRINGSRESPONSE
DESCRIPTOR.message_types_by_name["ListCryptoKeysResponse"] = _LISTCRYPTOKEYSRESPONSE
DESCRIPTOR.message_types_by_name[
    "ListCryptoKeyVersionsResponse"
] = _LISTCRYPTOKEYVERSIONSRESPONSE
DESCRIPTOR.message_types_by_name["ListImportJobsResponse"] = _LISTIMPORTJOBSRESPONSE
DESCRIPTOR.message_types_by_name["GetKeyRingRequest"] = _GETKEYRINGREQUEST
DESCRIPTOR.message_types_by_name["GetCryptoKeyRequest"] = _GETCRYPTOKEYREQUEST
DESCRIPTOR.message_types_by_name[
    "GetCryptoKeyVersionRequest"
] = _GETCRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name["GetPublicKeyRequest"] = _GETPUBLICKEYREQUEST
DESCRIPTOR.message_types_by_name["GetImportJobRequest"] = _GETIMPORTJOBREQUEST
DESCRIPTOR.message_types_by_name["CreateKeyRingRequest"] = _CREATEKEYRINGREQUEST
DESCRIPTOR.message_types_by_name["CreateCryptoKeyRequest"] = _CREATECRYPTOKEYREQUEST
DESCRIPTOR.message_types_by_name[
    "CreateCryptoKeyVersionRequest"
] = _CREATECRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name[
    "ImportCryptoKeyVersionRequest"
] = _IMPORTCRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name["CreateImportJobRequest"] = _CREATEIMPORTJOBREQUEST
DESCRIPTOR.message_types_by_name["UpdateCryptoKeyRequest"] = _UPDATECRYPTOKEYREQUEST
DESCRIPTOR.message_types_by_name[
    "UpdateCryptoKeyVersionRequest"
] = _UPDATECRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name["EncryptRequest"] = _ENCRYPTREQUEST
DESCRIPTOR.message_types_by_name["DecryptRequest"] = _DECRYPTREQUEST
DESCRIPTOR.message_types_by_name["AsymmetricSignRequest"] = _ASYMMETRICSIGNREQUEST
DESCRIPTOR.message_types_by_name["AsymmetricDecryptRequest"] = _ASYMMETRICDECRYPTREQUEST
DESCRIPTOR.message_types_by_name["DecryptResponse"] = _DECRYPTRESPONSE
DESCRIPTOR.message_types_by_name["EncryptResponse"] = _ENCRYPTRESPONSE
DESCRIPTOR.message_types_by_name["AsymmetricSignResponse"] = _ASYMMETRICSIGNRESPONSE
DESCRIPTOR.message_types_by_name[
    "AsymmetricDecryptResponse"
] = _ASYMMETRICDECRYPTRESPONSE
DESCRIPTOR.message_types_by_name[
    "UpdateCryptoKeyPrimaryVersionRequest"
] = _UPDATECRYPTOKEYPRIMARYVERSIONREQUEST
DESCRIPTOR.message_types_by_name[
    "DestroyCryptoKeyVersionRequest"
] = _DESTROYCRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name[
    "RestoreCryptoKeyVersionRequest"
] = _RESTORECRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name["Digest"] = _DIGEST
DESCRIPTOR.message_types_by_name["LocationMetadata"] = _LOCATIONMETADATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ListKeyRingsRequest = _reflection.GeneratedProtocolMessageType(
    "ListKeyRingsRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTKEYRINGSREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
  
  
  Attributes:
      parent:
          Required. The resource name of the location associated with
          the [KeyRings][google.cloud.kms.v1.KeyRing], in the format
          ``projects/*/locations/*``.
      page_size:
          Optional limit on the number of
          [KeyRings][google.cloud.kms.v1.KeyRing] to include in the
          response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can
          subsequently be obtained by including the [ListKeyRingsRespons
          e.next\_page\_token][google.cloud.kms.v1.ListKeyRingsResponse.
          next\_page\_token] in a subsequent request. If unspecified,
          the server will pick an appropriate default.
      page_token:
          Optional pagination token, returned earlier via [ListKeyRingsR
          esponse.next\_page\_token][google.cloud.kms.v1.ListKeyRingsRes
          ponse.next\_page\_token].
      filter:
          Optional. Only include resources that match the filter in the
          response.
      order_by:
          Optional. Specify how the results should be sorted. If not
          specified, the results will be sorted in the default order.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListKeyRingsRequest)
    ),
)
_sym_db.RegisterMessage(ListKeyRingsRequest)

ListCryptoKeysRequest = _reflection.GeneratedProtocolMessageType(
    "ListCryptoKeysRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCRYPTOKEYSREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
  
  
  Attributes:
      parent:
          Required. The resource name of the
          [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
          ``projects/*/locations/*/keyRings/*``.
      page_size:
          Optional limit on the number of
          [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the
          response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey]
          can subsequently be obtained by including the [ListCryptoKeysR
          esponse.next\_page\_token][google.cloud.kms.v1.ListCryptoKeysR
          esponse.next\_page\_token] in a subsequent request. If
          unspecified, the server will pick an appropriate default.
      page_token:
          Optional pagination token, returned earlier via [ListCryptoKey
          sResponse.next\_page\_token][google.cloud.kms.v1.ListCryptoKey
          sResponse.next\_page\_token].
      version_view:
          The fields of the primary version to include in the response.
      filter:
          Optional. Only include resources that match the filter in the
          response.
      order_by:
          Optional. Specify how the results should be sorted. If not
          specified, the results will be sorted in the default order.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListCryptoKeysRequest)
    ),
)
_sym_db.RegisterMessage(ListCryptoKeysRequest)

ListCryptoKeyVersionsRequest = _reflection.GeneratedProtocolMessageType(
    "ListCryptoKeyVersionsRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCRYPTOKEYVERSIONSREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
  
  
  Attributes:
      parent:
          Required. The resource name of the
          [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the
          format ``projects/*/locations/*/keyRings/*/cryptoKeys/*``.
      page_size:
          Optional limit on the number of
          [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to
          include in the response. Further
          [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can
          subsequently be obtained by including the [ListCryptoKeyVersio
          nsResponse.next\_page\_token][google.cloud.kms.v1.ListCryptoKe
          yVersionsResponse.next\_page\_token] in a subsequent request.
          If unspecified, the server will pick an appropriate default.
      page_token:
          Optional pagination token, returned earlier via [ListCryptoKey
          VersionsResponse.next\_page\_token][google.cloud.kms.v1.ListCr
          yptoKeyVersionsResponse.next\_page\_token].
      view:
          The fields to include in the response.
      filter:
          Optional. Only include resources that match the filter in the
          response.
      order_by:
          Optional. Specify how the results should be sorted. If not
          specified, the results will be sorted in the default order.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListCryptoKeyVersionsRequest)
    ),
)
_sym_db.RegisterMessage(ListCryptoKeyVersionsRequest)

ListImportJobsRequest = _reflection.GeneratedProtocolMessageType(
    "ListImportJobsRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTIMPORTJOBSREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
  
  
  Attributes:
      parent:
          Required. The resource name of the
          [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format
          ``projects/*/locations/*/keyRings/*``.
      page_size:
          Optional limit on the number of
          [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the
          response. Further [ImportJobs][google.cloud.kms.v1.ImportJob]
          can subsequently be obtained by including the [ListImportJobsR
          esponse.next\_page\_token][google.cloud.kms.v1.ListImportJobsR
          esponse.next\_page\_token] in a subsequent request. If
          unspecified, the server will pick an appropriate default.
      page_token:
          Optional pagination token, returned earlier via [ListImportJob
          sResponse.next\_page\_token][google.cloud.kms.v1.ListImportJob
          sResponse.next\_page\_token].
      filter:
          Optional. Only include resources that match the filter in the
          response.
      order_by:
          Optional. Specify how the results should be sorted. If not
          specified, the results will be sorted in the default order.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListImportJobsRequest)
    ),
)
_sym_db.RegisterMessage(ListImportJobsRequest)

ListKeyRingsResponse = _reflection.GeneratedProtocolMessageType(
    "ListKeyRingsResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTKEYRINGSRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].
  
  
  Attributes:
      key_rings:
          The list of [KeyRings][google.cloud.kms.v1.KeyRing].
      next_page_token:
          A token to retrieve next page of results. Pass this value in [
          ListKeyRingsRequest.page\_token][google.cloud.kms.v1.ListKeyRi
          ngsRequest.page\_token] to retrieve the next page of results.
      total_size:
          The total number of [KeyRings][google.cloud.kms.v1.KeyRing]
          that matched the query.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListKeyRingsResponse)
    ),
)
_sym_db.RegisterMessage(ListKeyRingsResponse)

ListCryptoKeysResponse = _reflection.GeneratedProtocolMessageType(
    "ListCryptoKeysResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCRYPTOKEYSRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].
  
  
  Attributes:
      crypto_keys:
          The list of [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      next_page_token:
          A token to retrieve next page of results. Pass this value in [
          ListCryptoKeysRequest.page\_token][google.cloud.kms.v1.ListCry
          ptoKeysRequest.page\_token] to retrieve the next page of
          results.
      total_size:
          The total number of
          [CryptoKeys][google.cloud.kms.v1.CryptoKey] that matched the
          query.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListCryptoKeysResponse)
    ),
)
_sym_db.RegisterMessage(ListCryptoKeysResponse)

ListCryptoKeyVersionsResponse = _reflection.GeneratedProtocolMessageType(
    "ListCryptoKeyVersionsResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCRYPTOKEYVERSIONSRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].
  
  
  Attributes:
      crypto_key_versions:
          The list of
          [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      next_page_token:
          A token to retrieve next page of results. Pass this value in [
          ListCryptoKeyVersionsRequest.page\_token][google.cloud.kms.v1.
          ListCryptoKeyVersionsRequest.page\_token] to retrieve the next
          page of results.
      total_size:
          The total number of
          [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that
          matched the query.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListCryptoKeyVersionsResponse)
    ),
)
_sym_db.RegisterMessage(ListCryptoKeyVersionsResponse)

ListImportJobsResponse = _reflection.GeneratedProtocolMessageType(
    "ListImportJobsResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTIMPORTJOBSRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs].
  
  
  Attributes:
      import_jobs:
          The list of [ImportJobs][google.cloud.kms.v1.ImportJob].
      next_page_token:
          A token to retrieve next page of results. Pass this value in [
          ListImportJobsRequest.page\_token][google.cloud.kms.v1.ListImp
          ortJobsRequest.page\_token] to retrieve the next page of
          results.
      total_size:
          The total number of
          [ImportJobs][google.cloud.kms.v1.ImportJob] that matched the
          query.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListImportJobsResponse)
    ),
)
_sym_db.RegisterMessage(ListImportJobsResponse)

GetKeyRingRequest = _reflection.GeneratedProtocolMessageType(
    "GetKeyRingRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETKEYRINGREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing].
  
  
  Attributes:
      name:
          The [name][google.cloud.kms.v1.KeyRing.name] of the
          [KeyRing][google.cloud.kms.v1.KeyRing] to get.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.GetKeyRingRequest)
    ),
)
_sym_db.RegisterMessage(GetKeyRingRequest)

GetCryptoKeyRequest = _reflection.GeneratedProtocolMessageType(
    "GetCryptoKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETCRYPTOKEYREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey].
  
  
  Attributes:
      name:
          The [name][google.cloud.kms.v1.CryptoKey.name] of the
          [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.GetCryptoKeyRequest)
    ),
)
_sym_db.RegisterMessage(GetCryptoKeyRequest)

GetCryptoKeyVersionRequest = _reflection.GeneratedProtocolMessageType(
    "GetCryptoKeyVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETCRYPTOKEYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion].
  
  
  Attributes:
      name:
          The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          get.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.GetCryptoKeyVersionRequest)
    ),
)
_sym_db.RegisterMessage(GetCryptoKeyVersionRequest)

GetPublicKeyRequest = _reflection.GeneratedProtocolMessageType(
    "GetPublicKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETPUBLICKEYREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
  
  
  Attributes:
      name:
          The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
          public key to get.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.GetPublicKeyRequest)
    ),
)
_sym_db.RegisterMessage(GetPublicKeyRequest)

GetImportJobRequest = _reflection.GeneratedProtocolMessageType(
    "GetImportJobRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETIMPORTJOBREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob].
  
  
  Attributes:
      name:
          The [name][google.cloud.kms.v1.ImportJob.name] of the
          [ImportJob][google.cloud.kms.v1.ImportJob] to get.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.GetImportJobRequest)
    ),
)
_sym_db.RegisterMessage(GetImportJobRequest)

CreateKeyRingRequest = _reflection.GeneratedProtocolMessageType(
    "CreateKeyRingRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEKEYRINGREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing].
  
  
  Attributes:
      parent:
          Required. The resource name of the location associated with
          the [KeyRings][google.cloud.kms.v1.KeyRing], in the format
          ``projects/*/locations/*``.
      key_ring_id:
          Required. It must be unique within a location and match the
          regular expression ``[a-zA-Z0-9_-]{1,63}``
      key_ring:
          A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field
          values.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.CreateKeyRingRequest)
    ),
)
_sym_db.RegisterMessage(CreateKeyRingRequest)

CreateCryptoKeyRequest = _reflection.GeneratedProtocolMessageType(
    "CreateCryptoKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATECRYPTOKEYREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].
  
  
  Attributes:
      parent:
          Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
          KeyRing associated with the
          [CryptoKeys][google.cloud.kms.v1.CryptoKey].
      crypto_key_id:
          Required. It must be unique within a KeyRing and match the
          regular expression ``[a-zA-Z0-9_-]{1,63}``
      crypto_key:
          A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial
          field values.
      skip_initial_version_creation:
          If set to true, the request will create a
          [CryptoKey][google.cloud.kms.v1.CryptoKey] without any
          [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You
          must manually call [CreateCryptoKeyVersion][google.cloud.kms.v
          1.KeyManagementService.CreateCryptoKeyVersion] or [ImportCrypt
          oKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCr
          yptoKeyVersion] before you can use this
          [CryptoKey][google.cloud.kms.v1.CryptoKey].
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.CreateCryptoKeyRequest)
    ),
)
_sym_db.RegisterMessage(CreateCryptoKeyRequest)

CreateCryptoKeyVersionRequest = _reflection.GeneratedProtocolMessageType(
    "CreateCryptoKeyVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATECRYPTOKEYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion].
  
  
  Attributes:
      parent:
          Required. The [name][google.cloud.kms.v1.CryptoKey.name] of
          the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with
          the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
      crypto_key_version:
          A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
          with initial field values.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.CreateCryptoKeyVersionRequest)
    ),
)
_sym_db.RegisterMessage(CreateCryptoKeyVersionRequest)

ImportCryptoKeyVersionRequest = _reflection.GeneratedProtocolMessageType(
    "ImportCryptoKeyVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_IMPORTCRYPTOKEYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
  
  
  Attributes:
      parent:
          Required. The [name][google.cloud.kms.v1.CryptoKey.name] of
          the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported
          into.
      algorithm:
          Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion
          .CryptoKeyVersionAlgorithm] of the key being imported. This
          does not need to match the [version\_template][google.cloud.km
          s.v1.CryptoKey.version\_template] of the
          [CryptoKey][google.cloud.kms.v1.CryptoKey] this version
          imports into.
      import_job:
          Required. The [name][google.cloud.kms.v1.ImportJob.name] of
          the [ImportJob][google.cloud.kms.v1.ImportJob] that was used
          to wrap this key material.
      wrapped_key_material:
          Required. The incoming wrapped key material that is to be
          imported.
      rsa_aes_wrapped_key:
          Wrapped key material produced with [RSA\_OAEP\_3072\_SHA1\_AES
          \_256][google.cloud.kms.v1.ImportJob.ImportMethod.RSA\_OAEP\_3
          072\_SHA1\_AES\_256] or [RSA\_OAEP\_4096\_SHA1\_AES\_256][goog
          le.cloud.kms.v1.ImportJob.ImportMethod.RSA\_OAEP\_4096\_SHA1\_
          AES\_256].  This field contains the concatenation of two
          wrapped keys:  .. raw:: html     <ol>  .. raw:: html     <li>
          An ephemeral AES-256 wrapping key wrapped with the
          [public\_key][google.cloud.kms.v1.ImportJob.public\_key] using
          RSAES-OAEP with SHA-1, MGF1 with SHA-1, and an empty label.
          .. raw:: html     </li>  .. raw:: html     <li>  The key to be
          imported, wrapped with the ephemeral AES-256 key using AES-KWP
          (RFC 5649).  .. raw:: html     </li>  .. raw:: html     </ol>
          This format is the same as the format produced by PKCS#11
          mechanism CKM\_RSA\_AES\_KEY\_WRAP.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ImportCryptoKeyVersionRequest)
    ),
)
_sym_db.RegisterMessage(ImportCryptoKeyVersionRequest)

CreateImportJobRequest = _reflection.GeneratedProtocolMessageType(
    "CreateImportJobRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEIMPORTJOBREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob].
  
  
  Attributes:
      parent:
          Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
          [KeyRing][google.cloud.kms.v1.KeyRing] associated with the
          [ImportJobs][google.cloud.kms.v1.ImportJob].
      import_job_id:
          Required. It must be unique within a KeyRing and match the
          regular expression ``[a-zA-Z0-9_-]{1,63}``
      import_job:
          Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with
          initial field values.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.CreateImportJobRequest)
    ),
)
_sym_db.RegisterMessage(CreateImportJobRequest)

UpdateCryptoKeyRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateCryptoKeyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATECRYPTOKEYREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey].
  
  
  Attributes:
      crypto_key:
          [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated
          values.
      update_mask:
          Required list of fields to be updated in this request.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.UpdateCryptoKeyRequest)
    ),
)
_sym_db.RegisterMessage(UpdateCryptoKeyRequest)

UpdateCryptoKeyVersionRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateCryptoKeyVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATECRYPTOKEYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion].
  
  
  Attributes:
      crypto_key_version:
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
          updated values.
      update_mask:
          Required list of fields to be updated in this request.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.UpdateCryptoKeyVersionRequest)
    ),
)
_sym_db.RegisterMessage(UpdateCryptoKeyVersionRequest)

EncryptRequest = _reflection.GeneratedProtocolMessageType(
    "EncryptRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENCRYPTREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
  
  
  Attributes:
      name:
          Required. The resource name of the
          [CryptoKey][google.cloud.kms.v1.CryptoKey] or
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          use for encryption.  If a
          [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the
          server will use its [primary
          version][google.cloud.kms.v1.CryptoKey.primary].
      plaintext:
          Required. The data to encrypt. Must be no larger than 64KiB.
          The maximum size depends on the key version's [protection\_lev
          el][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection\_l
          evel]. For
          [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys,
          the plaintext must be no larger than 64KiB. For
          [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the
          combined length of the plaintext and
          additional\_authenticated\_data fields must be no larger than
          8KiB.
      additional_authenticated_data:
          Optional data that, if specified, must also be provided during
          decryption through [DecryptRequest.additional\_authenticated\_
          data][google.cloud.kms.v1.DecryptRequest.additional\_authentic
          ated\_data].  The maximum size depends on the key version's [p
          rotection\_level][google.cloud.kms.v1.CryptoKeyVersionTemplate
          .protection\_level]. For
          [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys,
          the AAD must be no larger than 64KiB. For
          [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the
          combined length of the plaintext and
          additional\_authenticated\_data fields must be no larger than
          8KiB.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.EncryptRequest)
    ),
)
_sym_db.RegisterMessage(EncryptRequest)

DecryptRequest = _reflection.GeneratedProtocolMessageType(
    "DecryptRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DECRYPTREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
  
  
  Attributes:
      name:
          Required. The resource name of the
          [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for
          decryption. The server will choose the appropriate version.
      ciphertext:
          Required. The encrypted data originally returned in [EncryptRe
          sponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphert
          ext].
      additional_authenticated_data:
          Optional data that must match the data originally supplied in 
          [EncryptRequest.additional\_authenticated\_data][google.cloud.
          kms.v1.EncryptRequest.additional\_authenticated\_data].
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.DecryptRequest)
    ),
)
_sym_db.RegisterMessage(DecryptRequest)

AsymmetricSignRequest = _reflection.GeneratedProtocolMessageType(
    "AsymmetricSignRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ASYMMETRICSIGNREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
  
  
  Attributes:
      name:
          Required. The resource name of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          use for signing.
      digest:
          Required. The digest of the data to sign. The digest must be
          produced with the same digest algorithm as specified by the
          key version's
          [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm].
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.AsymmetricSignRequest)
    ),
)
_sym_db.RegisterMessage(AsymmetricSignRequest)

AsymmetricDecryptRequest = _reflection.GeneratedProtocolMessageType(
    "AsymmetricDecryptRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ASYMMETRICDECRYPTREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
  
  
  Attributes:
      name:
          Required. The resource name of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          use for decryption.
      ciphertext:
          Required. The data encrypted with the named
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s
          public key using OAEP.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.AsymmetricDecryptRequest)
    ),
)
_sym_db.RegisterMessage(AsymmetricDecryptRequest)

DecryptResponse = _reflection.GeneratedProtocolMessageType(
    "DecryptResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DECRYPTRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt].
  
  
  Attributes:
      plaintext:
          The decrypted data originally supplied in [EncryptRequest.plai
          ntext][google.cloud.kms.v1.EncryptRequest.plaintext].
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.DecryptResponse)
    ),
)
_sym_db.RegisterMessage(DecryptResponse)

EncryptResponse = _reflection.GeneratedProtocolMessageType(
    "EncryptResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENCRYPTRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
  
  
  Attributes:
      name:
          The resource name of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used
          in encryption.
      ciphertext:
          The encrypted data.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.EncryptResponse)
    ),
)
_sym_db.RegisterMessage(EncryptResponse)

AsymmetricSignResponse = _reflection.GeneratedProtocolMessageType(
    "AsymmetricSignResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ASYMMETRICSIGNRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign].
  
  
  Attributes:
      signature:
          The created signature.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.AsymmetricSignResponse)
    ),
)
_sym_db.RegisterMessage(AsymmetricSignResponse)

AsymmetricDecryptResponse = _reflection.GeneratedProtocolMessageType(
    "AsymmetricDecryptResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ASYMMETRICDECRYPTRESPONSE,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Response message for
  [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt].
  
  
  Attributes:
      plaintext:
          The decrypted data originally encrypted with the matching
          public key.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.AsymmetricDecryptResponse)
    ),
)
_sym_db.RegisterMessage(AsymmetricDecryptResponse)

UpdateCryptoKeyPrimaryVersionRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateCryptoKeyPrimaryVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATECRYPTOKEYPRIMARYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion].
  
  
  Attributes:
      name:
          The resource name of the
          [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
      crypto_key_version_id:
          The id of the child
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          use as primary.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest)
    ),
)
_sym_db.RegisterMessage(UpdateCryptoKeyPrimaryVersionRequest)

DestroyCryptoKeyVersionRequest = _reflection.GeneratedProtocolMessageType(
    "DestroyCryptoKeyVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DESTROYCRYPTOKEYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
  
  
  Attributes:
      name:
          The resource name of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          destroy.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.DestroyCryptoKeyVersionRequest)
    ),
)
_sym_db.RegisterMessage(DestroyCryptoKeyVersionRequest)

RestoreCryptoKeyVersionRequest = _reflection.GeneratedProtocolMessageType(
    "RestoreCryptoKeyVersionRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_RESTORECRYPTOKEYVERSIONREQUEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Request message for
  [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion].
  
  
  Attributes:
      name:
          The resource name of the
          [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to
          restore.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.RestoreCryptoKeyVersionRequest)
    ),
)
_sym_db.RegisterMessage(RestoreCryptoKeyVersionRequest)

Digest = _reflection.GeneratedProtocolMessageType(
    "Digest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DIGEST,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""A [Digest][google.cloud.kms.v1.Digest] holds a cryptographic message
  digest.
  
  
  Attributes:
      digest:
          Required. The message digest.
      sha256:
          A message digest produced with the SHA-256 algorithm.
      sha384:
          A message digest produced with the SHA-384 algorithm.
      sha512:
          A message digest produced with the SHA-512 algorithm.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.Digest)
    ),
)
_sym_db.RegisterMessage(Digest)

LocationMetadata = _reflection.GeneratedProtocolMessageType(
    "LocationMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LOCATIONMETADATA,
        __module__="google.cloud.kms_v1.proto.service_pb2",
        __doc__="""Cloud KMS metadata for the given
  [google.cloud.location.Location][google.cloud.location.Location].
  
  
  Attributes:
      hsm_available:
          Indicates whether [CryptoKeys][google.cloud.kms.v1.CryptoKey]
          with [protection\_level][google.cloud.kms.v1.CryptoKeyVersionT
          emplate.protection\_level]
          [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] can be created
          in this location.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.LocationMetadata)
    ),
)
_sym_db.RegisterMessage(LocationMetadata)


DESCRIPTOR._options = None

_KEYMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
    name="KeyManagementService",
    full_name="google.cloud.kms.v1.KeyManagementService",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\027cloudkms.googleapis.com\322AWhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloudkms"
    ),
    serialized_start=3313,
    serialized_end=7816,
    methods=[
        _descriptor.MethodDescriptor(
            name="ListKeyRings",
            full_name="google.cloud.kms.v1.KeyManagementService.ListKeyRings",
            index=0,
            containing_service=None,
            input_type=_LISTKEYRINGSREQUEST,
            output_type=_LISTKEYRINGSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002.\022,/v1/{parent=projects/*/locations/*}/keyRings"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListCryptoKeys",
            full_name="google.cloud.kms.v1.KeyManagementService.ListCryptoKeys",
            index=1,
            containing_service=None,
            input_type=_LISTCRYPTOKEYSREQUEST,
            output_type=_LISTCRYPTOKEYSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002;\0229/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListCryptoKeyVersions",
            full_name="google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions",
            index=2,
            containing_service=None,
            input_type=_LISTCRYPTOKEYVERSIONSREQUEST,
            output_type=_LISTCRYPTOKEYVERSIONSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002O\022M/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListImportJobs",
            full_name="google.cloud.kms.v1.KeyManagementService.ListImportJobs",
            index=3,
            containing_service=None,
            input_type=_LISTIMPORTJOBSREQUEST,
            output_type=_LISTIMPORTJOBSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002;\0229/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetKeyRing",
            full_name="google.cloud.kms.v1.KeyManagementService.GetKeyRing",
            index=4,
            containing_service=None,
            input_type=_GETKEYRINGREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._KEYRING,
            serialized_options=_b(
                "\202\323\344\223\002.\022,/v1/{name=projects/*/locations/*/keyRings/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetCryptoKey",
            full_name="google.cloud.kms.v1.KeyManagementService.GetCryptoKey",
            index=5,
            containing_service=None,
            input_type=_GETCRYPTOKEYREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
            serialized_options=_b(
                "\202\323\344\223\002;\0229/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetCryptoKeyVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion",
            index=6,
            containing_service=None,
            input_type=_GETCRYPTOKEYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
            serialized_options=_b(
                "\202\323\344\223\002O\022M/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetPublicKey",
            full_name="google.cloud.kms.v1.KeyManagementService.GetPublicKey",
            index=7,
            containing_service=None,
            input_type=_GETPUBLICKEYREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._PUBLICKEY,
            serialized_options=_b(
                "\202\323\344\223\002Y\022W/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}/publicKey"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetImportJob",
            full_name="google.cloud.kms.v1.KeyManagementService.GetImportJob",
            index=8,
            containing_service=None,
            input_type=_GETIMPORTJOBREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._IMPORTJOB,
            serialized_options=_b(
                "\202\323\344\223\002;\0229/v1/{name=projects/*/locations/*/keyRings/*/importJobs/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateKeyRing",
            full_name="google.cloud.kms.v1.KeyManagementService.CreateKeyRing",
            index=9,
            containing_service=None,
            input_type=_CREATEKEYRINGREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._KEYRING,
            serialized_options=_b(
                '\202\323\344\223\0028",/v1/{parent=projects/*/locations/*}/keyRings:\010key_ring'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateCryptoKey",
            full_name="google.cloud.kms.v1.KeyManagementService.CreateCryptoKey",
            index=10,
            containing_service=None,
            input_type=_CREATECRYPTOKEYREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
            serialized_options=_b(
                '\202\323\344\223\002G"9/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys:\ncrypto_key'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateCryptoKeyVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion",
            index=11,
            containing_service=None,
            input_type=_CREATECRYPTOKEYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
            serialized_options=_b(
                '\202\323\344\223\002c"M/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:\022crypto_key_version'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ImportCryptoKeyVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion",
            index=12,
            containing_service=None,
            input_type=_IMPORTCRYPTOKEYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
            serialized_options=_b(
                '\202\323\344\223\002Y"T/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:import:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateImportJob",
            full_name="google.cloud.kms.v1.KeyManagementService.CreateImportJob",
            index=13,
            containing_service=None,
            input_type=_CREATEIMPORTJOBREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._IMPORTJOB,
            serialized_options=_b(
                '\202\323\344\223\002G"9/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs:\nimport_job'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateCryptoKey",
            full_name="google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey",
            index=14,
            containing_service=None,
            input_type=_UPDATECRYPTOKEYREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
            serialized_options=_b(
                "\202\323\344\223\002R2D/v1/{crypto_key.name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:\ncrypto_key"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateCryptoKeyVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion",
            index=15,
            containing_service=None,
            input_type=_UPDATECRYPTOKEYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
            serialized_options=_b(
                "\202\323\344\223\002v2`/v1/{crypto_key_version.name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:\022crypto_key_version"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="Encrypt",
            full_name="google.cloud.kms.v1.KeyManagementService.Encrypt",
            index=16,
            containing_service=None,
            input_type=_ENCRYPTREQUEST,
            output_type=_ENCRYPTRESPONSE,
            serialized_options=_b(
                '\202\323\344\223\002G"B/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}:encrypt:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="Decrypt",
            full_name="google.cloud.kms.v1.KeyManagementService.Decrypt",
            index=17,
            containing_service=None,
            input_type=_DECRYPTREQUEST,
            output_type=_DECRYPTRESPONSE,
            serialized_options=_b(
                '\202\323\344\223\002F"A/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:decrypt:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="AsymmetricSign",
            full_name="google.cloud.kms.v1.KeyManagementService.AsymmetricSign",
            index=18,
            containing_service=None,
            input_type=_ASYMMETRICSIGNREQUEST,
            output_type=_ASYMMETRICSIGNRESPONSE,
            serialized_options=_b(
                '\202\323\344\223\002a"\\/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricSign:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="AsymmetricDecrypt",
            full_name="google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt",
            index=19,
            containing_service=None,
            input_type=_ASYMMETRICDECRYPTREQUEST,
            output_type=_ASYMMETRICDECRYPTRESPONSE,
            serialized_options=_b(
                '\202\323\344\223\002d"_/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricDecrypt:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateCryptoKeyPrimaryVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion",
            index=20,
            containing_service=None,
            input_type=_UPDATECRYPTOKEYPRIMARYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
            serialized_options=_b(
                '\202\323\344\223\002S"N/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:updatePrimaryVersion:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DestroyCryptoKeyVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion",
            index=21,
            containing_service=None,
            input_type=_DESTROYCRYPTOKEYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
            serialized_options=_b(
                '\202\323\344\223\002Z"U/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:destroy:\001*'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="RestoreCryptoKeyVersion",
            full_name="google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion",
            index=22,
            containing_service=None,
            input_type=_RESTORECRYPTOKEYVERSIONREQUEST,
            output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
            serialized_options=_b(
                '\202\323\344\223\002Z"U/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:restore:\001*'
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_KEYMANAGEMENTSERVICE)

DESCRIPTOR.services_by_name["KeyManagementService"] = _KEYMANAGEMENTSERVICE

# @@protoc_insertion_point(module_scope)
