UNPKG

99.6 kBJSONView Raw
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 "ackDeadlineSeconds": {
784 "type": "int32",
785 "id": 5
786 },
787 "retainAckedMessages": {
788 "type": "bool",
789 "id": 7
790 },
791 "messageRetentionDuration": {
792 "type": "google.protobuf.Duration",
793 "id": 8
794 },
795 "labels": {
796 "keyType": "string",
797 "type": "string",
798 "id": 9
799 },
800 "enableMessageOrdering": {
801 "type": "bool",
802 "id": 10
803 },
804 "expirationPolicy": {
805 "type": "ExpirationPolicy",
806 "id": 11
807 },
808 "filter": {
809 "type": "string",
810 "id": 12
811 },
812 "deadLetterPolicy": {
813 "type": "DeadLetterPolicy",
814 "id": 13
815 },
816 "retryPolicy": {
817 "type": "RetryPolicy",
818 "id": 14
819 },
820 "detached": {
821 "type": "bool",
822 "id": 15
823 },
824 "enableExactlyOnceDelivery": {
825 "type": "bool",
826 "id": 16
827 },
828 "topicMessageRetentionDuration": {
829 "type": "google.protobuf.Duration",
830 "id": 17,
831 "options": {
832 "(google.api.field_behavior)": "OUTPUT_ONLY"
833 }
834 }
835 }
836 },
837 "RetryPolicy": {
838 "fields": {
839 "minimumBackoff": {
840 "type": "google.protobuf.Duration",
841 "id": 1
842 },
843 "maximumBackoff": {
844 "type": "google.protobuf.Duration",
845 "id": 2
846 }
847 }
848 },
849 "DeadLetterPolicy": {
850 "fields": {
851 "deadLetterTopic": {
852 "type": "string",
853 "id": 1
854 },
855 "maxDeliveryAttempts": {
856 "type": "int32",
857 "id": 2
858 }
859 }
860 },
861 "ExpirationPolicy": {
862 "fields": {
863 "ttl": {
864 "type": "google.protobuf.Duration",
865 "id": 1
866 }
867 }
868 },
869 "PushConfig": {
870 "oneofs": {
871 "authenticationMethod": {
872 "oneof": [
873 "oidcToken"
874 ]
875 }
876 },
877 "fields": {
878 "pushEndpoint": {
879 "type": "string",
880 "id": 1
881 },
882 "attributes": {
883 "keyType": "string",
884 "type": "string",
885 "id": 2
886 },
887 "oidcToken": {
888 "type": "OidcToken",
889 "id": 3
890 }
891 },
892 "nested": {
893 "OidcToken": {
894 "fields": {
895 "serviceAccountEmail": {
896 "type": "string",
897 "id": 1
898 },
899 "audience": {
900 "type": "string",
901 "id": 2
902 }
903 }
904 }
905 }
906 },
907 "ReceivedMessage": {
908 "fields": {
909 "ackId": {
910 "type": "string",
911 "id": 1
912 },
913 "message": {
914 "type": "PubsubMessage",
915 "id": 2
916 },
917 "deliveryAttempt": {
918 "type": "int32",
919 "id": 3
920 }
921 }
922 },
923 "GetSubscriptionRequest": {
924 "fields": {
925 "subscription": {
926 "type": "string",
927 "id": 1,
928 "options": {
929 "(google.api.field_behavior)": "REQUIRED",
930 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
931 }
932 }
933 }
934 },
935 "UpdateSubscriptionRequest": {
936 "fields": {
937 "subscription": {
938 "type": "Subscription",
939 "id": 1,
940 "options": {
941 "(google.api.field_behavior)": "REQUIRED"
942 }
943 },
944 "updateMask": {
945 "type": "google.protobuf.FieldMask",
946 "id": 2,
947 "options": {
948 "(google.api.field_behavior)": "REQUIRED"
949 }
950 }
951 }
952 },
953 "ListSubscriptionsRequest": {
954 "fields": {
955 "project": {
956 "type": "string",
957 "id": 1,
958 "options": {
959 "(google.api.field_behavior)": "REQUIRED",
960 "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
961 }
962 },
963 "pageSize": {
964 "type": "int32",
965 "id": 2
966 },
967 "pageToken": {
968 "type": "string",
969 "id": 3
970 }
971 }
972 },
973 "ListSubscriptionsResponse": {
974 "fields": {
975 "subscriptions": {
976 "rule": "repeated",
977 "type": "Subscription",
978 "id": 1
979 },
980 "nextPageToken": {
981 "type": "string",
982 "id": 2
983 }
984 }
985 },
986 "DeleteSubscriptionRequest": {
987 "fields": {
988 "subscription": {
989 "type": "string",
990 "id": 1,
991 "options": {
992 "(google.api.field_behavior)": "REQUIRED",
993 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
994 }
995 }
996 }
997 },
998 "ModifyPushConfigRequest": {
999 "fields": {
1000 "subscription": {
1001 "type": "string",
1002 "id": 1,
1003 "options": {
1004 "(google.api.field_behavior)": "REQUIRED",
1005 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1006 }
1007 },
1008 "pushConfig": {
1009 "type": "PushConfig",
1010 "id": 2,
1011 "options": {
1012 "(google.api.field_behavior)": "REQUIRED"
1013 }
1014 }
1015 }
1016 },
1017 "PullRequest": {
1018 "fields": {
1019 "subscription": {
1020 "type": "string",
1021 "id": 1,
1022 "options": {
1023 "(google.api.field_behavior)": "REQUIRED",
1024 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1025 }
1026 },
1027 "returnImmediately": {
1028 "type": "bool",
1029 "id": 2,
1030 "options": {
1031 "deprecated": true,
1032 "(google.api.field_behavior)": "OPTIONAL"
1033 }
1034 },
1035 "maxMessages": {
1036 "type": "int32",
1037 "id": 3,
1038 "options": {
1039 "(google.api.field_behavior)": "REQUIRED"
1040 }
1041 }
1042 }
1043 },
1044 "PullResponse": {
1045 "fields": {
1046 "receivedMessages": {
1047 "rule": "repeated",
1048 "type": "ReceivedMessage",
1049 "id": 1
1050 }
1051 }
1052 },
1053 "ModifyAckDeadlineRequest": {
1054 "fields": {
1055 "subscription": {
1056 "type": "string",
1057 "id": 1,
1058 "options": {
1059 "(google.api.field_behavior)": "REQUIRED",
1060 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1061 }
1062 },
1063 "ackIds": {
1064 "rule": "repeated",
1065 "type": "string",
1066 "id": 4,
1067 "options": {
1068 "(google.api.field_behavior)": "REQUIRED"
1069 }
1070 },
1071 "ackDeadlineSeconds": {
1072 "type": "int32",
1073 "id": 3,
1074 "options": {
1075 "(google.api.field_behavior)": "REQUIRED"
1076 }
1077 }
1078 }
1079 },
1080 "AcknowledgeRequest": {
1081 "fields": {
1082 "subscription": {
1083 "type": "string",
1084 "id": 1,
1085 "options": {
1086 "(google.api.field_behavior)": "REQUIRED",
1087 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1088 }
1089 },
1090 "ackIds": {
1091 "rule": "repeated",
1092 "type": "string",
1093 "id": 2,
1094 "options": {
1095 "(google.api.field_behavior)": "REQUIRED"
1096 }
1097 }
1098 }
1099 },
1100 "StreamingPullRequest": {
1101 "fields": {
1102 "subscription": {
1103 "type": "string",
1104 "id": 1,
1105 "options": {
1106 "(google.api.field_behavior)": "REQUIRED",
1107 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1108 }
1109 },
1110 "ackIds": {
1111 "rule": "repeated",
1112 "type": "string",
1113 "id": 2
1114 },
1115 "modifyDeadlineSeconds": {
1116 "rule": "repeated",
1117 "type": "int32",
1118 "id": 3
1119 },
1120 "modifyDeadlineAckIds": {
1121 "rule": "repeated",
1122 "type": "string",
1123 "id": 4
1124 },
1125 "streamAckDeadlineSeconds": {
1126 "type": "int32",
1127 "id": 5,
1128 "options": {
1129 "(google.api.field_behavior)": "REQUIRED"
1130 }
1131 },
1132 "clientId": {
1133 "type": "string",
1134 "id": 6
1135 },
1136 "maxOutstandingMessages": {
1137 "type": "int64",
1138 "id": 7
1139 },
1140 "maxOutstandingBytes": {
1141 "type": "int64",
1142 "id": 8
1143 }
1144 }
1145 },
1146 "StreamingPullResponse": {
1147 "fields": {
1148 "receivedMessages": {
1149 "rule": "repeated",
1150 "type": "ReceivedMessage",
1151 "id": 1
1152 },
1153 "acknowledgeConfirmation": {
1154 "type": "AcknowledgeConfirmation",
1155 "id": 5
1156 },
1157 "modifyAckDeadlineConfirmation": {
1158 "type": "ModifyAckDeadlineConfirmation",
1159 "id": 3
1160 },
1161 "subscriptionProperties": {
1162 "type": "SubscriptionProperties",
1163 "id": 4
1164 }
1165 },
1166 "reserved": [
1167 [
1168 2,
1169 2
1170 ]
1171 ],
1172 "nested": {
1173 "AcknowledgeConfirmation": {
1174 "fields": {
1175 "ackIds": {
1176 "rule": "repeated",
1177 "type": "string",
1178 "id": 1,
1179 "options": {
1180 "ctype": "CORD"
1181 }
1182 },
1183 "invalidAckIds": {
1184 "rule": "repeated",
1185 "type": "string",
1186 "id": 2,
1187 "options": {
1188 "ctype": "CORD"
1189 }
1190 },
1191 "unorderedAckIds": {
1192 "rule": "repeated",
1193 "type": "string",
1194 "id": 3,
1195 "options": {
1196 "ctype": "CORD"
1197 }
1198 }
1199 }
1200 },
1201 "ModifyAckDeadlineConfirmation": {
1202 "fields": {
1203 "ackIds": {
1204 "rule": "repeated",
1205 "type": "string",
1206 "id": 1,
1207 "options": {
1208 "ctype": "CORD"
1209 }
1210 },
1211 "invalidAckIds": {
1212 "rule": "repeated",
1213 "type": "string",
1214 "id": 2,
1215 "options": {
1216 "ctype": "CORD"
1217 }
1218 }
1219 }
1220 },
1221 "SubscriptionProperties": {
1222 "fields": {
1223 "exactlyOnceDeliveryEnabled": {
1224 "type": "bool",
1225 "id": 1
1226 },
1227 "messageOrderingEnabled": {
1228 "type": "bool",
1229 "id": 2
1230 }
1231 }
1232 }
1233 }
1234 },
1235 "CreateSnapshotRequest": {
1236 "fields": {
1237 "name": {
1238 "type": "string",
1239 "id": 1,
1240 "options": {
1241 "(google.api.field_behavior)": "REQUIRED",
1242 "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
1243 }
1244 },
1245 "subscription": {
1246 "type": "string",
1247 "id": 2,
1248 "options": {
1249 "(google.api.field_behavior)": "REQUIRED",
1250 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1251 }
1252 },
1253 "labels": {
1254 "keyType": "string",
1255 "type": "string",
1256 "id": 3
1257 }
1258 }
1259 },
1260 "UpdateSnapshotRequest": {
1261 "fields": {
1262 "snapshot": {
1263 "type": "Snapshot",
1264 "id": 1,
1265 "options": {
1266 "(google.api.field_behavior)": "REQUIRED"
1267 }
1268 },
1269 "updateMask": {
1270 "type": "google.protobuf.FieldMask",
1271 "id": 2,
1272 "options": {
1273 "(google.api.field_behavior)": "REQUIRED"
1274 }
1275 }
1276 }
1277 },
1278 "Snapshot": {
1279 "options": {
1280 "(google.api.resource).type": "pubsub.googleapis.com/Snapshot",
1281 "(google.api.resource).pattern": "projects/{project}/snapshots/{snapshot}"
1282 },
1283 "fields": {
1284 "name": {
1285 "type": "string",
1286 "id": 1
1287 },
1288 "topic": {
1289 "type": "string",
1290 "id": 2,
1291 "options": {
1292 "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
1293 }
1294 },
1295 "expireTime": {
1296 "type": "google.protobuf.Timestamp",
1297 "id": 3
1298 },
1299 "labels": {
1300 "keyType": "string",
1301 "type": "string",
1302 "id": 4
1303 }
1304 }
1305 },
1306 "GetSnapshotRequest": {
1307 "fields": {
1308 "snapshot": {
1309 "type": "string",
1310 "id": 1,
1311 "options": {
1312 "(google.api.field_behavior)": "REQUIRED",
1313 "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
1314 }
1315 }
1316 }
1317 },
1318 "ListSnapshotsRequest": {
1319 "fields": {
1320 "project": {
1321 "type": "string",
1322 "id": 1,
1323 "options": {
1324 "(google.api.field_behavior)": "REQUIRED",
1325 "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
1326 }
1327 },
1328 "pageSize": {
1329 "type": "int32",
1330 "id": 2
1331 },
1332 "pageToken": {
1333 "type": "string",
1334 "id": 3
1335 }
1336 }
1337 },
1338 "ListSnapshotsResponse": {
1339 "fields": {
1340 "snapshots": {
1341 "rule": "repeated",
1342 "type": "Snapshot",
1343 "id": 1
1344 },
1345 "nextPageToken": {
1346 "type": "string",
1347 "id": 2
1348 }
1349 }
1350 },
1351 "DeleteSnapshotRequest": {
1352 "fields": {
1353 "snapshot": {
1354 "type": "string",
1355 "id": 1,
1356 "options": {
1357 "(google.api.field_behavior)": "REQUIRED",
1358 "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
1359 }
1360 }
1361 }
1362 },
1363 "SeekRequest": {
1364 "oneofs": {
1365 "target": {
1366 "oneof": [
1367 "time",
1368 "snapshot"
1369 ]
1370 }
1371 },
1372 "fields": {
1373 "subscription": {
1374 "type": "string",
1375 "id": 1,
1376 "options": {
1377 "(google.api.field_behavior)": "REQUIRED",
1378 "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
1379 }
1380 },
1381 "time": {
1382 "type": "google.protobuf.Timestamp",
1383 "id": 2
1384 },
1385 "snapshot": {
1386 "type": "string",
1387 "id": 3,
1388 "options": {
1389 "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
1390 }
1391 }
1392 }
1393 },
1394 "SeekResponse": {
1395 "fields": {}
1396 },
1397 "SchemaService": {
1398 "options": {
1399 "(google.api.default_host)": "pubsub.googleapis.com",
1400 "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub"
1401 },
1402 "methods": {
1403 "CreateSchema": {
1404 "requestType": "CreateSchemaRequest",
1405 "responseType": "Schema",
1406 "options": {
1407 "(google.api.http).post": "/v1/{parent=projects/*}/schemas",
1408 "(google.api.http).body": "schema",
1409 "(google.api.method_signature)": "parent,schema,schema_id"
1410 },
1411 "parsedOptions": [
1412 {
1413 "(google.api.http)": {
1414 "post": "/v1/{parent=projects/*}/schemas",
1415 "body": "schema"
1416 }
1417 },
1418 {
1419 "(google.api.method_signature)": "parent,schema,schema_id"
1420 }
1421 ]
1422 },
1423 "GetSchema": {
1424 "requestType": "GetSchemaRequest",
1425 "responseType": "Schema",
1426 "options": {
1427 "(google.api.http).get": "/v1/{name=projects/*/schemas/*}",
1428 "(google.api.method_signature)": "name"
1429 },
1430 "parsedOptions": [
1431 {
1432 "(google.api.http)": {
1433 "get": "/v1/{name=projects/*/schemas/*}"
1434 }
1435 },
1436 {
1437 "(google.api.method_signature)": "name"
1438 }
1439 ]
1440 },
1441 "ListSchemas": {
1442 "requestType": "ListSchemasRequest",
1443 "responseType": "ListSchemasResponse",
1444 "options": {
1445 "(google.api.http).get": "/v1/{parent=projects/*}/schemas",
1446 "(google.api.method_signature)": "parent"
1447 },
1448 "parsedOptions": [
1449 {
1450 "(google.api.http)": {
1451 "get": "/v1/{parent=projects/*}/schemas"
1452 }
1453 },
1454 {
1455 "(google.api.method_signature)": "parent"
1456 }
1457 ]
1458 },
1459 "DeleteSchema": {
1460 "requestType": "DeleteSchemaRequest",
1461 "responseType": "google.protobuf.Empty",
1462 "options": {
1463 "(google.api.http).delete": "/v1/{name=projects/*/schemas/*}",
1464 "(google.api.method_signature)": "name"
1465 },
1466 "parsedOptions": [
1467 {
1468 "(google.api.http)": {
1469 "delete": "/v1/{name=projects/*/schemas/*}"
1470 }
1471 },
1472 {
1473 "(google.api.method_signature)": "name"
1474 }
1475 ]
1476 },
1477 "ValidateSchema": {
1478 "requestType": "ValidateSchemaRequest",
1479 "responseType": "ValidateSchemaResponse",
1480 "options": {
1481 "(google.api.http).post": "/v1/{parent=projects/*}/schemas:validate",
1482 "(google.api.http).body": "*",
1483 "(google.api.method_signature)": "parent,schema"
1484 },
1485 "parsedOptions": [
1486 {
1487 "(google.api.http)": {
1488 "post": "/v1/{parent=projects/*}/schemas:validate",
1489 "body": "*"
1490 }
1491 },
1492 {
1493 "(google.api.method_signature)": "parent,schema"
1494 }
1495 ]
1496 },
1497 "ValidateMessage": {
1498 "requestType": "ValidateMessageRequest",
1499 "responseType": "ValidateMessageResponse",
1500 "options": {
1501 "(google.api.http).post": "/v1/{parent=projects/*}/schemas:validateMessage",
1502 "(google.api.http).body": "*"
1503 },
1504 "parsedOptions": [
1505 {
1506 "(google.api.http)": {
1507 "post": "/v1/{parent=projects/*}/schemas:validateMessage",
1508 "body": "*"
1509 }
1510 }
1511 ]
1512 }
1513 }
1514 },
1515 "Schema": {
1516 "options": {
1517 "(google.api.resource).type": "pubsub.googleapis.com/Schema",
1518 "(google.api.resource).pattern": "projects/{project}/schemas/{schema}"
1519 },
1520 "fields": {
1521 "name": {
1522 "type": "string",
1523 "id": 1,
1524 "options": {
1525 "(google.api.field_behavior)": "REQUIRED"
1526 }
1527 },
1528 "type": {
1529 "type": "Type",
1530 "id": 2
1531 },
1532 "definition": {
1533 "type": "string",
1534 "id": 3
1535 }
1536 },
1537 "nested": {
1538 "Type": {
1539 "values": {
1540 "TYPE_UNSPECIFIED": 0,
1541 "PROTOCOL_BUFFER": 1,
1542 "AVRO": 2
1543 }
1544 }
1545 }
1546 },
1547 "CreateSchemaRequest": {
1548 "fields": {
1549 "parent": {
1550 "type": "string",
1551 "id": 1,
1552 "options": {
1553 "(google.api.field_behavior)": "REQUIRED",
1554 "(google.api.resource_reference).child_type": "pubsub.googleapis.com/Schema"
1555 }
1556 },
1557 "schema": {
1558 "type": "Schema",
1559 "id": 2,
1560 "options": {
1561 "(google.api.field_behavior)": "REQUIRED"
1562 }
1563 },
1564 "schemaId": {
1565 "type": "string",
1566 "id": 3
1567 }
1568 }
1569 },
1570 "SchemaView": {
1571 "values": {
1572 "SCHEMA_VIEW_UNSPECIFIED": 0,
1573 "BASIC": 1,
1574 "FULL": 2
1575 }
1576 },
1577 "GetSchemaRequest": {
1578 "fields": {
1579 "name": {
1580 "type": "string",
1581 "id": 1,
1582 "options": {
1583 "(google.api.field_behavior)": "REQUIRED",
1584 "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
1585 }
1586 },
1587 "view": {
1588 "type": "SchemaView",
1589 "id": 2
1590 }
1591 }
1592 },
1593 "ListSchemasRequest": {
1594 "fields": {
1595 "parent": {
1596 "type": "string",
1597 "id": 1,
1598 "options": {
1599 "(google.api.field_behavior)": "REQUIRED",
1600 "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
1601 }
1602 },
1603 "view": {
1604 "type": "SchemaView",
1605 "id": 2
1606 },
1607 "pageSize": {
1608 "type": "int32",
1609 "id": 3
1610 },
1611 "pageToken": {
1612 "type": "string",
1613 "id": 4
1614 }
1615 }
1616 },
1617 "ListSchemasResponse": {
1618 "fields": {
1619 "schemas": {
1620 "rule": "repeated",
1621 "type": "Schema",
1622 "id": 1
1623 },
1624 "nextPageToken": {
1625 "type": "string",
1626 "id": 2
1627 }
1628 }
1629 },
1630 "DeleteSchemaRequest": {
1631 "fields": {
1632 "name": {
1633 "type": "string",
1634 "id": 1,
1635 "options": {
1636 "(google.api.field_behavior)": "REQUIRED",
1637 "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
1638 }
1639 }
1640 }
1641 },
1642 "ValidateSchemaRequest": {
1643 "fields": {
1644 "parent": {
1645 "type": "string",
1646 "id": 1,
1647 "options": {
1648 "(google.api.field_behavior)": "REQUIRED",
1649 "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
1650 }
1651 },
1652 "schema": {
1653 "type": "Schema",
1654 "id": 2,
1655 "options": {
1656 "(google.api.field_behavior)": "REQUIRED"
1657 }
1658 }
1659 }
1660 },
1661 "ValidateSchemaResponse": {
1662 "fields": {}
1663 },
1664 "ValidateMessageRequest": {
1665 "oneofs": {
1666 "schemaSpec": {
1667 "oneof": [
1668 "name",
1669 "schema"
1670 ]
1671 }
1672 },
1673 "fields": {
1674 "parent": {
1675 "type": "string",
1676 "id": 1,
1677 "options": {
1678 "(google.api.field_behavior)": "REQUIRED",
1679 "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
1680 }
1681 },
1682 "name": {
1683 "type": "string",
1684 "id": 2,
1685 "options": {
1686 "(google.api.resource_reference).type": "pubsub.googleapis.com/Schema"
1687 }
1688 },
1689 "schema": {
1690 "type": "Schema",
1691 "id": 3
1692 },
1693 "message": {
1694 "type": "bytes",
1695 "id": 4
1696 },
1697 "encoding": {
1698 "type": "Encoding",
1699 "id": 5
1700 }
1701 }
1702 },
1703 "ValidateMessageResponse": {
1704 "fields": {}
1705 },
1706 "Encoding": {
1707 "values": {
1708 "ENCODING_UNSPECIFIED": 0,
1709 "JSON": 1,
1710 "BINARY": 2
1711 }
1712 }
1713 }
1714 }
1715 }
1716 },
1717 "api": {
1718 "options": {
1719 "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
1720 "java_multiple_files": true,
1721 "java_outer_classname": "ResourceProto",
1722 "java_package": "com.google.api",
1723 "objc_class_prefix": "GAPI",
1724 "cc_enable_arenas": true
1725 },
1726 "nested": {
1727 "http": {
1728 "type": "HttpRule",
1729 "id": 72295728,
1730 "extend": "google.protobuf.MethodOptions"
1731 },
1732 "Http": {
1733 "fields": {
1734 "rules": {
1735 "rule": "repeated",
1736 "type": "HttpRule",
1737 "id": 1
1738 },
1739 "fullyDecodeReservedExpansion": {
1740 "type": "bool",
1741 "id": 2
1742 }
1743 }
1744 },
1745 "HttpRule": {
1746 "oneofs": {
1747 "pattern": {
1748 "oneof": [
1749 "get",
1750 "put",
1751 "post",
1752 "delete",
1753 "patch",
1754 "custom"
1755 ]
1756 }
1757 },
1758 "fields": {
1759 "selector": {
1760 "type": "string",
1761 "id": 1
1762 },
1763 "get": {
1764 "type": "string",
1765 "id": 2
1766 },
1767 "put": {
1768 "type": "string",
1769 "id": 3
1770 },
1771 "post": {
1772 "type": "string",
1773 "id": 4
1774 },
1775 "delete": {
1776 "type": "string",
1777 "id": 5
1778 },
1779 "patch": {
1780 "type": "string",
1781 "id": 6
1782 },
1783 "custom": {
1784 "type": "CustomHttpPattern",
1785 "id": 8
1786 },
1787 "body": {
1788 "type": "string",
1789 "id": 7
1790 },
1791 "responseBody": {
1792 "type": "string",
1793 "id": 12
1794 },
1795 "additionalBindings": {
1796 "rule": "repeated",
1797 "type": "HttpRule",
1798 "id": 11
1799 }
1800 }
1801 },
1802 "CustomHttpPattern": {
1803 "fields": {
1804 "kind": {
1805 "type": "string",
1806 "id": 1
1807 },
1808 "path": {
1809 "type": "string",
1810 "id": 2
1811 }
1812 }
1813 },
1814 "methodSignature": {
1815 "rule": "repeated",
1816 "type": "string",
1817 "id": 1051,
1818 "extend": "google.protobuf.MethodOptions"
1819 },
1820 "defaultHost": {
1821 "type": "string",
1822 "id": 1049,
1823 "extend": "google.protobuf.ServiceOptions"
1824 },
1825 "oauthScopes": {
1826 "type": "string",
1827 "id": 1050,
1828 "extend": "google.protobuf.ServiceOptions"
1829 },
1830 "fieldBehavior": {
1831 "rule": "repeated",
1832 "type": "google.api.FieldBehavior",
1833 "id": 1052,
1834 "extend": "google.protobuf.FieldOptions"
1835 },
1836 "FieldBehavior": {
1837 "values": {
1838 "FIELD_BEHAVIOR_UNSPECIFIED": 0,
1839 "OPTIONAL": 1,
1840 "REQUIRED": 2,
1841 "OUTPUT_ONLY": 3,
1842 "INPUT_ONLY": 4,
1843 "IMMUTABLE": 5,
1844 "UNORDERED_LIST": 6,
1845 "NON_EMPTY_DEFAULT": 7
1846 }
1847 },
1848 "resourceReference": {
1849 "type": "google.api.ResourceReference",
1850 "id": 1055,
1851 "extend": "google.protobuf.FieldOptions"
1852 },
1853 "resourceDefinition": {
1854 "rule": "repeated",
1855 "type": "google.api.ResourceDescriptor",
1856 "id": 1053,
1857 "extend": "google.protobuf.FileOptions"
1858 },
1859 "resource": {
1860 "type": "google.api.ResourceDescriptor",
1861 "id": 1053,
1862 "extend": "google.protobuf.MessageOptions"
1863 },
1864 "ResourceDescriptor": {
1865 "fields": {
1866 "type": {
1867 "type": "string",
1868 "id": 1
1869 },
1870 "pattern": {
1871 "rule": "repeated",
1872 "type": "string",
1873 "id": 2
1874 },
1875 "nameField": {
1876 "type": "string",
1877 "id": 3
1878 },
1879 "history": {
1880 "type": "History",
1881 "id": 4
1882 },
1883 "plural": {
1884 "type": "string",
1885 "id": 5
1886 },
1887 "singular": {
1888 "type": "string",
1889 "id": 6
1890 },
1891 "style": {
1892 "rule": "repeated",
1893 "type": "Style",
1894 "id": 10
1895 }
1896 },
1897 "nested": {
1898 "History": {
1899 "values": {
1900 "HISTORY_UNSPECIFIED": 0,
1901 "ORIGINALLY_SINGLE_PATTERN": 1,
1902 "FUTURE_MULTI_PATTERN": 2
1903 }
1904 },
1905 "Style": {
1906 "values": {
1907 "STYLE_UNSPECIFIED": 0,
1908 "DECLARATIVE_FRIENDLY": 1
1909 }
1910 }
1911 }
1912 },
1913 "ResourceReference": {
1914 "fields": {
1915 "type": {
1916 "type": "string",
1917 "id": 1
1918 },
1919 "childType": {
1920 "type": "string",
1921 "id": 2
1922 }
1923 }
1924 }
1925 }
1926 },
1927 "protobuf": {
1928 "options": {
1929 "go_package": "google.golang.org/protobuf/types/descriptorpb",
1930 "java_package": "com.google.protobuf",
1931 "java_outer_classname": "DescriptorProtos",
1932 "csharp_namespace": "Google.Protobuf.Reflection",
1933 "objc_class_prefix": "GPB",
1934 "cc_enable_arenas": true,
1935 "optimize_for": "SPEED"
1936 },
1937 "nested": {
1938 "FileDescriptorSet": {
1939 "fields": {
1940 "file": {
1941 "rule": "repeated",
1942 "type": "FileDescriptorProto",
1943 "id": 1
1944 }
1945 }
1946 },
1947 "FileDescriptorProto": {
1948 "fields": {
1949 "name": {
1950 "type": "string",
1951 "id": 1
1952 },
1953 "package": {
1954 "type": "string",
1955 "id": 2
1956 },
1957 "dependency": {
1958 "rule": "repeated",
1959 "type": "string",
1960 "id": 3
1961 },
1962 "publicDependency": {
1963 "rule": "repeated",
1964 "type": "int32",
1965 "id": 10,
1966 "options": {
1967 "packed": false
1968 }
1969 },
1970 "weakDependency": {
1971 "rule": "repeated",
1972 "type": "int32",
1973 "id": 11,
1974 "options": {
1975 "packed": false
1976 }
1977 },
1978 "messageType": {
1979 "rule": "repeated",
1980 "type": "DescriptorProto",
1981 "id": 4
1982 },
1983 "enumType": {
1984 "rule": "repeated",
1985 "type": "EnumDescriptorProto",
1986 "id": 5
1987 },
1988 "service": {
1989 "rule": "repeated",
1990 "type": "ServiceDescriptorProto",
1991 "id": 6
1992 },
1993 "extension": {
1994 "rule": "repeated",
1995 "type": "FieldDescriptorProto",
1996 "id": 7
1997 },
1998 "options": {
1999 "type": "FileOptions",
2000 "id": 8
2001 },
2002 "sourceCodeInfo": {
2003 "type": "SourceCodeInfo",
2004 "id": 9
2005 },
2006 "syntax": {
2007 "type": "string",
2008 "id": 12
2009 }
2010 }
2011 },
2012 "DescriptorProto": {
2013 "fields": {
2014 "name": {
2015 "type": "string",
2016 "id": 1
2017 },
2018 "field": {
2019 "rule": "repeated",
2020 "type": "FieldDescriptorProto",
2021 "id": 2
2022 },
2023 "extension": {
2024 "rule": "repeated",
2025 "type": "FieldDescriptorProto",
2026 "id": 6
2027 },
2028 "nestedType": {
2029 "rule": "repeated",
2030 "type": "DescriptorProto",
2031 "id": 3
2032 },
2033 "enumType": {
2034 "rule": "repeated",
2035 "type": "EnumDescriptorProto",
2036 "id": 4
2037 },
2038 "extensionRange": {
2039 "rule": "repeated",
2040 "type": "ExtensionRange",
2041 "id": 5
2042 },
2043 "oneofDecl": {
2044 "rule": "repeated",
2045 "type": "OneofDescriptorProto",
2046 "id": 8
2047 },
2048 "options": {
2049 "type": "MessageOptions",
2050 "id": 7
2051 },
2052 "reservedRange": {
2053 "rule": "repeated",
2054 "type": "ReservedRange",
2055 "id": 9
2056 },
2057 "reservedName": {
2058 "rule": "repeated",
2059 "type": "string",
2060 "id": 10
2061 }
2062 },
2063 "nested": {
2064 "ExtensionRange": {
2065 "fields": {
2066 "start": {
2067 "type": "int32",
2068 "id": 1
2069 },
2070 "end": {
2071 "type": "int32",
2072 "id": 2
2073 },
2074 "options": {
2075 "type": "ExtensionRangeOptions",
2076 "id": 3
2077 }
2078 }
2079 },
2080 "ReservedRange": {
2081 "fields": {
2082 "start": {
2083 "type": "int32",
2084 "id": 1
2085 },
2086 "end": {
2087 "type": "int32",
2088 "id": 2
2089 }
2090 }
2091 }
2092 }
2093 },
2094 "ExtensionRangeOptions": {
2095 "fields": {
2096 "uninterpretedOption": {
2097 "rule": "repeated",
2098 "type": "UninterpretedOption",
2099 "id": 999
2100 }
2101 },
2102 "extensions": [
2103 [
2104 1000,
2105 536870911
2106 ]
2107 ]
2108 },
2109 "FieldDescriptorProto": {
2110 "fields": {
2111 "name": {
2112 "type": "string",
2113 "id": 1
2114 },
2115 "number": {
2116 "type": "int32",
2117 "id": 3
2118 },
2119 "label": {
2120 "type": "Label",
2121 "id": 4
2122 },
2123 "type": {
2124 "type": "Type",
2125 "id": 5
2126 },
2127 "typeName": {
2128 "type": "string",
2129 "id": 6
2130 },
2131 "extendee": {
2132 "type": "string",
2133 "id": 2
2134 },
2135 "defaultValue": {
2136 "type": "string",
2137 "id": 7
2138 },
2139 "oneofIndex": {
2140 "type": "int32",
2141 "id": 9
2142 },
2143 "jsonName": {
2144 "type": "string",
2145 "id": 10
2146 },
2147 "options": {
2148 "type": "FieldOptions",
2149 "id": 8
2150 },
2151 "proto3Optional": {
2152 "type": "bool",
2153 "id": 17
2154 }
2155 },
2156 "nested": {
2157 "Type": {
2158 "values": {
2159 "TYPE_DOUBLE": 1,
2160 "TYPE_FLOAT": 2,
2161 "TYPE_INT64": 3,
2162 "TYPE_UINT64": 4,
2163 "TYPE_INT32": 5,
2164 "TYPE_FIXED64": 6,
2165 "TYPE_FIXED32": 7,
2166 "TYPE_BOOL": 8,
2167 "TYPE_STRING": 9,
2168 "TYPE_GROUP": 10,
2169 "TYPE_MESSAGE": 11,
2170 "TYPE_BYTES": 12,
2171 "TYPE_UINT32": 13,
2172 "TYPE_ENUM": 14,
2173 "TYPE_SFIXED32": 15,
2174 "TYPE_SFIXED64": 16,
2175 "TYPE_SINT32": 17,
2176 "TYPE_SINT64": 18
2177 }
2178 },
2179 "Label": {
2180 "values": {
2181 "LABEL_OPTIONAL": 1,
2182 "LABEL_REQUIRED": 2,
2183 "LABEL_REPEATED": 3
2184 }
2185 }
2186 }
2187 },
2188 "OneofDescriptorProto": {
2189 "fields": {
2190 "name": {
2191 "type": "string",
2192 "id": 1
2193 },
2194 "options": {
2195 "type": "OneofOptions",
2196 "id": 2
2197 }
2198 }
2199 },
2200 "EnumDescriptorProto": {
2201 "fields": {
2202 "name": {
2203 "type": "string",
2204 "id": 1
2205 },
2206 "value": {
2207 "rule": "repeated",
2208 "type": "EnumValueDescriptorProto",
2209 "id": 2
2210 },
2211 "options": {
2212 "type": "EnumOptions",
2213 "id": 3
2214 },
2215 "reservedRange": {
2216 "rule": "repeated",
2217 "type": "EnumReservedRange",
2218 "id": 4
2219 },
2220 "reservedName": {
2221 "rule": "repeated",
2222 "type": "string",
2223 "id": 5
2224 }
2225 },
2226 "nested": {
2227 "EnumReservedRange": {
2228 "fields": {
2229 "start": {
2230 "type": "int32",
2231 "id": 1
2232 },
2233 "end": {
2234 "type": "int32",
2235 "id": 2
2236 }
2237 }
2238 }
2239 }
2240 },
2241 "EnumValueDescriptorProto": {
2242 "fields": {
2243 "name": {
2244 "type": "string",
2245 "id": 1
2246 },
2247 "number": {
2248 "type": "int32",
2249 "id": 2
2250 },
2251 "options": {
2252 "type": "EnumValueOptions",
2253 "id": 3
2254 }
2255 }
2256 },
2257 "ServiceDescriptorProto": {
2258 "fields": {
2259 "name": {
2260 "type": "string",
2261 "id": 1
2262 },
2263 "method": {
2264 "rule": "repeated",
2265 "type": "MethodDescriptorProto",
2266 "id": 2
2267 },
2268 "options": {
2269 "type": "ServiceOptions",
2270 "id": 3
2271 }
2272 }
2273 },
2274 "MethodDescriptorProto": {
2275 "fields": {
2276 "name": {
2277 "type": "string",
2278 "id": 1
2279 },
2280 "inputType": {
2281 "type": "string",
2282 "id": 2
2283 },
2284 "outputType": {
2285 "type": "string",
2286 "id": 3
2287 },
2288 "options": {
2289 "type": "MethodOptions",
2290 "id": 4
2291 },
2292 "clientStreaming": {
2293 "type": "bool",
2294 "id": 5,
2295 "options": {
2296 "default": false
2297 }
2298 },
2299 "serverStreaming": {
2300 "type": "bool",
2301 "id": 6,
2302 "options": {
2303 "default": false
2304 }
2305 }
2306 }
2307 },
2308 "FileOptions": {
2309 "fields": {
2310 "javaPackage": {
2311 "type": "string",
2312 "id": 1
2313 },
2314 "javaOuterClassname": {
2315 "type": "string",
2316 "id": 8
2317 },
2318 "javaMultipleFiles": {
2319 "type": "bool",
2320 "id": 10,
2321 "options": {
2322 "default": false
2323 }
2324 },
2325 "javaGenerateEqualsAndHash": {
2326 "type": "bool",
2327 "id": 20,
2328 "options": {
2329 "deprecated": true
2330 }
2331 },
2332 "javaStringCheckUtf8": {
2333 "type": "bool",
2334 "id": 27,
2335 "options": {
2336 "default": false
2337 }
2338 },
2339 "optimizeFor": {
2340 "type": "OptimizeMode",
2341 "id": 9,
2342 "options": {
2343 "default": "SPEED"
2344 }
2345 },
2346 "goPackage": {
2347 "type": "string",
2348 "id": 11
2349 },
2350 "ccGenericServices": {
2351 "type": "bool",
2352 "id": 16,
2353 "options": {
2354 "default": false
2355 }
2356 },
2357 "javaGenericServices": {
2358 "type": "bool",
2359 "id": 17,
2360 "options": {
2361 "default": false
2362 }
2363 },
2364 "pyGenericServices": {
2365 "type": "bool",
2366 "id": 18,
2367 "options": {
2368 "default": false
2369 }
2370 },
2371 "phpGenericServices": {
2372 "type": "bool",
2373 "id": 42,
2374 "options": {
2375 "default": false
2376 }
2377 },
2378 "deprecated": {
2379 "type": "bool",
2380 "id": 23,
2381 "options": {
2382 "default": false
2383 }
2384 },
2385 "ccEnableArenas": {
2386 "type": "bool",
2387 "id": 31,
2388 "options": {
2389 "default": true
2390 }
2391 },
2392 "objcClassPrefix": {
2393 "type": "string",
2394 "id": 36
2395 },
2396 "csharpNamespace": {
2397 "type": "string",
2398 "id": 37
2399 },
2400 "swiftPrefix": {
2401 "type": "string",
2402 "id": 39
2403 },
2404 "phpClassPrefix": {
2405 "type": "string",
2406 "id": 40
2407 },
2408 "phpNamespace": {
2409 "type": "string",
2410 "id": 41
2411 },
2412 "phpMetadataNamespace": {
2413 "type": "string",
2414 "id": 44
2415 },
2416 "rubyPackage": {
2417 "type": "string",
2418 "id": 45
2419 },
2420 "uninterpretedOption": {
2421 "rule": "repeated",
2422 "type": "UninterpretedOption",
2423 "id": 999
2424 }
2425 },
2426 "extensions": [
2427 [
2428 1000,
2429 536870911
2430 ]
2431 ],
2432 "reserved": [
2433 [
2434 38,
2435 38
2436 ]
2437 ],
2438 "nested": {
2439 "OptimizeMode": {
2440 "values": {
2441 "SPEED": 1,
2442 "CODE_SIZE": 2,
2443 "LITE_RUNTIME": 3
2444 }
2445 }
2446 }
2447 },
2448 "MessageOptions": {
2449 "fields": {
2450 "messageSetWireFormat": {
2451 "type": "bool",
2452 "id": 1,
2453 "options": {
2454 "default": false
2455 }
2456 },
2457 "noStandardDescriptorAccessor": {
2458 "type": "bool",
2459 "id": 2,
2460 "options": {
2461 "default": false
2462 }
2463 },
2464 "deprecated": {
2465 "type": "bool",
2466 "id": 3,
2467 "options": {
2468 "default": false
2469 }
2470 },
2471 "mapEntry": {
2472 "type": "bool",
2473 "id": 7
2474 },
2475 "uninterpretedOption": {
2476 "rule": "repeated",
2477 "type": "UninterpretedOption",
2478 "id": 999
2479 }
2480 },
2481 "extensions": [
2482 [
2483 1000,
2484 536870911
2485 ]
2486 ],
2487 "reserved": [
2488 [
2489 4,
2490 4
2491 ],
2492 [
2493 5,
2494 5
2495 ],
2496 [
2497 6,
2498 6
2499 ],
2500 [
2501 8,
2502 8
2503 ],
2504 [
2505 9,
2506 9
2507 ]
2508 ]
2509 },
2510 "FieldOptions": {
2511 "fields": {
2512 "ctype": {
2513 "type": "CType",
2514 "id": 1,
2515 "options": {
2516 "default": "STRING"
2517 }
2518 },
2519 "packed": {
2520 "type": "bool",
2521 "id": 2
2522 },
2523 "jstype": {
2524 "type": "JSType",
2525 "id": 6,
2526 "options": {
2527 "default": "JS_NORMAL"
2528 }
2529 },
2530 "lazy": {
2531 "type": "bool",
2532 "id": 5,
2533 "options": {
2534 "default": false
2535 }
2536 },
2537 "deprecated": {
2538 "type": "bool",
2539 "id": 3,
2540 "options": {
2541 "default": false
2542 }
2543 },
2544 "weak": {
2545 "type": "bool",
2546 "id": 10,
2547 "options": {
2548 "default": false
2549 }
2550 },
2551 "uninterpretedOption": {
2552 "rule": "repeated",
2553 "type": "UninterpretedOption",
2554 "id": 999
2555 }
2556 },
2557 "extensions": [
2558 [
2559 1000,
2560 536870911
2561 ]
2562 ],
2563 "reserved": [
2564 [
2565 4,
2566 4
2567 ]
2568 ],
2569 "nested": {
2570 "CType": {
2571 "values": {
2572 "STRING": 0,
2573 "CORD": 1,
2574 "STRING_PIECE": 2
2575 }
2576 },
2577 "JSType": {
2578 "values": {
2579 "JS_NORMAL": 0,
2580 "JS_STRING": 1,
2581 "JS_NUMBER": 2
2582 }
2583 }
2584 }
2585 },
2586 "OneofOptions": {
2587 "fields": {
2588 "uninterpretedOption": {
2589 "rule": "repeated",
2590 "type": "UninterpretedOption",
2591 "id": 999
2592 }
2593 },
2594 "extensions": [
2595 [
2596 1000,
2597 536870911
2598 ]
2599 ]
2600 },
2601 "EnumOptions": {
2602 "fields": {
2603 "allowAlias": {
2604 "type": "bool",
2605 "id": 2
2606 },
2607 "deprecated": {
2608 "type": "bool",
2609 "id": 3,
2610 "options": {
2611 "default": false
2612 }
2613 },
2614 "uninterpretedOption": {
2615 "rule": "repeated",
2616 "type": "UninterpretedOption",
2617 "id": 999
2618 }
2619 },
2620 "extensions": [
2621 [
2622 1000,
2623 536870911
2624 ]
2625 ],
2626 "reserved": [
2627 [
2628 5,
2629 5
2630 ]
2631 ]
2632 },
2633 "EnumValueOptions": {
2634 "fields": {
2635 "deprecated": {
2636 "type": "bool",
2637 "id": 1,
2638 "options": {
2639 "default": false
2640 }
2641 },
2642 "uninterpretedOption": {
2643 "rule": "repeated",
2644 "type": "UninterpretedOption",
2645 "id": 999
2646 }
2647 },
2648 "extensions": [
2649 [
2650 1000,
2651 536870911
2652 ]
2653 ]
2654 },
2655 "ServiceOptions": {
2656 "fields": {
2657 "deprecated": {
2658 "type": "bool",
2659 "id": 33,
2660 "options": {
2661 "default": false
2662 }
2663 },
2664 "uninterpretedOption": {
2665 "rule": "repeated",
2666 "type": "UninterpretedOption",
2667 "id": 999
2668 }
2669 },
2670 "extensions": [
2671 [
2672 1000,
2673 536870911
2674 ]
2675 ]
2676 },
2677 "MethodOptions": {
2678 "fields": {
2679 "deprecated": {
2680 "type": "bool",
2681 "id": 33,
2682 "options": {
2683 "default": false
2684 }
2685 },
2686 "idempotencyLevel": {
2687 "type": "IdempotencyLevel",
2688 "id": 34,
2689 "options": {
2690 "default": "IDEMPOTENCY_UNKNOWN"
2691 }
2692 },
2693 "uninterpretedOption": {
2694 "rule": "repeated",
2695 "type": "UninterpretedOption",
2696 "id": 999
2697 }
2698 },
2699 "extensions": [
2700 [
2701 1000,
2702 536870911
2703 ]
2704 ],
2705 "nested": {
2706 "IdempotencyLevel": {
2707 "values": {
2708 "IDEMPOTENCY_UNKNOWN": 0,
2709 "NO_SIDE_EFFECTS": 1,
2710 "IDEMPOTENT": 2
2711 }
2712 }
2713 }
2714 },
2715 "UninterpretedOption": {
2716 "fields": {
2717 "name": {
2718 "rule": "repeated",
2719 "type": "NamePart",
2720 "id": 2
2721 },
2722 "identifierValue": {
2723 "type": "string",
2724 "id": 3
2725 },
2726 "positiveIntValue": {
2727 "type": "uint64",
2728 "id": 4
2729 },
2730 "negativeIntValue": {
2731 "type": "int64",
2732 "id": 5
2733 },
2734 "doubleValue": {
2735 "type": "double",
2736 "id": 6
2737 },
2738 "stringValue": {
2739 "type": "bytes",
2740 "id": 7
2741 },
2742 "aggregateValue": {
2743 "type": "string",
2744 "id": 8
2745 }
2746 },
2747 "nested": {
2748 "NamePart": {
2749 "fields": {
2750 "namePart": {
2751 "rule": "required",
2752 "type": "string",
2753 "id": 1
2754 },
2755 "isExtension": {
2756 "rule": "required",
2757 "type": "bool",
2758 "id": 2
2759 }
2760 }
2761 }
2762 }
2763 },
2764 "SourceCodeInfo": {
2765 "fields": {
2766 "location": {
2767 "rule": "repeated",
2768 "type": "Location",
2769 "id": 1
2770 }
2771 },
2772 "nested": {
2773 "Location": {
2774 "fields": {
2775 "path": {
2776 "rule": "repeated",
2777 "type": "int32",
2778 "id": 1
2779 },
2780 "span": {
2781 "rule": "repeated",
2782 "type": "int32",
2783 "id": 2
2784 },
2785 "leadingComments": {
2786 "type": "string",
2787 "id": 3
2788 },
2789 "trailingComments": {
2790 "type": "string",
2791 "id": 4
2792 },
2793 "leadingDetachedComments": {
2794 "rule": "repeated",
2795 "type": "string",
2796 "id": 6
2797 }
2798 }
2799 }
2800 }
2801 },
2802 "GeneratedCodeInfo": {
2803 "fields": {
2804 "annotation": {
2805 "rule": "repeated",
2806 "type": "Annotation",
2807 "id": 1
2808 }
2809 },
2810 "nested": {
2811 "Annotation": {
2812 "fields": {
2813 "path": {
2814 "rule": "repeated",
2815 "type": "int32",
2816 "id": 1
2817 },
2818 "sourceFile": {
2819 "type": "string",
2820 "id": 2
2821 },
2822 "begin": {
2823 "type": "int32",
2824 "id": 3
2825 },
2826 "end": {
2827 "type": "int32",
2828 "id": 4
2829 }
2830 }
2831 }
2832 }
2833 },
2834 "Duration": {
2835 "fields": {
2836 "seconds": {
2837 "type": "int64",
2838 "id": 1
2839 },
2840 "nanos": {
2841 "type": "int32",
2842 "id": 2
2843 }
2844 }
2845 },
2846 "Empty": {
2847 "fields": {}
2848 },
2849 "FieldMask": {
2850 "fields": {
2851 "paths": {
2852 "rule": "repeated",
2853 "type": "string",
2854 "id": 1
2855 }
2856 }
2857 },
2858 "Timestamp": {
2859 "fields": {
2860 "seconds": {
2861 "type": "int64",
2862 "id": 1
2863 },
2864 "nanos": {
2865 "type": "int32",
2866 "id": 2
2867 }
2868 }
2869 }
2870 }
2871 }
2872 }
2873 }
2874 }
2875}
\No newline at end of file