YdbTopic.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: protos/ydb_topic.proto
  4. namespace GPBMetadata\Protos;
  5. class YdbTopic
  6. {
  7. public static $is_initialized = false;
  8. public static function initOnce() {
  9. $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
  10. if (static::$is_initialized == true) {
  11. return;
  12. }
  13. \GPBMetadata\Protos\YdbOperation::initOnce();
  14. \GPBMetadata\Protos\YdbScheme::initOnce();
  15. \GPBMetadata\Protos\YdbStatusCodes::initOnce();
  16. \GPBMetadata\Protos\YdbIssueMessage::initOnce();
  17. \GPBMetadata\Protos\YdbTable::initOnce();
  18. \GPBMetadata\Protos\Annotations\Validation::initOnce();
  19. \GPBMetadata\Google\Protobuf\Duration::initOnce();
  20. \GPBMetadata\Google\Protobuf\Timestamp::initOnce();
  21. $pool->internalAddGeneratedFile(
  22. '
  23. ýe
  24. protos/ydb_topic.proto Ydb.Topicprotos/ydb_scheme.protoprotos/ydb_status_codes.protoprotos/ydb_issue_message.protoprotos/ydb_table.proto#protos/annotations/validation.protogoogle/protobuf/duration.protogoogle/protobuf/timestamp.proto"7
  25. SupportedCodecs$
  26. codecs (B²æ*
  27. [1; 19999]šæ*d"*
  28. OffsetsRange
  29. start (
  30. end ("#
  31. UpdateTokenRequest
  32. token ( "
  33. UpdateTokenResponse"•
  34. StreamWriteMessageå
  35. FromClientA
  36. init_request ( 2).Ydb.Topic.StreamWriteMessage.InitRequestH�C
  37. write_request ( 2*.Ydb.Topic.StreamWriteMessage.WriteRequestH�=
  38. update_token_request ( 2.Ydb.Topic.UpdateTokenRequestH�B
  39. client_message¿
  40. FromServer)
  41. status (2.Ydb.StatusIds.StatusCode\'
  42. issues ( 2.Ydb.Issue.IssueMessageC
  43. init_response ( 2*.Ydb.Topic.StreamWriteMessage.InitResponseH�E
  44. write_response ( 2+.Ydb.Topic.StreamWriteMessage.WriteResponseH�?
  45. update_token_response ( 2.Ydb.Topic.UpdateTokenResponseH�B
  46. server_message£
  47. InitRequest
  48. path ( 
  49. producer_id ( [
  50. write_session_meta ( 2?.Ydb.Topic.StreamWriteMessage.InitRequest.WriteSessionMetaEntry
  51. message_group_id ( H�
  52. partition_id (H�
  53. get_last_seq_no (7
  54. WriteSessionMetaEntry
  55. key ( 
  56. value ( :8B
  57. partitioningƒ
  58. InitResponse
  59. last_seq_no (
  60. session_id ( 
  61. partition_id (4
  62. supported_codecs ( 2.Ydb.Topic.SupportedCodecs¤
  63. WriteRequestH
  64. messages ( 26.Ydb.Topic.StreamWriteMessage.WriteRequest.MessageData
  65. codec (º
  66. MessageData
  67. seq_no (.
  68. created_at ( 2.google.protobuf.Timestamp
  69. data ( 
  70. uncompressed_size (
  71. message_group_id ( H�
  72. partition_id (H�B
  73. partitioning�
  74. WriteResponseB
  75. acks ( 24.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck
  76. partition_id (U
  77. write_statistics ( 2;.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteStatisticsŽ
  78. WriteAck
  79. seq_no (O
  80. written ( 2<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.WrittenH�O
  81. skipped ( 2<.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.SkippedH�
  82. Written
  83. offset (œ
  84. SkippedS
  85. reason (2C.Ydb.Topic.StreamWriteMessage.WriteResponse.WriteAck.Skipped.Reason"<
  86. Reason
  87. REASON_UNSPECIFIED�
  88. REASON_ALREADY_WRITTENB
  89. message_write_status­
  90. WriteStatistics2
  91. persisting_time ( 2.google.protobuf.Duration6
  92. min_queue_wait_time ( 2.google.protobuf.Duration6
  93. max_queue_wait_time ( 2.google.protobuf.Duration<
  94. partition_quota_wait_time ( 2.google.protobuf.Duration8
  95. topic_quota_wait_time ( 2.google.protobuf.Duration"™
  96. StreamReadMessageT
  97. PartitionSession
  98. partition_session_id (
  99. path ( 
  100. partition_id (ê
  101. FromClient@
  102. init_request ( 2(.Ydb.Topic.StreamReadMessage.InitRequestH�@
  103. read_request ( 2(.Ydb.Topic.StreamReadMessage.ReadRequestH�Q
  104. commit_offset_request ( 20.Ydb.Topic.StreamReadMessage.CommitOffsetRequestH�f
  105. partition_session_status_request ( 2:.Ydb.Topic.StreamReadMessage.PartitionSessionStatusRequestH�=
  106. update_token_request ( 2.Ydb.Topic.UpdateTokenRequestH�f
  107. start_partition_session_response ( 2:.Ydb.Topic.StreamReadMessage.StartPartitionSessionResponseH�d
  108. stop_partition_session_response ( 29.Ydb.Topic.StreamReadMessage.StopPartitionSessionResponseH�B
  109. client_messageÄ
  110. FromServer)
  111. status (2.Ydb.StatusIds.StatusCode\'
  112. issues ( 2.Ydb.Issue.IssueMessageB
  113. init_response ( 2).Ydb.Topic.StreamReadMessage.InitResponseH�B
  114. read_response ( 2).Ydb.Topic.StreamReadMessage.ReadResponseH�S
  115. commit_offset_response ( 21.Ydb.Topic.StreamReadMessage.CommitOffsetResponseH�h
  116. !partition_session_status_response ( 2;.Ydb.Topic.StreamReadMessage.PartitionSessionStatusResponseH�?
  117. update_token_response ( 2.Ydb.Topic.UpdateTokenResponseH�d
  118. start_partition_session_request ( 29.Ydb.Topic.StreamReadMessage.StartPartitionSessionRequestH�b
  119. stop_partition_session_request ( 28.Ydb.Topic.StreamReadMessage.StopPartitionSessionRequestH�B
  120. server_message¤
  121. InitRequestX
  122. topics_read_settings ( 2:.Ydb.Topic.StreamReadMessage.InitRequest.TopicReadSettings
  123. consumer ( 
  124. reader_name ( “
  125. TopicReadSettings
  126. path ( 
  127. partition_ids (*
  128. max_lag ( 2.google.protobuf.Duration-
  129. read_from ( 2.google.protobuf.Timestamp"
  130. InitResponse
  131. session_id ( !
  132. ReadRequest
  133. bytes_size (Î
  134. ReadResponseO
  135. partition_data ( 27.Ydb.Topic.StreamReadMessage.ReadResponse.PartitionData
  136. bytes_size ( 
  137. MessageData
  138. offset (
  139. seq_no (.
  140. created_at ( 2.google.protobuf.Timestamp
  141. data ( 
  142. uncompressed_size (
  143. message_group_id ( Ä
  144. BatchK
  145. message_data ( 25.Ydb.Topic.StreamReadMessage.ReadResponse.MessageData
  146. producer_id ( a
  147. write_session_meta ( 2E.Ydb.Topic.StreamReadMessage.ReadResponse.Batch.WriteSessionMetaEntry
  148. codec (.
  149. written_at ( 2.google.protobuf.Timestamp7
  150. WriteSessionMetaEntry
  151. key ( 
  152. value ( :8o
  153. PartitionData
  154. partition_session_id (@
  155. batches ( 2/.Ydb.Topic.StreamReadMessage.ReadResponse.BatchÖ
  156. CommitOffsetRequest^
  157. commit_offsets ( 2F.Ydb.Topic.StreamReadMessage.CommitOffsetRequest.PartitionCommitOffset_
  158. PartitionCommitOffset
  159. partition_session_id ((
  160. offsets ( 2.Ydb.Topic.OffsetsRangeÜ
  161. CommitOffsetResponsep
  162. partitions_committed_offsets ( 2J.Ydb.Topic.StreamReadMessage.CommitOffsetResponse.PartitionCommittedOffsetR
  163. PartitionCommittedOffset
  164. partition_session_id (
  165. committed_offset (=
  166. PartitionSessionStatusRequest
  167. partition_session_id (Ë
  168. PartitionSessionStatusResponse
  169. partition_session_id (2
  170. partition_offsets ( 2.Ydb.Topic.OffsetsRange
  171. committed_offset (=
  172. write_time_high_watermark ( 2.google.protobuf.Timestamp¶
  173. StartPartitionSessionRequestH
  174. partition_session ( 2-.Ydb.Topic.StreamReadMessage.PartitionSession
  175. committed_offset (2
  176. partition_offsets ( 2.Ydb.Topic.OffsetsRange•
  177. StartPartitionSessionResponse
  178. partition_session_id (
  179. read_offset (H�ˆ
  180. commit_offset (HˆB
  181. _read_offsetB
  182. _commit_offsetg
  183. StopPartitionSessionRequest
  184. partition_session_id (
  185. graceful (
  186. committed_offset (<
  187. StopPartitionSessionResponse
  188. partition_session_id ("Ö
  189. AddOffsetsToTransactionRequest9
  190. operation_params ( 2.Ydb.Operations.OperationParams
  191. session_id ( 1
  192. tx_control ( 2.Ydb.Table.TransactionControlF
  193. topics ( 26.Ydb.Topic.AddOffsetsToTransactionRequest.TopicOffsets
  194. consumer ( ×
  195. TopicOffsets
  196. path ( [
  197. partitions ( 2G.Ydb.Topic.AddOffsetsToTransactionRequest.TopicOffsets.PartitionOffsets\\
  198. PartitionOffsets
  199. partition_id (2
  200. partition_offsets ( 2.Ydb.Topic.OffsetsRange"O
  201. AddOffsetsToTransactionResponse,
  202. operation ( 2.Ydb.Operations.Operation"
  203. AddOffsetsToTransactionResult"L
  204. MultipleWindowsStat
  205. per_minute (
  206. per_hour (
  207. per_day ("³
  208. Consumer
  209. name ( 
  210. important (-
  211. read_from ( 2.google.protobuf.Timestamp4
  212. supported_codecs ( 2.Ydb.Topic.SupportedCodecs7
  213. attributes ( 2#.Ydb.Topic.Consumer.AttributesEntry9
  214. consumer_stats ( 2!.Ydb.Topic.Consumer.ConsumerStats1
  215. AttributesEntry
  216. key ( 
  217. value ( :8ó
  218. ConsumerStatsA
  219. min_partitions_last_read_time ( 2.google.protobuf.Timestamp4
  220. max_read_time_lag ( 2.google.protobuf.Duration5
  221. max_write_time_lag ( 2.google.protobuf.Duration2
  222. bytes_read ( 2.Ydb.Topic.MultipleWindowsStatJ"¿
  223. AlterConsumer
  224. name ( 
  225. set_important (H�ˆ1
  226. set_read_from ( 2.google.protobuf.Timestamp8
  227. set_supported_codecs ( 2.Ydb.Topic.SupportedCodecsG
  228. alter_attributes ( 2-.Ydb.Topic.AlterConsumer.AlterAttributesEntry6
  229. AlterAttributesEntry
  230. key ( 
  231. value ( :8B
  232. _set_importantJ"h
  233. PartitioningSettings\'
  234. min_active_partitions (B²æ*>= 0\'
  235. partition_count_limit (B²æ*>= 0"»
  236. AlterPartitioningSettings0
  237. set_min_active_partitions (B²æ*>= 0H�ˆ0
  238. set_partition_count_limit (B²æ*>= 0HˆB
  239. _set_min_active_partitionsB
  240. _set_partition_count_limit"ö
  241. CreateTopicRequest9
  242. operation_params ( 2.Ydb.Operations.OperationParams
  243. path ( >
  244. partitioning_settings ( 2.Ydb.Topic.PartitioningSettings3
  245. retention_period ( 2.google.protobuf.Duration&
  246. retention_storage_mb (B²æ*>= 04
  247. supported_codecs ( 2.Ydb.Topic.SupportedCodecs8
  248. &partition_write_speed_bytes_per_second (B²æ*>= 0-
  249. partition_write_burst_bytes (B²æ*>= 0A
  250. attributes
  251. ( 2-.Ydb.Topic.CreateTopicRequest.AttributesEntry/
  252. consumers ( 2.Ydb.Topic.ConsumerBšæ*¸.
  253. metering_mode (2.Ydb.Topic.MeteringMode1
  254. AttributesEntry
  255. key ( 
  256. value ( :8J"C
  257. CreateTopicResponse,
  258. operation ( 2.Ydb.Operations.Operation"
  259. CreateTopicResult"v
  260. DescribeTopicRequest9
  261. operation_params ( 2.Ydb.Operations.OperationParams
  262. path ( 
  263. include_stats ("E
  264. DescribeTopicResponse,
  265. operation ( 2.Ydb.Operations.Operation"¢
  266. DescribeTopicResult
  267. self ( 2.Ydb.Scheme.Entry>
  268. partitioning_settings ( 2.Ydb.Topic.PartitioningSettings@
  269. partitions ( 2,.Ydb.Topic.DescribeTopicResult.PartitionInfo3
  270. retention_period ( 2.google.protobuf.Duration
  271. retention_storage_mb (4
  272. supported_codecs ( 2.Ydb.Topic.SupportedCodecs.
  273. &partition_write_speed_bytes_per_second (#
  274. partition_write_burst_bytes (B
  275. attributes
  276. ( 2..Ydb.Topic.DescribeTopicResult.AttributesEntry&
  277. consumers ( 2.Ydb.Topic.Consumer.
  278. metering_mode (2.Ydb.Topic.MeteringMode>
  279. topic_stats ( 2).Ydb.Topic.DescribeTopicResult.TopicStats1
  280. AttributesEntry
  281. key ( 
  282. value ( :8¤
  283. PartitionInfo
  284. partition_id (
  285. active (
  286. child_partition_ids (
  287. parent_partition_ids (2
  288. partition_stats ( 2.Ydb.Topic.PartitionStatsÍ
  289. TopicStats
  290. store_size_bytes (7
  291. min_last_write_time ( 2.google.protobuf.Timestamp5
  292. max_write_time_lag ( 2.google.protobuf.Duration5
  293. bytes_written ( 2.Ydb.Topic.MultipleWindowsStatJ"‹
  294. DescribeConsumerRequest9
  295. operation_params ( 2.Ydb.Operations.OperationParams
  296. path ( 
  297. consumer ( 
  298. include_stats ("H
  299. DescribeConsumerResponse,
  300. operation ( 2.Ydb.Operations.Operation"Þ
  301. DescribeConsumerResult
  302. self ( 2.Ydb.Scheme.Entry%
  303. consumer ( 2.Ydb.Topic.ConsumerC
  304. partitions ( 2/.Ydb.Topic.DescribeConsumerResult.PartitionInfo€
  305. PartitionInfo
  306. partition_id (
  307. active (
  308. child_partition_ids (
  309. parent_partition_ids (2
  310. partition_stats ( 2.Ydb.Topic.PartitionStatsZ
  311. partition_consumer_stats ( 28.Ydb.Topic.DescribeConsumerResult.PartitionConsumerStats³
  312. PartitionConsumerStats
  313. last_read_offset (
  314. committed_offset (
  315. read_session_id ( F
  316. "partition_read_session_create_time ( 2.google.protobuf.Timestamp2
  317. last_read_time ( 2.google.protobuf.Timestamp4
  318. max_read_time_lag ( 2.google.protobuf.Duration5
  319. max_write_time_lag ( 2.google.protobuf.Duration2
  320. bytes_read ( 2.Ydb.Topic.MultipleWindowsStat
  321. reader_name ( 
  322. connection_node_id ("œ
  323. PartitionStats2
  324. partition_offsets ( 2.Ydb.Topic.OffsetsRange
  325. store_size_bytes (3
  326. last_write_time ( 2.google.protobuf.Timestamp5
  327. max_write_time_lag ( 2.google.protobuf.Duration5
  328. bytes_written ( 2.Ydb.Topic.MultipleWindowsStat
  329. partition_node_id ("‡
  330. AlterTopicRequest9
  331. operation_params ( 2.Ydb.Operations.OperationParams
  332. path ( I
  333. alter_partitioning_settings ( 2$.Ydb.Topic.AlterPartitioningSettings7
  334. set_retention_period ( 2.google.protobuf.Duration/
  335. set_retention_storage_mb (B²æ*>= 0H�ˆ8
  336. set_supported_codecs ( 2.Ydb.Topic.SupportedCodecsA
  337. *set_partition_write_speed_bytes_per_second (B²æ*>= 0Hˆ6
  338. set_partition_write_burst_bytes (B²æ*>= 0HˆK
  339. alter_attributes
  340. ( 21.Ydb.Topic.AlterTopicRequest.AlterAttributesEntry3
  341. add_consumers ( 2.Ydb.Topic.ConsumerBšæ*¸
  342. drop_consumers ( Bšæ*¸:
  343. alter_consumers ( 2.Ydb.Topic.AlterConsumerBšæ*¸2
  344. set_metering_mode (2.Ydb.Topic.MeteringMode6
  345. AlterAttributesEntry
  346. key ( 
  347. value ( :8B
  348. _set_retention_storage_mbB-
  349. +_set_partition_write_speed_bytes_per_secondB"
  350. _set_partition_write_burst_bytesJ"B
  351. AlterTopicResponse,
  352. operation ( 2.Ydb.Operations.Operation"
  353. AlterTopicResult"[
  354. DropTopicRequest9
  355. operation_params ( 2.Ydb.Operations.OperationParams
  356. path ( "A
  357. DropTopicResponse,
  358. operation ( 2.Ydb.Operations.Operation"
  359. DropTopicResult*ƒ
  360. Codec
  361. CODEC_UNSPECIFIED�
  362. CODEC_RAW
  363. CODEC_GZIP
  364. CODEC_LZOP
  365. CODEC_ZSTD
  366. CODEC_CUSTOM�N"�N"
  367.  œÿÿÿÿ*s
  368. MeteringMode
  369. METERING_MODE_UNSPECIFIED�#
  370. METERING_MODE_RESERVED_CAPACITY
  371. METERING_MODE_REQUEST_UNITSBM
  372. tech.ydb.topicZ8github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topicøbproto3'
  373. , true);
  374. static::$is_initialized = true;
  375. }
  376. }