Coverage for src / mysingle / protos / services / genai / v1 / narrative_pb2.py: 0%
39 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/genai/v1/narrative.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, 6, 33, 1, "", "services/genai/v1/narrative.proto"
16)
17# @@protoc_insertion_point(imports)
19_sym_db = _symbol_database.Default()
22DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
23 b'\n!services/genai/v1/narrative.proto\x12\x0fgenai.narrative\x1a\x15\x63ommon/metadata.proto"\xa3\x01\n\x15GenerateReportRequest\x12\x1f\n\x0b\x62\x61\x63ktest_id\x18\x01 \x01(\tR\nbacktestId\x12\x35\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1d.genai.narrative.ReportConfigR\x06\x63onfig\x12\x32\n\x08metadata\x18\x03 \x01(\x0b\x32\x16.genai.common.MetadataR\x08metadata"\xe4\x01\n\x0cReportConfig\x12\x35\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x1d.genai.narrative.ReportFormatR\x06\x66ormat\x12:\n\x08sections\x18\x02 \x03(\x0e\x32\x1e.genai.narrative.ReportSectionR\x08sections\x12\x1a\n\x08language\x18\x03 \x01(\tR\x08language\x12\x45\n\x0c\x64\x65tail_level\x18\x04 \x01(\x0e\x32".genai.narrative.ReportDetailLevelR\x0b\x64\x65tailLevel"\xef\x01\n\x16GenerateReportProgress\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x35\n\x06status\x18\x02 \x01(\x0e\x32\x1d.genai.narrative.ReportStatusR\x06status\x12)\n\x10progress_percent\x18\x03 \x01(\x05R\x0fprogressPercent\x12#\n\rcurrent_stage\x18\x04 \x01(\tR\x0c\x63urrentStage\x12\x35\n\x06result\x18\x05 \x01(\x0b\x32\x1d.genai.narrative.ReportResultR\x06result"\x81\x01\n\x0cReportResult\x12\x18\n\x07\x63ontent\x18\x01 \x01(\tR\x07\x63ontent\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32\x1f.genai.narrative.ReportMetadataR\x08metadata\x12\x1a\n\x08warnings\x18\x03 \x03(\tR\x08warnings"\xa1\x01\n\x0eReportMetadata\x12!\n\x0cgenerated_at\x18\x01 \x01(\x03R\x0bgeneratedAt\x12\x1f\n\x0btokens_used\x18\x02 \x01(\x05R\ntokensUsed\x12,\n\x12generation_time_ms\x18\x03 \x01(\x03R\x10generationTimeMs\x12\x1d\n\nmodel_used\x18\x04 \x01(\tR\tmodelUsed"e\n\x16GetReportStatusRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x32\n\x08metadata\x18\x02 \x01(\x0b\x32\x16.genai.common.MetadataR\x08metadata"\xf0\x01\n\x17GetReportStatusResponse\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x35\n\x06status\x18\x02 \x01(\x0e\x32\x1d.genai.narrative.ReportStatusR\x06status\x12)\n\x10progress_percent\x18\x03 \x01(\x05R\x0fprogressPercent\x12\x35\n\x06result\x18\x04 \x01(\x0b\x32\x1d.genai.narrative.ReportResultR\x06result\x12#\n\rerror_message\x18\x05 \x01(\tR\x0c\x65rrorMessage"\xaf\x01\n\x1fGenerateComparisonReportRequest\x12!\n\x0c\x62\x61\x63ktest_ids\x18\x01 \x03(\tR\x0b\x62\x61\x63ktestIds\x12\x35\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x1d.genai.narrative.ReportConfigR\x06\x63onfig\x12\x32\n\x08metadata\x18\x03 \x01(\x0b\x32\x16.genai.common.MetadataR\x08metadata*x\n\x0cReportFormat\x12\x1d\n\x19REPORT_FORMAT_UNSPECIFIED\x10\x00\x12\x1a\n\x16REPORT_FORMAT_MARKDOWN\x10\x01\x12\x16\n\x12REPORT_FORMAT_HTML\x10\x02\x12\x15\n\x11REPORT_FORMAT_PDF\x10\x03*\xe0\x01\n\rReportSection\x12\x1e\n\x1aREPORT_SECTION_UNSPECIFIED\x10\x00\x12\x1a\n\x16REPORT_SECTION_SUMMARY\x10\x01\x12\x1e\n\x1aREPORT_SECTION_PERFORMANCE\x10\x02\x12\x17\n\x13REPORT_SECTION_RISK\x10\x03\x12\x19\n\x15REPORT_SECTION_TRADES\x10\x04\x12\x1b\n\x17REPORT_SECTION_INSIGHTS\x10\x05\x12"\n\x1eREPORT_SECTION_RECOMMENDATIONS\x10\x06*\x9b\x01\n\x11ReportDetailLevel\x12#\n\x1fREPORT_DETAIL_LEVEL_UNSPECIFIED\x10\x00\x12\x1d\n\x19REPORT_DETAIL_LEVEL_BRIEF\x10\x01\x12 \n\x1cREPORT_DETAIL_LEVEL_STANDARD\x10\x02\x12 \n\x1cREPORT_DETAIL_LEVEL_DETAILED\x10\x03*\x9d\x01\n\x0cReportStatus\x12\x1d\n\x19REPORT_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15REPORT_STATUS_PENDING\x10\x01\x12\x1c\n\x18REPORT_STATUS_PROCESSING\x10\x02\x12\x1b\n\x17REPORT_STATUS_COMPLETED\x10\x03\x12\x18\n\x14REPORT_STATUS_FAILED\x10\x04\x32\xd6\x02\n\x10NarrativeService\x12\x63\n\x0eGenerateReport\x12&.genai.narrative.GenerateReportRequest\x1a\'.genai.narrative.GenerateReportProgress0\x01\x12\x64\n\x0fGetReportStatus\x12\'.genai.narrative.GetReportStatusRequest\x1a(.genai.narrative.GetReportStatusResponse\x12w\n\x18GenerateComparisonReport\x12\x30.genai.narrative.GenerateComparisonReportRequest\x1a\'.genai.narrative.GenerateReportProgress0\x01\x62\x06proto3'
24)
26_globals = globals()
27_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
28_builder.BuildTopDescriptorsAndMessages(
29 DESCRIPTOR, "services.genai.v1.narrative_pb2", _globals
30)
31if not _descriptor._USE_C_DESCRIPTORS:
32 DESCRIPTOR._loaded_options = None
33 _globals["_REPORTFORMAT"]._serialized_start = 1536
34 _globals["_REPORTFORMAT"]._serialized_end = 1656
35 _globals["_REPORTSECTION"]._serialized_start = 1659
36 _globals["_REPORTSECTION"]._serialized_end = 1883
37 _globals["_REPORTDETAILLEVEL"]._serialized_start = 1886
38 _globals["_REPORTDETAILLEVEL"]._serialized_end = 2041
39 _globals["_REPORTSTATUS"]._serialized_start = 2044
40 _globals["_REPORTSTATUS"]._serialized_end = 2201
41 _globals["_GENERATEREPORTREQUEST"]._serialized_start = 78
42 _globals["_GENERATEREPORTREQUEST"]._serialized_end = 241
43 _globals["_REPORTCONFIG"]._serialized_start = 244
44 _globals["_REPORTCONFIG"]._serialized_end = 472
45 _globals["_GENERATEREPORTPROGRESS"]._serialized_start = 475
46 _globals["_GENERATEREPORTPROGRESS"]._serialized_end = 714
47 _globals["_REPORTRESULT"]._serialized_start = 717
48 _globals["_REPORTRESULT"]._serialized_end = 846
49 _globals["_REPORTMETADATA"]._serialized_start = 849
50 _globals["_REPORTMETADATA"]._serialized_end = 1010
51 _globals["_GETREPORTSTATUSREQUEST"]._serialized_start = 1012
52 _globals["_GETREPORTSTATUSREQUEST"]._serialized_end = 1113
53 _globals["_GETREPORTSTATUSRESPONSE"]._serialized_start = 1116
54 _globals["_GETREPORTSTATUSRESPONSE"]._serialized_end = 1356
55 _globals["_GENERATECOMPARISONREPORTREQUEST"]._serialized_start = 1359
56 _globals["_GENERATECOMPARISONREPORTREQUEST"]._serialized_end = 1534
57 _globals["_NARRATIVESERVICE"]._serialized_start = 2204
58 _globals["_NARRATIVESERVICE"]._serialized_end = 2546
59# @@protoc_insertion_point(module_scope)