byteplus-sdk 1.0.62__py3-none-any.whl

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 (134) hide show
  1. byteplus_sdk/ApiInfo.py +13 -0
  2. byteplus_sdk/Credentials.py +15 -0
  3. byteplus_sdk/Policy.py +91 -0
  4. byteplus_sdk/ServiceInfo.py +11 -0
  5. byteplus_sdk/ServiceInfoHttps.py +11 -0
  6. byteplus_sdk/__init__.py +2 -0
  7. byteplus_sdk/auth/MetaData.py +29 -0
  8. byteplus_sdk/auth/SignerV4.py +145 -0
  9. byteplus_sdk/auth/__init__.py +0 -0
  10. byteplus_sdk/base/Request.py +51 -0
  11. byteplus_sdk/base/Service.py +227 -0
  12. byteplus_sdk/base/__init__.py +0 -0
  13. byteplus_sdk/base/models/__init__.py +0 -0
  14. byteplus_sdk/base/models/base/__init__.py +0 -0
  15. byteplus_sdk/base/models/base/base_pb2.py +46 -0
  16. byteplus_sdk/cdn/__init__.py +0 -0
  17. byteplus_sdk/cdn/service.py +1203 -0
  18. byteplus_sdk/const/Const.py +66 -0
  19. byteplus_sdk/const/__init__.py +0 -0
  20. byteplus_sdk/example/__init__.py +1 -0
  21. byteplus_sdk/example/cdn/__init__.py +3 -0
  22. byteplus_sdk/example/cdn/add_cdn_certificate.py +27 -0
  23. byteplus_sdk/example/cdn/add_cdn_domain.py +35 -0
  24. byteplus_sdk/example/cdn/add_template_domain.py +26 -0
  25. byteplus_sdk/example/cdn/create_cipher_template.py +25 -0
  26. byteplus_sdk/example/cdn/create_rule_engine_template.py +161 -0
  27. byteplus_sdk/example/cdn/create_service_template.py +41 -0
  28. byteplus_sdk/example/cdn/delete_cdn_domain.py +19 -0
  29. byteplus_sdk/example/cdn/delete_template.py +20 -0
  30. byteplus_sdk/example/cdn/describe_accounting_data.py +24 -0
  31. byteplus_sdk/example/cdn/describe_cdn_access_log.py +23 -0
  32. byteplus_sdk/example/cdn/describe_cdn_config.py +19 -0
  33. byteplus_sdk/example/cdn/describe_cdn_data.py +29 -0
  34. byteplus_sdk/example/cdn/describe_cdn_data_detail.py +25 -0
  35. byteplus_sdk/example/cdn/describe_cdn_detail.py +26 -0
  36. byteplus_sdk/example/cdn/describe_cdn_origin_data.py +24 -0
  37. byteplus_sdk/example/cdn/describe_cdn_region_and_isp.py +19 -0
  38. byteplus_sdk/example/cdn/describe_cdn_service.py +15 -0
  39. byteplus_sdk/example/cdn/describe_cdn_upper_ip.py +19 -0
  40. byteplus_sdk/example/cdn/describe_cipher_template.py +20 -0
  41. byteplus_sdk/example/cdn/describe_content_block_tasks.py +23 -0
  42. byteplus_sdk/example/cdn/describe_content_quota.py +14 -0
  43. byteplus_sdk/example/cdn/describe_content_tasks.py +21 -0
  44. byteplus_sdk/example/cdn/describe_edge_nrt_data_summary.py +23 -0
  45. byteplus_sdk/example/cdn/describe_edge_statistical_data.py +24 -0
  46. byteplus_sdk/example/cdn/describe_edge_top_nrt_data.py +25 -0
  47. byteplus_sdk/example/cdn/describe_edge_top_statistical_data.py +25 -0
  48. byteplus_sdk/example/cdn/describe_edge_top_status_code.py +22 -0
  49. byteplus_sdk/example/cdn/describe_ip_info.py +19 -0
  50. byteplus_sdk/example/cdn/describe_ip_list_info.py +20 -0
  51. byteplus_sdk/example/cdn/describe_origin_nrt_data_summary.py +23 -0
  52. byteplus_sdk/example/cdn/describe_origin_top_nrt_data.py +24 -0
  53. byteplus_sdk/example/cdn/describe_origin_top_status_code.py +22 -0
  54. byteplus_sdk/example/cdn/describe_rule_engine_template.py +23 -0
  55. byteplus_sdk/example/cdn/describe_service_template.py +20 -0
  56. byteplus_sdk/example/cdn/describe_template_domains.py +22 -0
  57. byteplus_sdk/example/cdn/describe_templates.py +30 -0
  58. byteplus_sdk/example/cdn/duplicate_template.py +23 -0
  59. byteplus_sdk/example/cdn/list_cdn_cert_info.py +19 -0
  60. byteplus_sdk/example/cdn/list_cdn_domains.py +19 -0
  61. byteplus_sdk/example/cdn/list_cert_info.py +20 -0
  62. byteplus_sdk/example/cdn/lock_template.py +20 -0
  63. byteplus_sdk/example/cdn/release_template.py +23 -0
  64. byteplus_sdk/example/cdn/start_cdn_domain.py +19 -0
  65. byteplus_sdk/example/cdn/stop_cdn_domain.py +19 -0
  66. byteplus_sdk/example/cdn/submit_block_task.py +18 -0
  67. byteplus_sdk/example/cdn/submit_preload_task.py +18 -0
  68. byteplus_sdk/example/cdn/submit_refresh_task.py +19 -0
  69. byteplus_sdk/example/cdn/submit_unblock_task.py +18 -0
  70. byteplus_sdk/example/cdn/update_cdn_config.py +34 -0
  71. byteplus_sdk/example/cdn/update_cipher_template.py +48 -0
  72. byteplus_sdk/example/cdn/update_rule_engine_template.py +62 -0
  73. byteplus_sdk/example/cdn/update_service_template.py +42 -0
  74. byteplus_sdk/example/cdn/update_template_domain.py +29 -0
  75. byteplus_sdk/example/live/__init__.py +0 -0
  76. byteplus_sdk/example/rtc/RtcService.py +53 -0
  77. byteplus_sdk/example/rtc/__init__.py +0 -0
  78. byteplus_sdk/example/rtc/example_get_record_task.py +25 -0
  79. byteplus_sdk/example/rtc/example_start_record.py +86 -0
  80. byteplus_sdk/example/visual/__init__.py +0 -0
  81. byteplus_sdk/example/visual/cv_cancel_task.py +19 -0
  82. byteplus_sdk/example/visual/cv_get_result.py +19 -0
  83. byteplus_sdk/example/visual/cv_process.py +20 -0
  84. byteplus_sdk/example/visual/cv_submit_task.py +19 -0
  85. byteplus_sdk/example/visual/cv_sync2async_get_result.py +20 -0
  86. byteplus_sdk/example/visual/cv_sync2async_submit_task.py +20 -0
  87. byteplus_sdk/example/visual/example_common.py +32 -0
  88. byteplus_sdk/iam/IamService.py +42 -0
  89. byteplus_sdk/iam/__init__.py +0 -0
  90. byteplus_sdk/live/LiveService.py +571 -0
  91. byteplus_sdk/live/__init__.py +1 -0
  92. byteplus_sdk/live/v20200801/__init__.py +1 -0
  93. byteplus_sdk/live/v20200801/live_config.py +18 -0
  94. byteplus_sdk/live/v20200801/live_service.py +12 -0
  95. byteplus_sdk/live/v20200801/live_trait.py +62 -0
  96. byteplus_sdk/live/v20230101/__init__.py +1 -0
  97. byteplus_sdk/live/v20230101/live_config.py +171 -0
  98. byteplus_sdk/live/v20230101/live_service.py +12 -0
  99. byteplus_sdk/live/v20230101/live_trait.py +1133 -0
  100. byteplus_sdk/sms/SmsService.py +158 -0
  101. byteplus_sdk/sms/__init__.py +0 -0
  102. byteplus_sdk/util/Functions.py +37 -0
  103. byteplus_sdk/util/Util.py +116 -0
  104. byteplus_sdk/util/__init__.py +0 -0
  105. byteplus_sdk/visual/VisualService.py +142 -0
  106. byteplus_sdk/visual/__init__.py +0 -0
  107. byteplus_sdk/vod/VodService.py +2941 -0
  108. byteplus_sdk/vod/VodServiceConfig.py +134 -0
  109. byteplus_sdk/vod/__init__.py +0 -0
  110. byteplus_sdk/vod/models/__init__.py +0 -0
  111. byteplus_sdk/vod/models/business/__init__.py +0 -0
  112. byteplus_sdk/vod/models/business/vod_apps_manage_pb2.py +35 -0
  113. byteplus_sdk/vod/models/business/vod_callback_pb2.py +32 -0
  114. byteplus_sdk/vod/models/business/vod_cdn_pb2.py +434 -0
  115. byteplus_sdk/vod/models/business/vod_common_pb2.py +342 -0
  116. byteplus_sdk/vod/models/business/vod_edit_pb2.py +55 -0
  117. byteplus_sdk/vod/models/business/vod_measure_pb2.py +395 -0
  118. byteplus_sdk/vod/models/business/vod_media_pb2.py +547 -0
  119. byteplus_sdk/vod/models/business/vod_play_pb2.py +95 -0
  120. byteplus_sdk/vod/models/business/vod_project_pb2.py +45 -0
  121. byteplus_sdk/vod/models/business/vod_quality_platform_pb2.py +46 -0
  122. byteplus_sdk/vod/models/business/vod_smart_strategy_pb2.py +53 -0
  123. byteplus_sdk/vod/models/business/vod_space_pb2.py +63 -0
  124. byteplus_sdk/vod/models/business/vod_upload_pb2.py +344 -0
  125. byteplus_sdk/vod/models/business/vod_workflow_pb2.py +389 -0
  126. byteplus_sdk/vod/models/request/__init__.py +0 -0
  127. byteplus_sdk/vod/models/request/request_vod_pb2.py +1250 -0
  128. byteplus_sdk/vod/models/response/__init__.py +0 -0
  129. byteplus_sdk/vod/models/response/response_vod_pb2.py +1199 -0
  130. byteplus_sdk-1.0.62.dist-info/METADATA +24 -0
  131. byteplus_sdk-1.0.62.dist-info/RECORD +134 -0
  132. byteplus_sdk-1.0.62.dist-info/WHEEL +5 -0
  133. byteplus_sdk-1.0.62.dist-info/licenses/LICENSE +201 -0
  134. byteplus_sdk-1.0.62.dist-info/top_level.txt +1 -0
@@ -0,0 +1,134 @@
1
+ # coding:utf-8
2
+
3
+ from __future__ import print_function
4
+
5
+ import threading
6
+ from zlib import crc32
7
+
8
+ from byteplus_sdk.ApiInfo import ApiInfo
9
+ from byteplus_sdk.Credentials import Credentials
10
+ from byteplus_sdk.ServiceInfo import ServiceInfo
11
+ from byteplus_sdk.base.Service import Service
12
+
13
+
14
+ class VodServiceConfig(Service):
15
+ _instance_lock = threading.Lock()
16
+
17
+ def __new__(cls, *args, **kwargs):
18
+ if not hasattr(cls, "_instance"):
19
+ with cls._instance_lock:
20
+ if not hasattr(cls, "_instance"):
21
+ cls._instance = object.__new__(cls)
22
+ return cls._instance
23
+
24
+ def __init__(self, region='ap-singapore-1'):
25
+ self.service_info = VodServiceConfig.get_service_info(region)
26
+ self.api_info = VodServiceConfig.get_api_info()
27
+ self.domain_cache = {}
28
+ self.fallback_domain_weights = {}
29
+ self.update_interval = 10
30
+ self.lock = threading.Lock()
31
+ super(VodServiceConfig, self).__init__(self.service_info, self.api_info)
32
+
33
+ @staticmethod
34
+ def get_service_info(region):
35
+ service_info_map = {
36
+ 'ap-singapore-1': ServiceInfo("vod.byteplusapi.com", {'Accept': 'application/json'},
37
+ Credentials('', '', 'vod', 'ap-singapore-1'), 60, 60,"https"),
38
+ 'ap-southeast-1': ServiceInfo("vod.ap-southeast-1.byteplusapi.com", {'Accept': 'application/json'},
39
+ Credentials('', '', 'vod', 'ap-southeast-1'), 60, 60, "https"),
40
+ }
41
+ service_info = service_info_map.get(region, None)
42
+ if not service_info:
43
+ raise Exception('Cant find the region, please check it carefully')
44
+
45
+ return service_info
46
+
47
+ @staticmethod
48
+ def get_api_info():
49
+ api_info = {
50
+ # 播放
51
+ "GetPlayInfo": ApiInfo("GET", "/", {"Action": "GetPlayInfo", "Version": "2023-01-01"}, {}, {}),
52
+ "GetPrivateDrmPlayAuth": ApiInfo("GET", "/", {"Action": "GetPrivateDrmPlayAuth", "Version": "2023-01-01"},
53
+ {}, {}),
54
+ "CreateHlsDecryptionKey": ApiInfo("GET", "/",
55
+ {"Action": "CreateHlsDecryptionKey", "Version": "2023-07-01"}, {},
56
+ {}),
57
+ "GetHlsDecryptionKey": ApiInfo("GET", "/", {"Action": "GetHlsDecryptionKey", "Version": "2023-01-01"},
58
+ {}, {}),
59
+ # 上传
60
+ "UploadMediaByUrl": ApiInfo("POST", "/", {"Action": "UploadMediaByUrl", "Version": "2023-01-01"}, {}, {}),
61
+ "QueryUploadTaskInfo": ApiInfo("GET", "/", {"Action": "QueryUploadTaskInfo", "Version": "2023-01-01"}, {}, {}),
62
+ "ApplyUploadInfo": ApiInfo("GET", "/", {"Action": "ApplyUploadInfo", "Version": "2023-01-01"}, {}, {}),
63
+ "CommitUploadInfo": ApiInfo("GET", "/", {"Action": "CommitUploadInfo", "Version": "2023-01-01"}, {}, {}),
64
+ "ParseUploadManifest": ApiInfo("POST", "/", {"Action": "ParseUploadManifest", "Version": "2023-01-01"}, {}, {}),
65
+ # 媒资
66
+ "UpdateMediaInfo": ApiInfo("GET", "/", {"Action": "UpdateMediaInfo", "Version": "2023-01-01"}, {}, {}),
67
+ "UpdateMediaPublishStatus": ApiInfo("GET", "/", {"Action": "UpdateMediaPublishStatus", "Version": "2023-01-01"}, {}, {}),
68
+ "GetMediaInfos": ApiInfo("GET", "/", {"Action": "GetMediaInfos", "Version": "2023-01-01"}, {}, {}),
69
+ "DeleteMedia": ApiInfo("GET", "/", {"Action": "DeleteMedia", "Version": "2023-01-01"}, {}, {}),
70
+ "DeleteTranscodes": ApiInfo("GET", "/", {"Action": "DeleteTranscodes", "Version": "2023-01-01"}, {}, {}),
71
+ "GetMediaList": ApiInfo("GET", "/", {"Action": "GetMediaList", "Version": "2023-01-01"}, {}, {}),
72
+ "GetSubtitleInfoList": ApiInfo("GET", "/", {"Action": "GetSubtitleInfoList", "Version": "2023-01-01"}, {}, {}),
73
+ "UpdateSubtitleStatus": ApiInfo("GET", "/", {"Action": "UpdateSubtitleStatus", "Version": "2023-01-01"}, {}, {}),
74
+ "UpdateSubtitleInfo": ApiInfo("GET", "/", {"Action": "UpdateSubtitleInfo", "Version": "2023-01-01"}, {}, {}),
75
+ "ListVideoClassifications": ApiInfo("GET", "/",{"Action": "ListVideoClassifications", "Version": "2023-01-01"}, {},{}),
76
+ "CreatePlaylist": ApiInfo("GET", "/",{"Action": "CreatePlaylist", "Version": "2023-01-01"}, {},{}),
77
+ "GetPlaylists": ApiInfo("GET", "/",{"Action": "GetPlaylists", "Version": "2023-01-01"}, {},{}),
78
+ "UpdatePlaylist": ApiInfo("GET", "/",{"Action": "UpdatePlaylist", "Version": "2023-01-01"}, {},{}),
79
+ "DeletePlaylist": ApiInfo("GET", "/",{"Action": "DeletePlaylist", "Version": "2023-01-01"}, {},{}),
80
+ "GetFileInfos": ApiInfo("GET", "/", {"Action": "GetFileInfos", "Version": "2023-07-01"}, {}, {}),
81
+ "DeleteMediaTosFile": ApiInfo("POST", "/", {"Action": "DeleteMediaTosFile", "Version": "2023-07-01"}, {}, {}),
82
+ "ListFileMetaInfosByFileNames": ApiInfo("POST", "/", {"Action": "ListFileMetaInfosByFileNames", "Version": "2023-07-01"}, {}, {}),
83
+
84
+ # 转码
85
+ "StartWorkflow": ApiInfo("GET", "/", {"Action": "StartWorkflow", "Version": "2023-01-01"}, {}, {}),
86
+ "RetrieveTranscodeResult": ApiInfo("GET", "/", {"Action": "RetrieveTranscodeResult", "Version": "2023-01-01"}, {}, {}),
87
+ "GetWorkflowExecution": ApiInfo("GET", "/", {"Action": "GetWorkflowExecution", "Version": "2023-01-01"}, {}, {}),
88
+ # 空间管理
89
+ "CreateSpace": ApiInfo("GET", "/", {"Action": "CreateSpace", "Version": "2023-01-01"}, {}, {}),
90
+ "ListSpace": ApiInfo("GET", "/", {"Action": "ListSpace", "Version": "2023-07-01"}, {}, {}),
91
+ "GetSpaceDetail": ApiInfo("GET", "/", {"Action": "GetSpaceDetail", "Version": "2023-07-01"}, {}, {}),
92
+ "UpdateSpaceUploadConfig": ApiInfo("GET", "/", {"Action": "UpdateSpaceUploadConfig", "Version": "2023-01-01"}, {}, {}),
93
+ "DescribeVodSpaceStorageData": ApiInfo("GET", "/", {"Action": "DescribeVodSpaceStorageData", "Version": "2023-01-01"},{}, {}),
94
+ # 分发加速
95
+ "CreateDomain": ApiInfo("GET", "/", {"Action": "CreateDomain", "Version": "2023-01-01"}, {}, {}),
96
+ "ListDomain": ApiInfo("GET", "/", {"Action": "ListDomain", "Version": "2023-01-01"}, {}, {}),
97
+ "CreateCdnRefreshTask": ApiInfo("GET", "/", {"Action": "CreateCdnRefreshTask", "Version": "2023-01-01"}, {}, {}),
98
+ "CreateCdnPreloadTask": ApiInfo("GET", "/", {"Action": "CreateCdnPreloadTask", "Version": "2023-01-01"}, {}, {}),
99
+ "ListCdnTasks": ApiInfo("GET", "/", {"Action": "ListCDNTasks", "Version": "2023-01-01"}, {}, {}),
100
+ "ListCdnAccessLog": ApiInfo("GET", "/", {"Action": "ListCdnAccessLog", "Version": "2023-01-01"}, {}, {}),
101
+ "ListCdnTopAccessUrl": ApiInfo("GET", "/", {"Action": "ListCdnTopAccessUrl", "Version": "2023-01-01"}, {}, {}),
102
+ "ListCdnTopAccess": ApiInfo("GET", "/", {"Action": "ListCdnTopAccess", "Version": "2023-07-01"},
103
+ {}, {}),
104
+ "DescribeVodDomainBandwidthData": ApiInfo("GET", "/", {"Action": "DescribeVodDomainBandwidthData", "Version": "2023-01-01"}, {}, {}),
105
+ "DescribeVodDomainTrafficData": ApiInfo("GET", "/", {"Action": "DescribeVodDomainTrafficData", "Version": "2023-01-01"}, {}, {}),
106
+ "ListCdnUsageData": ApiInfo("GET", "/", {"Action": "ListCdnUsageData", "Version": "2023-01-01"}, {}, {}),
107
+ "ListCdnStatusData": ApiInfo("GET", "/", {"Action": "ListCdnStatusData", "Version": "2023-01-01"}, {}, {}),
108
+ "DescribeIpInfo": ApiInfo("GET", "/", {"Action": "DescribeIpInfo", "Version": "2023-01-01"}, {}, {}),
109
+ "ListCdnPvData": ApiInfo("GET", "/", {"Action": "ListCdnPvData", "Version": "2023-01-01"}, {}, {}),
110
+ # 回调管理
111
+ "AddCallbackSubscription": ApiInfo("GET", "/", {"Action": "AddCallbackSubscription", "Version": "2023-01-01"}, {}, {}),
112
+ "SetCallbackEvent": ApiInfo("GET", "/", {"Action": "SetCallbackEvent", "Version": "2023-01-01"}, {}, {}),
113
+ # 计量计费
114
+ "DescribeVodSpaceTranscodeData": ApiInfo("GET", "/", {"Action": "DescribeVodSpaceTranscodeData", "Version": "2023-01-01"}, {}, {}),
115
+ "DescribeVodSnapshotData": ApiInfo("GET", "/", {"Action": "DescribeVodSnapshotData", "Version": "2023-01-01"}, {}, {}),
116
+ "DescribeVodEnhanceImageData": ApiInfo("GET", "/", {"Action": "DescribeVodEnhanceImageData", "Version": "2023-01-01"}, {}, {}),
117
+ "DescribeVodSpaceSubtitleStatisData": ApiInfo("GET", "/", {"Action": "DescribeVodSpaceSubtitleStatisData", "Version": "2023-01-01"}, {}, {}),
118
+ "DescribeVodPlayedStatisData": ApiInfo("GET", "/", {"Action": "DescribeVodPlayedStatisData", "Version": "2023-01-01"}, {}, {}),
119
+ "DescribeVodMostPlayedStatisData": ApiInfo("GET", "/", {"Action": "DescribeVodMostPlayedStatisData", "Version": "2023-01-01"}, {}, {}),
120
+ "DescribeVodRealtimeMediaData": ApiInfo("GET", "/", {"Action": "DescribeVodRealtimeMediaData", "Version": "2023-01-01"}, {}, {}),
121
+ # 商业drm
122
+ "GetDrmLicense": ApiInfo("POST", "/", {"Action": "GetDrmLicense", "Version": "2023-01-01"}, {}, {}),
123
+ "GetFairPlayCert": ApiInfo("GET", "/", {"Action": "GetFairPlayCert", "Version": "2023-01-01"}, {}, {}),
124
+ # 质量平台
125
+ "GetVodMediaPlayData": ApiInfo("POST", "/", {"Action": "GetVodMediaPlayData", "Version": "2025-04-01"}, {}, {}),
126
+ }
127
+ return api_info
128
+
129
+ @staticmethod
130
+ def crc32(file_path):
131
+ prev = 0
132
+ for eachLine in open(file_path, "rb"):
133
+ prev = crc32(eachLine, prev)
134
+ return prev & 0xFFFFFFFF
File without changes
File without changes
File without changes
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: byteplus/vod/business/vod_apps_manage.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+byteplus/vod/business/vod_apps_manage.proto\x12\x1c\x42yteplus.Vod.Models.Business\"k\n\x13VodGetAppInfoResult\x12\r\n\x05\x41ppId\x18\x01 \x01(\x04\x12\x0e\n\x06Scheme\x18\x02 \x01(\t\x12\x11\n\tAppEnName\x18\x03 \x01(\t\x12\x11\n\tAppCnName\x18\x04 \x01(\t\x12\x0f\n\x07Project\x18\x05 \x01(\tB\xdd\x01\n\'com.byteplus.service.vod.model.businessB\rVodAppsManageP\x01ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\xa0\x01\x01\xd8\x01\x01\xc2\x02\x00\xca\x02$Byteplus\\Service\\Vod\\Models\\Business\xe2\x02\'Byteplus\\Service\\Vod\\Models\\GPBMetadatab\x06proto3')
18
+
19
+
20
+
21
+ _VODGETAPPINFORESULT = DESCRIPTOR.message_types_by_name['VodGetAppInfoResult']
22
+ VodGetAppInfoResult = _reflection.GeneratedProtocolMessageType('VodGetAppInfoResult', (_message.Message,), {
23
+ 'DESCRIPTOR' : _VODGETAPPINFORESULT,
24
+ '__module__' : 'byteplus.vod.business.vod_apps_manage_pb2'
25
+ # @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodGetAppInfoResult)
26
+ })
27
+ _sym_db.RegisterMessage(VodGetAppInfoResult)
28
+
29
+ if _descriptor._USE_C_DESCRIPTORS == False:
30
+
31
+ DESCRIPTOR._options = None
32
+ DESCRIPTOR._serialized_options = b'\n\'com.byteplus.service.vod.model.businessB\rVodAppsManageP\001ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\240\001\001\330\001\001\302\002\000\312\002$Byteplus\\Service\\Vod\\Models\\Business\342\002\'Byteplus\\Service\\Vod\\Models\\GPBMetadata'
33
+ _VODGETAPPINFORESULT._serialized_start=77
34
+ _VODGETAPPINFORESULT._serialized_end=184
35
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: byteplus/vod/business/vod_callback.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import enum_type_wrapper
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import message as _message
9
+ from google.protobuf import reflection as _reflection
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ # @@protoc_insertion_point(imports)
12
+
13
+ _sym_db = _symbol_database.Default()
14
+
15
+
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(byteplus/vod/business/vod_callback.proto\x12\x1c\x42yteplus.Vod.Models.Business*V\n\x13VodCallbackAuthType\x12\x1f\n\x1bVodCallbackAuthTypeDisabled\x10\x00\x12\x1e\n\x1aVodCallbackAuthTypeEnabled\x10\x01\x42\xdb\x01\n\'com.byteplus.service.vod.model.businessB\x0bVodCallbackP\x01ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\xa0\x01\x01\xd8\x01\x01\xc2\x02\x00\xca\x02$Byteplus\\Service\\Vod\\Models\\Business\xe2\x02\'Byteplus\\Service\\Vod\\Models\\GPBMetadatab\x06proto3')
19
+
20
+ _VODCALLBACKAUTHTYPE = DESCRIPTOR.enum_types_by_name['VodCallbackAuthType']
21
+ VodCallbackAuthType = enum_type_wrapper.EnumTypeWrapper(_VODCALLBACKAUTHTYPE)
22
+ VodCallbackAuthTypeDisabled = 0
23
+ VodCallbackAuthTypeEnabled = 1
24
+
25
+
26
+ if _descriptor._USE_C_DESCRIPTORS == False:
27
+
28
+ DESCRIPTOR._options = None
29
+ DESCRIPTOR._serialized_options = b'\n\'com.byteplus.service.vod.model.businessB\013VodCallbackP\001ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\240\001\001\330\001\001\302\002\000\312\002$Byteplus\\Service\\Vod\\Models\\Business\342\002\'Byteplus\\Service\\Vod\\Models\\GPBMetadata'
30
+ _VODCALLBACKAUTHTYPE._serialized_start=74
31
+ _VODCALLBACKAUTHTYPE._serialized_end=160
32
+ # @@protoc_insertion_point(module_scope)