# -*- 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\x13longbridge.trade.v1\"\x1d\n\x03Sub\x12\x16\n\x06topics\x18\x01 \x03(\tR\x06topics\"\xb2\x01\n\x0bSubResponse\x12\x18\n\x07success\x18\x01 \x03(\tR\x07success\x12\x39\n\x04\x66\x61il\x18\x02 \x03(\x0b\x32%.longbridge.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\"\xc5\x01\n\x0cNotification\x12\x14\n\x05topic\x18\x01 \x01(\tR\x05topic\x12\x43\n\x0c\x63ontent_type\x18\x02 \x01(\x0e\x32 .longbridge.trade.v1.ContentTypeR\x0b\x63ontentType\x12\x46\n\rdispatch_type\x18\x03 \x01(\x0e\x32!.longbridge.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\xd5\x01\n\x17\x63om.longbridge.trade.v1B\x0eSubscribeProtoP\x01Z<github.com/longbridge/openapi-protobufs/gen/go/trade;tradev1\xa2\x02\x03LTX\xaa\x02\x13Longbridge.Trade.V1\xca\x02\x13Longbridge\\Trade\\V1\xe2\x02\x1fLongbridge\\Trade\\V1\\GPBMetadata\xea\x02\x15Longbridge::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\027com.longbridge.trade.v1B\016SubscribeProtoP\001Z<github.com/longbridge/openapi-protobufs/gen/go/trade;tradev1\242\002\003LTX\252\002\023Longbridge.Trade.V1\312\002\023Longbridge\\Trade\\V1\342\002\037Longbridge\\Trade\\V1\\GPBMetadata\352\002\025Longbridge::Trade::V1'
  _COMMAND._serialized_start=534
  _COMMAND._serialized_end=604
  _DISPATCHTYPE._serialized_start=606
  _DISPATCHTYPE._serialized_end=689
  _CONTENTTYPE._serialized_start=691
  _CONTENTTYPE._serialized_end=764
  _SUB._serialized_start=46
  _SUB._serialized_end=75
  _SUBRESPONSE._serialized_start=78
  _SUBRESPONSE._serialized_end=256
  _SUBRESPONSE_FAIL._serialized_start=204
  _SUBRESPONSE_FAIL._serialized_end=256
  _UNSUB._serialized_start=258
  _UNSUB._serialized_end=289
  _UNSUBRESPONSE._serialized_start=291
  _UNSUBRESPONSE._serialized_end=332
  _NOTIFICATION._serialized_start=335
  _NOTIFICATION._serialized_end=532
# @@protoc_insertion_point(module_scope)
