# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: trade/subscribe.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15trade/subscribe.proto\x12\x16longbridgeapp.trade.v1\"\x1d\n\x03Sub\x12\x16\n\x06topics\x18\x01 \x03(\tR\x06topics\"\xb5\x01\n\x0bSubResponse\x12\x18\n\x07success\x18\x01 \x03(\tR\x07success\x12<\n\x04\x66\x61il\x18\x02 \x03(\x0b\x32(.longbridgeapp.trade.v1.SubResponse.FailR\x04\x66\x61il\x12\x18\n\x07\x63urrent\x18\x03 \x03(\tR\x07\x63urrent\x1a\x34\n\x04\x46\x61il\x12\x14\n\x05topic\x18\x01 \x01(\tR\x05topic\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\"\x1f\n\x05Unsub\x12\x16\n\x06topics\x18\x01 \x03(\tR\x06topics\")\n\rUnsubResponse\x12\x18\n\x07\x63urrent\x18\x03 \x03(\tR\x07\x63urrent\"\xcb\x01\n\x0cNotification\x12\x14\n\x05topic\x18\x01 \x01(\tR\x05topic\x12\x46\n\x0c\x63ontent_type\x18\x02 \x01(\x0e\x32#.longbridgeapp.trade.v1.ContentTypeR\x0b\x63ontentType\x12I\n\rdispatch_type\x18\x03 \x01(\x0e\x32$.longbridgeapp.trade.v1.DispatchTypeR\x0c\x64ispatchType\x12\x12\n\x04\x64\x61ta\x18\x04 \x01(\x0cR\x04\x64\x61ta*F\n\x07\x43ommand\x12\x0f\n\x0b\x43MD_UNKNOWN\x10\x00\x12\x0b\n\x07\x43MD_SUB\x10\x10\x12\r\n\tCMD_UNSUB\x10\x11\x12\x0e\n\nCMD_NOTIFY\x10\x12*S\n\x0c\x44ispatchType\x12\x16\n\x12\x44ISPATCH_UNDEFINED\x10\x00\x12\x13\n\x0f\x44ISPATCH_DIRECT\x10\x01\x12\x16\n\x12\x44ISPATCH_BROADCAST\x10\x02*I\n\x0b\x43ontentType\x12\x15\n\x11\x43ONTENT_UNDEFINED\x10\x00\x12\x10\n\x0c\x43ONTENT_JSON\x10\x01\x12\x11\n\rCONTENT_PROTO\x10\x02\x42\xe7\x01\n\x1a\x63om.longbridgeapp.trade.v1B\x0eSubscribeProtoP\x01Z?github.com/longbridgeapp/openapi-protobufs/gen/go/trade;tradev1\xa2\x02\x03LTX\xaa\x02\x16Longbridgeapp.Trade.V1\xca\x02\x16Longbridgeapp\\Trade\\V1\xe2\x02\"Longbridgeapp\\Trade\\V1\\GPBMetadata\xea\x02\x18Longbridgeapp::Trade::V1b\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'trade.subscribe_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\032com.longbridgeapp.trade.v1B\016SubscribeProtoP\001Z?github.com/longbridgeapp/openapi-protobufs/gen/go/trade;tradev1\242\002\003LTX\252\002\026Longbridgeapp.Trade.V1\312\002\026Longbridgeapp\\Trade\\V1\342\002\"Longbridgeapp\\Trade\\V1\\GPBMetadata\352\002\030Longbridgeapp::Trade::V1'
  _COMMAND._serialized_start=546
  _COMMAND._serialized_end=616
  _DISPATCHTYPE._serialized_start=618
  _DISPATCHTYPE._serialized_end=701
  _CONTENTTYPE._serialized_start=703
  _CONTENTTYPE._serialized_end=776
  _SUB._serialized_start=49
  _SUB._serialized_end=78
  _SUBRESPONSE._serialized_start=81
  _SUBRESPONSE._serialized_end=262
  _SUBRESPONSE_FAIL._serialized_start=210
  _SUBRESPONSE_FAIL._serialized_end=262
  _UNSUB._serialized_start=264
  _UNSUB._serialized_end=295
  _UNSUBRESPONSE._serialized_start=297
  _UNSUBRESPONSE._serialized_end=338
  _NOTIFICATION._serialized_start=341
  _NOTIFICATION._serialized_end=544
# @@protoc_insertion_point(module_scope)
