# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: donations.proto
"""Generated protocol buffer code."""
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 . import annotations_pb2 as annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='donations.proto',
  package='org.couchers.api.donations',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0f\x64onations.proto\x12\x1aorg.couchers.api.donations\x1a\x11\x61nnotations.proto\"8\n\x13InitiateDonationReq\x12\x0e\n\x06\x61mount\x18\x01 \x01(\r\x12\x11\n\trecurring\x18\x02 \x01(\x08\"9\n\x13InitiateDonationRes\x12\"\n\x1astripe_checkout_session_id\x18\x01 \x01(\t2\x89\x01\n\tDonations\x12v\n\x10InitiateDonation\x12/.org.couchers.api.donations.InitiateDonationReq\x1a/.org.couchers.api.donations.InitiateDonationRes\"\x00\x1a\x04\x88\xb5\x18\x03\x62\x06proto3'
  ,
  dependencies=[annotations__pb2.DESCRIPTOR,])




_INITIATEDONATIONREQ = _descriptor.Descriptor(
  name='InitiateDonationReq',
  full_name='org.couchers.api.donations.InitiateDonationReq',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='amount', full_name='org.couchers.api.donations.InitiateDonationReq.amount', index=0,
      number=1, type=13, cpp_type=3, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='recurring', full_name='org.couchers.api.donations.InitiateDonationReq.recurring', index=1,
      number=2, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=66,
  serialized_end=122,
)


_INITIATEDONATIONRES = _descriptor.Descriptor(
  name='InitiateDonationRes',
  full_name='org.couchers.api.donations.InitiateDonationRes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='stripe_checkout_session_id', full_name='org.couchers.api.donations.InitiateDonationRes.stripe_checkout_session_id', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=124,
  serialized_end=181,
)

DESCRIPTOR.message_types_by_name['InitiateDonationReq'] = _INITIATEDONATIONREQ
DESCRIPTOR.message_types_by_name['InitiateDonationRes'] = _INITIATEDONATIONRES
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

InitiateDonationReq = _reflection.GeneratedProtocolMessageType('InitiateDonationReq', (_message.Message,), {
  'DESCRIPTOR' : _INITIATEDONATIONREQ,
  '__module__' : 'donations_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.donations.InitiateDonationReq)
  })
_sym_db.RegisterMessage(InitiateDonationReq)

InitiateDonationRes = _reflection.GeneratedProtocolMessageType('InitiateDonationRes', (_message.Message,), {
  'DESCRIPTOR' : _INITIATEDONATIONRES,
  '__module__' : 'donations_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.donations.InitiateDonationRes)
  })
_sym_db.RegisterMessage(InitiateDonationRes)



_DONATIONS = _descriptor.ServiceDescriptor(
  name='Donations',
  full_name='org.couchers.api.donations.Donations',
  file=DESCRIPTOR,
  index=0,
  serialized_options=b'\210\265\030\003',
  create_key=_descriptor._internal_create_key,
  serialized_start=184,
  serialized_end=321,
  methods=[
  _descriptor.MethodDescriptor(
    name='InitiateDonation',
    full_name='org.couchers.api.donations.Donations.InitiateDonation',
    index=0,
    containing_service=None,
    input_type=_INITIATEDONATIONREQ,
    output_type=_INITIATEDONATIONRES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_DONATIONS)

DESCRIPTOR.services_by_name['Donations'] = _DONATIONS

# @@protoc_insertion_point(module_scope)
