# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: gcm_encryption_data.proto

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 descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='gcm_encryption_data.proto',
  package='gcm',
  serialized_pb='\n\x19gcm_encryption_data.proto\x12\x03gcm\"w\n\x07KeyPair\x12\"\n\x04type\x18\x01 \x02(\x0e\x32\x14.gcm.KeyPair.KeyType\x12\x13\n\x0bprivate_key\x18\x02 \x02(\x0c\x12\x12\n\npublic_key\x18\x03 \x02(\x0c\"\x1f\n\x07KeyType\x12\x14\n\x10\x45\x43\x44H_CURVE_25519\x10\x00\"<\n\x0e\x45ncryptionData\x12\x0e\n\x06\x61pp_id\x18\x01 \x02(\t\x12\x1a\n\x04keys\x18\x02 \x03(\x0b\x32\x0c.gcm.KeyPairB\x02H\x03')



_KEYPAIR_KEYTYPE = _descriptor.EnumDescriptor(
  name='KeyType',
  full_name='gcm.KeyPair.KeyType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ECDH_CURVE_25519', index=0, number=0,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=122,
  serialized_end=153,
)


_KEYPAIR = _descriptor.Descriptor(
  name='KeyPair',
  full_name='gcm.KeyPair',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='gcm.KeyPair.type', index=0,
      number=1, type=14, cpp_type=8, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='private_key', full_name='gcm.KeyPair.private_key', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='public_key', full_name='gcm.KeyPair.public_key', index=2,
      number=3, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _KEYPAIR_KEYTYPE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=34,
  serialized_end=153,
)


_ENCRYPTIONDATA = _descriptor.Descriptor(
  name='EncryptionData',
  full_name='gcm.EncryptionData',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_id', full_name='gcm.EncryptionData.app_id', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='keys', full_name='gcm.EncryptionData.keys', index=1,
      number=2, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=155,
  serialized_end=215,
)

_KEYPAIR.fields_by_name['type'].enum_type = _KEYPAIR_KEYTYPE
_KEYPAIR_KEYTYPE.containing_type = _KEYPAIR;
_ENCRYPTIONDATA.fields_by_name['keys'].message_type = _KEYPAIR
DESCRIPTOR.message_types_by_name['KeyPair'] = _KEYPAIR
DESCRIPTOR.message_types_by_name['EncryptionData'] = _ENCRYPTIONDATA

class KeyPair(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _KEYPAIR

  # @@protoc_insertion_point(class_scope:gcm.KeyPair)

class EncryptionData(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _ENCRYPTIONDATA

  # @@protoc_insertion_point(class_scope:gcm.EncryptionData)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003')
# @@protoc_insertion_point(module_scope)
