1 | {
|
2 | "nested": {
|
3 | "google": {
|
4 | "nested": {
|
5 | "pubsub": {
|
6 | "nested": {
|
7 | "v1": {
|
8 | "options": {
|
9 | "cc_enable_arenas": true,
|
10 | "csharp_namespace": "Google.Cloud.PubSub.V1",
|
11 | "go_package": "google.golang.org/genproto/googleapis/pubsub/v1;pubsub",
|
12 | "java_multiple_files": true,
|
13 | "java_outer_classname": "SchemaProto",
|
14 | "java_package": "com.google.pubsub.v1",
|
15 | "php_namespace": "Google\\Cloud\\PubSub\\V1",
|
16 | "ruby_package": "Google::Cloud::PubSub::V1"
|
17 | },
|
18 | "nested": {
|
19 | "Publisher": {
|
20 | "options": {
|
21 | "(google.api.default_host)": "pubsub.googleapis.com",
|
22 | "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub"
|
23 | },
|
24 | "methods": {
|
25 | "CreateTopic": {
|
26 | "requestType": "Topic",
|
27 | "responseType": "Topic",
|
28 | "options": {
|
29 | "(google.api.http).put": "/v1/{name=projects/*/topics/*}",
|
30 | "(google.api.http).body": "*",
|
31 | "(google.api.method_signature)": "name"
|
32 | },
|
33 | "parsedOptions": [
|
34 | {
|
35 | "(google.api.http)": {
|
36 | "put": "/v1/{name=projects/*/topics/*}",
|
37 | "body": "*"
|
38 | }
|
39 | },
|
40 | {
|
41 | "(google.api.method_signature)": "name"
|
42 | }
|
43 | ]
|
44 | },
|
45 | "UpdateTopic": {
|
46 | "requestType": "UpdateTopicRequest",
|
47 | "responseType": "Topic",
|
48 | "options": {
|
49 | "(google.api.http).patch": "/v1/{topic.name=projects/*/topics/*}",
|
50 | "(google.api.http).body": "*"
|
51 | },
|
52 | "parsedOptions": [
|
53 | {
|
54 | "(google.api.http)": {
|
55 | "patch": "/v1/{topic.name=projects/*/topics/*}",
|
56 | "body": "*"
|
57 | }
|
58 | }
|
59 | ]
|
60 | },
|
61 | "Publish": {
|
62 | "requestType": "PublishRequest",
|
63 | "responseType": "PublishResponse",
|
64 | "options": {
|
65 | "(google.api.http).post": "/v1/{topic=projects/*/topics/*}:publish",
|
66 | "(google.api.http).body": "*",
|
67 | "(google.api.method_signature)": "topic,messages"
|
68 | },
|
69 | "parsedOptions": [
|
70 | {
|
71 | "(google.api.http)": {
|
72 | "post": "/v1/{topic=projects/*/topics/*}:publish",
|
73 | "body": "*"
|
74 | }
|
75 | },
|
76 | {
|
77 | "(google.api.method_signature)": "topic,messages"
|
78 | }
|
79 | ]
|
80 | },
|
81 | "GetTopic": {
|
82 | "requestType": "GetTopicRequest",
|
83 | "responseType": "Topic",
|
84 | "options": {
|
85 | "(google.api.http).get": "/v1/{topic=projects/*/topics/*}",
|
86 | "(google.api.method_signature)": "topic"
|
87 | },
|
88 | "parsedOptions": [
|
89 | {
|
90 | "(google.api.http)": {
|
91 | "get": "/v1/{topic=projects/*/topics/*}"
|
92 | }
|
93 | },
|
94 | {
|
95 | "(google.api.method_signature)": "topic"
|
96 | }
|
97 | ]
|
98 | },
|
99 | "ListTopics": {
|
100 | "requestType": "ListTopicsRequest",
|
101 | "responseType": "ListTopicsResponse",
|
102 | "options": {
|
103 | "(google.api.http).get": "/v1/{project=projects/*}/topics",
|
104 | "(google.api.method_signature)": "project"
|
105 | },
|
106 | "parsedOptions": [
|
107 | {
|
108 | "(google.api.http)": {
|
109 | "get": "/v1/{project=projects/*}/topics"
|
110 | }
|
111 | },
|
112 | {
|
113 | "(google.api.method_signature)": "project"
|
114 | }
|
115 | ]
|
116 | },
|
117 | "ListTopicSubscriptions": {
|
118 | "requestType": "ListTopicSubscriptionsRequest",
|
119 | "responseType": "ListTopicSubscriptionsResponse",
|
120 | "options": {
|
121 | "(google.api.http).get": "/v1/{topic=projects/*/topics/*}/subscriptions",
|
122 | "(google.api.method_signature)": "topic"
|
123 | },
|
124 | "parsedOptions": [
|
125 | {
|
126 | "(google.api.http)": {
|
127 | "get": "/v1/{topic=projects/*/topics/*}/subscriptions"
|
128 | }
|
129 | },
|
130 | {
|
131 | "(google.api.method_signature)": "topic"
|
132 | }
|
133 | ]
|
134 | },
|
135 | "ListTopicSnapshots": {
|
136 | "requestType": "ListTopicSnapshotsRequest",
|
137 | "responseType": "ListTopicSnapshotsResponse",
|
138 | "options": {
|
139 | "(google.api.http).get": "/v1/{topic=projects/*/topics/*}/snapshots",
|
140 | "(google.api.method_signature)": "topic"
|
141 | },
|
142 | "parsedOptions": [
|
143 | {
|
144 | "(google.api.http)": {
|
145 | "get": "/v1/{topic=projects/*/topics/*}/snapshots"
|
146 | }
|
147 | },
|
148 | {
|
149 | "(google.api.method_signature)": "topic"
|
150 | }
|
151 | ]
|
152 | },
|
153 | "DeleteTopic": {
|
154 | "requestType": "DeleteTopicRequest",
|
155 | "responseType": "google.protobuf.Empty",
|
156 | "options": {
|
157 | "(google.api.http).delete": "/v1/{topic=projects/*/topics/*}",
|
158 | "(google.api.method_signature)": "topic"
|
159 | },
|
160 | "parsedOptions": [
|
161 | {
|
162 | "(google.api.http)": {
|
163 | "delete": "/v1/{topic=projects/*/topics/*}"
|
164 | }
|
165 | },
|
166 | {
|
167 | "(google.api.method_signature)": "topic"
|
168 | }
|
169 | ]
|
170 | },
|
171 | "DetachSubscription": {
|
172 | "requestType": "DetachSubscriptionRequest",
|
173 | "responseType": "DetachSubscriptionResponse",
|
174 | "options": {
|
175 | "(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:detach"
|
176 | },
|
177 | "parsedOptions": [
|
178 | {
|
179 | "(google.api.http)": {
|
180 | "post": "/v1/{subscription=projects/*/subscriptions/*}:detach"
|
181 | }
|
182 | }
|
183 | ]
|
184 | }
|
185 | }
|
186 | },
|
187 | "MessageStoragePolicy": {
|
188 | "fields": {
|
189 | "allowedPersistenceRegions": {
|
190 | "rule": "repeated",
|
191 | "type": "string",
|
192 | "id": 1
|
193 | }
|
194 | }
|
195 | },
|
196 | "SchemaSettings": {
|
197 | "fields": {
|
198 | "schema": {
|
199 | "type": "string",
|
200 | "id": 1,
|
201 | "options": {
|
202 | "(google.api.field_behavior)": "REQUIRED",
|
203 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
|
204 | }
|
205 | },
|
206 | "encoding": {
|
207 | "type": "Encoding",
|
208 | "id": 2
|
209 | }
|
210 | }
|
211 | },
|
212 | "Topic": {
|
213 | "options": {
|
214 | "(google.api.resource).type": "pubsub.googleapis.com/Topic",
|
215 | "(google.api.resource).pattern": "_deleted-topic_"
|
216 | },
|
217 | "fields": {
|
218 | "name": {
|
219 | "type": "string",
|
220 | "id": 1,
|
221 | "options": {
|
222 | "(google.api.field_behavior)": "REQUIRED"
|
223 | }
|
224 | },
|
225 | "labels": {
|
226 | "keyType": "string",
|
227 | "type": "string",
|
228 | "id": 2
|
229 | },
|
230 | "messageStoragePolicy": {
|
231 | "type": "MessageStoragePolicy",
|
232 | "id": 3
|
233 | },
|
234 | "kmsKeyName": {
|
235 | "type": "string",
|
236 | "id": 5
|
237 | },
|
238 | "schemaSettings": {
|
239 | "type": "SchemaSettings",
|
240 | "id": 6
|
241 | },
|
242 | "satisfiesPzs": {
|
243 | "type": "bool",
|
244 | "id": 7
|
245 | },
|
246 | "messageRetentionDuration": {
|
247 | "type": "google.protobuf.Duration",
|
248 | "id": 8
|
249 | }
|
250 | }
|
251 | },
|
252 | "PubsubMessage": {
|
253 | "fields": {
|
254 | "data": {
|
255 | "type": "bytes",
|
256 | "id": 1
|
257 | },
|
258 | "attributes": {
|
259 | "keyType": "string",
|
260 | "type": "string",
|
261 | "id": 2
|
262 | },
|
263 | "messageId": {
|
264 | "type": "string",
|
265 | "id": 3
|
266 | },
|
267 | "publishTime": {
|
268 | "type": "google.protobuf.Timestamp",
|
269 | "id": 4
|
270 | },
|
271 | "orderingKey": {
|
272 | "type": "string",
|
273 | "id": 5
|
274 | }
|
275 | }
|
276 | },
|
277 | "GetTopicRequest": {
|
278 | "fields": {
|
279 | "topic": {
|
280 | "type": "string",
|
281 | "id": 1,
|
282 | "options": {
|
283 | "(google.api.field_behavior)": "REQUIRED",
|
284 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
285 | }
|
286 | }
|
287 | }
|
288 | },
|
289 | "UpdateTopicRequest": {
|
290 | "fields": {
|
291 | "topic": {
|
292 | "type": "Topic",
|
293 | "id": 1,
|
294 | "options": {
|
295 | "(google.api.field_behavior)": "REQUIRED"
|
296 | }
|
297 | },
|
298 | "updateMask": {
|
299 | "type": "google.protobuf.FieldMask",
|
300 | "id": 2,
|
301 | "options": {
|
302 | "(google.api.field_behavior)": "REQUIRED"
|
303 | }
|
304 | }
|
305 | }
|
306 | },
|
307 | "PublishRequest": {
|
308 | "fields": {
|
309 | "topic": {
|
310 | "type": "string",
|
311 | "id": 1,
|
312 | "options": {
|
313 | "(google.api.field_behavior)": "REQUIRED",
|
314 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
315 | }
|
316 | },
|
317 | "messages": {
|
318 | "rule": "repeated",
|
319 | "type": "PubsubMessage",
|
320 | "id": 2,
|
321 | "options": {
|
322 | "(google.api.field_behavior)": "REQUIRED"
|
323 | }
|
324 | }
|
325 | }
|
326 | },
|
327 | "PublishResponse": {
|
328 | "fields": {
|
329 | "messageIds": {
|
330 | "rule": "repeated",
|
331 | "type": "string",
|
332 | "id": 1
|
333 | }
|
334 | }
|
335 | },
|
336 | "ListTopicsRequest": {
|
337 | "fields": {
|
338 | "project": {
|
339 | "type": "string",
|
340 | "id": 1,
|
341 | "options": {
|
342 | "(google.api.field_behavior)": "REQUIRED",
|
343 | "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
|
344 | }
|
345 | },
|
346 | "pageSize": {
|
347 | "type": "int32",
|
348 | "id": 2
|
349 | },
|
350 | "pageToken": {
|
351 | "type": "string",
|
352 | "id": 3
|
353 | }
|
354 | }
|
355 | },
|
356 | "ListTopicsResponse": {
|
357 | "fields": {
|
358 | "topics": {
|
359 | "rule": "repeated",
|
360 | "type": "Topic",
|
361 | "id": 1
|
362 | },
|
363 | "nextPageToken": {
|
364 | "type": "string",
|
365 | "id": 2
|
366 | }
|
367 | }
|
368 | },
|
369 | "ListTopicSubscriptionsRequest": {
|
370 | "fields": {
|
371 | "topic": {
|
372 | "type": "string",
|
373 | "id": 1,
|
374 | "options": {
|
375 | "(google.api.field_behavior)": "REQUIRED",
|
376 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
377 | }
|
378 | },
|
379 | "pageSize": {
|
380 | "type": "int32",
|
381 | "id": 2
|
382 | },
|
383 | "pageToken": {
|
384 | "type": "string",
|
385 | "id": 3
|
386 | }
|
387 | }
|
388 | },
|
389 | "ListTopicSubscriptionsResponse": {
|
390 | "fields": {
|
391 | "subscriptions": {
|
392 | "rule": "repeated",
|
393 | "type": "string",
|
394 | "id": 1,
|
395 | "options": {
|
396 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
397 | }
|
398 | },
|
399 | "nextPageToken": {
|
400 | "type": "string",
|
401 | "id": 2
|
402 | }
|
403 | }
|
404 | },
|
405 | "ListTopicSnapshotsRequest": {
|
406 | "fields": {
|
407 | "topic": {
|
408 | "type": "string",
|
409 | "id": 1,
|
410 | "options": {
|
411 | "(google.api.field_behavior)": "REQUIRED",
|
412 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
413 | }
|
414 | },
|
415 | "pageSize": {
|
416 | "type": "int32",
|
417 | "id": 2
|
418 | },
|
419 | "pageToken": {
|
420 | "type": "string",
|
421 | "id": 3
|
422 | }
|
423 | }
|
424 | },
|
425 | "ListTopicSnapshotsResponse": {
|
426 | "fields": {
|
427 | "snapshots": {
|
428 | "rule": "repeated",
|
429 | "type": "string",
|
430 | "id": 1
|
431 | },
|
432 | "nextPageToken": {
|
433 | "type": "string",
|
434 | "id": 2
|
435 | }
|
436 | }
|
437 | },
|
438 | "DeleteTopicRequest": {
|
439 | "fields": {
|
440 | "topic": {
|
441 | "type": "string",
|
442 | "id": 1,
|
443 | "options": {
|
444 | "(google.api.field_behavior)": "REQUIRED",
|
445 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
446 | }
|
447 | }
|
448 | }
|
449 | },
|
450 | "DetachSubscriptionRequest": {
|
451 | "fields": {
|
452 | "subscription": {
|
453 | "type": "string",
|
454 | "id": 1,
|
455 | "options": {
|
456 | "(google.api.field_behavior)": "REQUIRED",
|
457 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
458 | }
|
459 | }
|
460 | }
|
461 | },
|
462 | "DetachSubscriptionResponse": {
|
463 | "fields": {}
|
464 | },
|
465 | "Subscriber": {
|
466 | "options": {
|
467 | "(google.api.default_host)": "pubsub.googleapis.com",
|
468 | "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub"
|
469 | },
|
470 | "methods": {
|
471 | "CreateSubscription": {
|
472 | "requestType": "Subscription",
|
473 | "responseType": "Subscription",
|
474 | "options": {
|
475 | "(google.api.http).put": "/v1/{name=projects/*/subscriptions/*}",
|
476 | "(google.api.http).body": "*",
|
477 | "(google.api.method_signature)": "name,topic,push_config,ack_deadline_seconds"
|
478 | },
|
479 | "parsedOptions": [
|
480 | {
|
481 | "(google.api.http)": {
|
482 | "put": "/v1/{name=projects/*/subscriptions/*}",
|
483 | "body": "*"
|
484 | }
|
485 | },
|
486 | {
|
487 | "(google.api.method_signature)": "name,topic,push_config,ack_deadline_seconds"
|
488 | }
|
489 | ]
|
490 | },
|
491 | "GetSubscription": {
|
492 | "requestType": "GetSubscriptionRequest",
|
493 | "responseType": "Subscription",
|
494 | "options": {
|
495 | "(google.api.http).get": "/v1/{subscription=projects/*/subscriptions/*}",
|
496 | "(google.api.method_signature)": "subscription"
|
497 | },
|
498 | "parsedOptions": [
|
499 | {
|
500 | "(google.api.http)": {
|
501 | "get": "/v1/{subscription=projects/*/subscriptions/*}"
|
502 | }
|
503 | },
|
504 | {
|
505 | "(google.api.method_signature)": "subscription"
|
506 | }
|
507 | ]
|
508 | },
|
509 | "UpdateSubscription": {
|
510 | "requestType": "UpdateSubscriptionRequest",
|
511 | "responseType": "Subscription",
|
512 | "options": {
|
513 | "(google.api.http).patch": "/v1/{subscription.name=projects/*/subscriptions/*}",
|
514 | "(google.api.http).body": "*"
|
515 | },
|
516 | "parsedOptions": [
|
517 | {
|
518 | "(google.api.http)": {
|
519 | "patch": "/v1/{subscription.name=projects/*/subscriptions/*}",
|
520 | "body": "*"
|
521 | }
|
522 | }
|
523 | ]
|
524 | },
|
525 | "ListSubscriptions": {
|
526 | "requestType": "ListSubscriptionsRequest",
|
527 | "responseType": "ListSubscriptionsResponse",
|
528 | "options": {
|
529 | "(google.api.http).get": "/v1/{project=projects/*}/subscriptions",
|
530 | "(google.api.method_signature)": "project"
|
531 | },
|
532 | "parsedOptions": [
|
533 | {
|
534 | "(google.api.http)": {
|
535 | "get": "/v1/{project=projects/*}/subscriptions"
|
536 | }
|
537 | },
|
538 | {
|
539 | "(google.api.method_signature)": "project"
|
540 | }
|
541 | ]
|
542 | },
|
543 | "DeleteSubscription": {
|
544 | "requestType": "DeleteSubscriptionRequest",
|
545 | "responseType": "google.protobuf.Empty",
|
546 | "options": {
|
547 | "(google.api.http).delete": "/v1/{subscription=projects/*/subscriptions/*}",
|
548 | "(google.api.method_signature)": "subscription"
|
549 | },
|
550 | "parsedOptions": [
|
551 | {
|
552 | "(google.api.http)": {
|
553 | "delete": "/v1/{subscription=projects/*/subscriptions/*}"
|
554 | }
|
555 | },
|
556 | {
|
557 | "(google.api.method_signature)": "subscription"
|
558 | }
|
559 | ]
|
560 | },
|
561 | "ModifyAckDeadline": {
|
562 | "requestType": "ModifyAckDeadlineRequest",
|
563 | "responseType": "google.protobuf.Empty",
|
564 | "options": {
|
565 | "(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline",
|
566 | "(google.api.http).body": "*",
|
567 | "(google.api.method_signature)": "subscription,ack_ids,ack_deadline_seconds"
|
568 | },
|
569 | "parsedOptions": [
|
570 | {
|
571 | "(google.api.http)": {
|
572 | "post": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline",
|
573 | "body": "*"
|
574 | }
|
575 | },
|
576 | {
|
577 | "(google.api.method_signature)": "subscription,ack_ids,ack_deadline_seconds"
|
578 | }
|
579 | ]
|
580 | },
|
581 | "Acknowledge": {
|
582 | "requestType": "AcknowledgeRequest",
|
583 | "responseType": "google.protobuf.Empty",
|
584 | "options": {
|
585 | "(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge",
|
586 | "(google.api.http).body": "*",
|
587 | "(google.api.method_signature)": "subscription,ack_ids"
|
588 | },
|
589 | "parsedOptions": [
|
590 | {
|
591 | "(google.api.http)": {
|
592 | "post": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge",
|
593 | "body": "*"
|
594 | }
|
595 | },
|
596 | {
|
597 | "(google.api.method_signature)": "subscription,ack_ids"
|
598 | }
|
599 | ]
|
600 | },
|
601 | "Pull": {
|
602 | "requestType": "PullRequest",
|
603 | "responseType": "PullResponse",
|
604 | "options": {
|
605 | "(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:pull",
|
606 | "(google.api.http).body": "*",
|
607 | "(google.api.method_signature)": "subscription,max_messages"
|
608 | },
|
609 | "parsedOptions": [
|
610 | {
|
611 | "(google.api.http)": {
|
612 | "post": "/v1/{subscription=projects/*/subscriptions/*}:pull",
|
613 | "body": "*"
|
614 | }
|
615 | },
|
616 | {
|
617 | "(google.api.method_signature)": "subscription,return_immediately,max_messages"
|
618 | },
|
619 | {
|
620 | "(google.api.method_signature)": "subscription,max_messages"
|
621 | }
|
622 | ]
|
623 | },
|
624 | "StreamingPull": {
|
625 | "requestType": "StreamingPullRequest",
|
626 | "requestStream": true,
|
627 | "responseType": "StreamingPullResponse",
|
628 | "responseStream": true
|
629 | },
|
630 | "ModifyPushConfig": {
|
631 | "requestType": "ModifyPushConfigRequest",
|
632 | "responseType": "google.protobuf.Empty",
|
633 | "options": {
|
634 | "(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig",
|
635 | "(google.api.http).body": "*",
|
636 | "(google.api.method_signature)": "subscription,push_config"
|
637 | },
|
638 | "parsedOptions": [
|
639 | {
|
640 | "(google.api.http)": {
|
641 | "post": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig",
|
642 | "body": "*"
|
643 | }
|
644 | },
|
645 | {
|
646 | "(google.api.method_signature)": "subscription,push_config"
|
647 | }
|
648 | ]
|
649 | },
|
650 | "GetSnapshot": {
|
651 | "requestType": "GetSnapshotRequest",
|
652 | "responseType": "Snapshot",
|
653 | "options": {
|
654 | "(google.api.http).get": "/v1/{snapshot=projects/*/snapshots/*}",
|
655 | "(google.api.method_signature)": "snapshot"
|
656 | },
|
657 | "parsedOptions": [
|
658 | {
|
659 | "(google.api.http)": {
|
660 | "get": "/v1/{snapshot=projects/*/snapshots/*}"
|
661 | }
|
662 | },
|
663 | {
|
664 | "(google.api.method_signature)": "snapshot"
|
665 | }
|
666 | ]
|
667 | },
|
668 | "ListSnapshots": {
|
669 | "requestType": "ListSnapshotsRequest",
|
670 | "responseType": "ListSnapshotsResponse",
|
671 | "options": {
|
672 | "(google.api.http).get": "/v1/{project=projects/*}/snapshots",
|
673 | "(google.api.method_signature)": "project"
|
674 | },
|
675 | "parsedOptions": [
|
676 | {
|
677 | "(google.api.http)": {
|
678 | "get": "/v1/{project=projects/*}/snapshots"
|
679 | }
|
680 | },
|
681 | {
|
682 | "(google.api.method_signature)": "project"
|
683 | }
|
684 | ]
|
685 | },
|
686 | "CreateSnapshot": {
|
687 | "requestType": "CreateSnapshotRequest",
|
688 | "responseType": "Snapshot",
|
689 | "options": {
|
690 | "(google.api.http).put": "/v1/{name=projects/*/snapshots/*}",
|
691 | "(google.api.http).body": "*",
|
692 | "(google.api.method_signature)": "name,subscription"
|
693 | },
|
694 | "parsedOptions": [
|
695 | {
|
696 | "(google.api.http)": {
|
697 | "put": "/v1/{name=projects/*/snapshots/*}",
|
698 | "body": "*"
|
699 | }
|
700 | },
|
701 | {
|
702 | "(google.api.method_signature)": "name,subscription"
|
703 | }
|
704 | ]
|
705 | },
|
706 | "UpdateSnapshot": {
|
707 | "requestType": "UpdateSnapshotRequest",
|
708 | "responseType": "Snapshot",
|
709 | "options": {
|
710 | "(google.api.http).patch": "/v1/{snapshot.name=projects/*/snapshots/*}",
|
711 | "(google.api.http).body": "*"
|
712 | },
|
713 | "parsedOptions": [
|
714 | {
|
715 | "(google.api.http)": {
|
716 | "patch": "/v1/{snapshot.name=projects/*/snapshots/*}",
|
717 | "body": "*"
|
718 | }
|
719 | }
|
720 | ]
|
721 | },
|
722 | "DeleteSnapshot": {
|
723 | "requestType": "DeleteSnapshotRequest",
|
724 | "responseType": "google.protobuf.Empty",
|
725 | "options": {
|
726 | "(google.api.http).delete": "/v1/{snapshot=projects/*/snapshots/*}",
|
727 | "(google.api.method_signature)": "snapshot"
|
728 | },
|
729 | "parsedOptions": [
|
730 | {
|
731 | "(google.api.http)": {
|
732 | "delete": "/v1/{snapshot=projects/*/snapshots/*}"
|
733 | }
|
734 | },
|
735 | {
|
736 | "(google.api.method_signature)": "snapshot"
|
737 | }
|
738 | ]
|
739 | },
|
740 | "Seek": {
|
741 | "requestType": "SeekRequest",
|
742 | "responseType": "SeekResponse",
|
743 | "options": {
|
744 | "(google.api.http).post": "/v1/{subscription=projects/*/subscriptions/*}:seek",
|
745 | "(google.api.http).body": "*"
|
746 | },
|
747 | "parsedOptions": [
|
748 | {
|
749 | "(google.api.http)": {
|
750 | "post": "/v1/{subscription=projects/*/subscriptions/*}:seek",
|
751 | "body": "*"
|
752 | }
|
753 | }
|
754 | ]
|
755 | }
|
756 | }
|
757 | },
|
758 | "Subscription": {
|
759 | "options": {
|
760 | "(google.api.resource).type": "pubsub.googleapis.com/Subscription",
|
761 | "(google.api.resource).pattern": "projects/{project}/subscriptions/{subscription}"
|
762 | },
|
763 | "fields": {
|
764 | "name": {
|
765 | "type": "string",
|
766 | "id": 1,
|
767 | "options": {
|
768 | "(google.api.field_behavior)": "REQUIRED"
|
769 | }
|
770 | },
|
771 | "topic": {
|
772 | "type": "string",
|
773 | "id": 2,
|
774 | "options": {
|
775 | "(google.api.field_behavior)": "REQUIRED",
|
776 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
777 | }
|
778 | },
|
779 | "pushConfig": {
|
780 | "type": "PushConfig",
|
781 | "id": 4
|
782 | },
|
783 | "bigqueryConfig": {
|
784 | "type": "BigQueryConfig",
|
785 | "id": 18
|
786 | },
|
787 | "ackDeadlineSeconds": {
|
788 | "type": "int32",
|
789 | "id": 5
|
790 | },
|
791 | "retainAckedMessages": {
|
792 | "type": "bool",
|
793 | "id": 7
|
794 | },
|
795 | "messageRetentionDuration": {
|
796 | "type": "google.protobuf.Duration",
|
797 | "id": 8
|
798 | },
|
799 | "labels": {
|
800 | "keyType": "string",
|
801 | "type": "string",
|
802 | "id": 9
|
803 | },
|
804 | "enableMessageOrdering": {
|
805 | "type": "bool",
|
806 | "id": 10
|
807 | },
|
808 | "expirationPolicy": {
|
809 | "type": "ExpirationPolicy",
|
810 | "id": 11
|
811 | },
|
812 | "filter": {
|
813 | "type": "string",
|
814 | "id": 12
|
815 | },
|
816 | "deadLetterPolicy": {
|
817 | "type": "DeadLetterPolicy",
|
818 | "id": 13
|
819 | },
|
820 | "retryPolicy": {
|
821 | "type": "RetryPolicy",
|
822 | "id": 14
|
823 | },
|
824 | "detached": {
|
825 | "type": "bool",
|
826 | "id": 15
|
827 | },
|
828 | "enableExactlyOnceDelivery": {
|
829 | "type": "bool",
|
830 | "id": 16
|
831 | },
|
832 | "topicMessageRetentionDuration": {
|
833 | "type": "google.protobuf.Duration",
|
834 | "id": 17,
|
835 | "options": {
|
836 | "(google.api.field_behavior)": "OUTPUT_ONLY"
|
837 | }
|
838 | },
|
839 | "state": {
|
840 | "type": "State",
|
841 | "id": 19,
|
842 | "options": {
|
843 | "(google.api.field_behavior)": "OUTPUT_ONLY"
|
844 | }
|
845 | }
|
846 | },
|
847 | "nested": {
|
848 | "State": {
|
849 | "values": {
|
850 | "STATE_UNSPECIFIED": 0,
|
851 | "ACTIVE": 1,
|
852 | "RESOURCE_ERROR": 2
|
853 | }
|
854 | }
|
855 | }
|
856 | },
|
857 | "RetryPolicy": {
|
858 | "fields": {
|
859 | "minimumBackoff": {
|
860 | "type": "google.protobuf.Duration",
|
861 | "id": 1
|
862 | },
|
863 | "maximumBackoff": {
|
864 | "type": "google.protobuf.Duration",
|
865 | "id": 2
|
866 | }
|
867 | }
|
868 | },
|
869 | "DeadLetterPolicy": {
|
870 | "fields": {
|
871 | "deadLetterTopic": {
|
872 | "type": "string",
|
873 | "id": 1
|
874 | },
|
875 | "maxDeliveryAttempts": {
|
876 | "type": "int32",
|
877 | "id": 2
|
878 | }
|
879 | }
|
880 | },
|
881 | "ExpirationPolicy": {
|
882 | "fields": {
|
883 | "ttl": {
|
884 | "type": "google.protobuf.Duration",
|
885 | "id": 1
|
886 | }
|
887 | }
|
888 | },
|
889 | "PushConfig": {
|
890 | "oneofs": {
|
891 | "authenticationMethod": {
|
892 | "oneof": [
|
893 | "oidcToken"
|
894 | ]
|
895 | }
|
896 | },
|
897 | "fields": {
|
898 | "pushEndpoint": {
|
899 | "type": "string",
|
900 | "id": 1
|
901 | },
|
902 | "attributes": {
|
903 | "keyType": "string",
|
904 | "type": "string",
|
905 | "id": 2
|
906 | },
|
907 | "oidcToken": {
|
908 | "type": "OidcToken",
|
909 | "id": 3
|
910 | }
|
911 | },
|
912 | "nested": {
|
913 | "OidcToken": {
|
914 | "fields": {
|
915 | "serviceAccountEmail": {
|
916 | "type": "string",
|
917 | "id": 1
|
918 | },
|
919 | "audience": {
|
920 | "type": "string",
|
921 | "id": 2
|
922 | }
|
923 | }
|
924 | }
|
925 | }
|
926 | },
|
927 | "BigQueryConfig": {
|
928 | "fields": {
|
929 | "table": {
|
930 | "type": "string",
|
931 | "id": 1
|
932 | },
|
933 | "useTopicSchema": {
|
934 | "type": "bool",
|
935 | "id": 2
|
936 | },
|
937 | "writeMetadata": {
|
938 | "type": "bool",
|
939 | "id": 3
|
940 | },
|
941 | "dropUnknownFields": {
|
942 | "type": "bool",
|
943 | "id": 4
|
944 | },
|
945 | "state": {
|
946 | "type": "State",
|
947 | "id": 5,
|
948 | "options": {
|
949 | "(google.api.field_behavior)": "OUTPUT_ONLY"
|
950 | }
|
951 | }
|
952 | },
|
953 | "nested": {
|
954 | "State": {
|
955 | "values": {
|
956 | "STATE_UNSPECIFIED": 0,
|
957 | "ACTIVE": 1,
|
958 | "PERMISSION_DENIED": 2,
|
959 | "NOT_FOUND": 3,
|
960 | "SCHEMA_MISMATCH": 4
|
961 | }
|
962 | }
|
963 | }
|
964 | },
|
965 | "ReceivedMessage": {
|
966 | "fields": {
|
967 | "ackId": {
|
968 | "type": "string",
|
969 | "id": 1
|
970 | },
|
971 | "message": {
|
972 | "type": "PubsubMessage",
|
973 | "id": 2
|
974 | },
|
975 | "deliveryAttempt": {
|
976 | "type": "int32",
|
977 | "id": 3
|
978 | }
|
979 | }
|
980 | },
|
981 | "GetSubscriptionRequest": {
|
982 | "fields": {
|
983 | "subscription": {
|
984 | "type": "string",
|
985 | "id": 1,
|
986 | "options": {
|
987 | "(google.api.field_behavior)": "REQUIRED",
|
988 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
989 | }
|
990 | }
|
991 | }
|
992 | },
|
993 | "UpdateSubscriptionRequest": {
|
994 | "fields": {
|
995 | "subscription": {
|
996 | "type": "Subscription",
|
997 | "id": 1,
|
998 | "options": {
|
999 | "(google.api.field_behavior)": "REQUIRED"
|
1000 | }
|
1001 | },
|
1002 | "updateMask": {
|
1003 | "type": "google.protobuf.FieldMask",
|
1004 | "id": 2,
|
1005 | "options": {
|
1006 | "(google.api.field_behavior)": "REQUIRED"
|
1007 | }
|
1008 | }
|
1009 | }
|
1010 | },
|
1011 | "ListSubscriptionsRequest": {
|
1012 | "fields": {
|
1013 | "project": {
|
1014 | "type": "string",
|
1015 | "id": 1,
|
1016 | "options": {
|
1017 | "(google.api.field_behavior)": "REQUIRED",
|
1018 | "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
|
1019 | }
|
1020 | },
|
1021 | "pageSize": {
|
1022 | "type": "int32",
|
1023 | "id": 2
|
1024 | },
|
1025 | "pageToken": {
|
1026 | "type": "string",
|
1027 | "id": 3
|
1028 | }
|
1029 | }
|
1030 | },
|
1031 | "ListSubscriptionsResponse": {
|
1032 | "fields": {
|
1033 | "subscriptions": {
|
1034 | "rule": "repeated",
|
1035 | "type": "Subscription",
|
1036 | "id": 1
|
1037 | },
|
1038 | "nextPageToken": {
|
1039 | "type": "string",
|
1040 | "id": 2
|
1041 | }
|
1042 | }
|
1043 | },
|
1044 | "DeleteSubscriptionRequest": {
|
1045 | "fields": {
|
1046 | "subscription": {
|
1047 | "type": "string",
|
1048 | "id": 1,
|
1049 | "options": {
|
1050 | "(google.api.field_behavior)": "REQUIRED",
|
1051 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1052 | }
|
1053 | }
|
1054 | }
|
1055 | },
|
1056 | "ModifyPushConfigRequest": {
|
1057 | "fields": {
|
1058 | "subscription": {
|
1059 | "type": "string",
|
1060 | "id": 1,
|
1061 | "options": {
|
1062 | "(google.api.field_behavior)": "REQUIRED",
|
1063 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1064 | }
|
1065 | },
|
1066 | "pushConfig": {
|
1067 | "type": "PushConfig",
|
1068 | "id": 2,
|
1069 | "options": {
|
1070 | "(google.api.field_behavior)": "REQUIRED"
|
1071 | }
|
1072 | }
|
1073 | }
|
1074 | },
|
1075 | "PullRequest": {
|
1076 | "fields": {
|
1077 | "subscription": {
|
1078 | "type": "string",
|
1079 | "id": 1,
|
1080 | "options": {
|
1081 | "(google.api.field_behavior)": "REQUIRED",
|
1082 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1083 | }
|
1084 | },
|
1085 | "returnImmediately": {
|
1086 | "type": "bool",
|
1087 | "id": 2,
|
1088 | "options": {
|
1089 | "deprecated": true,
|
1090 | "(google.api.field_behavior)": "OPTIONAL"
|
1091 | }
|
1092 | },
|
1093 | "maxMessages": {
|
1094 | "type": "int32",
|
1095 | "id": 3,
|
1096 | "options": {
|
1097 | "(google.api.field_behavior)": "REQUIRED"
|
1098 | }
|
1099 | }
|
1100 | }
|
1101 | },
|
1102 | "PullResponse": {
|
1103 | "fields": {
|
1104 | "receivedMessages": {
|
1105 | "rule": "repeated",
|
1106 | "type": "ReceivedMessage",
|
1107 | "id": 1
|
1108 | }
|
1109 | }
|
1110 | },
|
1111 | "ModifyAckDeadlineRequest": {
|
1112 | "fields": {
|
1113 | "subscription": {
|
1114 | "type": "string",
|
1115 | "id": 1,
|
1116 | "options": {
|
1117 | "(google.api.field_behavior)": "REQUIRED",
|
1118 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1119 | }
|
1120 | },
|
1121 | "ackIds": {
|
1122 | "rule": "repeated",
|
1123 | "type": "string",
|
1124 | "id": 4,
|
1125 | "options": {
|
1126 | "(google.api.field_behavior)": "REQUIRED"
|
1127 | }
|
1128 | },
|
1129 | "ackDeadlineSeconds": {
|
1130 | "type": "int32",
|
1131 | "id": 3,
|
1132 | "options": {
|
1133 | "(google.api.field_behavior)": "REQUIRED"
|
1134 | }
|
1135 | }
|
1136 | }
|
1137 | },
|
1138 | "AcknowledgeRequest": {
|
1139 | "fields": {
|
1140 | "subscription": {
|
1141 | "type": "string",
|
1142 | "id": 1,
|
1143 | "options": {
|
1144 | "(google.api.field_behavior)": "REQUIRED",
|
1145 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1146 | }
|
1147 | },
|
1148 | "ackIds": {
|
1149 | "rule": "repeated",
|
1150 | "type": "string",
|
1151 | "id": 2,
|
1152 | "options": {
|
1153 | "(google.api.field_behavior)": "REQUIRED"
|
1154 | }
|
1155 | }
|
1156 | }
|
1157 | },
|
1158 | "StreamingPullRequest": {
|
1159 | "fields": {
|
1160 | "subscription": {
|
1161 | "type": "string",
|
1162 | "id": 1,
|
1163 | "options": {
|
1164 | "(google.api.field_behavior)": "REQUIRED",
|
1165 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1166 | }
|
1167 | },
|
1168 | "ackIds": {
|
1169 | "rule": "repeated",
|
1170 | "type": "string",
|
1171 | "id": 2
|
1172 | },
|
1173 | "modifyDeadlineSeconds": {
|
1174 | "rule": "repeated",
|
1175 | "type": "int32",
|
1176 | "id": 3
|
1177 | },
|
1178 | "modifyDeadlineAckIds": {
|
1179 | "rule": "repeated",
|
1180 | "type": "string",
|
1181 | "id": 4
|
1182 | },
|
1183 | "streamAckDeadlineSeconds": {
|
1184 | "type": "int32",
|
1185 | "id": 5,
|
1186 | "options": {
|
1187 | "(google.api.field_behavior)": "REQUIRED"
|
1188 | }
|
1189 | },
|
1190 | "clientId": {
|
1191 | "type": "string",
|
1192 | "id": 6
|
1193 | },
|
1194 | "maxOutstandingMessages": {
|
1195 | "type": "int64",
|
1196 | "id": 7
|
1197 | },
|
1198 | "maxOutstandingBytes": {
|
1199 | "type": "int64",
|
1200 | "id": 8
|
1201 | }
|
1202 | }
|
1203 | },
|
1204 | "StreamingPullResponse": {
|
1205 | "fields": {
|
1206 | "receivedMessages": {
|
1207 | "rule": "repeated",
|
1208 | "type": "ReceivedMessage",
|
1209 | "id": 1
|
1210 | },
|
1211 | "acknowledgeConfirmation": {
|
1212 | "type": "AcknowledgeConfirmation",
|
1213 | "id": 5
|
1214 | },
|
1215 | "modifyAckDeadlineConfirmation": {
|
1216 | "type": "ModifyAckDeadlineConfirmation",
|
1217 | "id": 3
|
1218 | },
|
1219 | "subscriptionProperties": {
|
1220 | "type": "SubscriptionProperties",
|
1221 | "id": 4
|
1222 | }
|
1223 | },
|
1224 | "reserved": [
|
1225 | [
|
1226 | 2,
|
1227 | 2
|
1228 | ]
|
1229 | ],
|
1230 | "nested": {
|
1231 | "AcknowledgeConfirmation": {
|
1232 | "fields": {
|
1233 | "ackIds": {
|
1234 | "rule": "repeated",
|
1235 | "type": "string",
|
1236 | "id": 1,
|
1237 | "options": {
|
1238 | "ctype": "CORD"
|
1239 | }
|
1240 | },
|
1241 | "invalidAckIds": {
|
1242 | "rule": "repeated",
|
1243 | "type": "string",
|
1244 | "id": 2,
|
1245 | "options": {
|
1246 | "ctype": "CORD"
|
1247 | }
|
1248 | },
|
1249 | "unorderedAckIds": {
|
1250 | "rule": "repeated",
|
1251 | "type": "string",
|
1252 | "id": 3,
|
1253 | "options": {
|
1254 | "ctype": "CORD"
|
1255 | }
|
1256 | }
|
1257 | }
|
1258 | },
|
1259 | "ModifyAckDeadlineConfirmation": {
|
1260 | "fields": {
|
1261 | "ackIds": {
|
1262 | "rule": "repeated",
|
1263 | "type": "string",
|
1264 | "id": 1,
|
1265 | "options": {
|
1266 | "ctype": "CORD"
|
1267 | }
|
1268 | },
|
1269 | "invalidAckIds": {
|
1270 | "rule": "repeated",
|
1271 | "type": "string",
|
1272 | "id": 2,
|
1273 | "options": {
|
1274 | "ctype": "CORD"
|
1275 | }
|
1276 | }
|
1277 | }
|
1278 | },
|
1279 | "SubscriptionProperties": {
|
1280 | "fields": {
|
1281 | "exactlyOnceDeliveryEnabled": {
|
1282 | "type": "bool",
|
1283 | "id": 1
|
1284 | },
|
1285 | "messageOrderingEnabled": {
|
1286 | "type": "bool",
|
1287 | "id": 2
|
1288 | }
|
1289 | }
|
1290 | }
|
1291 | }
|
1292 | },
|
1293 | "CreateSnapshotRequest": {
|
1294 | "fields": {
|
1295 | "name": {
|
1296 | "type": "string",
|
1297 | "id": 1,
|
1298 | "options": {
|
1299 | "(google.api.field_behavior)": "REQUIRED",
|
1300 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
|
1301 | }
|
1302 | },
|
1303 | "subscription": {
|
1304 | "type": "string",
|
1305 | "id": 2,
|
1306 | "options": {
|
1307 | "(google.api.field_behavior)": "REQUIRED",
|
1308 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1309 | }
|
1310 | },
|
1311 | "labels": {
|
1312 | "keyType": "string",
|
1313 | "type": "string",
|
1314 | "id": 3
|
1315 | }
|
1316 | }
|
1317 | },
|
1318 | "UpdateSnapshotRequest": {
|
1319 | "fields": {
|
1320 | "snapshot": {
|
1321 | "type": "Snapshot",
|
1322 | "id": 1,
|
1323 | "options": {
|
1324 | "(google.api.field_behavior)": "REQUIRED"
|
1325 | }
|
1326 | },
|
1327 | "updateMask": {
|
1328 | "type": "google.protobuf.FieldMask",
|
1329 | "id": 2,
|
1330 | "options": {
|
1331 | "(google.api.field_behavior)": "REQUIRED"
|
1332 | }
|
1333 | }
|
1334 | }
|
1335 | },
|
1336 | "Snapshot": {
|
1337 | "options": {
|
1338 | "(google.api.resource).type": "pubsub.googleapis.com/Snapshot",
|
1339 | "(google.api.resource).pattern": "projects/{project}/snapshots/{snapshot}"
|
1340 | },
|
1341 | "fields": {
|
1342 | "name": {
|
1343 | "type": "string",
|
1344 | "id": 1
|
1345 | },
|
1346 | "topic": {
|
1347 | "type": "string",
|
1348 | "id": 2,
|
1349 | "options": {
|
1350 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
|
1351 | }
|
1352 | },
|
1353 | "expireTime": {
|
1354 | "type": "google.protobuf.Timestamp",
|
1355 | "id": 3
|
1356 | },
|
1357 | "labels": {
|
1358 | "keyType": "string",
|
1359 | "type": "string",
|
1360 | "id": 4
|
1361 | }
|
1362 | }
|
1363 | },
|
1364 | "GetSnapshotRequest": {
|
1365 | "fields": {
|
1366 | "snapshot": {
|
1367 | "type": "string",
|
1368 | "id": 1,
|
1369 | "options": {
|
1370 | "(google.api.field_behavior)": "REQUIRED",
|
1371 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
|
1372 | }
|
1373 | }
|
1374 | }
|
1375 | },
|
1376 | "ListSnapshotsRequest": {
|
1377 | "fields": {
|
1378 | "project": {
|
1379 | "type": "string",
|
1380 | "id": 1,
|
1381 | "options": {
|
1382 | "(google.api.field_behavior)": "REQUIRED",
|
1383 | "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
|
1384 | }
|
1385 | },
|
1386 | "pageSize": {
|
1387 | "type": "int32",
|
1388 | "id": 2
|
1389 | },
|
1390 | "pageToken": {
|
1391 | "type": "string",
|
1392 | "id": 3
|
1393 | }
|
1394 | }
|
1395 | },
|
1396 | "ListSnapshotsResponse": {
|
1397 | "fields": {
|
1398 | "snapshots": {
|
1399 | "rule": "repeated",
|
1400 | "type": "Snapshot",
|
1401 | "id": 1
|
1402 | },
|
1403 | "nextPageToken": {
|
1404 | "type": "string",
|
1405 | "id": 2
|
1406 | }
|
1407 | }
|
1408 | },
|
1409 | "DeleteSnapshotRequest": {
|
1410 | "fields": {
|
1411 | "snapshot": {
|
1412 | "type": "string",
|
1413 | "id": 1,
|
1414 | "options": {
|
1415 | "(google.api.field_behavior)": "REQUIRED",
|
1416 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
|
1417 | }
|
1418 | }
|
1419 | }
|
1420 | },
|
1421 | "SeekRequest": {
|
1422 | "oneofs": {
|
1423 | "target": {
|
1424 | "oneof": [
|
1425 | "time",
|
1426 | "snapshot"
|
1427 | ]
|
1428 | }
|
1429 | },
|
1430 | "fields": {
|
1431 | "subscription": {
|
1432 | "type": "string",
|
1433 | "id": 1,
|
1434 | "options": {
|
1435 | "(google.api.field_behavior)": "REQUIRED",
|
1436 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
|
1437 | }
|
1438 | },
|
1439 | "time": {
|
1440 | "type": "google.protobuf.Timestamp",
|
1441 | "id": 2
|
1442 | },
|
1443 | "snapshot": {
|
1444 | "type": "string",
|
1445 | "id": 3,
|
1446 | "options": {
|
1447 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
|
1448 | }
|
1449 | }
|
1450 | }
|
1451 | },
|
1452 | "SeekResponse": {
|
1453 | "fields": {}
|
1454 | },
|
1455 | "SchemaService": {
|
1456 | "options": {
|
1457 | "(google.api.default_host)": "pubsub.googleapis.com",
|
1458 | "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub"
|
1459 | },
|
1460 | "methods": {
|
1461 | "CreateSchema": {
|
1462 | "requestType": "CreateSchemaRequest",
|
1463 | "responseType": "Schema",
|
1464 | "options": {
|
1465 | "(google.api.http).post": "/v1/{parent=projects/*}/schemas",
|
1466 | "(google.api.http).body": "schema",
|
1467 | "(google.api.method_signature)": "parent,schema,schema_id"
|
1468 | },
|
1469 | "parsedOptions": [
|
1470 | {
|
1471 | "(google.api.http)": {
|
1472 | "post": "/v1/{parent=projects/*}/schemas",
|
1473 | "body": "schema"
|
1474 | }
|
1475 | },
|
1476 | {
|
1477 | "(google.api.method_signature)": "parent,schema,schema_id"
|
1478 | }
|
1479 | ]
|
1480 | },
|
1481 | "GetSchema": {
|
1482 | "requestType": "GetSchemaRequest",
|
1483 | "responseType": "Schema",
|
1484 | "options": {
|
1485 | "(google.api.http).get": "/v1/{name=projects/*/schemas/*}",
|
1486 | "(google.api.method_signature)": "name"
|
1487 | },
|
1488 | "parsedOptions": [
|
1489 | {
|
1490 | "(google.api.http)": {
|
1491 | "get": "/v1/{name=projects/*/schemas/*}"
|
1492 | }
|
1493 | },
|
1494 | {
|
1495 | "(google.api.method_signature)": "name"
|
1496 | }
|
1497 | ]
|
1498 | },
|
1499 | "ListSchemas": {
|
1500 | "requestType": "ListSchemasRequest",
|
1501 | "responseType": "ListSchemasResponse",
|
1502 | "options": {
|
1503 | "(google.api.http).get": "/v1/{parent=projects/*}/schemas",
|
1504 | "(google.api.method_signature)": "parent"
|
1505 | },
|
1506 | "parsedOptions": [
|
1507 | {
|
1508 | "(google.api.http)": {
|
1509 | "get": "/v1/{parent=projects/*}/schemas"
|
1510 | }
|
1511 | },
|
1512 | {
|
1513 | "(google.api.method_signature)": "parent"
|
1514 | }
|
1515 | ]
|
1516 | },
|
1517 | "DeleteSchema": {
|
1518 | "requestType": "DeleteSchemaRequest",
|
1519 | "responseType": "google.protobuf.Empty",
|
1520 | "options": {
|
1521 | "(google.api.http).delete": "/v1/{name=projects/*/schemas/*}",
|
1522 | "(google.api.method_signature)": "name"
|
1523 | },
|
1524 | "parsedOptions": [
|
1525 | {
|
1526 | "(google.api.http)": {
|
1527 | "delete": "/v1/{name=projects/*/schemas/*}"
|
1528 | }
|
1529 | },
|
1530 | {
|
1531 | "(google.api.method_signature)": "name"
|
1532 | }
|
1533 | ]
|
1534 | },
|
1535 | "ValidateSchema": {
|
1536 | "requestType": "ValidateSchemaRequest",
|
1537 | "responseType": "ValidateSchemaResponse",
|
1538 | "options": {
|
1539 | "(google.api.http).post": "/v1/{parent=projects/*}/schemas:validate",
|
1540 | "(google.api.http).body": "*",
|
1541 | "(google.api.method_signature)": "parent,schema"
|
1542 | },
|
1543 | "parsedOptions": [
|
1544 | {
|
1545 | "(google.api.http)": {
|
1546 | "post": "/v1/{parent=projects/*}/schemas:validate",
|
1547 | "body": "*"
|
1548 | }
|
1549 | },
|
1550 | {
|
1551 | "(google.api.method_signature)": "parent,schema"
|
1552 | }
|
1553 | ]
|
1554 | },
|
1555 | "ValidateMessage": {
|
1556 | "requestType": "ValidateMessageRequest",
|
1557 | "responseType": "ValidateMessageResponse",
|
1558 | "options": {
|
1559 | "(google.api.http).post": "/v1/{parent=projects/*}/schemas:validateMessage",
|
1560 | "(google.api.http).body": "*"
|
1561 | },
|
1562 | "parsedOptions": [
|
1563 | {
|
1564 | "(google.api.http)": {
|
1565 | "post": "/v1/{parent=projects/*}/schemas:validateMessage",
|
1566 | "body": "*"
|
1567 | }
|
1568 | }
|
1569 | ]
|
1570 | }
|
1571 | }
|
1572 | },
|
1573 | "Schema": {
|
1574 | "options": {
|
1575 | "(google.api.resource).type": "pubsub.googleapis.com/Schema",
|
1576 | "(google.api.resource).pattern": "projects/{project}/schemas/{schema}"
|
1577 | },
|
1578 | "fields": {
|
1579 | "name": {
|
1580 | "type": "string",
|
1581 | "id": 1,
|
1582 | "options": {
|
1583 | "(google.api.field_behavior)": "REQUIRED"
|
1584 | }
|
1585 | },
|
1586 | "type": {
|
1587 | "type": "Type",
|
1588 | "id": 2
|
1589 | },
|
1590 | "definition": {
|
1591 | "type": "string",
|
1592 | "id": 3
|
1593 | }
|
1594 | },
|
1595 | "nested": {
|
1596 | "Type": {
|
1597 | "values": {
|
1598 | "TYPE_UNSPECIFIED": 0,
|
1599 | "PROTOCOL_BUFFER": 1,
|
1600 | "AVRO": 2
|
1601 | }
|
1602 | }
|
1603 | }
|
1604 | },
|
1605 | "CreateSchemaRequest": {
|
1606 | "fields": {
|
1607 | "parent": {
|
1608 | "type": "string",
|
1609 | "id": 1,
|
1610 | "options": {
|
1611 | "(google.api.field_behavior)": "REQUIRED",
|
1612 | "(google.api.resource_reference).child_type": "pubsub.googleapis.com/Schema"
|
1613 | }
|
1614 | },
|
1615 | "schema": {
|
1616 | "type": "Schema",
|
1617 | "id": 2,
|
1618 | "options": {
|
1619 | "(google.api.field_behavior)": "REQUIRED"
|
1620 | }
|
1621 | },
|
1622 | "schemaId": {
|
1623 | "type": "string",
|
1624 | "id": 3
|
1625 | }
|
1626 | }
|
1627 | },
|
1628 | "SchemaView": {
|
1629 | "values": {
|
1630 | "SCHEMA_VIEW_UNSPECIFIED": 0,
|
1631 | "BASIC": 1,
|
1632 | "FULL": 2
|
1633 | }
|
1634 | },
|
1635 | "GetSchemaRequest": {
|
1636 | "fields": {
|
1637 | "name": {
|
1638 | "type": "string",
|
1639 | "id": 1,
|
1640 | "options": {
|
1641 | "(google.api.field_behavior)": "REQUIRED",
|
1642 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
|
1643 | }
|
1644 | },
|
1645 | "view": {
|
1646 | "type": "SchemaView",
|
1647 | "id": 2
|
1648 | }
|
1649 | }
|
1650 | },
|
1651 | "ListSchemasRequest": {
|
1652 | "fields": {
|
1653 | "parent": {
|
1654 | "type": "string",
|
1655 | "id": 1,
|
1656 | "options": {
|
1657 | "(google.api.field_behavior)": "REQUIRED",
|
1658 | "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
|
1659 | }
|
1660 | },
|
1661 | "view": {
|
1662 | "type": "SchemaView",
|
1663 | "id": 2
|
1664 | },
|
1665 | "pageSize": {
|
1666 | "type": "int32",
|
1667 | "id": 3
|
1668 | },
|
1669 | "pageToken": {
|
1670 | "type": "string",
|
1671 | "id": 4
|
1672 | }
|
1673 | }
|
1674 | },
|
1675 | "ListSchemasResponse": {
|
1676 | "fields": {
|
1677 | "schemas": {
|
1678 | "rule": "repeated",
|
1679 | "type": "Schema",
|
1680 | "id": 1
|
1681 | },
|
1682 | "nextPageToken": {
|
1683 | "type": "string",
|
1684 | "id": 2
|
1685 | }
|
1686 | }
|
1687 | },
|
1688 | "DeleteSchemaRequest": {
|
1689 | "fields": {
|
1690 | "name": {
|
1691 | "type": "string",
|
1692 | "id": 1,
|
1693 | "options": {
|
1694 | "(google.api.field_behavior)": "REQUIRED",
|
1695 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
|
1696 | }
|
1697 | }
|
1698 | }
|
1699 | },
|
1700 | "ValidateSchemaRequest": {
|
1701 | "fields": {
|
1702 | "parent": {
|
1703 | "type": "string",
|
1704 | "id": 1,
|
1705 | "options": {
|
1706 | "(google.api.field_behavior)": "REQUIRED",
|
1707 | "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
|
1708 | }
|
1709 | },
|
1710 | "schema": {
|
1711 | "type": "Schema",
|
1712 | "id": 2,
|
1713 | "options": {
|
1714 | "(google.api.field_behavior)": "REQUIRED"
|
1715 | }
|
1716 | }
|
1717 | }
|
1718 | },
|
1719 | "ValidateSchemaResponse": {
|
1720 | "fields": {}
|
1721 | },
|
1722 | "ValidateMessageRequest": {
|
1723 | "oneofs": {
|
1724 | "schemaSpec": {
|
1725 | "oneof": [
|
1726 | "name",
|
1727 | "schema"
|
1728 | ]
|
1729 | }
|
1730 | },
|
1731 | "fields": {
|
1732 | "parent": {
|
1733 | "type": "string",
|
1734 | "id": 1,
|
1735 | "options": {
|
1736 | "(google.api.field_behavior)": "REQUIRED",
|
1737 | "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
|
1738 | }
|
1739 | },
|
1740 | "name": {
|
1741 | "type": "string",
|
1742 | "id": 2,
|
1743 | "options": {
|
1744 | "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
|
1745 | }
|
1746 | },
|
1747 | "schema": {
|
1748 | "type": "Schema",
|
1749 | "id": 3
|
1750 | },
|
1751 | "message": {
|
1752 | "type": "bytes",
|
1753 | "id": 4
|
1754 | },
|
1755 | "encoding": {
|
1756 | "type": "Encoding",
|
1757 | "id": 5
|
1758 | }
|
1759 | }
|
1760 | },
|
1761 | "ValidateMessageResponse": {
|
1762 | "fields": {}
|
1763 | },
|
1764 | "Encoding": {
|
1765 | "values": {
|
1766 | "ENCODING_UNSPECIFIED": 0,
|
1767 | "JSON": 1,
|
1768 | "BINARY": 2
|
1769 | }
|
1770 | }
|
1771 | }
|
1772 | }
|
1773 | }
|
1774 | },
|
1775 | "api": {
|
1776 | "options": {
|
1777 | "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
|
1778 | "java_multiple_files": true,
|
1779 | "java_outer_classname": "ResourceProto",
|
1780 | "java_package": "com.google.api",
|
1781 | "objc_class_prefix": "GAPI",
|
1782 | "cc_enable_arenas": true
|
1783 | },
|
1784 | "nested": {
|
1785 | "http": {
|
1786 | "type": "HttpRule",
|
1787 | "id": 72295728,
|
1788 | "extend": "google.protobuf.MethodOptions"
|
1789 | },
|
1790 | "Http": {
|
1791 | "fields": {
|
1792 | "rules": {
|
1793 | "rule": "repeated",
|
1794 | "type": "HttpRule",
|
1795 | "id": 1
|
1796 | },
|
1797 | "fullyDecodeReservedExpansion": {
|
1798 | "type": "bool",
|
1799 | "id": 2
|
1800 | }
|
1801 | }
|
1802 | },
|
1803 | "HttpRule": {
|
1804 | "oneofs": {
|
1805 | "pattern": {
|
1806 | "oneof": [
|
1807 | "get",
|
1808 | "put",
|
1809 | "post",
|
1810 | "delete",
|
1811 | "patch",
|
1812 | "custom"
|
1813 | ]
|
1814 | }
|
1815 | },
|
1816 | "fields": {
|
1817 | "selector": {
|
1818 | "type": "string",
|
1819 | "id": 1
|
1820 | },
|
1821 | "get": {
|
1822 | "type": "string",
|
1823 | "id": 2
|
1824 | },
|
1825 | "put": {
|
1826 | "type": "string",
|
1827 | "id": 3
|
1828 | },
|
1829 | "post": {
|
1830 | "type": "string",
|
1831 | "id": 4
|
1832 | },
|
1833 | "delete": {
|
1834 | "type": "string",
|
1835 | "id": 5
|
1836 | },
|
1837 | "patch": {
|
1838 | "type": "string",
|
1839 | "id": 6
|
1840 | },
|
1841 | "custom": {
|
1842 | "type": "CustomHttpPattern",
|
1843 | "id": 8
|
1844 | },
|
1845 | "body": {
|
1846 | "type": "string",
|
1847 | "id": 7
|
1848 | },
|
1849 | "responseBody": {
|
1850 | "type": "string",
|
1851 | "id": 12
|
1852 | },
|
1853 | "additionalBindings": {
|
1854 | "rule": "repeated",
|
1855 | "type": "HttpRule",
|
1856 | "id": 11
|
1857 | }
|
1858 | }
|
1859 | },
|
1860 | "CustomHttpPattern": {
|
1861 | "fields": {
|
1862 | "kind": {
|
1863 | "type": "string",
|
1864 | "id": 1
|
1865 | },
|
1866 | "path": {
|
1867 | "type": "string",
|
1868 | "id": 2
|
1869 | }
|
1870 | }
|
1871 | },
|
1872 | "methodSignature": {
|
1873 | "rule": "repeated",
|
1874 | "type": "string",
|
1875 | "id": 1051,
|
1876 | "extend": "google.protobuf.MethodOptions"
|
1877 | },
|
1878 | "defaultHost": {
|
1879 | "type": "string",
|
1880 | "id": 1049,
|
1881 | "extend": "google.protobuf.ServiceOptions"
|
1882 | },
|
1883 | "oauthScopes": {
|
1884 | "type": "string",
|
1885 | "id": 1050,
|
1886 | "extend": "google.protobuf.ServiceOptions"
|
1887 | },
|
1888 | "fieldBehavior": {
|
1889 | "rule": "repeated",
|
1890 | "type": "google.api.FieldBehavior",
|
1891 | "id": 1052,
|
1892 | "extend": "google.protobuf.FieldOptions"
|
1893 | },
|
1894 | "FieldBehavior": {
|
1895 | "values": {
|
1896 | "FIELD_BEHAVIOR_UNSPECIFIED": 0,
|
1897 | "OPTIONAL": 1,
|
1898 | "REQUIRED": 2,
|
1899 | "OUTPUT_ONLY": 3,
|
1900 | "INPUT_ONLY": 4,
|
1901 | "IMMUTABLE": 5,
|
1902 | "UNORDERED_LIST": 6,
|
1903 | "NON_EMPTY_DEFAULT": 7
|
1904 | }
|
1905 | },
|
1906 | "resourceReference": {
|
1907 | "type": "google.api.ResourceReference",
|
1908 | "id": 1055,
|
1909 | "extend": "google.protobuf.FieldOptions"
|
1910 | },
|
1911 | "resourceDefinition": {
|
1912 | "rule": "repeated",
|
1913 | "type": "google.api.ResourceDescriptor",
|
1914 | "id": 1053,
|
1915 | "extend": "google.protobuf.FileOptions"
|
1916 | },
|
1917 | "resource": {
|
1918 | "type": "google.api.ResourceDescriptor",
|
1919 | "id": 1053,
|
1920 | "extend": "google.protobuf.MessageOptions"
|
1921 | },
|
1922 | "ResourceDescriptor": {
|
1923 | "fields": {
|
1924 | "type": {
|
1925 | "type": "string",
|
1926 | "id": 1
|
1927 | },
|
1928 | "pattern": {
|
1929 | "rule": "repeated",
|
1930 | "type": "string",
|
1931 | "id": 2
|
1932 | },
|
1933 | "nameField": {
|
1934 | "type": "string",
|
1935 | "id": 3
|
1936 | },
|
1937 | "history": {
|
1938 | "type": "History",
|
1939 | "id": 4
|
1940 | },
|
1941 | "plural": {
|
1942 | "type": "string",
|
1943 | "id": 5
|
1944 | },
|
1945 | "singular": {
|
1946 | "type": "string",
|
1947 | "id": 6
|
1948 | },
|
1949 | "style": {
|
1950 | "rule": "repeated",
|
1951 | "type": "Style",
|
1952 | "id": 10
|
1953 | }
|
1954 | },
|
1955 | "nested": {
|
1956 | "History": {
|
1957 | "values": {
|
1958 | "HISTORY_UNSPECIFIED": 0,
|
1959 | "ORIGINALLY_SINGLE_PATTERN": 1,
|
1960 | "FUTURE_MULTI_PATTERN": 2
|
1961 | }
|
1962 | },
|
1963 | "Style": {
|
1964 | "values": {
|
1965 | "STYLE_UNSPECIFIED": 0,
|
1966 | "DECLARATIVE_FRIENDLY": 1
|
1967 | }
|
1968 | }
|
1969 | }
|
1970 | },
|
1971 | "ResourceReference": {
|
1972 | "fields": {
|
1973 | "type": {
|
1974 | "type": "string",
|
1975 | "id": 1
|
1976 | },
|
1977 | "childType": {
|
1978 | "type": "string",
|
1979 | "id": 2
|
1980 | }
|
1981 | }
|
1982 | }
|
1983 | }
|
1984 | },
|
1985 | "protobuf": {
|
1986 | "options": {
|
1987 | "go_package": "google.golang.org/protobuf/types/descriptorpb",
|
1988 | "java_package": "com.google.protobuf",
|
1989 | "java_outer_classname": "DescriptorProtos",
|
1990 | "csharp_namespace": "Google.Protobuf.Reflection",
|
1991 | "objc_class_prefix": "GPB",
|
1992 | "cc_enable_arenas": true,
|
1993 | "optimize_for": "SPEED"
|
1994 | },
|
1995 | "nested": {
|
1996 | "FileDescriptorSet": {
|
1997 | "fields": {
|
1998 | "file": {
|
1999 | "rule": "repeated",
|
2000 | "type": "FileDescriptorProto",
|
2001 | "id": 1
|
2002 | }
|
2003 | }
|
2004 | },
|
2005 | "FileDescriptorProto": {
|
2006 | "fields": {
|
2007 | "name": {
|
2008 | "type": "string",
|
2009 | "id": 1
|
2010 | },
|
2011 | "package": {
|
2012 | "type": "string",
|
2013 | "id": 2
|
2014 | },
|
2015 | "dependency": {
|
2016 | "rule": "repeated",
|
2017 | "type": "string",
|
2018 | "id": 3
|
2019 | },
|
2020 | "publicDependency": {
|
2021 | "rule": "repeated",
|
2022 | "type": "int32",
|
2023 | "id": 10,
|
2024 | "options": {
|
2025 | "packed": false
|
2026 | }
|
2027 | },
|
2028 | "weakDependency": {
|
2029 | "rule": "repeated",
|
2030 | "type": "int32",
|
2031 | "id": 11,
|
2032 | "options": {
|
2033 | "packed": false
|
2034 | }
|
2035 | },
|
2036 | "messageType": {
|
2037 | "rule": "repeated",
|
2038 | "type": "DescriptorProto",
|
2039 | "id": 4
|
2040 | },
|
2041 | "enumType": {
|
2042 | "rule": "repeated",
|
2043 | "type": "EnumDescriptorProto",
|
2044 | "id": 5
|
2045 | },
|
2046 | "service": {
|
2047 | "rule": "repeated",
|
2048 | "type": "ServiceDescriptorProto",
|
2049 | "id": 6
|
2050 | },
|
2051 | "extension": {
|
2052 | "rule": "repeated",
|
2053 | "type": "FieldDescriptorProto",
|
2054 | "id": 7
|
2055 | },
|
2056 | "options": {
|
2057 | "type": "FileOptions",
|
2058 | "id": 8
|
2059 | },
|
2060 | "sourceCodeInfo": {
|
2061 | "type": "SourceCodeInfo",
|
2062 | "id": 9
|
2063 | },
|
2064 | "syntax": {
|
2065 | "type": "string",
|
2066 | "id": 12
|
2067 | }
|
2068 | }
|
2069 | },
|
2070 | "DescriptorProto": {
|
2071 | "fields": {
|
2072 | "name": {
|
2073 | "type": "string",
|
2074 | "id": 1
|
2075 | },
|
2076 | "field": {
|
2077 | "rule": "repeated",
|
2078 | "type": "FieldDescriptorProto",
|
2079 | "id": 2
|
2080 | },
|
2081 | "extension": {
|
2082 | "rule": "repeated",
|
2083 | "type": "FieldDescriptorProto",
|
2084 | "id": 6
|
2085 | },
|
2086 | "nestedType": {
|
2087 | "rule": "repeated",
|
2088 | "type": "DescriptorProto",
|
2089 | "id": 3
|
2090 | },
|
2091 | "enumType": {
|
2092 | "rule": "repeated",
|
2093 | "type": "EnumDescriptorProto",
|
2094 | "id": 4
|
2095 | },
|
2096 | "extensionRange": {
|
2097 | "rule": "repeated",
|
2098 | "type": "ExtensionRange",
|
2099 | "id": 5
|
2100 | },
|
2101 | "oneofDecl": {
|
2102 | "rule": "repeated",
|
2103 | "type": "OneofDescriptorProto",
|
2104 | "id": 8
|
2105 | },
|
2106 | "options": {
|
2107 | "type": "MessageOptions",
|
2108 | "id": 7
|
2109 | },
|
2110 | "reservedRange": {
|
2111 | "rule": "repeated",
|
2112 | "type": "ReservedRange",
|
2113 | "id": 9
|
2114 | },
|
2115 | "reservedName": {
|
2116 | "rule": "repeated",
|
2117 | "type": "string",
|
2118 | "id": 10
|
2119 | }
|
2120 | },
|
2121 | "nested": {
|
2122 | "ExtensionRange": {
|
2123 | "fields": {
|
2124 | "start": {
|
2125 | "type": "int32",
|
2126 | "id": 1
|
2127 | },
|
2128 | "end": {
|
2129 | "type": "int32",
|
2130 | "id": 2
|
2131 | },
|
2132 | "options": {
|
2133 | "type": "ExtensionRangeOptions",
|
2134 | "id": 3
|
2135 | }
|
2136 | }
|
2137 | },
|
2138 | "ReservedRange": {
|
2139 | "fields": {
|
2140 | "start": {
|
2141 | "type": "int32",
|
2142 | "id": 1
|
2143 | },
|
2144 | "end": {
|
2145 | "type": "int32",
|
2146 | "id": 2
|
2147 | }
|
2148 | }
|
2149 | }
|
2150 | }
|
2151 | },
|
2152 | "ExtensionRangeOptions": {
|
2153 | "fields": {
|
2154 | "uninterpretedOption": {
|
2155 | "rule": "repeated",
|
2156 | "type": "UninterpretedOption",
|
2157 | "id": 999
|
2158 | }
|
2159 | },
|
2160 | "extensions": [
|
2161 | [
|
2162 | 1000,
|
2163 | 536870911
|
2164 | ]
|
2165 | ]
|
2166 | },
|
2167 | "FieldDescriptorProto": {
|
2168 | "fields": {
|
2169 | "name": {
|
2170 | "type": "string",
|
2171 | "id": 1
|
2172 | },
|
2173 | "number": {
|
2174 | "type": "int32",
|
2175 | "id": 3
|
2176 | },
|
2177 | "label": {
|
2178 | "type": "Label",
|
2179 | "id": 4
|
2180 | },
|
2181 | "type": {
|
2182 | "type": "Type",
|
2183 | "id": 5
|
2184 | },
|
2185 | "typeName": {
|
2186 | "type": "string",
|
2187 | "id": 6
|
2188 | },
|
2189 | "extendee": {
|
2190 | "type": "string",
|
2191 | "id": 2
|
2192 | },
|
2193 | "defaultValue": {
|
2194 | "type": "string",
|
2195 | "id": 7
|
2196 | },
|
2197 | "oneofIndex": {
|
2198 | "type": "int32",
|
2199 | "id": 9
|
2200 | },
|
2201 | "jsonName": {
|
2202 | "type": "string",
|
2203 | "id": 10
|
2204 | },
|
2205 | "options": {
|
2206 | "type": "FieldOptions",
|
2207 | "id": 8
|
2208 | },
|
2209 | "proto3Optional": {
|
2210 | "type": "bool",
|
2211 | "id": 17
|
2212 | }
|
2213 | },
|
2214 | "nested": {
|
2215 | "Type": {
|
2216 | "values": {
|
2217 | "TYPE_DOUBLE": 1,
|
2218 | "TYPE_FLOAT": 2,
|
2219 | "TYPE_INT64": 3,
|
2220 | "TYPE_UINT64": 4,
|
2221 | "TYPE_INT32": 5,
|
2222 | "TYPE_FIXED64": 6,
|
2223 | "TYPE_FIXED32": 7,
|
2224 | "TYPE_BOOL": 8,
|
2225 | "TYPE_STRING": 9,
|
2226 | "TYPE_GROUP": 10,
|
2227 | "TYPE_MESSAGE": 11,
|
2228 | "TYPE_BYTES": 12,
|
2229 | "TYPE_UINT32": 13,
|
2230 | "TYPE_ENUM": 14,
|
2231 | "TYPE_SFIXED32": 15,
|
2232 | "TYPE_SFIXED64": 16,
|
2233 | "TYPE_SINT32": 17,
|
2234 | "TYPE_SINT64": 18
|
2235 | }
|
2236 | },
|
2237 | "Label": {
|
2238 | "values": {
|
2239 | "LABEL_OPTIONAL": 1,
|
2240 | "LABEL_REQUIRED": 2,
|
2241 | "LABEL_REPEATED": 3
|
2242 | }
|
2243 | }
|
2244 | }
|
2245 | },
|
2246 | "OneofDescriptorProto": {
|
2247 | "fields": {
|
2248 | "name": {
|
2249 | "type": "string",
|
2250 | "id": 1
|
2251 | },
|
2252 | "options": {
|
2253 | "type": "OneofOptions",
|
2254 | "id": 2
|
2255 | }
|
2256 | }
|
2257 | },
|
2258 | "EnumDescriptorProto": {
|
2259 | "fields": {
|
2260 | "name": {
|
2261 | "type": "string",
|
2262 | "id": 1
|
2263 | },
|
2264 | "value": {
|
2265 | "rule": "repeated",
|
2266 | "type": "EnumValueDescriptorProto",
|
2267 | "id": 2
|
2268 | },
|
2269 | "options": {
|
2270 | "type": "EnumOptions",
|
2271 | "id": 3
|
2272 | },
|
2273 | "reservedRange": {
|
2274 | "rule": "repeated",
|
2275 | "type": "EnumReservedRange",
|
2276 | "id": 4
|
2277 | },
|
2278 | "reservedName": {
|
2279 | "rule": "repeated",
|
2280 | "type": "string",
|
2281 | "id": 5
|
2282 | }
|
2283 | },
|
2284 | "nested": {
|
2285 | "EnumReservedRange": {
|
2286 | "fields": {
|
2287 | "start": {
|
2288 | "type": "int32",
|
2289 | "id": 1
|
2290 | },
|
2291 | "end": {
|
2292 | "type": "int32",
|
2293 | "id": 2
|
2294 | }
|
2295 | }
|
2296 | }
|
2297 | }
|
2298 | },
|
2299 | "EnumValueDescriptorProto": {
|
2300 | "fields": {
|
2301 | "name": {
|
2302 | "type": "string",
|
2303 | "id": 1
|
2304 | },
|
2305 | "number": {
|
2306 | "type": "int32",
|
2307 | "id": 2
|
2308 | },
|
2309 | "options": {
|
2310 | "type": "EnumValueOptions",
|
2311 | "id": 3
|
2312 | }
|
2313 | }
|
2314 | },
|
2315 | "ServiceDescriptorProto": {
|
2316 | "fields": {
|
2317 | "name": {
|
2318 | "type": "string",
|
2319 | "id": 1
|
2320 | },
|
2321 | "method": {
|
2322 | "rule": "repeated",
|
2323 | "type": "MethodDescriptorProto",
|
2324 | "id": 2
|
2325 | },
|
2326 | "options": {
|
2327 | "type": "ServiceOptions",
|
2328 | "id": 3
|
2329 | }
|
2330 | }
|
2331 | },
|
2332 | "MethodDescriptorProto": {
|
2333 | "fields": {
|
2334 | "name": {
|
2335 | "type": "string",
|
2336 | "id": 1
|
2337 | },
|
2338 | "inputType": {
|
2339 | "type": "string",
|
2340 | "id": 2
|
2341 | },
|
2342 | "outputType": {
|
2343 | "type": "string",
|
2344 | "id": 3
|
2345 | },
|
2346 | "options": {
|
2347 | "type": "MethodOptions",
|
2348 | "id": 4
|
2349 | },
|
2350 | "clientStreaming": {
|
2351 | "type": "bool",
|
2352 | "id": 5,
|
2353 | "options": {
|
2354 | "default": false
|
2355 | }
|
2356 | },
|
2357 | "serverStreaming": {
|
2358 | "type": "bool",
|
2359 | "id": 6,
|
2360 | "options": {
|
2361 | "default": false
|
2362 | }
|
2363 | }
|
2364 | }
|
2365 | },
|
2366 | "FileOptions": {
|
2367 | "fields": {
|
2368 | "javaPackage": {
|
2369 | "type": "string",
|
2370 | "id": 1
|
2371 | },
|
2372 | "javaOuterClassname": {
|
2373 | "type": "string",
|
2374 | "id": 8
|
2375 | },
|
2376 | "javaMultipleFiles": {
|
2377 | "type": "bool",
|
2378 | "id": 10,
|
2379 | "options": {
|
2380 | "default": false
|
2381 | }
|
2382 | },
|
2383 | "javaGenerateEqualsAndHash": {
|
2384 | "type": "bool",
|
2385 | "id": 20,
|
2386 | "options": {
|
2387 | "deprecated": true
|
2388 | }
|
2389 | },
|
2390 | "javaStringCheckUtf8": {
|
2391 | "type": "bool",
|
2392 | "id": 27,
|
2393 | "options": {
|
2394 | "default": false
|
2395 | }
|
2396 | },
|
2397 | "optimizeFor": {
|
2398 | "type": "OptimizeMode",
|
2399 | "id": 9,
|
2400 | "options": {
|
2401 | "default": "SPEED"
|
2402 | }
|
2403 | },
|
2404 | "goPackage": {
|
2405 | "type": "string",
|
2406 | "id": 11
|
2407 | },
|
2408 | "ccGenericServices": {
|
2409 | "type": "bool",
|
2410 | "id": 16,
|
2411 | "options": {
|
2412 | "default": false
|
2413 | }
|
2414 | },
|
2415 | "javaGenericServices": {
|
2416 | "type": "bool",
|
2417 | "id": 17,
|
2418 | "options": {
|
2419 | "default": false
|
2420 | }
|
2421 | },
|
2422 | "pyGenericServices": {
|
2423 | "type": "bool",
|
2424 | "id": 18,
|
2425 | "options": {
|
2426 | "default": false
|
2427 | }
|
2428 | },
|
2429 | "phpGenericServices": {
|
2430 | "type": "bool",
|
2431 | "id": 42,
|
2432 | "options": {
|
2433 | "default": false
|
2434 | }
|
2435 | },
|
2436 | "deprecated": {
|
2437 | "type": "bool",
|
2438 | "id": 23,
|
2439 | "options": {
|
2440 | "default": false
|
2441 | }
|
2442 | },
|
2443 | "ccEnableArenas": {
|
2444 | "type": "bool",
|
2445 | "id": 31,
|
2446 | "options": {
|
2447 | "default": true
|
2448 | }
|
2449 | },
|
2450 | "objcClassPrefix": {
|
2451 | "type": "string",
|
2452 | "id": 36
|
2453 | },
|
2454 | "csharpNamespace": {
|
2455 | "type": "string",
|
2456 | "id": 37
|
2457 | },
|
2458 | "swiftPrefix": {
|
2459 | "type": "string",
|
2460 | "id": 39
|
2461 | },
|
2462 | "phpClassPrefix": {
|
2463 | "type": "string",
|
2464 | "id": 40
|
2465 | },
|
2466 | "phpNamespace": {
|
2467 | "type": "string",
|
2468 | "id": 41
|
2469 | },
|
2470 | "phpMetadataNamespace": {
|
2471 | "type": "string",
|
2472 | "id": 44
|
2473 | },
|
2474 | "rubyPackage": {
|
2475 | "type": "string",
|
2476 | "id": 45
|
2477 | },
|
2478 | "uninterpretedOption": {
|
2479 | "rule": "repeated",
|
2480 | "type": "UninterpretedOption",
|
2481 | "id": 999
|
2482 | }
|
2483 | },
|
2484 | "extensions": [
|
2485 | [
|
2486 | 1000,
|
2487 | 536870911
|
2488 | ]
|
2489 | ],
|
2490 | "reserved": [
|
2491 | [
|
2492 | 38,
|
2493 | 38
|
2494 | ]
|
2495 | ],
|
2496 | "nested": {
|
2497 | "OptimizeMode": {
|
2498 | "values": {
|
2499 | "SPEED": 1,
|
2500 | "CODE_SIZE": 2,
|
2501 | "LITE_RUNTIME": 3
|
2502 | }
|
2503 | }
|
2504 | }
|
2505 | },
|
2506 | "MessageOptions": {
|
2507 | "fields": {
|
2508 | "messageSetWireFormat": {
|
2509 | "type": "bool",
|
2510 | "id": 1,
|
2511 | "options": {
|
2512 | "default": false
|
2513 | }
|
2514 | },
|
2515 | "noStandardDescriptorAccessor": {
|
2516 | "type": "bool",
|
2517 | "id": 2,
|
2518 | "options": {
|
2519 | "default": false
|
2520 | }
|
2521 | },
|
2522 | "deprecated": {
|
2523 | "type": "bool",
|
2524 | "id": 3,
|
2525 | "options": {
|
2526 | "default": false
|
2527 | }
|
2528 | },
|
2529 | "mapEntry": {
|
2530 | "type": "bool",
|
2531 | "id": 7
|
2532 | },
|
2533 | "uninterpretedOption": {
|
2534 | "rule": "repeated",
|
2535 | "type": "UninterpretedOption",
|
2536 | "id": 999
|
2537 | }
|
2538 | },
|
2539 | "extensions": [
|
2540 | [
|
2541 | 1000,
|
2542 | 536870911
|
2543 | ]
|
2544 | ],
|
2545 | "reserved": [
|
2546 | [
|
2547 | 4,
|
2548 | 4
|
2549 | ],
|
2550 | [
|
2551 | 5,
|
2552 | 5
|
2553 | ],
|
2554 | [
|
2555 | 6,
|
2556 | 6
|
2557 | ],
|
2558 | [
|
2559 | 8,
|
2560 | 8
|
2561 | ],
|
2562 | [
|
2563 | 9,
|
2564 | 9
|
2565 | ]
|
2566 | ]
|
2567 | },
|
2568 | "FieldOptions": {
|
2569 | "fields": {
|
2570 | "ctype": {
|
2571 | "type": "CType",
|
2572 | "id": 1,
|
2573 | "options": {
|
2574 | "default": "STRING"
|
2575 | }
|
2576 | },
|
2577 | "packed": {
|
2578 | "type": "bool",
|
2579 | "id": 2
|
2580 | },
|
2581 | "jstype": {
|
2582 | "type": "JSType",
|
2583 | "id": 6,
|
2584 | "options": {
|
2585 | "default": "JS_NORMAL"
|
2586 | }
|
2587 | },
|
2588 | "lazy": {
|
2589 | "type": "bool",
|
2590 | "id": 5,
|
2591 | "options": {
|
2592 | "default": false
|
2593 | }
|
2594 | },
|
2595 | "unverifiedLazy": {
|
2596 | "type": "bool",
|
2597 | "id": 15,
|
2598 | "options": {
|
2599 | "default": false
|
2600 | }
|
2601 | },
|
2602 | "deprecated": {
|
2603 | "type": "bool",
|
2604 | "id": 3,
|
2605 | "options": {
|
2606 | "default": false
|
2607 | }
|
2608 | },
|
2609 | "weak": {
|
2610 | "type": "bool",
|
2611 | "id": 10,
|
2612 | "options": {
|
2613 | "default": false
|
2614 | }
|
2615 | },
|
2616 | "uninterpretedOption": {
|
2617 | "rule": "repeated",
|
2618 | "type": "UninterpretedOption",
|
2619 | "id": 999
|
2620 | }
|
2621 | },
|
2622 | "extensions": [
|
2623 | [
|
2624 | 1000,
|
2625 | 536870911
|
2626 | ]
|
2627 | ],
|
2628 | "reserved": [
|
2629 | [
|
2630 | 4,
|
2631 | 4
|
2632 | ]
|
2633 | ],
|
2634 | "nested": {
|
2635 | "CType": {
|
2636 | "values": {
|
2637 | "STRING": 0,
|
2638 | "CORD": 1,
|
2639 | "STRING_PIECE": 2
|
2640 | }
|
2641 | },
|
2642 | "JSType": {
|
2643 | "values": {
|
2644 | "JS_NORMAL": 0,
|
2645 | "JS_STRING": 1,
|
2646 | "JS_NUMBER": 2
|
2647 | }
|
2648 | }
|
2649 | }
|
2650 | },
|
2651 | "OneofOptions": {
|
2652 | "fields": {
|
2653 | "uninterpretedOption": {
|
2654 | "rule": "repeated",
|
2655 | "type": "UninterpretedOption",
|
2656 | "id": 999
|
2657 | }
|
2658 | },
|
2659 | "extensions": [
|
2660 | [
|
2661 | 1000,
|
2662 | 536870911
|
2663 | ]
|
2664 | ]
|
2665 | },
|
2666 | "EnumOptions": {
|
2667 | "fields": {
|
2668 | "allowAlias": {
|
2669 | "type": "bool",
|
2670 | "id": 2
|
2671 | },
|
2672 | "deprecated": {
|
2673 | "type": "bool",
|
2674 | "id": 3,
|
2675 | "options": {
|
2676 | "default": false
|
2677 | }
|
2678 | },
|
2679 | "uninterpretedOption": {
|
2680 | "rule": "repeated",
|
2681 | "type": "UninterpretedOption",
|
2682 | "id": 999
|
2683 | }
|
2684 | },
|
2685 | "extensions": [
|
2686 | [
|
2687 | 1000,
|
2688 | 536870911
|
2689 | ]
|
2690 | ],
|
2691 | "reserved": [
|
2692 | [
|
2693 | 5,
|
2694 | 5
|
2695 | ]
|
2696 | ]
|
2697 | },
|
2698 | "EnumValueOptions": {
|
2699 | "fields": {
|
2700 | "deprecated": {
|
2701 | "type": "bool",
|
2702 | "id": 1,
|
2703 | "options": {
|
2704 | "default": false
|
2705 | }
|
2706 | },
|
2707 | "uninterpretedOption": {
|
2708 | "rule": "repeated",
|
2709 | "type": "UninterpretedOption",
|
2710 | "id": 999
|
2711 | }
|
2712 | },
|
2713 | "extensions": [
|
2714 | [
|
2715 | 1000,
|
2716 | 536870911
|
2717 | ]
|
2718 | ]
|
2719 | },
|
2720 | "ServiceOptions": {
|
2721 | "fields": {
|
2722 | "deprecated": {
|
2723 | "type": "bool",
|
2724 | "id": 33,
|
2725 | "options": {
|
2726 | "default": false
|
2727 | }
|
2728 | },
|
2729 | "uninterpretedOption": {
|
2730 | "rule": "repeated",
|
2731 | "type": "UninterpretedOption",
|
2732 | "id": 999
|
2733 | }
|
2734 | },
|
2735 | "extensions": [
|
2736 | [
|
2737 | 1000,
|
2738 | 536870911
|
2739 | ]
|
2740 | ]
|
2741 | },
|
2742 | "MethodOptions": {
|
2743 | "fields": {
|
2744 | "deprecated": {
|
2745 | "type": "bool",
|
2746 | "id": 33,
|
2747 | "options": {
|
2748 | "default": false
|
2749 | }
|
2750 | },
|
2751 | "idempotencyLevel": {
|
2752 | "type": "IdempotencyLevel",
|
2753 | "id": 34,
|
2754 | "options": {
|
2755 | "default": "IDEMPOTENCY_UNKNOWN"
|
2756 | }
|
2757 | },
|
2758 | "uninterpretedOption": {
|
2759 | "rule": "repeated",
|
2760 | "type": "UninterpretedOption",
|
2761 | "id": 999
|
2762 | }
|
2763 | },
|
2764 | "extensions": [
|
2765 | [
|
2766 | 1000,
|
2767 | 536870911
|
2768 | ]
|
2769 | ],
|
2770 | "nested": {
|
2771 | "IdempotencyLevel": {
|
2772 | "values": {
|
2773 | "IDEMPOTENCY_UNKNOWN": 0,
|
2774 | "NO_SIDE_EFFECTS": 1,
|
2775 | "IDEMPOTENT": 2
|
2776 | }
|
2777 | }
|
2778 | }
|
2779 | },
|
2780 | "UninterpretedOption": {
|
2781 | "fields": {
|
2782 | "name": {
|
2783 | "rule": "repeated",
|
2784 | "type": "NamePart",
|
2785 | "id": 2
|
2786 | },
|
2787 | "identifierValue": {
|
2788 | "type": "string",
|
2789 | "id": 3
|
2790 | },
|
2791 | "positiveIntValue": {
|
2792 | "type": "uint64",
|
2793 | "id": 4
|
2794 | },
|
2795 | "negativeIntValue": {
|
2796 | "type": "int64",
|
2797 | "id": 5
|
2798 | },
|
2799 | "doubleValue": {
|
2800 | "type": "double",
|
2801 | "id": 6
|
2802 | },
|
2803 | "stringValue": {
|
2804 | "type": "bytes",
|
2805 | "id": 7
|
2806 | },
|
2807 | "aggregateValue": {
|
2808 | "type": "string",
|
2809 | "id": 8
|
2810 | }
|
2811 | },
|
2812 | "nested": {
|
2813 | "NamePart": {
|
2814 | "fields": {
|
2815 | "namePart": {
|
2816 | "rule": "required",
|
2817 | "type": "string",
|
2818 | "id": 1
|
2819 | },
|
2820 | "isExtension": {
|
2821 | "rule": "required",
|
2822 | "type": "bool",
|
2823 | "id": 2
|
2824 | }
|
2825 | }
|
2826 | }
|
2827 | }
|
2828 | },
|
2829 | "SourceCodeInfo": {
|
2830 | "fields": {
|
2831 | "location": {
|
2832 | "rule": "repeated",
|
2833 | "type": "Location",
|
2834 | "id": 1
|
2835 | }
|
2836 | },
|
2837 | "nested": {
|
2838 | "Location": {
|
2839 | "fields": {
|
2840 | "path": {
|
2841 | "rule": "repeated",
|
2842 | "type": "int32",
|
2843 | "id": 1
|
2844 | },
|
2845 | "span": {
|
2846 | "rule": "repeated",
|
2847 | "type": "int32",
|
2848 | "id": 2
|
2849 | },
|
2850 | "leadingComments": {
|
2851 | "type": "string",
|
2852 | "id": 3
|
2853 | },
|
2854 | "trailingComments": {
|
2855 | "type": "string",
|
2856 | "id": 4
|
2857 | },
|
2858 | "leadingDetachedComments": {
|
2859 | "rule": "repeated",
|
2860 | "type": "string",
|
2861 | "id": 6
|
2862 | }
|
2863 | }
|
2864 | }
|
2865 | }
|
2866 | },
|
2867 | "GeneratedCodeInfo": {
|
2868 | "fields": {
|
2869 | "annotation": {
|
2870 | "rule": "repeated",
|
2871 | "type": "Annotation",
|
2872 | "id": 1
|
2873 | }
|
2874 | },
|
2875 | "nested": {
|
2876 | "Annotation": {
|
2877 | "fields": {
|
2878 | "path": {
|
2879 | "rule": "repeated",
|
2880 | "type": "int32",
|
2881 | "id": 1
|
2882 | },
|
2883 | "sourceFile": {
|
2884 | "type": "string",
|
2885 | "id": 2
|
2886 | },
|
2887 | "begin": {
|
2888 | "type": "int32",
|
2889 | "id": 3
|
2890 | },
|
2891 | "end": {
|
2892 | "type": "int32",
|
2893 | "id": 4
|
2894 | }
|
2895 | }
|
2896 | }
|
2897 | }
|
2898 | },
|
2899 | "Duration": {
|
2900 | "fields": {
|
2901 | "seconds": {
|
2902 | "type": "int64",
|
2903 | "id": 1
|
2904 | },
|
2905 | "nanos": {
|
2906 | "type": "int32",
|
2907 | "id": 2
|
2908 | }
|
2909 | }
|
2910 | },
|
2911 | "Empty": {
|
2912 | "fields": {}
|
2913 | },
|
2914 | "FieldMask": {
|
2915 | "fields": {
|
2916 | "paths": {
|
2917 | "rule": "repeated",
|
2918 | "type": "string",
|
2919 | "id": 1
|
2920 | }
|
2921 | }
|
2922 | },
|
2923 | "Timestamp": {
|
2924 | "fields": {
|
2925 | "seconds": {
|
2926 | "type": "int64",
|
2927 | "id": 1
|
2928 | },
|
2929 | "nanos": {
|
2930 | "type": "int32",
|
2931 | "id": 2
|
2932 | }
|
2933 | }
|
2934 | }
|
2935 | }
|
2936 | }
|
2937 | }
|
2938 | }
|
2939 | }
|
2940 | } |
\ | No newline at end of file |