aliyun-log-python-sdk 0.9.7__tar.gz → 0.9.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. {aliyun-log-python-sdk-0.9.7/aliyun_log_python_sdk.egg-info → aliyun_log_python_sdk-0.9.8}/PKG-INFO +13 -1
  2. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/__init__.py +1 -1
  3. aliyun_log_python_sdk-0.9.8/aliyun/log/_proto_py2/__init__.py +9 -0
  4. aliyun_log_python_sdk-0.9.8/aliyun/log/_proto_py2/log_logs_pb2.py +297 -0
  5. aliyun_log_python_sdk-0.9.8/aliyun/log/_proto_py2/log_logs_raw_pb2.py +297 -0
  6. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/migration_task.py +1 -1
  7. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logclient.py +2 -1
  8. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/odps_sink.py +1 -1
  9. aliyun_log_python_sdk-0.9.8/aliyun/log/proto.py +19 -0
  10. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/pulllog_response.py +2 -3
  11. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/version.py +1 -1
  12. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8/aliyun_log_python_sdk.egg-info}/PKG-INFO +13 -1
  13. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun_log_python_sdk.egg-info/SOURCES.txt +4 -0
  14. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun_log_python_sdk.egg-info/requires.txt +7 -1
  15. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/setup.py +14 -2
  16. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/LICENSE +0 -0
  17. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/README.md +0 -0
  18. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/__init__.py +0 -0
  19. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/acl_config.py +0 -0
  20. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/acl_response.py +0 -0
  21. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/auth.py +0 -0
  22. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/common_response.py +0 -0
  23. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/__init__.py +0 -0
  24. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/checkpoint_tracker.py +0 -0
  25. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/config.py +0 -0
  26. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/consumer_client.py +0 -0
  27. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/exceptions.py +0 -0
  28. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/fetched_log_group.py +0 -0
  29. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/heart_beat.py +0 -0
  30. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/shard_worker.py +0 -0
  31. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/tasks.py +0 -0
  32. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer/worker.py +0 -0
  33. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer_group_request.py +0 -0
  34. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/consumer_group_response.py +0 -0
  35. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/credentials.py +0 -0
  36. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/cursor_response.py +0 -0
  37. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/cursor_time_response.py +0 -0
  38. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/__init__.py +0 -0
  39. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/doc_logitem_converter.py +0 -0
  40. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/index_logstore_mappings.py +0 -0
  41. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/mapping_index_converter.py +0 -0
  42. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/migration_log.py +0 -0
  43. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/migration_manager.py +0 -0
  44. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/migration_response.py +0 -0
  45. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/es_migration/util.py +0 -0
  46. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_config_response.py +0 -0
  47. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/__init__.py +0 -0
  48. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/config_parser.py +0 -0
  49. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/etl_util.py +0 -0
  50. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/exceptions.py +0 -0
  51. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/restrict_config_parser.py +0 -0
  52. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/runner.py +0 -0
  53. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/settings.py +0 -0
  54. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/__init__.py +0 -0
  55. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_base.py +0 -0
  56. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_csv.py +0 -0
  57. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_json.py +0 -0
  58. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_kv.py +0 -0
  59. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_lookup.py +0 -0
  60. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_mv.py +0 -0
  61. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_regex.py +0 -0
  62. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/trans_comp/trans_set_field.py +0 -0
  63. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/__init__.py +0 -0
  64. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/condition_list.py +0 -0
  65. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/condition_transform.py +0 -0
  66. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/condition_util.py +0 -0
  67. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/transform_base.py +0 -0
  68. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/transform_list.py +0 -0
  69. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/etl_core/transform/transform_meta.py +0 -0
  70. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/export_response.py +0 -0
  71. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/ext/__init__.py +0 -0
  72. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/ext/jupyter_magic.py +0 -0
  73. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/ext/syslogclient.py +0 -0
  74. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/external_store_config.py +0 -0
  75. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/external_store_config_response.py +0 -0
  76. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/getcontextlogsresponse.py +0 -0
  77. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/gethistogramsrequest.py +0 -0
  78. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/gethistogramsresponse.py +0 -0
  79. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/getlogsrequest.py +0 -0
  80. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/getlogsresponse.py +0 -0
  81. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/histogram.py +0 -0
  82. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/index_config.py +0 -0
  83. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/index_config_response.py +0 -0
  84. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/ingestion_response.py +0 -0
  85. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/job.py +0 -0
  86. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/listlogstoresrequest.py +0 -0
  87. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/listlogstoresresponse.py +0 -0
  88. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/listtopicsrequest.py +0 -0
  89. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/listtopicsresponse.py +0 -0
  90. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/log_logs_pb2.py +0 -0
  91. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/log_logs_raw_pb2.py +0 -0
  92. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logclient_core.py +0 -0
  93. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logclient_operator.py +0 -0
  94. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logexception.py +0 -0
  95. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logger_hanlder.py +0 -0
  96. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logitem.py +0 -0
  97. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logrequest.py +0 -0
  98. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logresponse.py +0 -0
  99. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logstore_config_response.py +0 -0
  100. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logtail_config_detail.py +0 -0
  101. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/logtail_config_response.py +0 -0
  102. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/machine_group_detail.py +0 -0
  103. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/machinegroup_response.py +0 -0
  104. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/oss_sink.py +0 -0
  105. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/pluralize.py +0 -0
  106. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/project_response.py +0 -0
  107. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/putlogsrequest.py +0 -0
  108. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/putlogsresponse.py +0 -0
  109. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/queriedlog.py +0 -0
  110. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/resource_params.py +0 -0
  111. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/resource_response.py +0 -0
  112. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/scheduled_sql.py +0 -0
  113. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/scheduled_sql_response.py +0 -0
  114. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/shard_response.py +0 -0
  115. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/shipper_config.py +0 -0
  116. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/shipper_response.py +0 -0
  117. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/sink.py +0 -0
  118. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/sql_instance_response.py +0 -0
  119. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/substore_config_response.py +0 -0
  120. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/tag_response.py +0 -0
  121. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/topostore_params.py +0 -0
  122. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/topostore_response.py +0 -0
  123. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun/log/util.py +0 -0
  124. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun_log_python_sdk.egg-info/dependency_links.txt +0 -0
  125. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/aliyun_log_python_sdk.egg-info/top_level.txt +0 -0
  126. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/setup.cfg +0 -0
  127. {aliyun-log-python-sdk-0.9.7 → aliyun_log_python_sdk-0.9.8}/tests/test_alert.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aliyun-log-python-sdk
3
- Version: 0.9.7
3
+ Version: 0.9.8
4
4
  Summary: Aliyun log service Python client SDK
5
5
  Home-page: https://github.com/aliyun/aliyun-log-python-sdk
6
6
  Author: Aliyun
@@ -16,6 +16,18 @@ Classifier: Programming Language :: Python :: 3.6
16
16
  Classifier: Programming Language :: Python :: 3.7
17
17
  Classifier: Programming Language :: Python :: Implementation :: PyPy
18
18
  License-File: LICENSE
19
+ Requires-Dist: six
20
+ Requires-Dist: requests
21
+ Requires-Dist: python-dateutil
22
+ Requires-Dist: elasticsearch
23
+ Requires-Dist: jmespath
24
+ Requires-Dist: dateparser
25
+ Requires-Dist: protobuf<6.0.0,>3.20.3
26
+ Provides-Extra: test
27
+ Requires-Dist: pytest; extra == "test"
28
+ Requires-Dist: lz4; extra == "test"
29
+ Requires-Dist: virtualenv; extra == "test"
30
+ Requires-Dist: zstandard; extra == "test"
19
31
 
20
32
 
21
33
  Python SDK for Alicloud Log Service
@@ -33,7 +33,7 @@ from .shard_response import *
33
33
  from .shipper_response import *
34
34
  from .common_response import *
35
35
  from .external_store_config_response import *
36
- from .log_logs_raw_pb2 import LogGroupRaw as LogGroup
36
+ from .proto import LogGroupRaw as LogGroup
37
37
 
38
38
  # logging handler
39
39
  from .logger_hanlder import SimpleLogHandler, QueuedLogHandler, LogFields, UwsgiQueuedLogHandler
@@ -0,0 +1,9 @@
1
+ import sys
2
+
3
+ MAX_PYTHON_VERSION = (3, 0)
4
+
5
+ if sys.version_info >= MAX_PYTHON_VERSION:
6
+ raise RuntimeError("This module works only on Python 2, "
7
+ "You are using Python {}.{}.{}".format(sys.version_info.major,
8
+ sys.version_info.minor,
9
+ sys.version_info.micro))
@@ -0,0 +1,297 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: log_logs.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from google.protobuf import reflection as _reflection
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor.FileDescriptor(
17
+ name='log_logs.proto',
18
+ package='',
19
+ syntax='proto2',
20
+ serialized_options=None,
21
+ create_key=_descriptor._internal_create_key,
22
+ serialized_pb=b'\n\x0elog_logs.proto\"k\n\x03Log\x12\x0c\n\x04Time\x18\x01 \x02(\r\x12\x1e\n\x08\x43ontents\x18\x02 \x03(\x0b\x32\x0c.Log.Content\x12\x0f\n\x07Time_ns\x18\x04 \x01(\x07\x1a%\n\x07\x43ontent\x12\x0b\n\x03Key\x18\x01 \x02(\t\x12\r\n\x05Value\x18\x02 \x02(\t\"$\n\x06LogTag\x12\x0b\n\x03Key\x18\x01 \x02(\t\x12\r\n\x05Value\x18\x02 \x02(\t\"~\n\x08LogGroup\x12\x12\n\x04Logs\x18\x01 \x03(\x0b\x32\x04.Log\x12\x10\n\x08Reserved\x18\x02 \x01(\t\x12\r\n\x05Topic\x18\x03 \x01(\t\x12\x0e\n\x06Source\x18\x04 \x01(\t\x12\x13\n\x0bMachineUUID\x18\x05 \x01(\t\x12\x18\n\x07LogTags\x18\x06 \x03(\x0b\x32\x07.LogTag\",\n\x0cLogGroupList\x12\x1c\n\tLogGroups\x18\x01 \x03(\x0b\x32\t.LogGroup'
23
+ )
24
+
25
+
26
+
27
+
28
+ _LOG_CONTENT = _descriptor.Descriptor(
29
+ name='Content',
30
+ full_name='Log.Content',
31
+ filename=None,
32
+ file=DESCRIPTOR,
33
+ containing_type=None,
34
+ create_key=_descriptor._internal_create_key,
35
+ fields=[
36
+ _descriptor.FieldDescriptor(
37
+ name='Key', full_name='Log.Content.Key', index=0,
38
+ number=1, type=9, cpp_type=9, label=2,
39
+ has_default_value=False, default_value=b"".decode('utf-8'),
40
+ message_type=None, enum_type=None, containing_type=None,
41
+ is_extension=False, extension_scope=None,
42
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
43
+ _descriptor.FieldDescriptor(
44
+ name='Value', full_name='Log.Content.Value', index=1,
45
+ number=2, type=9, cpp_type=9, label=2,
46
+ has_default_value=False, default_value=b"".decode('utf-8'),
47
+ message_type=None, enum_type=None, containing_type=None,
48
+ is_extension=False, extension_scope=None,
49
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
50
+ ],
51
+ extensions=[
52
+ ],
53
+ nested_types=[],
54
+ enum_types=[
55
+ ],
56
+ serialized_options=None,
57
+ is_extendable=False,
58
+ syntax='proto2',
59
+ extension_ranges=[],
60
+ oneofs=[
61
+ ],
62
+ serialized_start=88,
63
+ serialized_end=125,
64
+ )
65
+
66
+ _LOG = _descriptor.Descriptor(
67
+ name='Log',
68
+ full_name='Log',
69
+ filename=None,
70
+ file=DESCRIPTOR,
71
+ containing_type=None,
72
+ create_key=_descriptor._internal_create_key,
73
+ fields=[
74
+ _descriptor.FieldDescriptor(
75
+ name='Time', full_name='Log.Time', index=0,
76
+ number=1, type=13, cpp_type=3, label=2,
77
+ has_default_value=False, default_value=0,
78
+ message_type=None, enum_type=None, containing_type=None,
79
+ is_extension=False, extension_scope=None,
80
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
81
+ _descriptor.FieldDescriptor(
82
+ name='Contents', full_name='Log.Contents', index=1,
83
+ number=2, type=11, cpp_type=10, label=3,
84
+ has_default_value=False, default_value=[],
85
+ message_type=None, enum_type=None, containing_type=None,
86
+ is_extension=False, extension_scope=None,
87
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
88
+ _descriptor.FieldDescriptor(
89
+ name='Time_ns', full_name='Log.Time_ns', index=2,
90
+ number=4, type=7, cpp_type=3, label=1,
91
+ has_default_value=False, default_value=0,
92
+ message_type=None, enum_type=None, containing_type=None,
93
+ is_extension=False, extension_scope=None,
94
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
95
+ ],
96
+ extensions=[
97
+ ],
98
+ nested_types=[_LOG_CONTENT, ],
99
+ enum_types=[
100
+ ],
101
+ serialized_options=None,
102
+ is_extendable=False,
103
+ syntax='proto2',
104
+ extension_ranges=[],
105
+ oneofs=[
106
+ ],
107
+ serialized_start=18,
108
+ serialized_end=125,
109
+ )
110
+
111
+
112
+ _LOGTAG = _descriptor.Descriptor(
113
+ name='LogTag',
114
+ full_name='LogTag',
115
+ filename=None,
116
+ file=DESCRIPTOR,
117
+ containing_type=None,
118
+ create_key=_descriptor._internal_create_key,
119
+ fields=[
120
+ _descriptor.FieldDescriptor(
121
+ name='Key', full_name='LogTag.Key', index=0,
122
+ number=1, type=9, cpp_type=9, label=2,
123
+ has_default_value=False, default_value=b"".decode('utf-8'),
124
+ message_type=None, enum_type=None, containing_type=None,
125
+ is_extension=False, extension_scope=None,
126
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
127
+ _descriptor.FieldDescriptor(
128
+ name='Value', full_name='LogTag.Value', index=1,
129
+ number=2, type=9, cpp_type=9, label=2,
130
+ has_default_value=False, default_value=b"".decode('utf-8'),
131
+ message_type=None, enum_type=None, containing_type=None,
132
+ is_extension=False, extension_scope=None,
133
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
134
+ ],
135
+ extensions=[
136
+ ],
137
+ nested_types=[],
138
+ enum_types=[
139
+ ],
140
+ serialized_options=None,
141
+ is_extendable=False,
142
+ syntax='proto2',
143
+ extension_ranges=[],
144
+ oneofs=[
145
+ ],
146
+ serialized_start=127,
147
+ serialized_end=163,
148
+ )
149
+
150
+
151
+ _LOGGROUP = _descriptor.Descriptor(
152
+ name='LogGroup',
153
+ full_name='LogGroup',
154
+ filename=None,
155
+ file=DESCRIPTOR,
156
+ containing_type=None,
157
+ create_key=_descriptor._internal_create_key,
158
+ fields=[
159
+ _descriptor.FieldDescriptor(
160
+ name='Logs', full_name='LogGroup.Logs', index=0,
161
+ number=1, type=11, cpp_type=10, label=3,
162
+ has_default_value=False, default_value=[],
163
+ message_type=None, enum_type=None, containing_type=None,
164
+ is_extension=False, extension_scope=None,
165
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
166
+ _descriptor.FieldDescriptor(
167
+ name='Reserved', full_name='LogGroup.Reserved', index=1,
168
+ number=2, type=9, cpp_type=9, label=1,
169
+ has_default_value=False, default_value=b"".decode('utf-8'),
170
+ message_type=None, enum_type=None, containing_type=None,
171
+ is_extension=False, extension_scope=None,
172
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
173
+ _descriptor.FieldDescriptor(
174
+ name='Topic', full_name='LogGroup.Topic', index=2,
175
+ number=3, type=9, cpp_type=9, label=1,
176
+ has_default_value=False, default_value=b"".decode('utf-8'),
177
+ message_type=None, enum_type=None, containing_type=None,
178
+ is_extension=False, extension_scope=None,
179
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
180
+ _descriptor.FieldDescriptor(
181
+ name='Source', full_name='LogGroup.Source', index=3,
182
+ number=4, type=9, cpp_type=9, label=1,
183
+ has_default_value=False, default_value=b"".decode('utf-8'),
184
+ message_type=None, enum_type=None, containing_type=None,
185
+ is_extension=False, extension_scope=None,
186
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
187
+ _descriptor.FieldDescriptor(
188
+ name='MachineUUID', full_name='LogGroup.MachineUUID', index=4,
189
+ number=5, type=9, cpp_type=9, label=1,
190
+ has_default_value=False, default_value=b"".decode('utf-8'),
191
+ message_type=None, enum_type=None, containing_type=None,
192
+ is_extension=False, extension_scope=None,
193
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
194
+ _descriptor.FieldDescriptor(
195
+ name='LogTags', full_name='LogGroup.LogTags', index=5,
196
+ number=6, type=11, cpp_type=10, label=3,
197
+ has_default_value=False, default_value=[],
198
+ message_type=None, enum_type=None, containing_type=None,
199
+ is_extension=False, extension_scope=None,
200
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
201
+ ],
202
+ extensions=[
203
+ ],
204
+ nested_types=[],
205
+ enum_types=[
206
+ ],
207
+ serialized_options=None,
208
+ is_extendable=False,
209
+ syntax='proto2',
210
+ extension_ranges=[],
211
+ oneofs=[
212
+ ],
213
+ serialized_start=165,
214
+ serialized_end=291,
215
+ )
216
+
217
+
218
+ _LOGGROUPLIST = _descriptor.Descriptor(
219
+ name='LogGroupList',
220
+ full_name='LogGroupList',
221
+ filename=None,
222
+ file=DESCRIPTOR,
223
+ containing_type=None,
224
+ create_key=_descriptor._internal_create_key,
225
+ fields=[
226
+ _descriptor.FieldDescriptor(
227
+ name='LogGroups', full_name='LogGroupList.LogGroups', index=0,
228
+ number=1, type=11, cpp_type=10, label=3,
229
+ has_default_value=False, default_value=[],
230
+ message_type=None, enum_type=None, containing_type=None,
231
+ is_extension=False, extension_scope=None,
232
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
233
+ ],
234
+ extensions=[
235
+ ],
236
+ nested_types=[],
237
+ enum_types=[
238
+ ],
239
+ serialized_options=None,
240
+ is_extendable=False,
241
+ syntax='proto2',
242
+ extension_ranges=[],
243
+ oneofs=[
244
+ ],
245
+ serialized_start=293,
246
+ serialized_end=337,
247
+ )
248
+
249
+ _LOG_CONTENT.containing_type = _LOG
250
+ _LOG.fields_by_name['Contents'].message_type = _LOG_CONTENT
251
+ _LOGGROUP.fields_by_name['Logs'].message_type = _LOG
252
+ _LOGGROUP.fields_by_name['LogTags'].message_type = _LOGTAG
253
+ _LOGGROUPLIST.fields_by_name['LogGroups'].message_type = _LOGGROUP
254
+ DESCRIPTOR.message_types_by_name['Log'] = _LOG
255
+ DESCRIPTOR.message_types_by_name['LogTag'] = _LOGTAG
256
+ DESCRIPTOR.message_types_by_name['LogGroup'] = _LOGGROUP
257
+ DESCRIPTOR.message_types_by_name['LogGroupList'] = _LOGGROUPLIST
258
+ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
259
+
260
+ Log = _reflection.GeneratedProtocolMessageType('Log', (_message.Message,), {
261
+
262
+ 'Content' : _reflection.GeneratedProtocolMessageType('Content', (_message.Message,), {
263
+ 'DESCRIPTOR' : _LOG_CONTENT,
264
+ '__module__' : 'log_logs_pb2'
265
+ # @@protoc_insertion_point(class_scope:Log.Content)
266
+ })
267
+ ,
268
+ 'DESCRIPTOR' : _LOG,
269
+ '__module__' : 'log_logs_pb2'
270
+ # @@protoc_insertion_point(class_scope:Log)
271
+ })
272
+ _sym_db.RegisterMessage(Log)
273
+ _sym_db.RegisterMessage(Log.Content)
274
+
275
+ LogTag = _reflection.GeneratedProtocolMessageType('LogTag', (_message.Message,), {
276
+ 'DESCRIPTOR' : _LOGTAG,
277
+ '__module__' : 'log_logs_pb2'
278
+ # @@protoc_insertion_point(class_scope:LogTag)
279
+ })
280
+ _sym_db.RegisterMessage(LogTag)
281
+
282
+ LogGroup = _reflection.GeneratedProtocolMessageType('LogGroup', (_message.Message,), {
283
+ 'DESCRIPTOR' : _LOGGROUP,
284
+ '__module__' : 'log_logs_pb2'
285
+ # @@protoc_insertion_point(class_scope:LogGroup)
286
+ })
287
+ _sym_db.RegisterMessage(LogGroup)
288
+
289
+ LogGroupList = _reflection.GeneratedProtocolMessageType('LogGroupList', (_message.Message,), {
290
+ 'DESCRIPTOR' : _LOGGROUPLIST,
291
+ '__module__' : 'log_logs_pb2'
292
+ # @@protoc_insertion_point(class_scope:LogGroupList)
293
+ })
294
+ _sym_db.RegisterMessage(LogGroupList)
295
+
296
+
297
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,297 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: log_logs_raw.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from google.protobuf import reflection as _reflection
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor.FileDescriptor(
17
+ name='log_logs_raw.proto',
18
+ package='',
19
+ syntax='proto2',
20
+ serialized_options=None,
21
+ create_key=_descriptor._internal_create_key,
22
+ serialized_pb=b'\n\x12log_logs_raw.proto\"q\n\x06LogRaw\x12\x0c\n\x04Time\x18\x01 \x02(\r\x12!\n\x08\x43ontents\x18\x02 \x03(\x0b\x32\x0f.LogRaw.Content\x12\x0f\n\x07Time_ns\x18\x04 \x01(\x07\x1a%\n\x07\x43ontent\x12\x0b\n\x03Key\x18\x01 \x02(\t\x12\r\n\x05Value\x18\x02 \x02(\x0c\"\'\n\tLogTagRaw\x12\x0b\n\x03Key\x18\x01 \x02(\t\x12\r\n\x05Value\x18\x02 \x02(\t\"\x87\x01\n\x0bLogGroupRaw\x12\x15\n\x04Logs\x18\x01 \x03(\x0b\x32\x07.LogRaw\x12\x10\n\x08Reserved\x18\x02 \x01(\t\x12\r\n\x05Topic\x18\x03 \x01(\t\x12\x0e\n\x06Source\x18\x04 \x01(\t\x12\x13\n\x0bMachineUUID\x18\x05 \x01(\t\x12\x1b\n\x07LogTags\x18\x06 \x03(\x0b\x32\n.LogTagRaw\"2\n\x0fLogGroupListRaw\x12\x1f\n\tLogGroups\x18\x01 \x03(\x0b\x32\x0c.LogGroupRaw'
23
+ )
24
+
25
+
26
+
27
+
28
+ _LOGRAW_CONTENT = _descriptor.Descriptor(
29
+ name='Content',
30
+ full_name='LogRaw.Content',
31
+ filename=None,
32
+ file=DESCRIPTOR,
33
+ containing_type=None,
34
+ create_key=_descriptor._internal_create_key,
35
+ fields=[
36
+ _descriptor.FieldDescriptor(
37
+ name='Key', full_name='LogRaw.Content.Key', index=0,
38
+ number=1, type=9, cpp_type=9, label=2,
39
+ has_default_value=False, default_value=b"".decode('utf-8'),
40
+ message_type=None, enum_type=None, containing_type=None,
41
+ is_extension=False, extension_scope=None,
42
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
43
+ _descriptor.FieldDescriptor(
44
+ name='Value', full_name='LogRaw.Content.Value', index=1,
45
+ number=2, type=12, cpp_type=9, label=2,
46
+ has_default_value=False, default_value=b"",
47
+ message_type=None, enum_type=None, containing_type=None,
48
+ is_extension=False, extension_scope=None,
49
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
50
+ ],
51
+ extensions=[
52
+ ],
53
+ nested_types=[],
54
+ enum_types=[
55
+ ],
56
+ serialized_options=None,
57
+ is_extendable=False,
58
+ syntax='proto2',
59
+ extension_ranges=[],
60
+ oneofs=[
61
+ ],
62
+ serialized_start=98,
63
+ serialized_end=135,
64
+ )
65
+
66
+ _LOGRAW = _descriptor.Descriptor(
67
+ name='LogRaw',
68
+ full_name='LogRaw',
69
+ filename=None,
70
+ file=DESCRIPTOR,
71
+ containing_type=None,
72
+ create_key=_descriptor._internal_create_key,
73
+ fields=[
74
+ _descriptor.FieldDescriptor(
75
+ name='Time', full_name='LogRaw.Time', index=0,
76
+ number=1, type=13, cpp_type=3, label=2,
77
+ has_default_value=False, default_value=0,
78
+ message_type=None, enum_type=None, containing_type=None,
79
+ is_extension=False, extension_scope=None,
80
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
81
+ _descriptor.FieldDescriptor(
82
+ name='Contents', full_name='LogRaw.Contents', index=1,
83
+ number=2, type=11, cpp_type=10, label=3,
84
+ has_default_value=False, default_value=[],
85
+ message_type=None, enum_type=None, containing_type=None,
86
+ is_extension=False, extension_scope=None,
87
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
88
+ _descriptor.FieldDescriptor(
89
+ name='Time_ns', full_name='LogRaw.Time_ns', index=2,
90
+ number=4, type=7, cpp_type=3, label=1,
91
+ has_default_value=False, default_value=0,
92
+ message_type=None, enum_type=None, containing_type=None,
93
+ is_extension=False, extension_scope=None,
94
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
95
+ ],
96
+ extensions=[
97
+ ],
98
+ nested_types=[_LOGRAW_CONTENT, ],
99
+ enum_types=[
100
+ ],
101
+ serialized_options=None,
102
+ is_extendable=False,
103
+ syntax='proto2',
104
+ extension_ranges=[],
105
+ oneofs=[
106
+ ],
107
+ serialized_start=22,
108
+ serialized_end=135,
109
+ )
110
+
111
+
112
+ _LOGTAGRAW = _descriptor.Descriptor(
113
+ name='LogTagRaw',
114
+ full_name='LogTagRaw',
115
+ filename=None,
116
+ file=DESCRIPTOR,
117
+ containing_type=None,
118
+ create_key=_descriptor._internal_create_key,
119
+ fields=[
120
+ _descriptor.FieldDescriptor(
121
+ name='Key', full_name='LogTagRaw.Key', index=0,
122
+ number=1, type=9, cpp_type=9, label=2,
123
+ has_default_value=False, default_value=b"".decode('utf-8'),
124
+ message_type=None, enum_type=None, containing_type=None,
125
+ is_extension=False, extension_scope=None,
126
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
127
+ _descriptor.FieldDescriptor(
128
+ name='Value', full_name='LogTagRaw.Value', index=1,
129
+ number=2, type=9, cpp_type=9, label=2,
130
+ has_default_value=False, default_value=b"".decode('utf-8'),
131
+ message_type=None, enum_type=None, containing_type=None,
132
+ is_extension=False, extension_scope=None,
133
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
134
+ ],
135
+ extensions=[
136
+ ],
137
+ nested_types=[],
138
+ enum_types=[
139
+ ],
140
+ serialized_options=None,
141
+ is_extendable=False,
142
+ syntax='proto2',
143
+ extension_ranges=[],
144
+ oneofs=[
145
+ ],
146
+ serialized_start=137,
147
+ serialized_end=176,
148
+ )
149
+
150
+
151
+ _LOGGROUPRAW = _descriptor.Descriptor(
152
+ name='LogGroupRaw',
153
+ full_name='LogGroupRaw',
154
+ filename=None,
155
+ file=DESCRIPTOR,
156
+ containing_type=None,
157
+ create_key=_descriptor._internal_create_key,
158
+ fields=[
159
+ _descriptor.FieldDescriptor(
160
+ name='Logs', full_name='LogGroupRaw.Logs', index=0,
161
+ number=1, type=11, cpp_type=10, label=3,
162
+ has_default_value=False, default_value=[],
163
+ message_type=None, enum_type=None, containing_type=None,
164
+ is_extension=False, extension_scope=None,
165
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
166
+ _descriptor.FieldDescriptor(
167
+ name='Reserved', full_name='LogGroupRaw.Reserved', index=1,
168
+ number=2, type=9, cpp_type=9, label=1,
169
+ has_default_value=False, default_value=b"".decode('utf-8'),
170
+ message_type=None, enum_type=None, containing_type=None,
171
+ is_extension=False, extension_scope=None,
172
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
173
+ _descriptor.FieldDescriptor(
174
+ name='Topic', full_name='LogGroupRaw.Topic', index=2,
175
+ number=3, type=9, cpp_type=9, label=1,
176
+ has_default_value=False, default_value=b"".decode('utf-8'),
177
+ message_type=None, enum_type=None, containing_type=None,
178
+ is_extension=False, extension_scope=None,
179
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
180
+ _descriptor.FieldDescriptor(
181
+ name='Source', full_name='LogGroupRaw.Source', index=3,
182
+ number=4, type=9, cpp_type=9, label=1,
183
+ has_default_value=False, default_value=b"".decode('utf-8'),
184
+ message_type=None, enum_type=None, containing_type=None,
185
+ is_extension=False, extension_scope=None,
186
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
187
+ _descriptor.FieldDescriptor(
188
+ name='MachineUUID', full_name='LogGroupRaw.MachineUUID', index=4,
189
+ number=5, type=9, cpp_type=9, label=1,
190
+ has_default_value=False, default_value=b"".decode('utf-8'),
191
+ message_type=None, enum_type=None, containing_type=None,
192
+ is_extension=False, extension_scope=None,
193
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
194
+ _descriptor.FieldDescriptor(
195
+ name='LogTags', full_name='LogGroupRaw.LogTags', index=5,
196
+ number=6, type=11, cpp_type=10, label=3,
197
+ has_default_value=False, default_value=[],
198
+ message_type=None, enum_type=None, containing_type=None,
199
+ is_extension=False, extension_scope=None,
200
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
201
+ ],
202
+ extensions=[
203
+ ],
204
+ nested_types=[],
205
+ enum_types=[
206
+ ],
207
+ serialized_options=None,
208
+ is_extendable=False,
209
+ syntax='proto2',
210
+ extension_ranges=[],
211
+ oneofs=[
212
+ ],
213
+ serialized_start=179,
214
+ serialized_end=314,
215
+ )
216
+
217
+
218
+ _LOGGROUPLISTRAW = _descriptor.Descriptor(
219
+ name='LogGroupListRaw',
220
+ full_name='LogGroupListRaw',
221
+ filename=None,
222
+ file=DESCRIPTOR,
223
+ containing_type=None,
224
+ create_key=_descriptor._internal_create_key,
225
+ fields=[
226
+ _descriptor.FieldDescriptor(
227
+ name='LogGroups', full_name='LogGroupListRaw.LogGroups', index=0,
228
+ number=1, type=11, cpp_type=10, label=3,
229
+ has_default_value=False, default_value=[],
230
+ message_type=None, enum_type=None, containing_type=None,
231
+ is_extension=False, extension_scope=None,
232
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
233
+ ],
234
+ extensions=[
235
+ ],
236
+ nested_types=[],
237
+ enum_types=[
238
+ ],
239
+ serialized_options=None,
240
+ is_extendable=False,
241
+ syntax='proto2',
242
+ extension_ranges=[],
243
+ oneofs=[
244
+ ],
245
+ serialized_start=316,
246
+ serialized_end=366,
247
+ )
248
+
249
+ _LOGRAW_CONTENT.containing_type = _LOGRAW
250
+ _LOGRAW.fields_by_name['Contents'].message_type = _LOGRAW_CONTENT
251
+ _LOGGROUPRAW.fields_by_name['Logs'].message_type = _LOGRAW
252
+ _LOGGROUPRAW.fields_by_name['LogTags'].message_type = _LOGTAGRAW
253
+ _LOGGROUPLISTRAW.fields_by_name['LogGroups'].message_type = _LOGGROUPRAW
254
+ DESCRIPTOR.message_types_by_name['LogRaw'] = _LOGRAW
255
+ DESCRIPTOR.message_types_by_name['LogTagRaw'] = _LOGTAGRAW
256
+ DESCRIPTOR.message_types_by_name['LogGroupRaw'] = _LOGGROUPRAW
257
+ DESCRIPTOR.message_types_by_name['LogGroupListRaw'] = _LOGGROUPLISTRAW
258
+ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
259
+
260
+ LogRaw = _reflection.GeneratedProtocolMessageType('LogRaw', (_message.Message,), {
261
+
262
+ 'Content' : _reflection.GeneratedProtocolMessageType('Content', (_message.Message,), {
263
+ 'DESCRIPTOR' : _LOGRAW_CONTENT,
264
+ '__module__' : 'log_logs_raw_pb2'
265
+ # @@protoc_insertion_point(class_scope:LogRaw.Content)
266
+ })
267
+ ,
268
+ 'DESCRIPTOR' : _LOGRAW,
269
+ '__module__' : 'log_logs_raw_pb2'
270
+ # @@protoc_insertion_point(class_scope:LogRaw)
271
+ })
272
+ _sym_db.RegisterMessage(LogRaw)
273
+ _sym_db.RegisterMessage(LogRaw.Content)
274
+
275
+ LogTagRaw = _reflection.GeneratedProtocolMessageType('LogTagRaw', (_message.Message,), {
276
+ 'DESCRIPTOR' : _LOGTAGRAW,
277
+ '__module__' : 'log_logs_raw_pb2'
278
+ # @@protoc_insertion_point(class_scope:LogTagRaw)
279
+ })
280
+ _sym_db.RegisterMessage(LogTagRaw)
281
+
282
+ LogGroupRaw = _reflection.GeneratedProtocolMessageType('LogGroupRaw', (_message.Message,), {
283
+ 'DESCRIPTOR' : _LOGGROUPRAW,
284
+ '__module__' : 'log_logs_raw_pb2'
285
+ # @@protoc_insertion_point(class_scope:LogGroupRaw)
286
+ })
287
+ _sym_db.RegisterMessage(LogGroupRaw)
288
+
289
+ LogGroupListRaw = _reflection.GeneratedProtocolMessageType('LogGroupListRaw', (_message.Message,), {
290
+ 'DESCRIPTOR' : _LOGGROUPLISTRAW,
291
+ '__module__' : 'log_logs_raw_pb2'
292
+ # @@protoc_insertion_point(class_scope:LogGroupListRaw)
293
+ })
294
+ _sym_db.RegisterMessage(LogGroupListRaw)
295
+
296
+
297
+ # @@protoc_insertion_point(module_scope)
@@ -192,7 +192,7 @@ class MigrationTask(object):
192
192
  scroll=self._es_scroll,
193
193
  )
194
194
  except NotFoundError:
195
- msg = f"cache is expired, which is with duration {self._es_scroll}"
195
+ msg = "cache is expired, which is with duration {}".format(self._es_scroll)
196
196
  self._logger.error(msg, exc_info=True)
197
197
  raise Exception(msg)
198
198
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  """
2
3
  LogClient class is the main class in the SDK. It can be used to communicate with
3
4
  log service server to put/get data.
@@ -50,7 +51,7 @@ from .util import base64_encodestring as b64e
50
51
  from .util import base64_encodestring as e64, base64_decodestring as d64, Util
51
52
  from .version import API_VERSION, USER_AGENT
52
53
 
53
- from .log_logs_raw_pb2 import LogGroupRaw as LogGroup
54
+ from .proto import LogGroupRaw as LogGroup
54
55
  from .external_store_config_response import *
55
56
  import struct
56
57
  from .logresponse import LogResponse
@@ -72,7 +72,7 @@ class AliyunMaxComputeSink(DataSink):
72
72
  def getPartitionColumn(self):
73
73
  return self.__params["partitionColumn"]
74
74
 
75
- def setPartitionColumn(self, partitionColumn: list):
75
+ def setPartitionColumn(self, partitionColumn):
76
76
  self.__params["partitionColumn"] = partitionColumn
77
77
 
78
78
  def getParams(self):