Coverage for src / mysingle / protos / services / strategy / v1 / strategy_service_pb2.py: 0%
79 statements
« prev ^ index » next coverage.py v7.12.0, created at 2025-12-02 00:58 +0900
« prev ^ index » next coverage.py v7.12.0, created at 2025-12-02 00:58 +0900
1# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# NO CHECKED-IN PROTOBUF GENCODE
4# source: services/strategy/v1/strategy_service.proto
5# Protobuf Python Version: 6.33.1
6"""Generated protocol buffer code."""
8from google.protobuf import descriptor as _descriptor
9from google.protobuf import descriptor_pool as _descriptor_pool
10from google.protobuf import runtime_version as _runtime_version
11from google.protobuf import symbol_database as _symbol_database
12from google.protobuf.internal import builder as _builder
14_runtime_version.ValidateProtobufRuntimeVersion(
15 _runtime_version.Domain.PUBLIC,
16 6,
17 33,
18 1,
19 "",
20 "services/strategy/v1/strategy_service.proto",
21)
22# @@protoc_insertion_point(imports)
24_sym_db = _symbol_database.Default()
27DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
28 b'\n+services/strategy/v1/strategy_service.proto\x12\x0bstrategy.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"g\n\x19GetStrategyVersionRequest\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x10\n\x03seq\x18\x02 \x01(\x05R\x03seq\x12\x17\n\x07user_id\x18\x03 \x01(\tR\x06userId"~\n\x1f\x42\x61tchGetStrategyVersionsRequest\x12\x42\n\x08versions\x18\x01 \x03(\x0b\x32&.strategy.v1.StrategyVersionIdentifierR\x08versions\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"N\n\x19StrategyVersionIdentifier\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x10\n\x03seq\x18\x02 \x01(\x05R\x03seq"\x14\n\x12HealthCheckRequest"~\n\x11ValidateIRRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x38\n\x0bstrategy_ir\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\nstrategyIr\x12\x16\n\x06stages\x18\x03 \x03(\tR\x06stages"N\n\x12GetTemplateRequest\x12\x1f\n\x0btemplate_id\x18\x01 \x01(\tR\ntemplateId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"w\n\x14ListTemplatesRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags\x12#\n\nvisibility\x18\x03 \x01(\tH\x00R\nvisibility\x88\x01\x01\x42\r\n\x0b_visibility"W\n\x19\x42\x61tchGetStrategiesRequest\x12!\n\x0cstrategy_ids\x18\x01 \x03(\tR\x0bstrategyIds\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"\xbd\x01\n\x19ListUserStrategiesRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x00R\x05limit\x88\x01\x01\x12\x1b\n\x06offset\x18\x03 \x01(\x05H\x01R\x06offset\x88\x01\x01\x12\x1b\n\x06status\x18\x04 \x01(\tH\x02R\x06status\x88\x01\x01\x12\x12\n\x04tags\x18\x05 \x03(\tR\x04tagsB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07_status"\xa3\x04\n\x17StrategyVersionResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x1f\n\x0bstrategy_id\x18\x03 \x01(\tR\nstrategyId\x12\x10\n\x03seq\x18\x04 \x01(\x05R\x03seq\x12\x14\n\x05state\x18\x05 \x01(\tR\x05state\x12\x19\n\x08\x64sl_code\x18\x06 \x01(\tR\x07\x64slCode\x12"\n\rdsl_code_hash\x18\x07 \x01(\tR\x0b\x64slCodeHash\x12\'\n\x0foriginal_source\x18\x08 \x01(\tR\x0eoriginalSource\x12$\n\x0bgraph_cache\x18\t \x01(\tH\x00R\ngraphCache\x88\x01\x01\x12$\n\x0brules_cache\x18\n \x01(\tH\x01R\nrulesCache\x88\x01\x01\x12$\n\x0btemplate_id\x18\x0b \x01(\tH\x02R\ntemplateId\x88\x01\x01\x12N\n\x13validation_pipeline\x18\x0c \x03(\x0b\x32\x1d.strategy.v1.ValidationResultR\x12validationPipeline\x12\x1d\n\ncreated_at\x18\r \x01(\tR\tcreatedAt\x12\x1d\n\nupdated_at\x18\x0e \x01(\tR\tupdatedAtB\x0e\n\x0c_graph_cacheB\x0e\n\x0c_rules_cacheB\x0e\n\x0c_template_id"\xa5\x01\n\x10ValidationResult\x12\x14\n\x05stage\x18\x01 \x01(\tR\x05stage\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x16\n\x06\x65rrors\x18\x03 \x03(\tR\x06\x65rrors\x12\x1a\n\x08warnings\x18\x04 \x03(\tR\x08warnings\x12!\n\ttimestamp\x18\x05 \x01(\tH\x00R\ttimestamp\x88\x01\x01\x42\x0c\n\n_timestamp"a\n\x13HealthCheckResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07service\x18\x02 \x01(\tR\x07service\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version"\xb7\x01\n\x12ValidationResponse\x12\x19\n\x08is_valid\x18\x01 \x01(\x08R\x07isValid\x12\x34\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x1c.strategy.v1.ValidationErrorR\x06\x65rrors\x12:\n\x08warnings\x18\x03 \x03(\x0b\x32\x1e.strategy.v1.ValidationWarningR\x08warnings\x12\x14\n\x05stage\x18\x04 \x01(\tR\x05stage"\xe3\x01\n\x0fValidationError\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x1d\n\nfield_path\x18\x03 \x01(\tR\tfieldPath\x12\x46\n\x08metadata\x18\x04 \x03(\x0b\x32*.strategy.v1.ValidationError.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"t\n\x11ValidationWarning\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12"\n\nfield_path\x18\x03 \x01(\tH\x00R\tfieldPath\x88\x01\x01\x42\r\n\x0b_field_path"\xfc\x02\n\x10TemplateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x1e\n\nvisibility\x18\x05 \x01(\tR\nvisibility\x12\x12\n\x04tags\x18\x06 \x03(\tR\x04tags\x12\x1f\n\x0b\x64\x65\x66\x61ult_dsl\x18\x07 \x01(\tR\ndefaultDsl\x12X\n\x19\x64\x65\x66\x61ult_execution_profile\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x17\x64\x65\x66\x61ultExecutionProfile\x88\x01\x01\x12\x1d\n\ncreated_at\x18\t \x01(\tR\tcreatedAt\x12\x1d\n\nupdated_at\x18\n \x01(\tR\tupdatedAtB\x1c\n\x1a_default_execution_profile"\xdb\x01\n\x10StrategyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06status\x18\x05 \x01(\tR\x06status\x12\x12\n\x04tags\x18\x06 \x03(\tR\x04tags\x12\x1d\n\ncreated_at\x18\x07 \x01(\tR\tcreatedAt\x12\x1d\n\nupdated_at\x18\x08 \x01(\tR\tupdatedAt"N\n\x12GetStrategyRequest\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"\x86\x01\n\x08Strategy\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x17\n\x07user_id\x18\x04 \x01(\tR\x06userId\x12\x1b\n\tis_active\x18\x05 \x01(\x08R\x08isActive"H\n\x13GetStrategyResponse\x12\x31\n\x08strategy\x18\x01 \x01(\x0b\x32\x15.strategy.v1.StrategyR\x08strategy"w\n\x15ListStrategiesRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1b\n\tis_active\x18\x02 \x01(\x08R\x08isActive\x12\x14\n\x05limit\x18\x03 \x01(\x05R\x05limit\x12\x12\n\x04skip\x18\x04 \x01(\x05R\x04skip"e\n\x16ListStrategiesResponse\x12\x35\n\nstrategies\x18\x01 \x03(\x0b\x32\x15.strategy.v1.StrategyR\nstrategies\x12\x14\n\x05total\x18\x02 \x01(\x05R\x05total"S\n\x17ValidateStrategyRequest\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"i\n\x18ValidateStrategyResponse\x12\x19\n\x08is_valid\x18\x01 \x01(\x08R\x07isValid\x12\x16\n\x06\x65rrors\x18\x02 \x03(\tR\x06\x65rrors\x12\x1a\n\x08warnings\x18\x03 \x03(\tR\x08warnings"T\n\x08Position\x12\x16\n\x06symbol\x18\x01 \x01(\tR\x06symbol\x12\x1a\n\x08quantity\x18\x02 \x01(\x01R\x08quantity\x12\x14\n\x05value\x18\x03 \x01(\x01R\x05value"g\n\x15PortfolioHistoryPoint\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x14\n\x05value\x18\x02 \x01(\x01R\x05value"V\n\x1aGetPortfolioSummaryRequest\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"\xee\x01\n\x1bGetPortfolioSummaryResponse\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x1f\n\x0btotal_value\x18\x02 \x01(\x01R\ntotalValue\x12\x33\n\tpositions\x18\x03 \x03(\x0b\x32\x15.strategy.v1.PositionR\tpositions\x12<\n\x07history\x18\x04 \x03(\x0b\x32".strategy.v1.PortfolioHistoryPointR\x07history\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency"R\n\x16\x41rchiveStrategyRequest\x12\x1f\n\x0bstrategy_id\x18\x01 \x01(\tR\nstrategyId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId"\x91\x01\n\x17\x41rchiveStrategyResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x1f\n\x0bstrategy_id\x18\x02 \x01(\tR\nstrategyId\x12;\n\x0b\x61rchived_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\narchivedAt2\xd8\t\n\x0fStrategyService\x12\x62\n\x12GetStrategyVersion\x12&.strategy.v1.GetStrategyVersionRequest\x1a$.strategy.v1.StrategyVersionResponse\x12p\n\x18\x42\x61tchGetStrategyVersions\x12,.strategy.v1.BatchGetStrategyVersionsRequest\x1a$.strategy.v1.StrategyVersionResponse0\x01\x12P\n\x0bHealthCheck\x12\x1f.strategy.v1.HealthCheckRequest\x1a .strategy.v1.HealthCheckResponse\x12U\n\x12ValidateStrategyIR\x12\x1e.strategy.v1.ValidateIRRequest\x1a\x1f.strategy.v1.ValidationResponse\x12U\n\x13GetStrategyTemplate\x12\x1f.strategy.v1.GetTemplateRequest\x1a\x1d.strategy.v1.TemplateResponse\x12[\n\x15ListStrategyTemplates\x12!.strategy.v1.ListTemplatesRequest\x1a\x1d.strategy.v1.TemplateResponse0\x01\x12]\n\x12\x42\x61tchGetStrategies\x12&.strategy.v1.BatchGetStrategiesRequest\x1a\x1d.strategy.v1.StrategyResponse0\x01\x12]\n\x12ListUserStrategies\x12&.strategy.v1.ListUserStrategiesRequest\x1a\x1d.strategy.v1.StrategyResponse0\x01\x12\\\n\x0f\x41rchiveStrategy\x12#.strategy.v1.ArchiveStrategyRequest\x1a$.strategy.v1.ArchiveStrategyResponse\x12P\n\x0bGetStrategy\x12\x1f.strategy.v1.GetStrategyRequest\x1a .strategy.v1.GetStrategyResponse\x12Y\n\x0eListStrategies\x12".strategy.v1.ListStrategiesRequest\x1a#.strategy.v1.ListStrategiesResponse\x12_\n\x10ValidateStrategy\x12$.strategy.v1.ValidateStrategyRequest\x1a%.strategy.v1.ValidateStrategyResponse\x12h\n\x13GetPortfolioSummary\x12\'.strategy.v1.GetPortfolioSummaryRequest\x1a(.strategy.v1.GetPortfolioSummaryResponseb\x06proto3'
29)
31_globals = globals()
32_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33_builder.BuildTopDescriptorsAndMessages(
34 DESCRIPTOR, "services.strategy.v1.strategy_service_pb2", _globals
35)
36if not _descriptor._USE_C_DESCRIPTORS:
37 DESCRIPTOR._loaded_options = None
38 _globals["_VALIDATIONERROR_METADATAENTRY"]._loaded_options = None
39 _globals["_VALIDATIONERROR_METADATAENTRY"]._serialized_options = b"8\001"
40 _globals["_GETSTRATEGYVERSIONREQUEST"]._serialized_start = 123
41 _globals["_GETSTRATEGYVERSIONREQUEST"]._serialized_end = 226
42 _globals["_BATCHGETSTRATEGYVERSIONSREQUEST"]._serialized_start = 228
43 _globals["_BATCHGETSTRATEGYVERSIONSREQUEST"]._serialized_end = 354
44 _globals["_STRATEGYVERSIONIDENTIFIER"]._serialized_start = 356
45 _globals["_STRATEGYVERSIONIDENTIFIER"]._serialized_end = 434
46 _globals["_HEALTHCHECKREQUEST"]._serialized_start = 436
47 _globals["_HEALTHCHECKREQUEST"]._serialized_end = 456
48 _globals["_VALIDATEIRREQUEST"]._serialized_start = 458
49 _globals["_VALIDATEIRREQUEST"]._serialized_end = 584
50 _globals["_GETTEMPLATEREQUEST"]._serialized_start = 586
51 _globals["_GETTEMPLATEREQUEST"]._serialized_end = 664
52 _globals["_LISTTEMPLATESREQUEST"]._serialized_start = 666
53 _globals["_LISTTEMPLATESREQUEST"]._serialized_end = 785
54 _globals["_BATCHGETSTRATEGIESREQUEST"]._serialized_start = 787
55 _globals["_BATCHGETSTRATEGIESREQUEST"]._serialized_end = 874
56 _globals["_LISTUSERSTRATEGIESREQUEST"]._serialized_start = 877
57 _globals["_LISTUSERSTRATEGIESREQUEST"]._serialized_end = 1066
58 _globals["_STRATEGYVERSIONRESPONSE"]._serialized_start = 1069
59 _globals["_STRATEGYVERSIONRESPONSE"]._serialized_end = 1616
60 _globals["_VALIDATIONRESULT"]._serialized_start = 1619
61 _globals["_VALIDATIONRESULT"]._serialized_end = 1784
62 _globals["_HEALTHCHECKRESPONSE"]._serialized_start = 1786
63 _globals["_HEALTHCHECKRESPONSE"]._serialized_end = 1883
64 _globals["_VALIDATIONRESPONSE"]._serialized_start = 1886
65 _globals["_VALIDATIONRESPONSE"]._serialized_end = 2069
66 _globals["_VALIDATIONERROR"]._serialized_start = 2072
67 _globals["_VALIDATIONERROR"]._serialized_end = 2299
68 _globals["_VALIDATIONERROR_METADATAENTRY"]._serialized_start = 2240
69 _globals["_VALIDATIONERROR_METADATAENTRY"]._serialized_end = 2299
70 _globals["_VALIDATIONWARNING"]._serialized_start = 2301
71 _globals["_VALIDATIONWARNING"]._serialized_end = 2417
72 _globals["_TEMPLATERESPONSE"]._serialized_start = 2420
73 _globals["_TEMPLATERESPONSE"]._serialized_end = 2800
74 _globals["_STRATEGYRESPONSE"]._serialized_start = 2803
75 _globals["_STRATEGYRESPONSE"]._serialized_end = 3022
76 _globals["_GETSTRATEGYREQUEST"]._serialized_start = 3024
77 _globals["_GETSTRATEGYREQUEST"]._serialized_end = 3102
78 _globals["_STRATEGY"]._serialized_start = 3105
79 _globals["_STRATEGY"]._serialized_end = 3239
80 _globals["_GETSTRATEGYRESPONSE"]._serialized_start = 3241
81 _globals["_GETSTRATEGYRESPONSE"]._serialized_end = 3313
82 _globals["_LISTSTRATEGIESREQUEST"]._serialized_start = 3315
83 _globals["_LISTSTRATEGIESREQUEST"]._serialized_end = 3434
84 _globals["_LISTSTRATEGIESRESPONSE"]._serialized_start = 3436
85 _globals["_LISTSTRATEGIESRESPONSE"]._serialized_end = 3537
86 _globals["_VALIDATESTRATEGYREQUEST"]._serialized_start = 3539
87 _globals["_VALIDATESTRATEGYREQUEST"]._serialized_end = 3622
88 _globals["_VALIDATESTRATEGYRESPONSE"]._serialized_start = 3624
89 _globals["_VALIDATESTRATEGYRESPONSE"]._serialized_end = 3729
90 _globals["_POSITION"]._serialized_start = 3731
91 _globals["_POSITION"]._serialized_end = 3815
92 _globals["_PORTFOLIOHISTORYPOINT"]._serialized_start = 3817
93 _globals["_PORTFOLIOHISTORYPOINT"]._serialized_end = 3920
94 _globals["_GETPORTFOLIOSUMMARYREQUEST"]._serialized_start = 3922
95 _globals["_GETPORTFOLIOSUMMARYREQUEST"]._serialized_end = 4008
96 _globals["_GETPORTFOLIOSUMMARYRESPONSE"]._serialized_start = 4011
97 _globals["_GETPORTFOLIOSUMMARYRESPONSE"]._serialized_end = 4249
98 _globals["_ARCHIVESTRATEGYREQUEST"]._serialized_start = 4251
99 _globals["_ARCHIVESTRATEGYREQUEST"]._serialized_end = 4333
100 _globals["_ARCHIVESTRATEGYRESPONSE"]._serialized_start = 4336
101 _globals["_ARCHIVESTRATEGYRESPONSE"]._serialized_end = 4481
102 _globals["_STRATEGYSERVICE"]._serialized_start = 4484
103 _globals["_STRATEGYSERVICE"]._serialized_end = 5724
104# @@protoc_insertion_point(module_scope)