# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: resources.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 google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from . import annotations_pb2 as annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='resources.proto',
  package='org.couchers.resources',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0fresources.proto\x12\x16org.couchers.resources\x1a\x1bgoogle/protobuf/empty.proto\x1a\x11\x61nnotations.proto\"0\n\x14GetTermsOfServiceRes\x12\x18\n\x10terms_of_service\x18\x01 \x01(\t\"H\n\x12\x43ommunityGuideline\x12\r\n\x05title\x18\x01 \x01(\t\x12\x11\n\tguideline\x18\x02 \x01(\t\x12\x10\n\x08icon_svg\x18\x03 \x01(\t\"e\n\x19GetCommunityGuidelinesRes\x12H\n\x14\x63ommunity_guidelines\x18\x01 \x03(\x0b\x32*.org.couchers.resources.CommunityGuideline\"&\n\x06Region\x12\x0e\n\x06\x61lpha3\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"@\n\rGetRegionsRes\x12/\n\x07regions\x18\x01 \x03(\x0b\x32\x1e.org.couchers.resources.Region\"&\n\x08Language\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"F\n\x0fGetLanguagesRes\x12\x33\n\tlanguages\x18\x01 \x03(\x0b\x32 .org.couchers.resources.Language2\xf7\x02\n\tResources\x12[\n\x11GetTermsOfService\x12\x16.google.protobuf.Empty\x1a,.org.couchers.resources.GetTermsOfServiceRes\"\x00\x12\x65\n\x16GetCommunityGuidelines\x12\x16.google.protobuf.Empty\x1a\x31.org.couchers.resources.GetCommunityGuidelinesRes\"\x00\x12M\n\nGetRegions\x12\x16.google.protobuf.Empty\x1a%.org.couchers.resources.GetRegionsRes\"\x00\x12Q\n\x0cGetLanguages\x12\x16.google.protobuf.Empty\x1a\'.org.couchers.resources.GetLanguagesRes\"\x00\x1a\x04\x88\xb5\x18\x01\x62\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,annotations__pb2.DESCRIPTOR,])




_GETTERMSOFSERVICERES = _descriptor.Descriptor(
  name='GetTermsOfServiceRes',
  full_name='org.couchers.resources.GetTermsOfServiceRes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='terms_of_service', full_name='org.couchers.resources.GetTermsOfServiceRes.terms_of_service', 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=91,
  serialized_end=139,
)


_COMMUNITYGUIDELINE = _descriptor.Descriptor(
  name='CommunityGuideline',
  full_name='org.couchers.resources.CommunityGuideline',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='title', full_name='org.couchers.resources.CommunityGuideline.title', 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),
    _descriptor.FieldDescriptor(
      name='guideline', full_name='org.couchers.resources.CommunityGuideline.guideline', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='icon_svg', full_name='org.couchers.resources.CommunityGuideline.icon_svg', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=141,
  serialized_end=213,
)


_GETCOMMUNITYGUIDELINESRES = _descriptor.Descriptor(
  name='GetCommunityGuidelinesRes',
  full_name='org.couchers.resources.GetCommunityGuidelinesRes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='community_guidelines', full_name='org.couchers.resources.GetCommunityGuidelinesRes.community_guidelines', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=215,
  serialized_end=316,
)


_REGION = _descriptor.Descriptor(
  name='Region',
  full_name='org.couchers.resources.Region',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='alpha3', full_name='org.couchers.resources.Region.alpha3', 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),
    _descriptor.FieldDescriptor(
      name='name', full_name='org.couchers.resources.Region.name', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=318,
  serialized_end=356,
)


_GETREGIONSRES = _descriptor.Descriptor(
  name='GetRegionsRes',
  full_name='org.couchers.resources.GetRegionsRes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='regions', full_name='org.couchers.resources.GetRegionsRes.regions', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=358,
  serialized_end=422,
)


_LANGUAGE = _descriptor.Descriptor(
  name='Language',
  full_name='org.couchers.resources.Language',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='code', full_name='org.couchers.resources.Language.code', 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),
    _descriptor.FieldDescriptor(
      name='name', full_name='org.couchers.resources.Language.name', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=424,
  serialized_end=462,
)


_GETLANGUAGESRES = _descriptor.Descriptor(
  name='GetLanguagesRes',
  full_name='org.couchers.resources.GetLanguagesRes',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='languages', full_name='org.couchers.resources.GetLanguagesRes.languages', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=464,
  serialized_end=534,
)

_GETCOMMUNITYGUIDELINESRES.fields_by_name['community_guidelines'].message_type = _COMMUNITYGUIDELINE
_GETREGIONSRES.fields_by_name['regions'].message_type = _REGION
_GETLANGUAGESRES.fields_by_name['languages'].message_type = _LANGUAGE
DESCRIPTOR.message_types_by_name['GetTermsOfServiceRes'] = _GETTERMSOFSERVICERES
DESCRIPTOR.message_types_by_name['CommunityGuideline'] = _COMMUNITYGUIDELINE
DESCRIPTOR.message_types_by_name['GetCommunityGuidelinesRes'] = _GETCOMMUNITYGUIDELINESRES
DESCRIPTOR.message_types_by_name['Region'] = _REGION
DESCRIPTOR.message_types_by_name['GetRegionsRes'] = _GETREGIONSRES
DESCRIPTOR.message_types_by_name['Language'] = _LANGUAGE
DESCRIPTOR.message_types_by_name['GetLanguagesRes'] = _GETLANGUAGESRES
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetTermsOfServiceRes = _reflection.GeneratedProtocolMessageType('GetTermsOfServiceRes', (_message.Message,), {
  'DESCRIPTOR' : _GETTERMSOFSERVICERES,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.GetTermsOfServiceRes)
  })
_sym_db.RegisterMessage(GetTermsOfServiceRes)

CommunityGuideline = _reflection.GeneratedProtocolMessageType('CommunityGuideline', (_message.Message,), {
  'DESCRIPTOR' : _COMMUNITYGUIDELINE,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.CommunityGuideline)
  })
_sym_db.RegisterMessage(CommunityGuideline)

GetCommunityGuidelinesRes = _reflection.GeneratedProtocolMessageType('GetCommunityGuidelinesRes', (_message.Message,), {
  'DESCRIPTOR' : _GETCOMMUNITYGUIDELINESRES,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.GetCommunityGuidelinesRes)
  })
_sym_db.RegisterMessage(GetCommunityGuidelinesRes)

Region = _reflection.GeneratedProtocolMessageType('Region', (_message.Message,), {
  'DESCRIPTOR' : _REGION,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.Region)
  })
_sym_db.RegisterMessage(Region)

GetRegionsRes = _reflection.GeneratedProtocolMessageType('GetRegionsRes', (_message.Message,), {
  'DESCRIPTOR' : _GETREGIONSRES,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.GetRegionsRes)
  })
_sym_db.RegisterMessage(GetRegionsRes)

Language = _reflection.GeneratedProtocolMessageType('Language', (_message.Message,), {
  'DESCRIPTOR' : _LANGUAGE,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.Language)
  })
_sym_db.RegisterMessage(Language)

GetLanguagesRes = _reflection.GeneratedProtocolMessageType('GetLanguagesRes', (_message.Message,), {
  'DESCRIPTOR' : _GETLANGUAGESRES,
  '__module__' : 'resources_pb2'
  # @@protoc_insertion_point(class_scope:org.couchers.resources.GetLanguagesRes)
  })
_sym_db.RegisterMessage(GetLanguagesRes)



_RESOURCES = _descriptor.ServiceDescriptor(
  name='Resources',
  full_name='org.couchers.resources.Resources',
  file=DESCRIPTOR,
  index=0,
  serialized_options=b'\210\265\030\001',
  create_key=_descriptor._internal_create_key,
  serialized_start=537,
  serialized_end=912,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetTermsOfService',
    full_name='org.couchers.resources.Resources.GetTermsOfService',
    index=0,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=_GETTERMSOFSERVICERES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetCommunityGuidelines',
    full_name='org.couchers.resources.Resources.GetCommunityGuidelines',
    index=1,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=_GETCOMMUNITYGUIDELINESRES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetRegions',
    full_name='org.couchers.resources.Resources.GetRegions',
    index=2,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=_GETREGIONSRES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetLanguages',
    full_name='org.couchers.resources.Resources.GetLanguages',
    index=3,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=_GETLANGUAGESRES,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_RESOURCES)

DESCRIPTOR.services_by_name['Resources'] = _RESOURCES

# @@protoc_insertion_point(module_scope)
