Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: api/v3/api_proto/issues.proto |
Adrià Vilanova Martínez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame] | 4 | """Generated protocol buffer code.""" |
Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame^] | 5 | from google.protobuf.internal import builder as _builder |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 6 | from google.protobuf import descriptor as _descriptor |
Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame^] | 7 | from google.protobuf import descriptor_pool as _descriptor_pool |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 8 | from google.protobuf import symbol_database as _symbol_database |
| 9 | # @@protoc_insertion_point(imports) |
| 10 | |
| 11 | _sym_db = _symbol_database.Default() |
| 12 | |
| 13 | |
| 14 | from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 |
| 15 | from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 |
| 16 | from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 |
| 17 | from api.v3.api_proto import issue_objects_pb2 as api_dot_v3_dot_api__proto_dot_issue__objects__pb2 |
| 18 | |
| 19 | |
Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame^] | 20 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x61pi/v3/api_proto/issues.proto\x12\x0bmonorail.v3\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$api/v3/api_proto/issue_objects.proto\"<\n\x0fGetIssueRequest\x12)\n\x04name\x18\x01 \x01(\tB\x1b\xfa\x41\x15\n\x13\x61pi.crbug.com/Issue\xe0\x41\x02\"l\n\x15\x42\x61tchGetIssuesRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12\'\n\x05names\x18\x02 \x03(\tB\x18\xfa\x41\x15\n\x13\x61pi.crbug.com/Issue\"<\n\x16\x42\x61tchGetIssuesResponse\x12\"\n\x06issues\x18\x01 \x03(\x0b\x32\x12.monorail.v3.Issue\"\x8e\x01\n\x13SearchIssuesRequest\x12/\n\x08projects\x18\x01 \x03(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\r\n\x05query\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"S\n\x14SearchIssuesResponse\x12\"\n\x06issues\x18\x01 \x03(\x0b\x32\x12.monorail.v3.Issue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"y\n\x13ListCommentsRequest\x12+\n\x06parent\x18\x01 \x01(\tB\x1b\xfa\x41\x15\n\x13\x61pi.crbug.com/Issue\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"W\n\x14ListCommentsResponse\x12&\n\x08\x63omments\x18\x01 \x03(\x0b\x32\x14.monorail.v3.Comment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"?\n\x10\x41ttachmentUpload\x12\x15\n\x08\x66ilename\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"\x8e\x03\n\nIssueDelta\x12&\n\x05issue\x18\x01 \x01(\x0b\x32\x12.monorail.v3.IssueB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12+\n\nccs_remove\x18\x03 \x03(\tB\x17\xfa\x41\x14\n\x12\x61pi.crbug.com/User\x12\x37\n\x18\x62locked_on_issues_remove\x18\x04 \x03(\x0b\x32\x15.monorail.v3.IssueRef\x12\x35\n\x16\x62locking_issues_remove\x18\x05 \x03(\x0b\x32\x15.monorail.v3.IssueRef\x12:\n\x11\x63omponents_remove\x18\x06 \x03(\tB\x1f\xfa\x41\x1c\n\x1a\x61pi.crbug.com/ComponentDef\x12\x15\n\rlabels_remove\x18\x07 \x03(\t\x12\x32\n\x11\x66ield_vals_remove\x18\x08 \x03(\x0b\x32\x17.monorail.v3.FieldValue\"\xe0\x01\n\rApprovalDelta\x12\x32\n\x0e\x61pproval_value\x18\x01 \x01(\x0b\x32\x1a.monorail.v3.ApprovalValue\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x31\n\x10\x61pprovers_remove\x18\x03 \x03(\tB\x17\xfa\x41\x14\n\x12\x61pi.crbug.com/User\x12\x32\n\x11\x66ield_vals_remove\x18\x05 \x03(\x0b\x32\x17.monorail.v3.FieldValue\"\xb5\x01\n\x13ModifyIssuesRequest\x12\'\n\x06\x64\x65ltas\x18\x01 \x03(\x0b\x32\x17.monorail.v3.IssueDelta\x12,\n\x0bnotify_type\x18\x02 \x01(\x0e\x32\x17.monorail.v3.NotifyType\x12\x17\n\x0f\x63omment_content\x18\x03 \x01(\t\x12.\n\x07uploads\x18\x04 \x03(\x0b\x32\x1d.monorail.v3.AttachmentUpload\":\n\x14ModifyIssuesResponse\x12\"\n\x06issues\x18\x01 \x03(\x0b\x32\x12.monorail.v3.Issue\"\x95\x01\n ModifyIssueApprovalValuesRequest\x12*\n\x06\x64\x65ltas\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.ApprovalDelta\x12,\n\x0bnotify_type\x18\x02 \x01(\x0e\x32\x17.monorail.v3.NotifyType\x12\x17\n\x0f\x63omment_content\x18\x03 \x01(\t\"X\n!ModifyIssueApprovalValuesResponse\x12\x33\n\x0f\x61pproval_values\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.ApprovalValue\"H\n\x19ListApprovalValuesRequest\x12+\n\x06parent\x18\x01 \x01(\tB\x1b\xfa\x41\x15\n\x13\x61pi.crbug.com/Issue\xe0\x41\x02\"Q\n\x1aListApprovalValuesResponse\x12\x33\n\x0f\x61pproval_values\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.ApprovalValue\"w\n\x19ModifyCommentStateRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Comment\xe0\x41\x02\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x1e.monorail.v3.IssueContentState\"C\n\x1aModifyCommentStateResponse\x12%\n\x07\x63omment\x18\x01 \x01(\x0b\x32\x14.monorail.v3.Comment\"\xd7\x01\n\x1cMakeIssueFromTemplateRequest\x12-\n\x08template\x18\x01 \x01(\tB\x1b\xfa\x41\x18\n\x16\x61pi.crbug.com/Template\x12\x35\n\x14template_issue_delta\x18\x02 \x01(\x0b\x32\x17.monorail.v3.IssueDelta\x12<\n\x18template_approval_deltas\x18\x03 \x03(\x0b\x32\x1a.monorail.v3.ApprovalDelta\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"\xd7\x01\n\x10MakeIssueRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12!\n\x05issue\x18\x02 \x01(\x0b\x32\x12.monorail.v3.Issue\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12,\n\x0bnotify_type\x18\x04 \x01(\x0e\x32\x17.monorail.v3.NotifyType\x12.\n\x07uploads\x18\x05 \x03(\x0b\x32\x1d.monorail.v3.AttachmentUpload*I\n\nNotifyType\x12\x1b\n\x17NOTIFY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45MAIL\x10\x01\x12\x13\n\x0fNO_NOTIFICATION\x10\x02\x32\x96\x07\n\x06Issues\x12>\n\x08GetIssue\x12\x1c.monorail.v3.GetIssueRequest\x1a\x12.monorail.v3.Issue\"\x00\x12[\n\x0e\x42\x61tchGetIssues\x12\".monorail.v3.BatchGetIssuesRequest\x1a#.monorail.v3.BatchGetIssuesResponse\"\x00\x12U\n\x0cSearchIssues\x12 .monorail.v3.SearchIssuesRequest\x1a!.monorail.v3.SearchIssuesResponse\"\x00\x12U\n\x0cListComments\x12 .monorail.v3.ListCommentsRequest\x1a!.monorail.v3.ListCommentsResponse\"\x00\x12U\n\x0cModifyIssues\x12 .monorail.v3.ModifyIssuesRequest\x1a!.monorail.v3.ModifyIssuesResponse\"\x00\x12|\n\x19ModifyIssueApprovalValues\x12-.monorail.v3.ModifyIssueApprovalValuesRequest\x1a..monorail.v3.ModifyIssueApprovalValuesResponse\"\x00\x12g\n\x12ListApprovalValues\x12&.monorail.v3.ListApprovalValuesRequest\x1a\'.monorail.v3.ListApprovalValuesResponse\"\x00\x12g\n\x12ModifyCommentState\x12&.monorail.v3.ModifyCommentStateRequest\x1a\'.monorail.v3.ModifyCommentStateResponse\"\x00\x12X\n\x15MakeIssueFromTemplate\x12).monorail.v3.MakeIssueFromTemplateRequest\x1a\x12.monorail.v3.Issue\"\x00\x12@\n\tMakeIssue\x12\x1d.monorail.v3.MakeIssueRequest\x1a\x12.monorail.v3.Issue\"\x00\x42#Z!infra/monorailv2/api/v3/api_protob\x06proto3') |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 21 | |
Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame^] | 22 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) |
| 23 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api.v3.api_proto.issues_pb2', globals()) |
| 24 | if _descriptor._USE_C_DESCRIPTORS == False: |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 25 | |
Adrià Vilanova Martínez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame^] | 26 | DESCRIPTOR._options = None |
| 27 | DESCRIPTOR._serialized_options = b'Z!infra/monorailv2/api/v3/api_proto' |
| 28 | _GETISSUEREQUEST.fields_by_name['name']._options = None |
| 29 | _GETISSUEREQUEST.fields_by_name['name']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue\340A\002' |
| 30 | _BATCHGETISSUESREQUEST.fields_by_name['parent']._options = None |
| 31 | _BATCHGETISSUESREQUEST.fields_by_name['parent']._serialized_options = b'\372A\027\n\025api.crbug.com/Project' |
| 32 | _BATCHGETISSUESREQUEST.fields_by_name['names']._options = None |
| 33 | _BATCHGETISSUESREQUEST.fields_by_name['names']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue' |
| 34 | _SEARCHISSUESREQUEST.fields_by_name['projects']._options = None |
| 35 | _SEARCHISSUESREQUEST.fields_by_name['projects']._serialized_options = b'\372A\027\n\025api.crbug.com/Project\340A\002' |
| 36 | _LISTCOMMENTSREQUEST.fields_by_name['parent']._options = None |
| 37 | _LISTCOMMENTSREQUEST.fields_by_name['parent']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue\340A\002' |
| 38 | _ATTACHMENTUPLOAD.fields_by_name['filename']._options = None |
| 39 | _ATTACHMENTUPLOAD.fields_by_name['filename']._serialized_options = b'\340A\002' |
| 40 | _ATTACHMENTUPLOAD.fields_by_name['content']._options = None |
| 41 | _ATTACHMENTUPLOAD.fields_by_name['content']._serialized_options = b'\340A\002' |
| 42 | _ISSUEDELTA.fields_by_name['issue']._options = None |
| 43 | _ISSUEDELTA.fields_by_name['issue']._serialized_options = b'\340A\002' |
| 44 | _ISSUEDELTA.fields_by_name['update_mask']._options = None |
| 45 | _ISSUEDELTA.fields_by_name['update_mask']._serialized_options = b'\340A\002' |
| 46 | _ISSUEDELTA.fields_by_name['ccs_remove']._options = None |
| 47 | _ISSUEDELTA.fields_by_name['ccs_remove']._serialized_options = b'\372A\024\n\022api.crbug.com/User' |
| 48 | _ISSUEDELTA.fields_by_name['components_remove']._options = None |
| 49 | _ISSUEDELTA.fields_by_name['components_remove']._serialized_options = b'\372A\034\n\032api.crbug.com/ComponentDef' |
| 50 | _APPROVALDELTA.fields_by_name['update_mask']._options = None |
| 51 | _APPROVALDELTA.fields_by_name['update_mask']._serialized_options = b'\340A\002' |
| 52 | _APPROVALDELTA.fields_by_name['approvers_remove']._options = None |
| 53 | _APPROVALDELTA.fields_by_name['approvers_remove']._serialized_options = b'\372A\024\n\022api.crbug.com/User' |
| 54 | _LISTAPPROVALVALUESREQUEST.fields_by_name['parent']._options = None |
| 55 | _LISTAPPROVALVALUESREQUEST.fields_by_name['parent']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue\340A\002' |
| 56 | _MODIFYCOMMENTSTATEREQUEST.fields_by_name['name']._options = None |
| 57 | _MODIFYCOMMENTSTATEREQUEST.fields_by_name['name']._serialized_options = b'\372A\027\n\025api.crbug.com/Comment\340A\002' |
| 58 | _MAKEISSUEFROMTEMPLATEREQUEST.fields_by_name['template']._options = None |
| 59 | _MAKEISSUEFROMTEMPLATEREQUEST.fields_by_name['template']._serialized_options = b'\372A\030\n\026api.crbug.com/Template' |
| 60 | _MAKEISSUEREQUEST.fields_by_name['parent']._options = None |
| 61 | _MAKEISSUEREQUEST.fields_by_name['parent']._serialized_options = b'\372A\027\n\025api.crbug.com/Project\340A\002' |
| 62 | _NOTIFYTYPE._serialized_start=2816 |
| 63 | _NOTIFYTYPE._serialized_end=2889 |
| 64 | _GETISSUEREQUEST._serialized_start=178 |
| 65 | _GETISSUEREQUEST._serialized_end=238 |
| 66 | _BATCHGETISSUESREQUEST._serialized_start=240 |
| 67 | _BATCHGETISSUESREQUEST._serialized_end=348 |
| 68 | _BATCHGETISSUESRESPONSE._serialized_start=350 |
| 69 | _BATCHGETISSUESRESPONSE._serialized_end=410 |
| 70 | _SEARCHISSUESREQUEST._serialized_start=413 |
| 71 | _SEARCHISSUESREQUEST._serialized_end=555 |
| 72 | _SEARCHISSUESRESPONSE._serialized_start=557 |
| 73 | _SEARCHISSUESRESPONSE._serialized_end=640 |
| 74 | _LISTCOMMENTSREQUEST._serialized_start=642 |
| 75 | _LISTCOMMENTSREQUEST._serialized_end=763 |
| 76 | _LISTCOMMENTSRESPONSE._serialized_start=765 |
| 77 | _LISTCOMMENTSRESPONSE._serialized_end=852 |
| 78 | _ATTACHMENTUPLOAD._serialized_start=854 |
| 79 | _ATTACHMENTUPLOAD._serialized_end=917 |
| 80 | _ISSUEDELTA._serialized_start=920 |
| 81 | _ISSUEDELTA._serialized_end=1318 |
| 82 | _APPROVALDELTA._serialized_start=1321 |
| 83 | _APPROVALDELTA._serialized_end=1545 |
| 84 | _MODIFYISSUESREQUEST._serialized_start=1548 |
| 85 | _MODIFYISSUESREQUEST._serialized_end=1729 |
| 86 | _MODIFYISSUESRESPONSE._serialized_start=1731 |
| 87 | _MODIFYISSUESRESPONSE._serialized_end=1789 |
| 88 | _MODIFYISSUEAPPROVALVALUESREQUEST._serialized_start=1792 |
| 89 | _MODIFYISSUEAPPROVALVALUESREQUEST._serialized_end=1941 |
| 90 | _MODIFYISSUEAPPROVALVALUESRESPONSE._serialized_start=1943 |
| 91 | _MODIFYISSUEAPPROVALVALUESRESPONSE._serialized_end=2031 |
| 92 | _LISTAPPROVALVALUESREQUEST._serialized_start=2033 |
| 93 | _LISTAPPROVALVALUESREQUEST._serialized_end=2105 |
| 94 | _LISTAPPROVALVALUESRESPONSE._serialized_start=2107 |
| 95 | _LISTAPPROVALVALUESRESPONSE._serialized_end=2188 |
| 96 | _MODIFYCOMMENTSTATEREQUEST._serialized_start=2190 |
| 97 | _MODIFYCOMMENTSTATEREQUEST._serialized_end=2309 |
| 98 | _MODIFYCOMMENTSTATERESPONSE._serialized_start=2311 |
| 99 | _MODIFYCOMMENTSTATERESPONSE._serialized_end=2378 |
| 100 | _MAKEISSUEFROMTEMPLATEREQUEST._serialized_start=2381 |
| 101 | _MAKEISSUEFROMTEMPLATEREQUEST._serialized_end=2596 |
| 102 | _MAKEISSUEREQUEST._serialized_start=2599 |
| 103 | _MAKEISSUEREQUEST._serialized_end=2814 |
| 104 | _ISSUES._serialized_start=2892 |
| 105 | _ISSUES._serialized_end=3810 |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 106 | # @@protoc_insertion_point(module_scope) |