Merge branch 'main' into avm99963-monorail
GitOrigin-RevId: 1412a00daa7379d93b6872e9ef7da0a45118b180
diff --git a/api/v3/api_proto/projects_pb2.py b/api/v3/api_proto/projects_pb2.py
index 0478142..04e3a66 100644
--- a/api/v3/api_proto/projects_pb2.py
+++ b/api/v3/api_proto/projects_pb2.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: api/v3/api_proto/projects.proto
-
+"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -23,7 +23,7 @@
syntax='proto3',
serialized_options=b'Z\020api/v3/api_proto',
create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n\x1f\x61pi/v3/api_proto/projects.proto\x12\x0bmonorail.v3\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&api/v3/api_proto/project_objects.proto\"t\n\x15\x43reateFieldDefRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12,\n\x08\x66ielddef\x18\x02 \x01(\x0b\x32\x15.monorail.v3.FieldDefB\x03\xe0\x41\x02\"\x81\x01\n\x19\x43reateComponentDefRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12\x35\n\rcomponent_def\x18\x02 \x01(\x0b\x32\x19.monorail.v3.ComponentDefB\x03\xe0\x41\x02\"M\n\x19\x44\x65leteComponentDefRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pi.crbug.com/ComponentDef\"q\n\x19ListIssueTemplatesRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"d\n\x1aListIssueTemplatesResponse\x12-\n\ttemplates\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.IssueTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"p\n\x18ListComponentDefsRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x19ListComponentDefsResponse\x12\x31\n\x0e\x63omponent_defs\x18\x01 \x03(\x0b\x32\x19.monorail.v3.ComponentDef\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"<\n\x13ListProjectsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"W\n\x14ListProjectsResponse\x12&\n\x08projects\x18\x01 \x03(\x0b\x32\x14.monorail.v3.Project\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb2\x04\n\x08Projects\x12M\n\x0e\x43reateFieldDef\x12\".monorail.v3.CreateFieldDefRequest\x1a\x15.monorail.v3.FieldDef\"\x00\x12Y\n\x12\x43reateComponentDef\x12&.monorail.v3.CreateComponentDefRequest\x1a\x19.monorail.v3.ComponentDef\"\x00\x12V\n\x12\x44\x65leteComponentDef\x12&.monorail.v3.DeleteComponentDefRequest\x1a\x16.google.protobuf.Empty\"\x00\x12g\n\x12ListIssueTemplates\x12&.monorail.v3.ListIssueTemplatesRequest\x1a\'.monorail.v3.ListIssueTemplatesResponse\"\x00\x12\x64\n\x11ListComponentDefs\x12%.monorail.v3.ListComponentDefsRequest\x1a&.monorail.v3.ListComponentDefsResponse\"\x00\x12U\n\x0cListProjects\x12 .monorail.v3.ListProjectsRequest\x1a!.monorail.v3.ListProjectsResponse\"\x00\x42\x12Z\x10\x61pi/v3/api_protob\x06proto3'
+ serialized_pb=b'\n\x1f\x61pi/v3/api_proto/projects.proto\x12\x0bmonorail.v3\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&api/v3/api_proto/project_objects.proto\"t\n\x15\x43reateFieldDefRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12,\n\x08\x66ielddef\x18\x02 \x01(\x0b\x32\x15.monorail.v3.FieldDefB\x03\xe0\x41\x02\"J\n\x16GetComponentDefRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1c\n\x1a\x61pi.crbug.com/ComponentDef\xe0\x41\x02\"\x81\x01\n\x19\x43reateComponentDefRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\x12\x35\n\rcomponent_def\x18\x02 \x01(\x0b\x32\x19.monorail.v3.ComponentDefB\x03\xe0\x41\x02\"M\n\x19\x44\x65leteComponentDefRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1a\x61pi.crbug.com/ComponentDef\"q\n\x19ListIssueTemplatesRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"d\n\x1aListIssueTemplatesResponse\x12-\n\ttemplates\x18\x01 \x03(\x0b\x32\x1a.monorail.v3.IssueTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"p\n\x18ListComponentDefsRequest\x12-\n\x06parent\x18\x01 \x01(\tB\x1d\xfa\x41\x17\n\x15\x61pi.crbug.com/Project\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x19ListComponentDefsResponse\x12\x31\n\x0e\x63omponent_defs\x18\x01 \x03(\x0b\x32\x19.monorail.v3.ComponentDef\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"<\n\x13ListProjectsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"W\n\x14ListProjectsResponse\x12&\n\x08projects\x18\x01 \x03(\x0b\x32\x14.monorail.v3.Project\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x87\x05\n\x08Projects\x12M\n\x0e\x43reateFieldDef\x12\".monorail.v3.CreateFieldDefRequest\x1a\x15.monorail.v3.FieldDef\"\x00\x12S\n\x0fGetComponentDef\x12#.monorail.v3.GetComponentDefRequest\x1a\x19.monorail.v3.ComponentDef\"\x00\x12Y\n\x12\x43reateComponentDef\x12&.monorail.v3.CreateComponentDefRequest\x1a\x19.monorail.v3.ComponentDef\"\x00\x12V\n\x12\x44\x65leteComponentDef\x12&.monorail.v3.DeleteComponentDefRequest\x1a\x16.google.protobuf.Empty\"\x00\x12g\n\x12ListIssueTemplates\x12&.monorail.v3.ListIssueTemplatesRequest\x1a\'.monorail.v3.ListIssueTemplatesResponse\"\x00\x12\x64\n\x11ListComponentDefs\x12%.monorail.v3.ListComponentDefsRequest\x1a&.monorail.v3.ListComponentDefsResponse\"\x00\x12U\n\x0cListProjects\x12 .monorail.v3.ListProjectsRequest\x1a!.monorail.v3.ListProjectsResponse\"\x00\x42\x12Z\x10\x61pi/v3/api_protob\x06proto3'
,
dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,api_dot_v3_dot_api__proto_dot_project__objects__pb2.DESCRIPTOR,])
@@ -69,6 +69,38 @@
)
+_GETCOMPONENTDEFREQUEST = _descriptor.Descriptor(
+ name='GetComponentDefRequest',
+ full_name='monorail.v3.GetComponentDefRequest',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='name', full_name='monorail.v3.GetComponentDefRequest.name', index=0,
+ number=1, type=9, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"".decode('utf-8'),
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=b'\372A\034\n\032api.crbug.com/ComponentDef\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ ],
+ serialized_start=295,
+ serialized_end=369,
+)
+
+
_CREATECOMPONENTDEFREQUEST = _descriptor.Descriptor(
name='CreateComponentDefRequest',
full_name='monorail.v3.CreateComponentDefRequest',
@@ -103,8 +135,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=296,
- serialized_end=425,
+ serialized_start=372,
+ serialized_end=501,
)
@@ -135,8 +167,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=427,
- serialized_end=504,
+ serialized_start=503,
+ serialized_end=580,
)
@@ -181,8 +213,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=506,
- serialized_end=619,
+ serialized_start=582,
+ serialized_end=695,
)
@@ -220,8 +252,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=621,
- serialized_end=721,
+ serialized_start=697,
+ serialized_end=797,
)
@@ -266,8 +298,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=723,
- serialized_end=835,
+ serialized_start=799,
+ serialized_end=911,
)
@@ -305,8 +337,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=837,
- serialized_end=940,
+ serialized_start=913,
+ serialized_end=1016,
)
@@ -344,8 +376,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=942,
- serialized_end=1002,
+ serialized_start=1018,
+ serialized_end=1078,
)
@@ -383,8 +415,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=1004,
- serialized_end=1091,
+ serialized_start=1080,
+ serialized_end=1167,
)
_CREATEFIELDDEFREQUEST.fields_by_name['fielddef'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._FIELDDEF
@@ -393,6 +425,7 @@
_LISTCOMPONENTDEFSRESPONSE.fields_by_name['component_defs'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF
_LISTPROJECTSRESPONSE.fields_by_name['projects'].message_type = api_dot_v3_dot_api__proto_dot_project__objects__pb2._PROJECT
DESCRIPTOR.message_types_by_name['CreateFieldDefRequest'] = _CREATEFIELDDEFREQUEST
+DESCRIPTOR.message_types_by_name['GetComponentDefRequest'] = _GETCOMPONENTDEFREQUEST
DESCRIPTOR.message_types_by_name['CreateComponentDefRequest'] = _CREATECOMPONENTDEFREQUEST
DESCRIPTOR.message_types_by_name['DeleteComponentDefRequest'] = _DELETECOMPONENTDEFREQUEST
DESCRIPTOR.message_types_by_name['ListIssueTemplatesRequest'] = _LISTISSUETEMPLATESREQUEST
@@ -410,6 +443,13 @@
})
_sym_db.RegisterMessage(CreateFieldDefRequest)
+GetComponentDefRequest = _reflection.GeneratedProtocolMessageType('GetComponentDefRequest', (_message.Message,), {
+ 'DESCRIPTOR' : _GETCOMPONENTDEFREQUEST,
+ '__module__' : 'api.v3.api_proto.projects_pb2'
+ # @@protoc_insertion_point(class_scope:monorail.v3.GetComponentDefRequest)
+ })
+_sym_db.RegisterMessage(GetComponentDefRequest)
+
CreateComponentDefRequest = _reflection.GeneratedProtocolMessageType('CreateComponentDefRequest', (_message.Message,), {
'DESCRIPTOR' : _CREATECOMPONENTDEFREQUEST,
'__module__' : 'api.v3.api_proto.projects_pb2'
@@ -470,6 +510,7 @@
DESCRIPTOR._options = None
_CREATEFIELDDEFREQUEST.fields_by_name['parent']._options = None
_CREATEFIELDDEFREQUEST.fields_by_name['fielddef']._options = None
+_GETCOMPONENTDEFREQUEST.fields_by_name['name']._options = None
_CREATECOMPONENTDEFREQUEST.fields_by_name['parent']._options = None
_CREATECOMPONENTDEFREQUEST.fields_by_name['component_def']._options = None
_DELETECOMPONENTDEFREQUEST.fields_by_name['name']._options = None
@@ -483,8 +524,8 @@
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
- serialized_start=1094,
- serialized_end=1656,
+ serialized_start=1170,
+ serialized_end=1817,
methods=[
_descriptor.MethodDescriptor(
name='CreateFieldDef',
@@ -497,9 +538,19 @@
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
+ name='GetComponentDef',
+ full_name='monorail.v3.Projects.GetComponentDef',
+ index=1,
+ containing_service=None,
+ input_type=_GETCOMPONENTDEFREQUEST,
+ output_type=api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF,
+ serialized_options=None,
+ create_key=_descriptor._internal_create_key,
+ ),
+ _descriptor.MethodDescriptor(
name='CreateComponentDef',
full_name='monorail.v3.Projects.CreateComponentDef',
- index=1,
+ index=2,
containing_service=None,
input_type=_CREATECOMPONENTDEFREQUEST,
output_type=api_dot_v3_dot_api__proto_dot_project__objects__pb2._COMPONENTDEF,
@@ -509,7 +560,7 @@
_descriptor.MethodDescriptor(
name='DeleteComponentDef',
full_name='monorail.v3.Projects.DeleteComponentDef',
- index=2,
+ index=3,
containing_service=None,
input_type=_DELETECOMPONENTDEFREQUEST,
output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
@@ -519,7 +570,7 @@
_descriptor.MethodDescriptor(
name='ListIssueTemplates',
full_name='monorail.v3.Projects.ListIssueTemplates',
- index=3,
+ index=4,
containing_service=None,
input_type=_LISTISSUETEMPLATESREQUEST,
output_type=_LISTISSUETEMPLATESRESPONSE,
@@ -529,7 +580,7 @@
_descriptor.MethodDescriptor(
name='ListComponentDefs',
full_name='monorail.v3.Projects.ListComponentDefs',
- index=4,
+ index=5,
containing_service=None,
input_type=_LISTCOMPONENTDEFSREQUEST,
output_type=_LISTCOMPONENTDEFSRESPONSE,
@@ -539,7 +590,7 @@
_descriptor.MethodDescriptor(
name='ListProjects',
full_name='monorail.v3.Projects.ListProjects',
- index=5,
+ index=6,
containing_service=None,
input_type=_LISTPROJECTSREQUEST,
output_type=_LISTPROJECTSRESPONSE,