# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: admobilize/salestool/v1alpha1/salestool_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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='admobilize/salestool/v1alpha1/salestool_service.proto',
  package='admobilize.salestool.v1alpha1',
  syntax='proto3',
  serialized_options=_b('\n!com.admobilize.salestool.v1alpha1B\016SalesToolProtoP\001ZAbitbucket.org/admobilize/admobilizeapis-go/pkg/salestool/v1alpha1\242\002\005ADMST\252\002\035AdMobilize.SalesTool.V1Alpha1'),
  serialized_pb=_b('\n5admobilize/salestool/v1alpha1/salestool_service.proto\x12\x1d\x61\x64mobilize.salestool.v1alpha1\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\"#\n\x12GetCustomerRequest\x12\r\n\x05\x65mail\x18\x01 \x01(\t\"W\n\x15ListCustomersResponse\x12>\n\tcustomers\x18\x01 \x03(\x0b\x32+.admobilize.salestool.v1alpha1.CustomerMeta\"}\n\x08\x43ustomer\x12\x39\n\x04meta\x18\x01 \x01(\x0b\x32+.admobilize.salestool.v1alpha1.CustomerMeta\x12\x36\n\x07\x64\x65vices\x18\x02 \x03(\x0b\x32%.admobilize.salestool.v1alpha1.Device\"n\n\x0c\x43ustomerMeta\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x12\n\ncreated_at\x18\x02 \x01(\t\x12\x19\n\x11number_of_devices\x18\x03 \x01(\x05\x12 \n\x18number_of_active_devices\x18\x04 \x01(\x05\">\n\x06\x44\x65vice\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tive\x18\x02 \x01(\x08\x12\x16\n\x0elast_heartbeat\x18\x03 \x01(\t2\xa1\x02\n\x10SalesToolService\x12z\n\rListCustomers\x12\x16.google.protobuf.Empty\x1a\x34.admobilize.salestool.v1alpha1.ListCustomersResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1alpha1/customers\x12\x90\x01\n\x0bGetCustomer\x12\x31.admobilize.salestool.v1alpha1.GetCustomerRequest\x1a\'.admobilize.salestool.v1alpha1.Customer\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1alpha1/customers/{email=*}B\xa0\x01\n!com.admobilize.salestool.v1alpha1B\x0eSalesToolProtoP\x01ZAbitbucket.org/admobilize/admobilizeapis-go/pkg/salestool/v1alpha1\xa2\x02\x05\x41\x44MST\xaa\x02\x1d\x41\x64Mobilize.SalesTool.V1Alpha1b\x06proto3')
  ,
  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,])




_GETCUSTOMERREQUEST = _descriptor.Descriptor(
  name='GetCustomerRequest',
  full_name='admobilize.salestool.v1alpha1.GetCustomerRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='email', full_name='admobilize.salestool.v1alpha1.GetCustomerRequest.email', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=147,
  serialized_end=182,
)


_LISTCUSTOMERSRESPONSE = _descriptor.Descriptor(
  name='ListCustomersResponse',
  full_name='admobilize.salestool.v1alpha1.ListCustomersResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='customers', full_name='admobilize.salestool.v1alpha1.ListCustomersResponse.customers', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=184,
  serialized_end=271,
)


_CUSTOMER = _descriptor.Descriptor(
  name='Customer',
  full_name='admobilize.salestool.v1alpha1.Customer',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='meta', full_name='admobilize.salestool.v1alpha1.Customer.meta', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='devices', full_name='admobilize.salestool.v1alpha1.Customer.devices', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=273,
  serialized_end=398,
)


_CUSTOMERMETA = _descriptor.Descriptor(
  name='CustomerMeta',
  full_name='admobilize.salestool.v1alpha1.CustomerMeta',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='email', full_name='admobilize.salestool.v1alpha1.CustomerMeta.email', 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),
    _descriptor.FieldDescriptor(
      name='created_at', full_name='admobilize.salestool.v1alpha1.CustomerMeta.created_at', 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),
    _descriptor.FieldDescriptor(
      name='number_of_devices', full_name='admobilize.salestool.v1alpha1.CustomerMeta.number_of_devices', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='number_of_active_devices', full_name='admobilize.salestool.v1alpha1.CustomerMeta.number_of_active_devices', index=3,
      number=4, 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=400,
  serialized_end=510,
)


_DEVICE = _descriptor.Descriptor(
  name='Device',
  full_name='admobilize.salestool.v1alpha1.Device',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='admobilize.salestool.v1alpha1.Device.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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='active', full_name='admobilize.salestool.v1alpha1.Device.active', 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),
    _descriptor.FieldDescriptor(
      name='last_heartbeat', full_name='admobilize.salestool.v1alpha1.Device.last_heartbeat', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=512,
  serialized_end=574,
)

_LISTCUSTOMERSRESPONSE.fields_by_name['customers'].message_type = _CUSTOMERMETA
_CUSTOMER.fields_by_name['meta'].message_type = _CUSTOMERMETA
_CUSTOMER.fields_by_name['devices'].message_type = _DEVICE
DESCRIPTOR.message_types_by_name['GetCustomerRequest'] = _GETCUSTOMERREQUEST
DESCRIPTOR.message_types_by_name['ListCustomersResponse'] = _LISTCUSTOMERSRESPONSE
DESCRIPTOR.message_types_by_name['Customer'] = _CUSTOMER
DESCRIPTOR.message_types_by_name['CustomerMeta'] = _CUSTOMERMETA
DESCRIPTOR.message_types_by_name['Device'] = _DEVICE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetCustomerRequest = _reflection.GeneratedProtocolMessageType('GetCustomerRequest', (_message.Message,), dict(
  DESCRIPTOR = _GETCUSTOMERREQUEST,
  __module__ = 'admobilize.salestool.v1alpha1.salestool_service_pb2'
  # @@protoc_insertion_point(class_scope:admobilize.salestool.v1alpha1.GetCustomerRequest)
  ))
_sym_db.RegisterMessage(GetCustomerRequest)

ListCustomersResponse = _reflection.GeneratedProtocolMessageType('ListCustomersResponse', (_message.Message,), dict(
  DESCRIPTOR = _LISTCUSTOMERSRESPONSE,
  __module__ = 'admobilize.salestool.v1alpha1.salestool_service_pb2'
  # @@protoc_insertion_point(class_scope:admobilize.salestool.v1alpha1.ListCustomersResponse)
  ))
_sym_db.RegisterMessage(ListCustomersResponse)

Customer = _reflection.GeneratedProtocolMessageType('Customer', (_message.Message,), dict(
  DESCRIPTOR = _CUSTOMER,
  __module__ = 'admobilize.salestool.v1alpha1.salestool_service_pb2'
  # @@protoc_insertion_point(class_scope:admobilize.salestool.v1alpha1.Customer)
  ))
_sym_db.RegisterMessage(Customer)

CustomerMeta = _reflection.GeneratedProtocolMessageType('CustomerMeta', (_message.Message,), dict(
  DESCRIPTOR = _CUSTOMERMETA,
  __module__ = 'admobilize.salestool.v1alpha1.salestool_service_pb2'
  # @@protoc_insertion_point(class_scope:admobilize.salestool.v1alpha1.CustomerMeta)
  ))
_sym_db.RegisterMessage(CustomerMeta)

Device = _reflection.GeneratedProtocolMessageType('Device', (_message.Message,), dict(
  DESCRIPTOR = _DEVICE,
  __module__ = 'admobilize.salestool.v1alpha1.salestool_service_pb2'
  # @@protoc_insertion_point(class_scope:admobilize.salestool.v1alpha1.Device)
  ))
_sym_db.RegisterMessage(Device)


DESCRIPTOR._options = None

_SALESTOOLSERVICE = _descriptor.ServiceDescriptor(
  name='SalesToolService',
  full_name='admobilize.salestool.v1alpha1.SalesToolService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=577,
  serialized_end=866,
  methods=[
  _descriptor.MethodDescriptor(
    name='ListCustomers',
    full_name='admobilize.salestool.v1alpha1.SalesToolService.ListCustomers',
    index=0,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=_LISTCUSTOMERSRESPONSE,
    serialized_options=_b('\202\323\344\223\002\025\022\023/v1alpha1/customers'),
  ),
  _descriptor.MethodDescriptor(
    name='GetCustomer',
    full_name='admobilize.salestool.v1alpha1.SalesToolService.GetCustomer',
    index=1,
    containing_service=None,
    input_type=_GETCUSTOMERREQUEST,
    output_type=_CUSTOMER,
    serialized_options=_b('\202\323\344\223\002\037\022\035/v1alpha1/customers/{email=*}'),
  ),
])
_sym_db.RegisterServiceDescriptor(_SALESTOOLSERVICE)

DESCRIPTOR.services_by_name['SalesToolService'] = _SALESTOOLSERVICE

# @@protoc_insertion_point(module_scope)
