# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/device/v1/keyapis_device_trunk_config.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 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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from keyapis.device.v1 import keyapis_device_device_v1_pb2 as keyapis_dot_device_dot_v1_dot_keyapis__device__device__v1__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3keyapis/device/v1/keyapis_device_trunk_config.proto\x12\x11keyapis.device.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x30keyapis/device/v1/keyapis_device_device_v1.proto\"\xbd\x03\n\x0bTrunkConfig\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1a\n\rcity_orpon_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12R\n\x19\x64\x65vice_sip_trunk_sip_type\x18\x03 \x01(\x0e\x32*.keyapis.device.v1.Device.SipTrunk.SipTypeB\x03\xe0\x41\x02\x12\x17\n\nip_address\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x33\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12.\n\nchanged_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\ndeleted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1al\n\x0bSavingError\x12G\n\x08\x63onflict\x18\x01 \x01(\x0b\x32\x33.keyapis.device.v1.TrunkConfig.SavingError.ConflictH\x00\x1a\n\n\x08\x43onflictB\x08\n\x06reason\"s\n\x11TrunkConfigFilter\x12\x16\n\x0e\x63ity_orpon_ids\x18\x01 \x03(\x03\x12\x14\n\x0cip_addresses\x18\x02 \x03(\t\x12\x30\n\x0cshow_deleted\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xd9\x02\n\x11TrunkConfigPaging\x12G\n\rorder_by_type\x18\x01 \x01(\x0e\x32\x30.keyapis.device.v1.TrunkConfigPaging.OrderByType\x12J\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x32.keyapis.device.v1.TrunkConfigPaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"P\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x06\n\x02ID\x10\x01\x12\x0e\n\nCHANGED_AT\x10\x02\x12\x0e\n\nCREATED_AT\x10\x03\">\n\rDirectionType\x12\x1a\n\x16\x44IRECTION_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02\"K\n\x16PostTrunkConfigRequest\x12\x31\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.keyapis.device.v1.TrunkConfigB\x03\xe0\x41\x02\"\xa0\x02\n\x17PostTrunkConfigResponse\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.keyapis.device.v1.TrunkConfigH\x00\x12\x41\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x30.keyapis.device.v1.PostTrunkConfigResponse.ErrorH\x00\x1a\x89\x01\n\x05\x45rror\x12\x38\n\nvalidation\x18\x01 \x01(\x0b\x32\".keyapis.device.v1.ValidationErrorH\x00\x12<\n\x06saving\x18\x02 \x01(\x0b\x32*.keyapis.device.v1.TrunkConfig.SavingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"(\n\x15GetTrunkConfigRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xdf\x01\n\x16GetTrunkConfigResponse\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.keyapis.device.v1.TrunkConfigH\x00\x12@\n\x05\x65rror\x18\x02 \x01(\x0b\x32/.keyapis.device.v1.GetTrunkConfigResponse.ErrorH\x00\x1aK\n\x05\x45rror\x12\x38\n\nvalidation\x18\x01 \x01(\x0b\x32\".keyapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x97\x01\n\x19GetTrunkConfigListRequest\x12\x34\n\x06\x66ilter\x18\x01 \x01(\x0b\x32$.keyapis.device.v1.TrunkConfigFilter\x12\x36\n\x06paging\x18\x02 \x01(\x0b\x32$.keyapis.device.v1.TrunkConfigPagingH\x00\x42\x0c\n\npagination\"\xe1\x01\n\x1aGetTrunkConfigListResponse\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.keyapis.device.v1.TrunkConfigH\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.keyapis.device.v1.GetTrunkConfigListResponse.ErrorH\x00\x1a\x45\n\x05\x45rror\x12<\n\x10validation_error\x18\x01 \x01(\x0b\x32\".keyapis.device.v1.ValidationErrorB\x06\n\x04type\"R\n\x1aGetTrunkConfigCountRequest\x12\x34\n\x06\x66ilter\x18\x01 \x01(\x0b\x32$.keyapis.device.v1.TrunkConfigFilter\"\xc3\x01\n\x1bGetTrunkConfigCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.keyapis.device.v1.GetTrunkConfigCountResponse.ErrorH\x00\x1a\x45\n\x05\x45rror\x12<\n\x10validation_error\x18\x01 \x01(\x0b\x32\".keyapis.device.v1.ValidationErrorB\x06\n\x04type\"+\n\x18\x44\x65leteTrunkConfigRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb5\x01\n\x19\x44\x65leteTrunkConfigResponse\x12\x43\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x32.keyapis.device.v1.DeleteTrunkConfigResponse.ErrorH\x00\x1aK\n\x05\x45rror\x12\x38\n\nvalidation\x18\x01 \x01(\x0b\x32\".keyapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"0\n\x1dPostTrunkConfigRestoreRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xbf\x01\n\x1ePostTrunkConfigRestoreResponse\x12H\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x37.keyapis.device.v1.PostTrunkConfigRestoreResponse.ErrorH\x00\x1aK\n\x05\x45rror\x12\x38\n\nvalidation\x18\x01 \x01(\x0b\x32\".keyapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xfe\x07\n\x12TrunkConfigService\x12\x98\x01\n\x0eGetTrunkConfig\x12(.keyapis.device.v1.GetTrunkConfigRequest\x1a).keyapis.device.v1.GetTrunkConfigResponse\"1\x82\xd3\xe4\x93\x02+\x12)/device/internal/api/v1/trunk_config/{id}\x12\xa6\x01\n\x12GetTrunkConfigList\x12,.keyapis.device.v1.GetTrunkConfigListRequest\x1a-.keyapis.device.v1.GetTrunkConfigListResponse\"1\x82\xd3\xe4\x93\x02+\x12)/device/internal/api/v1/trunk_config/list0\x01\x12\xa8\x01\n\x13GetTrunkConfigCount\x12-.keyapis.device.v1.GetTrunkConfigCountRequest\x1a..keyapis.device.v1.GetTrunkConfigCountResponse\"2\x82\xd3\xe4\x93\x02,\x12*/device/internal/api/v1/trunk_config/count\x12\x99\x01\n\x0fPostTrunkConfig\x12).keyapis.device.v1.PostTrunkConfigRequest\x1a*.keyapis.device.v1.PostTrunkConfigResponse\"/\x82\xd3\xe4\x93\x02)\"$/device/internal/api/v1/trunk_config:\x01*\x12\xa1\x01\n\x11\x44\x65leteTrunkConfig\x12+.keyapis.device.v1.DeleteTrunkConfigRequest\x1a,.keyapis.device.v1.DeleteTrunkConfigResponse\"1\x82\xd3\xe4\x93\x02+*)/device/internal/api/v1/trunk_config/{id}\x12\xb8\x01\n\x16PostTrunkConfigRestore\x12\x30.keyapis.device.v1.PostTrunkConfigRestoreRequest\x1a\x31.keyapis.device.v1.PostTrunkConfigRestoreResponse\"9\x82\xd3\xe4\x93\x02\x33\"1/device/internal/api/v1/trunk_config/restore/{id}B\x98\x01\n\x14ru.keyapis.device.v1B\x14KeyapisDeviceV1ProtoH\x03P\x00Z\x12/keyapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\rKEYAPISDIALV1\xaa\x02\x11Keyapis.Device.V1\xca\x02\x11Keyapis\\Device\\V1\xea\x02\x13Keyapis::Device::V1b\x06proto3')

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

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\024ru.keyapis.device.v1B\024KeyapisDeviceV1ProtoH\003P\000Z\022/keyapis_device_v1\330\001\001\370\001\001\242\002\rKEYAPISDIALV1\252\002\021Keyapis.Device.V1\312\002\021Keyapis\\Device\\V1\352\002\023Keyapis::Device::V1'
  _TRUNKCONFIG.fields_by_name['city_orpon_id']._options = None
  _TRUNKCONFIG.fields_by_name['city_orpon_id']._serialized_options = b'\340A\002'
  _TRUNKCONFIG.fields_by_name['device_sip_trunk_sip_type']._options = None
  _TRUNKCONFIG.fields_by_name['device_sip_trunk_sip_type']._serialized_options = b'\340A\002'
  _TRUNKCONFIG.fields_by_name['ip_address']._options = None
  _TRUNKCONFIG.fields_by_name['ip_address']._serialized_options = b'\340A\002'
  _TRUNKCONFIG.fields_by_name['port']._options = None
  _TRUNKCONFIG.fields_by_name['port']._serialized_options = b'\340A\002'
  _TRUNKCONFIG.fields_by_name['created_at']._options = None
  _TRUNKCONFIG.fields_by_name['created_at']._serialized_options = b'\340A\003'
  _TRUNKCONFIG.fields_by_name['deleted_at']._options = None
  _TRUNKCONFIG.fields_by_name['deleted_at']._serialized_options = b'\340A\003'
  _POSTTRUNKCONFIGREQUEST.fields_by_name['data']._options = None
  _POSTTRUNKCONFIGREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _GETTRUNKCONFIGREQUEST.fields_by_name['id']._options = None
  _GETTRUNKCONFIGREQUEST.fields_by_name['id']._serialized_options = b'\340A\002'
  _DELETETRUNKCONFIGREQUEST.fields_by_name['id']._options = None
  _DELETETRUNKCONFIGREQUEST.fields_by_name['id']._serialized_options = b'\340A\002'
  _POSTTRUNKCONFIGRESTOREREQUEST.fields_by_name['id']._options = None
  _POSTTRUNKCONFIGRESTOREREQUEST.fields_by_name['id']._serialized_options = b'\340A\002'
  _TRUNKCONFIGSERVICE.methods_by_name['GetTrunkConfig']._options = None
  _TRUNKCONFIGSERVICE.methods_by_name['GetTrunkConfig']._serialized_options = b'\202\323\344\223\002+\022)/device/internal/api/v1/trunk_config/{id}'
  _TRUNKCONFIGSERVICE.methods_by_name['GetTrunkConfigList']._options = None
  _TRUNKCONFIGSERVICE.methods_by_name['GetTrunkConfigList']._serialized_options = b'\202\323\344\223\002+\022)/device/internal/api/v1/trunk_config/list'
  _TRUNKCONFIGSERVICE.methods_by_name['GetTrunkConfigCount']._options = None
  _TRUNKCONFIGSERVICE.methods_by_name['GetTrunkConfigCount']._serialized_options = b'\202\323\344\223\002,\022*/device/internal/api/v1/trunk_config/count'
  _TRUNKCONFIGSERVICE.methods_by_name['PostTrunkConfig']._options = None
  _TRUNKCONFIGSERVICE.methods_by_name['PostTrunkConfig']._serialized_options = b'\202\323\344\223\002)\"$/device/internal/api/v1/trunk_config:\001*'
  _TRUNKCONFIGSERVICE.methods_by_name['DeleteTrunkConfig']._options = None
  _TRUNKCONFIGSERVICE.methods_by_name['DeleteTrunkConfig']._serialized_options = b'\202\323\344\223\002+*)/device/internal/api/v1/trunk_config/{id}'
  _TRUNKCONFIGSERVICE.methods_by_name['PostTrunkConfigRestore']._options = None
  _TRUNKCONFIGSERVICE.methods_by_name['PostTrunkConfigRestore']._serialized_options = b'\202\323\344\223\0023\"1/device/internal/api/v1/trunk_config/restore/{id}'
  _globals['_TRUNKCONFIG']._serialized_start=253
  _globals['_TRUNKCONFIG']._serialized_end=698
  _globals['_TRUNKCONFIG_SAVINGERROR']._serialized_start=590
  _globals['_TRUNKCONFIG_SAVINGERROR']._serialized_end=698
  _globals['_TRUNKCONFIG_SAVINGERROR_CONFLICT']._serialized_start=678
  _globals['_TRUNKCONFIG_SAVINGERROR_CONFLICT']._serialized_end=688
  _globals['_TRUNKCONFIGFILTER']._serialized_start=700
  _globals['_TRUNKCONFIGFILTER']._serialized_end=815
  _globals['_TRUNKCONFIGPAGING']._serialized_start=818
  _globals['_TRUNKCONFIGPAGING']._serialized_end=1163
  _globals['_TRUNKCONFIGPAGING_ORDERBYTYPE']._serialized_start=1019
  _globals['_TRUNKCONFIGPAGING_ORDERBYTYPE']._serialized_end=1099
  _globals['_TRUNKCONFIGPAGING_DIRECTIONTYPE']._serialized_start=1101
  _globals['_TRUNKCONFIGPAGING_DIRECTIONTYPE']._serialized_end=1163
  _globals['_POSTTRUNKCONFIGREQUEST']._serialized_start=1165
  _globals['_POSTTRUNKCONFIGREQUEST']._serialized_end=1240
  _globals['_POSTTRUNKCONFIGRESPONSE']._serialized_start=1243
  _globals['_POSTTRUNKCONFIGRESPONSE']._serialized_end=1531
  _globals['_POSTTRUNKCONFIGRESPONSE_ERROR']._serialized_start=1386
  _globals['_POSTTRUNKCONFIGRESPONSE_ERROR']._serialized_end=1523
  _globals['_GETTRUNKCONFIGREQUEST']._serialized_start=1533
  _globals['_GETTRUNKCONFIGREQUEST']._serialized_end=1573
  _globals['_GETTRUNKCONFIGRESPONSE']._serialized_start=1576
  _globals['_GETTRUNKCONFIGRESPONSE']._serialized_end=1799
  _globals['_GETTRUNKCONFIGRESPONSE_ERROR']._serialized_start=1716
  _globals['_GETTRUNKCONFIGRESPONSE_ERROR']._serialized_end=1791
  _globals['_GETTRUNKCONFIGLISTREQUEST']._serialized_start=1802
  _globals['_GETTRUNKCONFIGLISTREQUEST']._serialized_end=1953
  _globals['_GETTRUNKCONFIGLISTRESPONSE']._serialized_start=1956
  _globals['_GETTRUNKCONFIGLISTRESPONSE']._serialized_end=2181
  _globals['_GETTRUNKCONFIGLISTRESPONSE_ERROR']._serialized_start=2104
  _globals['_GETTRUNKCONFIGLISTRESPONSE_ERROR']._serialized_end=2173
  _globals['_GETTRUNKCONFIGCOUNTREQUEST']._serialized_start=2183
  _globals['_GETTRUNKCONFIGCOUNTREQUEST']._serialized_end=2265
  _globals['_GETTRUNKCONFIGCOUNTRESPONSE']._serialized_start=2268
  _globals['_GETTRUNKCONFIGCOUNTRESPONSE']._serialized_end=2463
  _globals['_GETTRUNKCONFIGCOUNTRESPONSE_ERROR']._serialized_start=2104
  _globals['_GETTRUNKCONFIGCOUNTRESPONSE_ERROR']._serialized_end=2173
  _globals['_DELETETRUNKCONFIGREQUEST']._serialized_start=2465
  _globals['_DELETETRUNKCONFIGREQUEST']._serialized_end=2508
  _globals['_DELETETRUNKCONFIGRESPONSE']._serialized_start=2511
  _globals['_DELETETRUNKCONFIGRESPONSE']._serialized_end=2692
  _globals['_DELETETRUNKCONFIGRESPONSE_ERROR']._serialized_start=1716
  _globals['_DELETETRUNKCONFIGRESPONSE_ERROR']._serialized_end=1791
  _globals['_POSTTRUNKCONFIGRESTOREREQUEST']._serialized_start=2694
  _globals['_POSTTRUNKCONFIGRESTOREREQUEST']._serialized_end=2742
  _globals['_POSTTRUNKCONFIGRESTORERESPONSE']._serialized_start=2745
  _globals['_POSTTRUNKCONFIGRESTORERESPONSE']._serialized_end=2936
  _globals['_POSTTRUNKCONFIGRESTORERESPONSE_ERROR']._serialized_start=1716
  _globals['_POSTTRUNKCONFIGRESTORERESPONSE_ERROR']._serialized_end=1791
  _globals['_TRUNKCONFIGSERVICE']._serialized_start=2939
  _globals['_TRUNKCONFIGSERVICE']._serialized_end=3961
# @@protoc_insertion_point(module_scope)
