# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_code_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from deviceapis.device.v1 import deviceapis_device_common_v1_pb2 as deviceapis_dot_device_dot_v1_dot_deviceapis__device__common__v1__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4deviceapis/device/v1/deviceapis_device_code_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xe5\x01\n\x04\x43ode\x12\x1e\n\x04\x63ode\x18\x01 \x01(\tB\x10\x92\x41\nJ\x06\x34\x35\x36\x37\x37\x38xd\xe0\x41\x02\x12+\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x16\x92\x41\x13J\x0f\"\xd0\x9d\xd0\xbe\xd0\xbc\xd0\xb5\xd1\x80 45\"xd\x12\x15\n\rrelay_indexes\x18\x03 \x03(\x05\x1ay\n\x0bSavingError\x12O\n\x0frelay_not_found\x18\x01 \x01(\x0b\x32\x34.deviceapis.device.v1.Code.SavingError.RelayNotFoundH\x00\x1a\x0f\n\rRelayNotFoundB\x08\n\x06reason\"+\n\nCodePaging\x12\r\n\x05limit\x18\x01 \x01(\x05\x12\x0e\n\x06offset\x18\x02 \x01(\x05\"\x17\n\x15\x44\x65leteCodeListRequest\"0\n\x16\x44\x65leteCodeListResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\"3\n\x11\x44\x65leteCodeRequest\x12\x1e\n\x04\x63ode\x18\x01 \x01(\tB\x10\x92\x41\nJ\x06\x34\x35\x36\x37\x37\x38xd\xe0\x41\x02\"\xad\x01\n\x12\x44\x65leteCodeResponse\x12?\n\x05\x65rror\x18\x01 \x01(\x0b\x32..deviceapis.device.v1.DeleteCodeResponse.ErrorH\x00\x1aN\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x15\n\x13GetCodeCountRequest\".\n\x14GetCodeCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\"V\n\x12GetCodeListRequest\x12\x32\n\x06paging\x18\x01 \x01(\x0b\x32 .deviceapis.device.v1.CodePagingH\x00\x42\x0c\n\npagination\"?\n\x13GetCodeListResponse\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.Code\"0\n\x0eGetCodeRequest\x12\x1e\n\x04\x63ode\x18\x01 \x01(\tB\x10\x92\x41\nJ\x06\x34\x35\x36\x37\x37\x38xd\xe0\x41\x02\"E\n\x0fGetCodeResponse\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.CodeH\x00\x42\x06\n\x04type\"?\n\x13SaveCodeListRequest\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.Code\"\xad\x02\n\x14SaveCodeListResponse\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.Code\x12@\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x30.deviceapis.device.v1.SaveCodeListResponse.Error\x1a\xa8\x01\n\x05\x45rror\x12\x1e\n\x04\x63ode\x18\x01 \x01(\tB\x10\x92\x41\nJ\x06\x34\x35\x36\x37\x37\x38xd\xe0\x41\x02\x12;\n\nvalidation\x18\x02 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12\x38\n\x06saving\x18\x03 \x01(\x0b\x32&.deviceapis.device.v1.Code.SavingErrorH\x00\x42\x08\n\x06reason\"@\n\x0fSaveCodeRequest\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.CodeB\x03\xe0\x41\x02\"\x90\x02\n\x10SaveCodeResponse\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.CodeH\x00\x12=\n\x05\x65rror\x18\x02 \x01(\x0b\x32,.deviceapis.device.v1.SaveCodeResponse.ErrorH\x00\x1a\x88\x01\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12\x38\n\x06saving\x18\x02 \x01(\x0b\x32&.deviceapis.device.v1.Code.SavingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xb9\x07\n\x0b\x43odeService\x12\x83\x01\n\nDeleteCode\x12\'.deviceapis.device.v1.DeleteCodeRequest\x1a(.deviceapis.device.v1.DeleteCodeResponse\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/device/api/v1/code/{code}\x12\x8d\x01\n\x0e\x44\x65leteCodeList\x12+.deviceapis.device.v1.DeleteCodeListRequest\x1a,.deviceapis.device.v1.DeleteCodeListResponse\" \x82\xd3\xe4\x93\x02\x1a*\x18/device/api/v1/code/list\x12z\n\x07GetCode\x12$.deviceapis.device.v1.GetCodeRequest\x1a%.deviceapis.device.v1.GetCodeResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/device/api/v1/code/{code}\x12\x88\x01\n\x0cGetCodeCount\x12).deviceapis.device.v1.GetCodeCountRequest\x1a*.deviceapis.device.v1.GetCodeCountResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/device/api/v1/code/count\x12\x84\x01\n\x0bGetCodeList\x12(.deviceapis.device.v1.GetCodeListRequest\x1a).deviceapis.device.v1.GetCodeListResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/device/api/v1/code/list\x12y\n\x08SaveCode\x12%.deviceapis.device.v1.SaveCodeRequest\x1a&.deviceapis.device.v1.SaveCodeResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/device/api/v1/code:\x01*\x12\x8a\x01\n\x0cSaveCodeList\x12).deviceapis.device.v1.SaveCodeListRequest\x1a*.deviceapis.device.v1.SaveCodeListResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/device/api/v1/code/list:\x01*B\xaf\x01\n\x17ru.deviceapis.device.v1B\x17\x44\x65viceapisDeviceV1ProtoH\x03P\x00Z\x15/deviceapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x12\x44\x45VICEAPISDEVICEV1\xaa\x02\x14\x44\x65viceapis.Device.V1\xca\x02\x14\x44\x65viceapis\\Device\\V1\xea\x02\x16\x44\x65viceapis::Device::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'deviceapis.device.v1.deviceapis_device_code_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\027ru.deviceapis.device.v1B\027DeviceapisDeviceV1ProtoH\003P\000Z\025/deviceapis_device_v1\330\001\001\370\001\001\242\002\022DEVICEAPISDEVICEV1\252\002\024Deviceapis.Device.V1\312\002\024Deviceapis\\Device\\V1\352\002\026Deviceapis::Device::V1'
  _CODE.fields_by_name['code']._options = None
  _CODE.fields_by_name['code']._serialized_options = b'\222A\nJ\006456778xd\340A\002'
  _CODE.fields_by_name['description']._options = None
  _CODE.fields_by_name['description']._serialized_options = b'\222A\023J\017\"\320\235\320\276\320\274\320\265\321\200 45\"xd'
  _DELETECODEREQUEST.fields_by_name['code']._options = None
  _DELETECODEREQUEST.fields_by_name['code']._serialized_options = b'\222A\nJ\006456778xd\340A\002'
  _GETCODEREQUEST.fields_by_name['code']._options = None
  _GETCODEREQUEST.fields_by_name['code']._serialized_options = b'\222A\nJ\006456778xd\340A\002'
  _SAVECODELISTRESPONSE_ERROR.fields_by_name['code']._options = None
  _SAVECODELISTRESPONSE_ERROR.fields_by_name['code']._serialized_options = b'\222A\nJ\006456778xd\340A\002'
  _SAVECODEREQUEST.fields_by_name['data']._options = None
  _SAVECODEREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _CODESERVICE.methods_by_name['DeleteCode']._options = None
  _CODESERVICE.methods_by_name['DeleteCode']._serialized_options = b'\202\323\344\223\002\034*\032/device/api/v1/code/{code}'
  _CODESERVICE.methods_by_name['DeleteCodeList']._options = None
  _CODESERVICE.methods_by_name['DeleteCodeList']._serialized_options = b'\202\323\344\223\002\032*\030/device/api/v1/code/list'
  _CODESERVICE.methods_by_name['GetCode']._options = None
  _CODESERVICE.methods_by_name['GetCode']._serialized_options = b'\202\323\344\223\002\034\022\032/device/api/v1/code/{code}'
  _CODESERVICE.methods_by_name['GetCodeCount']._options = None
  _CODESERVICE.methods_by_name['GetCodeCount']._serialized_options = b'\202\323\344\223\002\033\022\031/device/api/v1/code/count'
  _CODESERVICE.methods_by_name['GetCodeList']._options = None
  _CODESERVICE.methods_by_name['GetCodeList']._serialized_options = b'\202\323\344\223\002\032\022\030/device/api/v1/code/list'
  _CODESERVICE.methods_by_name['SaveCode']._options = None
  _CODESERVICE.methods_by_name['SaveCode']._serialized_options = b'\202\323\344\223\002\030\"\023/device/api/v1/code:\001*'
  _CODESERVICE.methods_by_name['SaveCodeList']._options = None
  _CODESERVICE.methods_by_name['SaveCodeList']._serialized_options = b'\202\323\344\223\002\035\"\030/device/api/v1/code/list:\001*'
  _globals['_CODE']._serialized_start=246
  _globals['_CODE']._serialized_end=475
  _globals['_CODE_SAVINGERROR']._serialized_start=354
  _globals['_CODE_SAVINGERROR']._serialized_end=475
  _globals['_CODE_SAVINGERROR_RELAYNOTFOUND']._serialized_start=450
  _globals['_CODE_SAVINGERROR_RELAYNOTFOUND']._serialized_end=465
  _globals['_CODEPAGING']._serialized_start=477
  _globals['_CODEPAGING']._serialized_end=520
  _globals['_DELETECODELISTREQUEST']._serialized_start=522
  _globals['_DELETECODELISTREQUEST']._serialized_end=545
  _globals['_DELETECODELISTRESPONSE']._serialized_start=547
  _globals['_DELETECODELISTRESPONSE']._serialized_end=595
  _globals['_DELETECODEREQUEST']._serialized_start=597
  _globals['_DELETECODEREQUEST']._serialized_end=648
  _globals['_DELETECODERESPONSE']._serialized_start=651
  _globals['_DELETECODERESPONSE']._serialized_end=824
  _globals['_DELETECODERESPONSE_ERROR']._serialized_start=738
  _globals['_DELETECODERESPONSE_ERROR']._serialized_end=816
  _globals['_GETCODECOUNTREQUEST']._serialized_start=826
  _globals['_GETCODECOUNTREQUEST']._serialized_end=847
  _globals['_GETCODECOUNTRESPONSE']._serialized_start=849
  _globals['_GETCODECOUNTRESPONSE']._serialized_end=895
  _globals['_GETCODELISTREQUEST']._serialized_start=897
  _globals['_GETCODELISTREQUEST']._serialized_end=983
  _globals['_GETCODELISTRESPONSE']._serialized_start=985
  _globals['_GETCODELISTRESPONSE']._serialized_end=1048
  _globals['_GETCODEREQUEST']._serialized_start=1050
  _globals['_GETCODEREQUEST']._serialized_end=1098
  _globals['_GETCODERESPONSE']._serialized_start=1100
  _globals['_GETCODERESPONSE']._serialized_end=1169
  _globals['_SAVECODELISTREQUEST']._serialized_start=1171
  _globals['_SAVECODELISTREQUEST']._serialized_end=1234
  _globals['_SAVECODELISTRESPONSE']._serialized_start=1237
  _globals['_SAVECODELISTRESPONSE']._serialized_end=1538
  _globals['_SAVECODELISTRESPONSE_ERROR']._serialized_start=1370
  _globals['_SAVECODELISTRESPONSE_ERROR']._serialized_end=1538
  _globals['_SAVECODEREQUEST']._serialized_start=1540
  _globals['_SAVECODEREQUEST']._serialized_end=1604
  _globals['_SAVECODERESPONSE']._serialized_start=1607
  _globals['_SAVECODERESPONSE']._serialized_end=1879
  _globals['_SAVECODERESPONSE_ERROR']._serialized_start=1735
  _globals['_SAVECODERESPONSE_ERROR']._serialized_end=1871
  _globals['_CODESERVICE']._serialized_start=1882
  _globals['_CODESERVICE']._serialized_end=2835
# @@protoc_insertion_point(module_scope)
