# 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
from google.protobuf import descriptor_pb2
# @@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.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='google/cloud/kms_v1/proto/service.proto',
  package='google.cloud.kms.v1',
  syntax='proto3',
  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\x1cgoogle/protobuf/struct.proto\x1a\x1egoogle/protobuf/wrappers.proto\"L\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\"N\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\"U\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\"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\"!\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\"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\"s\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\"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\"}\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\"$\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\"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(\t2\xdb\x17\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\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\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\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\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*B\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_protobuf_dot_struct__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=233,
  serialized_end=309,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=311,
  serialized_end=389,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=391,
  serialized_end=476,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=478,
  serialized_end=594,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=596,
  serialized_end=718,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=721,
  serialized_end=865,
)


_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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=867,
  serialized_end=900,
)


_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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=902,
  serialized_end=937,
)


_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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=939,
  serialized_end=981,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=983,
  serialized_end=1090,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1092,
  serialized_end=1207,
)


_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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1209,
  serialized_end=1323,
)


_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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1325,
  serialized_end=1450,
)


_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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1453,
  serialized_end=1600,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1602,
  serialized_end=1690,
)


_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,
      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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1692,
  serialized_end=1781,
)


_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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1783,
  serialized_end=1819,
)


_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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1821,
  serialized_end=1872,
)


_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,
      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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1874,
  serialized_end=1957,
)


_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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1959,
  serialized_end=2005,
)


_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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2007,
  serialized_end=2053,
)

_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
_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
_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
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['ListKeyRingsResponse'] = _LISTKEYRINGSRESPONSE
DESCRIPTOR.message_types_by_name['ListCryptoKeysResponse'] = _LISTCRYPTOKEYSRESPONSE
DESCRIPTOR.message_types_by_name['ListCryptoKeyVersionsResponse'] = _LISTCRYPTOKEYVERSIONSRESPONSE
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['CreateKeyRingRequest'] = _CREATEKEYRINGREQUEST
DESCRIPTOR.message_types_by_name['CreateCryptoKeyRequest'] = _CREATECRYPTOKEYREQUEST
DESCRIPTOR.message_types_by_name['CreateCryptoKeyVersionRequest'] = _CREATECRYPTOKEYVERSIONREQUEST
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['DecryptResponse'] = _DECRYPTRESPONSE
DESCRIPTOR.message_types_by_name['EncryptResponse'] = _ENCRYPTRESPONSE
DESCRIPTOR.message_types_by_name['UpdateCryptoKeyPrimaryVersionRequest'] = _UPDATECRYPTOKEYPRIMARYVERSIONREQUEST
DESCRIPTOR.message_types_by_name['DestroyCryptoKeyVersionRequest'] = _DESTROYCRYPTOKEYVERSIONREQUEST
DESCRIPTOR.message_types_by_name['RestoreCryptoKeyVersionRequest'] = _RESTORECRYPTOKEYVERSIONREQUEST
_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].
  """,
  # @@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].
  """,
  # @@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].
  """,
  # @@protoc_insertion_point(class_scope:google.cloud.kms.v1.ListCryptoKeyVersionsRequest)
  ))
_sym_db.RegisterMessage(ListCryptoKeyVersionsRequest)

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)

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)

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.
  """,
  # @@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)

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.
      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]. Must be no larger than 64KiB.
  """,
  # @@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)

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)

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)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _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'))

_KEYMANAGEMENTSERVICE = _descriptor.ServiceDescriptor(
  name='KeyManagementService',
  full_name='google.cloud.kms.v1.KeyManagementService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=2056,
  serialized_end=5091,
  methods=[
  _descriptor.MethodDescriptor(
    name='ListKeyRings',
    full_name='google.cloud.kms.v1.KeyManagementService.ListKeyRings',
    index=0,
    containing_service=None,
    input_type=_LISTKEYRINGSREQUEST,
    output_type=_LISTKEYRINGSRESPONSE,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002O\022M/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions')),
  ),
  _descriptor.MethodDescriptor(
    name='GetKeyRing',
    full_name='google.cloud.kms.v1.KeyManagementService.GetKeyRing',
    index=3,
    containing_service=None,
    input_type=_GETKEYRINGREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._KEYRING,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=4,
    containing_service=None,
    input_type=_GETCRYPTOKEYREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=5,
    containing_service=None,
    input_type=_GETCRYPTOKEYVERSIONREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002O\022M/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}')),
  ),
  _descriptor.MethodDescriptor(
    name='CreateKeyRing',
    full_name='google.cloud.kms.v1.KeyManagementService.CreateKeyRing',
    index=6,
    containing_service=None,
    input_type=_CREATEKEYRINGREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._KEYRING,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=7,
    containing_service=None,
    input_type=_CREATECRYPTOKEYREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=8,
    containing_service=None,
    input_type=_CREATECRYPTOKEYVERSIONREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002c\"M/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:\022crypto_key_version')),
  ),
  _descriptor.MethodDescriptor(
    name='UpdateCryptoKey',
    full_name='google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey',
    index=9,
    containing_service=None,
    input_type=_UPDATECRYPTOKEYREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=10,
    containing_service=None,
    input_type=_UPDATECRYPTOKEYVERSIONREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=11,
    containing_service=None,
    input_type=_ENCRYPTREQUEST,
    output_type=_ENCRYPTRESPONSE,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=12,
    containing_service=None,
    input_type=_DECRYPTREQUEST,
    output_type=_DECRYPTRESPONSE,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002F\"A/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:decrypt:\001*')),
  ),
  _descriptor.MethodDescriptor(
    name='UpdateCryptoKeyPrimaryVersion',
    full_name='google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion',
    index=13,
    containing_service=None,
    input_type=_UPDATECRYPTOKEYPRIMARYVERSIONREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEY,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=14,
    containing_service=None,
    input_type=_DESTROYCRYPTOKEYVERSIONREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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=15,
    containing_service=None,
    input_type=_RESTORECRYPTOKEYVERSIONREQUEST,
    output_type=google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2._CRYPTOKEYVERSION,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _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)
