# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: requests.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from . import annotations_pb2 as annotations__pb2
from . import conversations_pb2 as conversations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0erequests.proto\x12\x19org.couchers.api.requests\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61nnotations.proto\x1a\x13\x63onversations.proto\"^\n\x14\x43reateHostRequestReq\x12\x14\n\x0chost_user_id\x18\x01 \x01(\x03\x12\x11\n\tfrom_date\x18\x02 \x01(\t\x12\x0f\n\x07to_date\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\"\xc7\x02\n\x0bHostRequest\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\x12\x16\n\x0esurfer_user_id\x18\x02 \x01(\x03\x12\x14\n\x0chost_user_id\x18\x03 \x01(\x03\x12\x41\n\x06status\x18\x04 \x01(\x0e\x32\x31.org.couchers.api.conversations.HostRequestStatus\x12+\n\x07\x63reated\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tfrom_date\x18\x06 \x01(\t\x12\x0f\n\x07to_date\x18\x07 \x01(\t\x12\x1c\n\x14last_seen_message_id\x18\x08 \x01(\x03\x12?\n\x0elatest_message\x18\t \x01(\x0b\x32\'.org.couchers.api.conversations.Message\",\n\x11GetHostRequestReq\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\"/\n\x14\x43reateHostRequestRes\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\"\x81\x01\n\x15RespondHostRequestReq\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\x12\x41\n\x06status\x18\x02 \x01(\x0e\x32\x31.org.couchers.api.conversations.HostRequestStatus\x12\x0c\n\x04text\x18\x03 \x01(\t\"}\n\x13ListHostRequestsReq\x12\x17\n\x0flast_request_id\x18\x01 \x01(\x03\x12\x0e\n\x06number\x18\x02 \x01(\r\x12\x13\n\x0bonly_active\x18\x03 \x01(\x08\x12\x11\n\tonly_sent\x18\x04 \x01(\x08\x12\x15\n\ronly_received\x18\x05 \x01(\x08\"~\n\x13ListHostRequestsRes\x12=\n\rhost_requests\x18\x01 \x03(\x0b\x32&.org.couchers.api.requests.HostRequest\x12\x17\n\x0flast_request_id\x18\x02 \x01(\x03\x12\x0f\n\x07no_more\x18\x03 \x01(\x08\"]\n\x19GetHostRequestMessagesReq\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\x12\x17\n\x0flast_message_id\x18\x02 \x01(\x03\x12\x0e\n\x06number\x18\x03 \x01(\r\"\x80\x01\n\x19GetHostRequestMessagesRes\x12\x39\n\x08messages\x18\x01 \x03(\x0b\x32\'.org.couchers.api.conversations.Message\x12\x17\n\x0flast_message_id\x18\x04 \x01(\x03\x12\x0f\n\x07no_more\x18\x05 \x01(\x08\"B\n\x19SendHostRequestMessageReq\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\x12\x0c\n\x04text\x18\x02 \x01(\t\"o\n\x18GetHostRequestUpdatesReq\x12\x19\n\x11newest_message_id\x18\x01 \x01(\x03\x12\x0e\n\x06number\x18\x02 \x01(\r\x12\x11\n\tonly_sent\x18\x03 \x01(\x08\x12\x15\n\ronly_received\x18\x04 \x01(\x08\"\xa9\x01\n\x11HostRequestUpdate\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\x12\x38\n\x07message\x18\x02 \x01(\x0b\x32\'.org.couchers.api.conversations.Message\x12\x41\n\x06status\x18\x03 \x01(\x0e\x32\x31.org.couchers.api.conversations.HostRequestStatus\"j\n\x18GetHostRequestUpdatesRes\x12=\n\x07updates\x18\x01 \x03(\x0b\x32,.org.couchers.api.requests.HostRequestUpdate\x12\x0f\n\x07no_more\x18\x02 \x01(\x08\"S\n\x1aMarkLastSeenHostRequestReq\x12\x17\n\x0fhost_request_id\x18\x01 \x01(\x03\x12\x1c\n\x14last_seen_message_id\x18\x02 \x01(\x03\"%\n\x12GetResponseRateReq\x12\x0f\n\x07user_id\x18\x01 \x01(\x03\"\x1e\n\x1cResponseRateInsufficientData\"\x11\n\x0fResponseRateLow\"H\n\x10ResponseRateSome\x12\x34\n\x11response_time_p33\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"~\n\x10ResponseRateMost\x12\x34\n\x11response_time_p33\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11response_time_p66\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x83\x01\n\x15ResponseRateAlmostAll\x12\x34\n\x11response_time_p33\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11response_time_p66\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xf8\x02\n\x12GetResponseRateRes\x12T\n\x11insufficient_data\x18\x01 \x01(\x0b\x32\x37.org.couchers.api.requests.ResponseRateInsufficientDataH\x00\x12\x39\n\x03low\x18\x02 \x01(\x0b\x32*.org.couchers.api.requests.ResponseRateLowH\x00\x12;\n\x04some\x18\x03 \x01(\x0b\x32+.org.couchers.api.requests.ResponseRateSomeH\x00\x12;\n\x04most\x18\x04 \x01(\x0b\x32+.org.couchers.api.requests.ResponseRateMostH\x00\x12\x46\n\nalmost_all\x18\x05 \x01(\x0b\x32\x30.org.couchers.api.requests.ResponseRateAlmostAllH\x00\x42\x0f\n\rresponse_rate*-\n\x0cResponseRate\x12\x1d\n\x19RESPONSE_RATE_UNSPECIFIED\x10\x00\x32\x91\x08\n\x08Requests\x12u\n\x11\x43reateHostRequest\x12/.org.couchers.api.requests.CreateHostRequestReq\x1a/.org.couchers.api.requests.CreateHostRequestRes\x12\x66\n\x0eGetHostRequest\x12,.org.couchers.api.requests.GetHostRequestReq\x1a&.org.couchers.api.requests.HostRequest\x12^\n\x12RespondHostRequest\x12\x30.org.couchers.api.requests.RespondHostRequestReq\x1a\x16.google.protobuf.Empty\x12r\n\x10ListHostRequests\x12..org.couchers.api.requests.ListHostRequestsReq\x1a..org.couchers.api.requests.ListHostRequestsRes\x12\x84\x01\n\x16GetHostRequestMessages\x12\x34.org.couchers.api.requests.GetHostRequestMessagesReq\x1a\x34.org.couchers.api.requests.GetHostRequestMessagesRes\x12\x66\n\x16SendHostRequestMessage\x12\x34.org.couchers.api.requests.SendHostRequestMessageReq\x1a\x16.google.protobuf.Empty\x12\x81\x01\n\x15GetHostRequestUpdates\x12\x33.org.couchers.api.requests.GetHostRequestUpdatesReq\x1a\x33.org.couchers.api.requests.GetHostRequestUpdatesRes\x12h\n\x17MarkLastSeenHostRequest\x12\x35.org.couchers.api.requests.MarkLastSeenHostRequestReq\x1a\x16.google.protobuf.Empty\x12o\n\x0fGetResponseRate\x12-.org.couchers.api.requests.GetResponseRateReq\x1a-.org.couchers.api.requests.GetResponseRateRes\x1a\x04\x88\xb5\x18\x03\x62\x06proto3')

_RESPONSERATE = DESCRIPTOR.enum_types_by_name['ResponseRate']
ResponseRate = enum_type_wrapper.EnumTypeWrapper(_RESPONSERATE)
RESPONSE_RATE_UNSPECIFIED = 0


_CREATEHOSTREQUESTREQ = DESCRIPTOR.message_types_by_name['CreateHostRequestReq']
_HOSTREQUEST = DESCRIPTOR.message_types_by_name['HostRequest']
_GETHOSTREQUESTREQ = DESCRIPTOR.message_types_by_name['GetHostRequestReq']
_CREATEHOSTREQUESTRES = DESCRIPTOR.message_types_by_name['CreateHostRequestRes']
_RESPONDHOSTREQUESTREQ = DESCRIPTOR.message_types_by_name['RespondHostRequestReq']
_LISTHOSTREQUESTSREQ = DESCRIPTOR.message_types_by_name['ListHostRequestsReq']
_LISTHOSTREQUESTSRES = DESCRIPTOR.message_types_by_name['ListHostRequestsRes']
_GETHOSTREQUESTMESSAGESREQ = DESCRIPTOR.message_types_by_name['GetHostRequestMessagesReq']
_GETHOSTREQUESTMESSAGESRES = DESCRIPTOR.message_types_by_name['GetHostRequestMessagesRes']
_SENDHOSTREQUESTMESSAGEREQ = DESCRIPTOR.message_types_by_name['SendHostRequestMessageReq']
_GETHOSTREQUESTUPDATESREQ = DESCRIPTOR.message_types_by_name['GetHostRequestUpdatesReq']
_HOSTREQUESTUPDATE = DESCRIPTOR.message_types_by_name['HostRequestUpdate']
_GETHOSTREQUESTUPDATESRES = DESCRIPTOR.message_types_by_name['GetHostRequestUpdatesRes']
_MARKLASTSEENHOSTREQUESTREQ = DESCRIPTOR.message_types_by_name['MarkLastSeenHostRequestReq']
_GETRESPONSERATEREQ = DESCRIPTOR.message_types_by_name['GetResponseRateReq']
_RESPONSERATEINSUFFICIENTDATA = DESCRIPTOR.message_types_by_name['ResponseRateInsufficientData']
_RESPONSERATELOW = DESCRIPTOR.message_types_by_name['ResponseRateLow']
_RESPONSERATESOME = DESCRIPTOR.message_types_by_name['ResponseRateSome']
_RESPONSERATEMOST = DESCRIPTOR.message_types_by_name['ResponseRateMost']
_RESPONSERATEALMOSTALL = DESCRIPTOR.message_types_by_name['ResponseRateAlmostAll']
_GETRESPONSERATERES = DESCRIPTOR.message_types_by_name['GetResponseRateRes']
CreateHostRequestReq = _reflection.GeneratedProtocolMessageType('CreateHostRequestReq', (_message.Message,), {
  'DESCRIPTOR' : _CREATEHOSTREQUESTREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.CreateHostRequestReq)
  })
_sym_db.RegisterMessage(CreateHostRequestReq)

HostRequest = _reflection.GeneratedProtocolMessageType('HostRequest', (_message.Message,), {
  'DESCRIPTOR' : _HOSTREQUEST,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.HostRequest)
  })
_sym_db.RegisterMessage(HostRequest)

GetHostRequestReq = _reflection.GeneratedProtocolMessageType('GetHostRequestReq', (_message.Message,), {
  'DESCRIPTOR' : _GETHOSTREQUESTREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetHostRequestReq)
  })
_sym_db.RegisterMessage(GetHostRequestReq)

CreateHostRequestRes = _reflection.GeneratedProtocolMessageType('CreateHostRequestRes', (_message.Message,), {
  'DESCRIPTOR' : _CREATEHOSTREQUESTRES,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.CreateHostRequestRes)
  })
_sym_db.RegisterMessage(CreateHostRequestRes)

RespondHostRequestReq = _reflection.GeneratedProtocolMessageType('RespondHostRequestReq', (_message.Message,), {
  'DESCRIPTOR' : _RESPONDHOSTREQUESTREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.RespondHostRequestReq)
  })
_sym_db.RegisterMessage(RespondHostRequestReq)

ListHostRequestsReq = _reflection.GeneratedProtocolMessageType('ListHostRequestsReq', (_message.Message,), {
  'DESCRIPTOR' : _LISTHOSTREQUESTSREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ListHostRequestsReq)
  })
_sym_db.RegisterMessage(ListHostRequestsReq)

ListHostRequestsRes = _reflection.GeneratedProtocolMessageType('ListHostRequestsRes', (_message.Message,), {
  'DESCRIPTOR' : _LISTHOSTREQUESTSRES,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ListHostRequestsRes)
  })
_sym_db.RegisterMessage(ListHostRequestsRes)

GetHostRequestMessagesReq = _reflection.GeneratedProtocolMessageType('GetHostRequestMessagesReq', (_message.Message,), {
  'DESCRIPTOR' : _GETHOSTREQUESTMESSAGESREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetHostRequestMessagesReq)
  })
_sym_db.RegisterMessage(GetHostRequestMessagesReq)

GetHostRequestMessagesRes = _reflection.GeneratedProtocolMessageType('GetHostRequestMessagesRes', (_message.Message,), {
  'DESCRIPTOR' : _GETHOSTREQUESTMESSAGESRES,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetHostRequestMessagesRes)
  })
_sym_db.RegisterMessage(GetHostRequestMessagesRes)

SendHostRequestMessageReq = _reflection.GeneratedProtocolMessageType('SendHostRequestMessageReq', (_message.Message,), {
  'DESCRIPTOR' : _SENDHOSTREQUESTMESSAGEREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.SendHostRequestMessageReq)
  })
_sym_db.RegisterMessage(SendHostRequestMessageReq)

GetHostRequestUpdatesReq = _reflection.GeneratedProtocolMessageType('GetHostRequestUpdatesReq', (_message.Message,), {
  'DESCRIPTOR' : _GETHOSTREQUESTUPDATESREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetHostRequestUpdatesReq)
  })
_sym_db.RegisterMessage(GetHostRequestUpdatesReq)

HostRequestUpdate = _reflection.GeneratedProtocolMessageType('HostRequestUpdate', (_message.Message,), {
  'DESCRIPTOR' : _HOSTREQUESTUPDATE,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.HostRequestUpdate)
  })
_sym_db.RegisterMessage(HostRequestUpdate)

GetHostRequestUpdatesRes = _reflection.GeneratedProtocolMessageType('GetHostRequestUpdatesRes', (_message.Message,), {
  'DESCRIPTOR' : _GETHOSTREQUESTUPDATESRES,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetHostRequestUpdatesRes)
  })
_sym_db.RegisterMessage(GetHostRequestUpdatesRes)

MarkLastSeenHostRequestReq = _reflection.GeneratedProtocolMessageType('MarkLastSeenHostRequestReq', (_message.Message,), {
  'DESCRIPTOR' : _MARKLASTSEENHOSTREQUESTREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.MarkLastSeenHostRequestReq)
  })
_sym_db.RegisterMessage(MarkLastSeenHostRequestReq)

GetResponseRateReq = _reflection.GeneratedProtocolMessageType('GetResponseRateReq', (_message.Message,), {
  'DESCRIPTOR' : _GETRESPONSERATEREQ,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetResponseRateReq)
  })
_sym_db.RegisterMessage(GetResponseRateReq)

ResponseRateInsufficientData = _reflection.GeneratedProtocolMessageType('ResponseRateInsufficientData', (_message.Message,), {
  'DESCRIPTOR' : _RESPONSERATEINSUFFICIENTDATA,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ResponseRateInsufficientData)
  })
_sym_db.RegisterMessage(ResponseRateInsufficientData)

ResponseRateLow = _reflection.GeneratedProtocolMessageType('ResponseRateLow', (_message.Message,), {
  'DESCRIPTOR' : _RESPONSERATELOW,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ResponseRateLow)
  })
_sym_db.RegisterMessage(ResponseRateLow)

ResponseRateSome = _reflection.GeneratedProtocolMessageType('ResponseRateSome', (_message.Message,), {
  'DESCRIPTOR' : _RESPONSERATESOME,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ResponseRateSome)
  })
_sym_db.RegisterMessage(ResponseRateSome)

ResponseRateMost = _reflection.GeneratedProtocolMessageType('ResponseRateMost', (_message.Message,), {
  'DESCRIPTOR' : _RESPONSERATEMOST,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ResponseRateMost)
  })
_sym_db.RegisterMessage(ResponseRateMost)

ResponseRateAlmostAll = _reflection.GeneratedProtocolMessageType('ResponseRateAlmostAll', (_message.Message,), {
  'DESCRIPTOR' : _RESPONSERATEALMOSTALL,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.ResponseRateAlmostAll)
  })
_sym_db.RegisterMessage(ResponseRateAlmostAll)

GetResponseRateRes = _reflection.GeneratedProtocolMessageType('GetResponseRateRes', (_message.Message,), {
  'DESCRIPTOR' : _GETRESPONSERATERES,
  '__module__' : 'requests_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.api.requests.GetResponseRateRes)
  })
_sym_db.RegisterMessage(GetResponseRateRes)

_REQUESTS = DESCRIPTOR.services_by_name['Requests']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _REQUESTS._options = None
  _REQUESTS._serialized_options = b'\210\265\030\003'
  _RESPONSERATE._serialized_start=2664
  _RESPONSERATE._serialized_end=2709
  _CREATEHOSTREQUESTREQ._serialized_start=179
  _CREATEHOSTREQUESTREQ._serialized_end=273
  _HOSTREQUEST._serialized_start=276
  _HOSTREQUEST._serialized_end=603
  _GETHOSTREQUESTREQ._serialized_start=605
  _GETHOSTREQUESTREQ._serialized_end=649
  _CREATEHOSTREQUESTRES._serialized_start=651
  _CREATEHOSTREQUESTRES._serialized_end=698
  _RESPONDHOSTREQUESTREQ._serialized_start=701
  _RESPONDHOSTREQUESTREQ._serialized_end=830
  _LISTHOSTREQUESTSREQ._serialized_start=832
  _LISTHOSTREQUESTSREQ._serialized_end=957
  _LISTHOSTREQUESTSRES._serialized_start=959
  _LISTHOSTREQUESTSRES._serialized_end=1085
  _GETHOSTREQUESTMESSAGESREQ._serialized_start=1087
  _GETHOSTREQUESTMESSAGESREQ._serialized_end=1180
  _GETHOSTREQUESTMESSAGESRES._serialized_start=1183
  _GETHOSTREQUESTMESSAGESRES._serialized_end=1311
  _SENDHOSTREQUESTMESSAGEREQ._serialized_start=1313
  _SENDHOSTREQUESTMESSAGEREQ._serialized_end=1379
  _GETHOSTREQUESTUPDATESREQ._serialized_start=1381
  _GETHOSTREQUESTUPDATESREQ._serialized_end=1492
  _HOSTREQUESTUPDATE._serialized_start=1495
  _HOSTREQUESTUPDATE._serialized_end=1664
  _GETHOSTREQUESTUPDATESRES._serialized_start=1666
  _GETHOSTREQUESTUPDATESRES._serialized_end=1772
  _MARKLASTSEENHOSTREQUESTREQ._serialized_start=1774
  _MARKLASTSEENHOSTREQUESTREQ._serialized_end=1857
  _GETRESPONSERATEREQ._serialized_start=1859
  _GETRESPONSERATEREQ._serialized_end=1896
  _RESPONSERATEINSUFFICIENTDATA._serialized_start=1898
  _RESPONSERATEINSUFFICIENTDATA._serialized_end=1928
  _RESPONSERATELOW._serialized_start=1930
  _RESPONSERATELOW._serialized_end=1947
  _RESPONSERATESOME._serialized_start=1949
  _RESPONSERATESOME._serialized_end=2021
  _RESPONSERATEMOST._serialized_start=2023
  _RESPONSERATEMOST._serialized_end=2149
  _RESPONSERATEALMOSTALL._serialized_start=2152
  _RESPONSERATEALMOSTALL._serialized_end=2283
  _GETRESPONSERATERES._serialized_start=2286
  _GETRESPONSERATERES._serialized_end=2662
  _REQUESTS._serialized_start=2712
  _REQUESTS._serialized_end=3753
# @@protoc_insertion_point(module_scope)
