blob: b1eb05187f6adf1b6f35cd3ff57e2fd9dbd41497 [file] [log] [blame]
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: api/v3/api_proto/issues.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from api.v3.api_proto import issue_objects_pb2 as api_dot_v3_dot_api__proto_dot_issue__objects__pb2
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')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api.v3.api_proto.issues_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'Z!infra/monorailv2/api/v3/api_proto'
_GETISSUEREQUEST.fields_by_name['name']._options = None
_GETISSUEREQUEST.fields_by_name['name']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue\340A\002'
_BATCHGETISSUESREQUEST.fields_by_name['parent']._options = None
_BATCHGETISSUESREQUEST.fields_by_name['parent']._serialized_options = b'\372A\027\n\025api.crbug.com/Project'
_BATCHGETISSUESREQUEST.fields_by_name['names']._options = None
_BATCHGETISSUESREQUEST.fields_by_name['names']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue'
_SEARCHISSUESREQUEST.fields_by_name['projects']._options = None
_SEARCHISSUESREQUEST.fields_by_name['projects']._serialized_options = b'\372A\027\n\025api.crbug.com/Project\340A\002'
_LISTCOMMENTSREQUEST.fields_by_name['parent']._options = None
_LISTCOMMENTSREQUEST.fields_by_name['parent']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue\340A\002'
_ATTACHMENTUPLOAD.fields_by_name['filename']._options = None
_ATTACHMENTUPLOAD.fields_by_name['filename']._serialized_options = b'\340A\002'
_ATTACHMENTUPLOAD.fields_by_name['content']._options = None
_ATTACHMENTUPLOAD.fields_by_name['content']._serialized_options = b'\340A\002'
_ISSUEDELTA.fields_by_name['issue']._options = None
_ISSUEDELTA.fields_by_name['issue']._serialized_options = b'\340A\002'
_ISSUEDELTA.fields_by_name['update_mask']._options = None
_ISSUEDELTA.fields_by_name['update_mask']._serialized_options = b'\340A\002'
_ISSUEDELTA.fields_by_name['ccs_remove']._options = None
_ISSUEDELTA.fields_by_name['ccs_remove']._serialized_options = b'\372A\024\n\022api.crbug.com/User'
_ISSUEDELTA.fields_by_name['components_remove']._options = None
_ISSUEDELTA.fields_by_name['components_remove']._serialized_options = b'\372A\034\n\032api.crbug.com/ComponentDef'
_APPROVALDELTA.fields_by_name['update_mask']._options = None
_APPROVALDELTA.fields_by_name['update_mask']._serialized_options = b'\340A\002'
_APPROVALDELTA.fields_by_name['approvers_remove']._options = None
_APPROVALDELTA.fields_by_name['approvers_remove']._serialized_options = b'\372A\024\n\022api.crbug.com/User'
_LISTAPPROVALVALUESREQUEST.fields_by_name['parent']._options = None
_LISTAPPROVALVALUESREQUEST.fields_by_name['parent']._serialized_options = b'\372A\025\n\023api.crbug.com/Issue\340A\002'
_MODIFYCOMMENTSTATEREQUEST.fields_by_name['name']._options = None
_MODIFYCOMMENTSTATEREQUEST.fields_by_name['name']._serialized_options = b'\372A\027\n\025api.crbug.com/Comment\340A\002'
_MAKEISSUEFROMTEMPLATEREQUEST.fields_by_name['template']._options = None
_MAKEISSUEFROMTEMPLATEREQUEST.fields_by_name['template']._serialized_options = b'\372A\030\n\026api.crbug.com/Template'
_MAKEISSUEREQUEST.fields_by_name['parent']._options = None
_MAKEISSUEREQUEST.fields_by_name['parent']._serialized_options = b'\372A\027\n\025api.crbug.com/Project\340A\002'
_NOTIFYTYPE._serialized_start=2816
_NOTIFYTYPE._serialized_end=2889
_GETISSUEREQUEST._serialized_start=178
_GETISSUEREQUEST._serialized_end=238
_BATCHGETISSUESREQUEST._serialized_start=240
_BATCHGETISSUESREQUEST._serialized_end=348
_BATCHGETISSUESRESPONSE._serialized_start=350
_BATCHGETISSUESRESPONSE._serialized_end=410
_SEARCHISSUESREQUEST._serialized_start=413
_SEARCHISSUESREQUEST._serialized_end=555
_SEARCHISSUESRESPONSE._serialized_start=557
_SEARCHISSUESRESPONSE._serialized_end=640
_LISTCOMMENTSREQUEST._serialized_start=642
_LISTCOMMENTSREQUEST._serialized_end=763
_LISTCOMMENTSRESPONSE._serialized_start=765
_LISTCOMMENTSRESPONSE._serialized_end=852
_ATTACHMENTUPLOAD._serialized_start=854
_ATTACHMENTUPLOAD._serialized_end=917
_ISSUEDELTA._serialized_start=920
_ISSUEDELTA._serialized_end=1318
_APPROVALDELTA._serialized_start=1321
_APPROVALDELTA._serialized_end=1545
_MODIFYISSUESREQUEST._serialized_start=1548
_MODIFYISSUESREQUEST._serialized_end=1729
_MODIFYISSUESRESPONSE._serialized_start=1731
_MODIFYISSUESRESPONSE._serialized_end=1789
_MODIFYISSUEAPPROVALVALUESREQUEST._serialized_start=1792
_MODIFYISSUEAPPROVALVALUESREQUEST._serialized_end=1941
_MODIFYISSUEAPPROVALVALUESRESPONSE._serialized_start=1943
_MODIFYISSUEAPPROVALVALUESRESPONSE._serialized_end=2031
_LISTAPPROVALVALUESREQUEST._serialized_start=2033
_LISTAPPROVALVALUESREQUEST._serialized_end=2105
_LISTAPPROVALVALUESRESPONSE._serialized_start=2107
_LISTAPPROVALVALUESRESPONSE._serialized_end=2188
_MODIFYCOMMENTSTATEREQUEST._serialized_start=2190
_MODIFYCOMMENTSTATEREQUEST._serialized_end=2309
_MODIFYCOMMENTSTATERESPONSE._serialized_start=2311
_MODIFYCOMMENTSTATERESPONSE._serialized_end=2378
_MAKEISSUEFROMTEMPLATEREQUEST._serialized_start=2381
_MAKEISSUEFROMTEMPLATEREQUEST._serialized_end=2596
_MAKEISSUEREQUEST._serialized_start=2599
_MAKEISSUEREQUEST._serialized_end=2814
_ISSUES._serialized_start=2892
_ISSUES._serialized_end=3810
# @@protoc_insertion_point(module_scope)