Commit 0ae1d0db authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Bumped upstream Gitaly protocol to 14.0.0

Notable differences:

- The Golang library package path now based on the major
  version number (`/v14')
- RPC methods for remote mirror updating (should be only
  in the push direction).
- Removal of some Wiki methods.

--HG--
branch : stable
parent fbc8ac9c5a44
......@@ -19,9 +19,9 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='blob.proto',
package='gitaly',
syntax='proto3',
serialized_options=b'Z.gitlab.com/gitlab-org/gitaly/proto/go/gitalypb',
serialized_options=b'Z2gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\nblob.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"Z\n\x0eGetBlobRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\":\n\x0fGetBlobResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\"\xbc\x01\n\x0fGetBlobsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12<\n\x0erevision_paths\x18\x02 \x03(\x0b\x32$.gitaly.GetBlobsRequest.RevisionPath\x12\r\n\x05limit\x18\x03 \x01(\x03\x1a.\n\x0cRevisionPath\x12\x10\n\x08revision\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\x0c\"\xa1\x01\n\x10GetBlobsResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\x12\x14\n\x0cis_submodule\x18\x04 \x01(\x08\x12\x0c\n\x04mode\x18\x05 \x01(\x05\x12\x10\n\x08revision\x18\x06 \x01(\t\x12\x0c\n\x04path\x18\x07 \x01(\x0c\x12 \n\x04type\x18\x08 \x01(\x0e\x32\x12.gitaly.ObjectType\"5\n\nLFSPointer\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\"8\n\rNewBlobObject\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\x0c\"W\n\x15GetLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08\x62lob_ids\x18\x02 \x03(\t\"B\n\x16GetLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer\"\x92\x01\n\x18GetNewLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x12\n\nnot_in_all\x18\x04 \x01(\x08\x12\x13\n\x0bnot_in_refs\x18\x05 \x03(\x0c\"E\n\x19GetNewLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer\"N\n\x18GetAllLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01J\x04\x08\x02\x10\x03\"E\n\x19GetAllLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer2\xbf\x03\n\x0b\x42lobService\x12\x44\n\x07GetBlob\x12\x16.gitaly.GetBlobRequest\x1a\x17.gitaly.GetBlobResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12G\n\x08GetBlobs\x12\x17.gitaly.GetBlobsRequest\x1a\x18.gitaly.GetBlobsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Y\n\x0eGetLFSPointers\x12\x1d.gitaly.GetLFSPointersRequest\x1a\x1e.gitaly.GetLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x62\n\x11GetNewLFSPointers\x12 .gitaly.GetNewLFSPointersRequest\x1a!.gitaly.GetNewLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x62\n\x11GetAllLFSPointers\x12 .gitaly.GetAllLFSPointersRequest\x1a!.gitaly.GetAllLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x42\x30Z.gitlab.com/gitlab-org/gitaly/proto/go/gitalypbb\x06proto3'
serialized_pb=b'\n\nblob.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"Z\n\x0eGetBlobRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\":\n\x0fGetBlobResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\"\xbc\x01\n\x0fGetBlobsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12<\n\x0erevision_paths\x18\x02 \x03(\x0b\x32$.gitaly.GetBlobsRequest.RevisionPath\x12\r\n\x05limit\x18\x03 \x01(\x03\x1a.\n\x0cRevisionPath\x12\x10\n\x08revision\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\x0c\"\xa1\x01\n\x10GetBlobsResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\x12\x14\n\x0cis_submodule\x18\x04 \x01(\x08\x12\x0c\n\x04mode\x18\x05 \x01(\x05\x12\x10\n\x08revision\x18\x06 \x01(\t\x12\x0c\n\x04path\x18\x07 \x01(\x0c\x12 \n\x04type\x18\x08 \x01(\x0e\x32\x12.gitaly.ObjectType\"5\n\nLFSPointer\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\"8\n\rNewBlobObject\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\x0c\"W\n\x15GetLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08\x62lob_ids\x18\x02 \x03(\t\"B\n\x16GetLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer\"h\n\x16ListLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\trevisions\x18\x02 \x03(\t\x12\r\n\x05limit\x18\x03 \x01(\x05\"C\n\x17ListLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer\"X\n\x19ListAllLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05limit\x18\x03 \x01(\x05\"F\n\x1aListAllLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer2\xbc\x03\n\x0b\x42lobService\x12\x44\n\x07GetBlob\x12\x16.gitaly.GetBlobRequest\x1a\x17.gitaly.GetBlobResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12G\n\x08GetBlobs\x12\x17.gitaly.GetBlobsRequest\x1a\x18.gitaly.GetBlobsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Y\n\x0eGetLFSPointers\x12\x1d.gitaly.GetLFSPointersRequest\x1a\x1e.gitaly.GetLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\\\n\x0fListLFSPointers\x12\x1e.gitaly.ListLFSPointersRequest\x1a\x1f.gitaly.ListLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x65\n\x12ListAllLFSPointers\x12!.gitaly.ListAllLFSPointersRequest\x1a\".gitaly.ListAllLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypbb\x06proto3'
,
dependencies=[lint__pb2.DESCRIPTOR,shared__pb2.DESCRIPTOR,])
......@@ -448,49 +448,35 @@ _GETLFSPOINTERSRESPONSE = _descriptor.Descriptor(
)
_GETNEWLFSPOINTERSREQUEST = _descriptor.Descriptor(
name='GetNewLFSPointersRequest',
full_name='gitaly.GetNewLFSPointersRequest',
_LISTLFSPOINTERSREQUEST = _descriptor.Descriptor(
name='ListLFSPointersRequest',
full_name='gitaly.ListLFSPointersRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='repository', full_name='gitaly.GetNewLFSPointersRequest.repository', index=0,
name='repository', full_name='gitaly.ListLFSPointersRequest.repository', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\230\306,\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='revision', full_name='gitaly.GetNewLFSPointersRequest.revision', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
name='revisions', full_name='gitaly.ListLFSPointersRequest.revisions', index=1,
number=2, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='limit', full_name='gitaly.GetNewLFSPointersRequest.limit', index=2,
name='limit', full_name='gitaly.ListLFSPointersRequest.limit', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='not_in_all', full_name='gitaly.GetNewLFSPointersRequest.not_in_all', index=3,
number=4, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='not_in_refs', full_name='gitaly.GetNewLFSPointersRequest.not_in_refs', index=4,
number=5, type=12, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
......@@ -503,21 +489,21 @@ _GETNEWLFSPOINTERSREQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=826,
serialized_end=972,
serialized_start=825,
serialized_end=929,
)
_GETNEWLFSPOINTERSRESPONSE = _descriptor.Descriptor(
name='GetNewLFSPointersResponse',
full_name='gitaly.GetNewLFSPointersResponse',
_LISTLFSPOINTERSRESPONSE = _descriptor.Descriptor(
name='ListLFSPointersResponse',
full_name='gitaly.ListLFSPointersResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='lfs_pointers', full_name='gitaly.GetNewLFSPointersResponse.lfs_pointers', index=0,
name='lfs_pointers', full_name='gitaly.ListLFSPointersResponse.lfs_pointers', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
......@@ -535,26 +521,33 @@ _GETNEWLFSPOINTERSRESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=974,
serialized_end=1043,
serialized_start=931,
serialized_end=998,
)
_GETALLLFSPOINTERSREQUEST = _descriptor.Descriptor(
name='GetAllLFSPointersRequest',
full_name='gitaly.GetAllLFSPointersRequest',
_LISTALLLFSPOINTERSREQUEST = _descriptor.Descriptor(
name='ListAllLFSPointersRequest',
full_name='gitaly.ListAllLFSPointersRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='repository', full_name='gitaly.GetAllLFSPointersRequest.repository', index=0,
name='repository', full_name='gitaly.ListAllLFSPointersRequest.repository', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\230\306,\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='limit', full_name='gitaly.ListAllLFSPointersRequest.limit', index=1,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
......@@ -567,21 +560,21 @@ _GETALLLFSPOINTERSREQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1045,
serialized_end=1123,
serialized_start=1000,
serialized_end=1088,
)
_GETALLLFSPOINTERSRESPONSE = _descriptor.Descriptor(
name='GetAllLFSPointersResponse',
full_name='gitaly.GetAllLFSPointersResponse',
_LISTALLLFSPOINTERSRESPONSE = _descriptor.Descriptor(
name='ListAllLFSPointersResponse',
full_name='gitaly.ListAllLFSPointersResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='lfs_pointers', full_name='gitaly.GetAllLFSPointersResponse.lfs_pointers', index=0,
name='lfs_pointers', full_name='gitaly.ListAllLFSPointersResponse.lfs_pointers', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
......@@ -599,8 +592,8 @@ _GETALLLFSPOINTERSRESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1125,
serialized_end=1194,
serialized_start=1090,
serialized_end=1160,
)
_GETBLOBREQUEST.fields_by_name['repository'].message_type = shared__pb2._REPOSITORY
......@@ -610,10 +603,10 @@ _GETBLOBSREQUEST.fields_by_name['revision_paths'].message_type = _GETBLOBSREQUES
_GETBLOBSRESPONSE.fields_by_name['type'].enum_type = shared__pb2._OBJECTTYPE
_GETLFSPOINTERSREQUEST.fields_by_name['repository'].message_type = shared__pb2._REPOSITORY
_GETLFSPOINTERSRESPONSE.fields_by_name['lfs_pointers'].message_type = _LFSPOINTER
_GETNEWLFSPOINTERSREQUEST.fields_by_name['repository'].message_type = shared__pb2._REPOSITORY
_GETNEWLFSPOINTERSRESPONSE.fields_by_name['lfs_pointers'].message_type = _LFSPOINTER
_GETALLLFSPOINTERSREQUEST.fields_by_name['repository'].message_type = shared__pb2._REPOSITORY
_GETALLLFSPOINTERSRESPONSE.fields_by_name['lfs_pointers'].message_type = _LFSPOINTER
_LISTLFSPOINTERSREQUEST.fields_by_name['repository'].message_type = shared__pb2._REPOSITORY
_LISTLFSPOINTERSRESPONSE.fields_by_name['lfs_pointers'].message_type = _LFSPOINTER
_LISTALLLFSPOINTERSREQUEST.fields_by_name['repository'].message_type = shared__pb2._REPOSITORY
_LISTALLLFSPOINTERSRESPONSE.fields_by_name['lfs_pointers'].message_type = _LFSPOINTER
DESCRIPTOR.message_types_by_name['GetBlobRequest'] = _GETBLOBREQUEST
DESCRIPTOR.message_types_by_name['GetBlobResponse'] = _GETBLOBRESPONSE
DESCRIPTOR.message_types_by_name['GetBlobsRequest'] = _GETBLOBSREQUEST
......@@ -622,10 +615,10 @@ DESCRIPTOR.message_types_by_name['LFSPointer'] = _LFSPOINTER
DESCRIPTOR.message_types_by_name['NewBlobObject'] = _NEWBLOBOBJECT
DESCRIPTOR.message_types_by_name['GetLFSPointersRequest'] = _GETLFSPOINTERSREQUEST
DESCRIPTOR.message_types_by_name['GetLFSPointersResponse'] = _GETLFSPOINTERSRESPONSE
DESCRIPTOR.message_types_by_name['GetNewLFSPointersRequest'] = _GETNEWLFSPOINTERSREQUEST
DESCRIPTOR.message_types_by_name['GetNewLFSPointersResponse'] = _GETNEWLFSPOINTERSRESPONSE
DESCRIPTOR.message_types_by_name['GetAllLFSPointersRequest'] = _GETALLLFSPOINTERSREQUEST
DESCRIPTOR.message_types_by_name['GetAllLFSPointersResponse'] = _GETALLLFSPOINTERSRESPONSE
DESCRIPTOR.message_types_by_name['ListLFSPointersRequest'] = _LISTLFSPOINTERSREQUEST
DESCRIPTOR.message_types_by_name['ListLFSPointersResponse'] = _LISTLFSPOINTERSRESPONSE
DESCRIPTOR.message_types_by_name['ListAllLFSPointersRequest'] = _LISTALLLFSPOINTERSREQUEST
DESCRIPTOR.message_types_by_name['ListAllLFSPointersResponse'] = _LISTALLLFSPOINTERSRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
GetBlobRequest = _reflection.GeneratedProtocolMessageType('GetBlobRequest', (_message.Message,), {
......@@ -692,41 +685,41 @@ GetLFSPointersResponse = _reflection.GeneratedProtocolMessageType('GetLFSPointer
})
_sym_db.RegisterMessage(GetLFSPointersResponse)
GetNewLFSPointersRequest = _reflection.GeneratedProtocolMessageType('GetNewLFSPointersRequest', (_message.Message,), {
'DESCRIPTOR' : _GETNEWLFSPOINTERSREQUEST,
ListLFSPointersRequest = _reflection.GeneratedProtocolMessageType('ListLFSPointersRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTLFSPOINTERSREQUEST,
'__module__' : 'blob_pb2'
# @@protoc_insertion_point(class_scope:gitaly.GetNewLFSPointersRequest)
# @@protoc_insertion_point(class_scope:gitaly.ListLFSPointersRequest)
})
_sym_db.RegisterMessage(GetNewLFSPointersRequest)
_sym_db.RegisterMessage(ListLFSPointersRequest)
GetNewLFSPointersResponse = _reflection.GeneratedProtocolMessageType('GetNewLFSPointersResponse', (_message.Message,), {
'DESCRIPTOR' : _GETNEWLFSPOINTERSRESPONSE,
ListLFSPointersResponse = _reflection.GeneratedProtocolMessageType('ListLFSPointersResponse', (_message.Message,), {
'DESCRIPTOR' : _LISTLFSPOINTERSRESPONSE,
'__module__' : 'blob_pb2'
# @@protoc_insertion_point(class_scope:gitaly.GetNewLFSPointersResponse)
# @@protoc_insertion_point(class_scope:gitaly.ListLFSPointersResponse)
})
_sym_db.RegisterMessage(GetNewLFSPointersResponse)
_sym_db.RegisterMessage(ListLFSPointersResponse)
GetAllLFSPointersRequest = _reflection.GeneratedProtocolMessageType('GetAllLFSPointersRequest', (_message.Message,), {
'DESCRIPTOR' : _GETALLLFSPOINTERSREQUEST,
ListAllLFSPointersRequest = _reflection.GeneratedProtocolMessageType('ListAllLFSPointersRequest', (_message.Message,), {
'DESCRIPTOR' : _LISTALLLFSPOINTERSREQUEST,
'__module__' : 'blob_pb2'
# @@protoc_insertion_point(class_scope:gitaly.GetAllLFSPointersRequest)
# @@protoc_insertion_point(class_scope:gitaly.ListAllLFSPointersRequest)
})
_sym_db.RegisterMessage(GetAllLFSPointersRequest)
_sym_db.RegisterMessage(ListAllLFSPointersRequest)
GetAllLFSPointersResponse = _reflection.GeneratedProtocolMessageType('GetAllLFSPointersResponse', (_message.Message,), {
'DESCRIPTOR' : _GETALLLFSPOINTERSRESPONSE,
ListAllLFSPointersResponse = _reflection.GeneratedProtocolMessageType('ListAllLFSPointersResponse', (_message.Message,), {
'DESCRIPTOR' : _LISTALLLFSPOINTERSRESPONSE,
'__module__' : 'blob_pb2'
# @@protoc_insertion_point(class_scope:gitaly.GetAllLFSPointersResponse)
# @@protoc_insertion_point(class_scope:gitaly.ListAllLFSPointersResponse)
})
_sym_db.RegisterMessage(GetAllLFSPointersResponse)
_sym_db.RegisterMessage(ListAllLFSPointersResponse)
DESCRIPTOR._options = None
_GETBLOBREQUEST.fields_by_name['repository']._options = None
_GETBLOBSREQUEST.fields_by_name['repository']._options = None
_GETLFSPOINTERSREQUEST.fields_by_name['repository']._options = None
_GETNEWLFSPOINTERSREQUEST.fields_by_name['repository']._options = None
_GETALLLFSPOINTERSREQUEST.fields_by_name['repository']._options = None
_LISTLFSPOINTERSREQUEST.fields_by_name['repository']._options = None
_LISTALLLFSPOINTERSREQUEST.fields_by_name['repository']._options = None
_BLOBSERVICE = _descriptor.ServiceDescriptor(
name='BlobService',
......@@ -735,8 +728,8 @@ _BLOBSERVICE = _descriptor.ServiceDescriptor(
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=1197,
serialized_end=1644,
serialized_start=1163,
serialized_end=1607,
methods=[
_descriptor.MethodDescriptor(
name='GetBlob',
......@@ -769,22 +762,22 @@ _BLOBSERVICE = _descriptor.ServiceDescriptor(
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='GetNewLFSPointers',
full_name='gitaly.BlobService.GetNewLFSPointers',
name='ListLFSPointers',
full_name='gitaly.BlobService.ListLFSPointers',
index=3,
containing_service=None,
input_type=_GETNEWLFSPOINTERSREQUEST,
output_type=_GETNEWLFSPOINTERSRESPONSE,
input_type=_LISTLFSPOINTERSREQUEST,
output_type=_LISTLFSPOINTERSRESPONSE,
serialized_options=b'\372\227(\002\010\002',
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='GetAllLFSPointers',
full_name='gitaly.BlobService.GetAllLFSPointers',
name='ListAllLFSPointers',
full_name='gitaly.BlobService.ListAllLFSPointers',
index=4,
containing_service=None,
input_type=_GETALLLFSPOINTERSREQUEST,
output_type=_GETALLLFSPOINTERSRESPONSE,
input_type=_LISTALLLFSPOINTERSREQUEST,
output_type=_LISTALLLFSPOINTERSRESPONSE,
serialized_options=b'\372\227(\002\010\002',
create_key=_descriptor._internal_create_key,
),
......
......@@ -29,15 +29,15 @@ class BlobServiceStub(object):
request_serializer=blob__pb2.GetLFSPointersRequest.SerializeToString,
response_deserializer=blob__pb2.GetLFSPointersResponse.FromString,
)
self.GetNewLFSPointers = channel.unary_stream(
'/gitaly.BlobService/GetNewLFSPointers',
request_serializer=blob__pb2.GetNewLFSPointersRequest.SerializeToString,
response_deserializer=blob__pb2.GetNewLFSPointersResponse.FromString,
self.ListLFSPointers = channel.unary_stream(
'/gitaly.BlobService/ListLFSPointers',
request_serializer=blob__pb2.ListLFSPointersRequest.SerializeToString,
response_deserializer=blob__pb2.ListLFSPointersResponse.FromString,
)
self.GetAllLFSPointers = channel.unary_stream(
'/gitaly.BlobService/GetAllLFSPointers',
request_serializer=blob__pb2.GetAllLFSPointersRequest.SerializeToString,
response_deserializer=blob__pb2.GetAllLFSPointersResponse.FromString,
self.ListAllLFSPointers = channel.unary_stream(
'/gitaly.BlobService/ListAllLFSPointers',
request_serializer=blob__pb2.ListAllLFSPointersRequest.SerializeToString,
response_deserializer=blob__pb2.ListAllLFSPointersResponse.FromString,
)
......@@ -68,17 +68,21 @@ class BlobServiceServicer(object):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetNewLFSPointers(self, request, context):
"""GetNewLFSPointers retrieves LFS pointers for a limited subset of the
commit graph. It will return all LFS pointers which are reachable by the
provided revision, but not reachable by any of the limiting references.
def ListLFSPointers(self, request, context):
"""ListLFSPointers retrieves LFS pointers reachable from a given set of
revisions by doing a graph walk. This includes both normal revisions like
an object ID or branch, but also the pseudo-revisions "--all" and "--not"
as documented in git-rev-parse(1). Revisions which don't directly or
transitively reference any LFS pointers are ignored. It is not valid to
pass revisions which do not resolve to an existing object.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetAllLFSPointers(self, request, context):
"""GetAllLFSPointers retrieves all LFS pointers of the given repository.
def ListAllLFSPointers(self, request, context):
"""ListAllLFSPointers retrieves all LFS pointers in the repository, including
those not reachable by any reference.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
......@@ -102,15 +106,15 @@ def add_BlobServiceServicer_to_server(servicer, server):
request_deserializer=blob__pb2.GetLFSPointersRequest.FromString,
response_serializer=blob__pb2.GetLFSPointersResponse.SerializeToString,
),
'GetNewLFSPointers': grpc.unary_stream_rpc_method_handler(
servicer.GetNewLFSPointers,
request_deserializer=blob__pb2.GetNewLFSPointersRequest.FromString,
response_serializer=blob__pb2.GetNewLFSPointersResponse.SerializeToString,
'ListLFSPointers': grpc.unary_stream_rpc_method_handler(
servicer.ListLFSPointers,
request_deserializer=blob__pb2.ListLFSPointersRequest.FromString,
response_serializer=blob__pb2.ListLFSPointersResponse.SerializeToString,
),
'GetAllLFSPointers': grpc.unary_stream_rpc_method_handler(
servicer.GetAllLFSPointers,
request_deserializer=blob__pb2.GetAllLFSPointersRequest.FromString,
response_serializer=blob__pb2.GetAllLFSPointersResponse.SerializeToString,
'ListAllLFSPointers': grpc.unary_stream_rpc_method_handler(
servicer.ListAllLFSPointers,
request_deserializer=blob__pb2.ListAllLFSPointersRequest.FromString,
response_serializer=blob__pb2.ListAllLFSPointersResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
......@@ -174,7 +178,7 @@ class BlobService(object):
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetNewLFSPointers(request,
def ListLFSPointers(request,
target,
options=(),
channel_credentials=None,
......@@ -184,14 +188,14 @@ class BlobService(object):
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_stream(request, target, '/gitaly.BlobService/GetNewLFSPointers',
blob__pb2.GetNewLFSPointersRequest.SerializeToString,
blob__pb2.GetNewLFSPointersResponse.FromString,
return grpc.experimental.unary_stream(request, target, '/gitaly.BlobService/ListLFSPointers',
blob__pb2.ListLFSPointersRequest.SerializeToString,
blob__pb2.ListLFSPointersResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetAllLFSPointers(request,
def ListAllLFSPointers(request,
target,
options=(),
channel_credentials=None,
......@@ -201,8 +205,8 @@ class BlobService(object):
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_stream(request, target, '/gitaly.BlobService/GetAllLFSPointers',
blob__pb2.GetAllLFSPointersRequest.SerializeToString,
blob__pb2.GetAllLFSPointersResponse.FromString,
return grpc.experimental.unary_stream(request, target, '/gitaly.BlobService/ListAllLFSPointers',
blob__pb2.ListAllLFSPointersRequest.SerializeToString,
blob__pb2.ListAllLFSPointersResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
This diff is collapsed.
......@@ -19,14 +19,39 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='diff.proto',
package='gitaly',
syntax='proto3',
serialized_options=b'Z.gitlab.com/gitlab-org/gitaly/proto/go/gitalypb',
serialized_options=b'Z2gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\ndiff.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"\xed\x02\n\x11\x43ommitDiffRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\x12 \n\x18ignore_whitespace_change\x18\x04 \x01(\x08\x12\r\n\x05paths\x18\x05 \x03(\x0c\x12\x16\n\x0e\x63ollapse_diffs\x18\x06 \x01(\x08\x12\x16\n\x0e\x65nforce_limits\x18\x07 \x01(\x08\x12\x11\n\tmax_files\x18\x08 \x01(\x05\x12\x11\n\tmax_lines\x18\t \x01(\x05\x12\x11\n\tmax_bytes\x18\n \x01(\x05\x12\x17\n\x0fmax_patch_bytes\x18\x0e \x01(\x05\x12\x16\n\x0esafe_max_files\x18\x0b \x01(\x05\x12\x16\n\x0esafe_max_lines\x18\x0c \x01(\x05\x12\x16\n\x0esafe_max_bytes\x18\r \x01(\x05\"\xff\x01\n\x12\x43ommitDiffResponse\x12\x11\n\tfrom_path\x18\x01 \x01(\x0c\x12\x0f\n\x07to_path\x18\x02 \x01(\x0c\x12\x0f\n\x07\x66rom_id\x18\x03 \x01(\t\x12\r\n\x05to_id\x18\x04 \x01(\t\x12\x10\n\x08old_mode\x18\x05 \x01(\x05\x12\x10\n\x08new_mode\x18\x06 \x01(\x05\x12\x0e\n\x06\x62inary\x18\x07 \x01(\x08\x12\x16\n\x0eraw_patch_data\x18\t \x01(\x0c\x12\x14\n\x0c\x65nd_of_patch\x18\n \x01(\x08\x12\x17\n\x0foverflow_marker\x18\x0b \x01(\x08\x12\x11\n\tcollapsed\x18\x0c \x01(\x08\x12\x11\n\ttoo_large\x18\r \x01(\x08J\x04\x08\x08\x10\t\"\x82\x01\n\x12\x43ommitDeltaRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\x12\r\n\x05paths\x18\x04 \x03(\x0c\"u\n\x0b\x43ommitDelta\x12\x11\n\tfrom_path\x18\x01 \x01(\x0c\x12\x0f\n\x07to_path\x18\x02 \x01(\x0c\x12\x0f\n\x07\x66rom_id\x18\x03 \x01(\t\x12\r\n\x05to_id\x18\x04 \x01(\t\x12\x10\n\x08old_mode\x18\x05 \x01(\x05\x12\x10\n\x08new_mode\x18\x06 \x01(\x05\":\n\x13\x43ommitDeltaResponse\x12#\n\x06\x64\x65ltas\x18\x01 \x03(\x0b\x32\x13.gitaly.CommitDelta\"o\n\x0eRawDiffRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\"\x1f\n\x0fRawDiffResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"p\n\x0fRawPatchRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\" \n\x10RawPatchResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"q\n\x10\x44iffStatsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\"Q\n\tDiffStats\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x11\n\tadditions\x18\x02 \x01(\x05\x12\x11\n\tdeletions\x18\x03 \x01(\x05\x12\x10\n\x08old_path\x18\x04 \x01(\x0c\"5\n\x11\x44iffStatsResponse\x12 \n\x05stats\x18\x01 \x03(\x0b\x32\x11.gitaly.DiffStats\"X\n\x17\x46indChangedPathsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0f\n\x07\x63ommits\x18\x02 \x03(\t\"?\n\x18\x46indChangedPathsResponse\x12#\n\x05paths\x18\x01 \x03(\x0b\x32\x14.gitaly.ChangedPaths\"\x96\x01\n\x0c\x43hangedPaths\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12+\n\x06status\x18\x02 \x01(\x0e\x32\x1b.gitaly.ChangedPaths.Status\"K\n\x06Status\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x0b\n\x07\x44\x45LETED\x10\x02\x12\x0f\n\x0bTYPE_CHANGE\x10\x03\x12\n\n\x06\x43OPIED\x10\x04\x32\xea\x03\n\x0b\x44iffService\x12M\n\nCommitDiff\x12\x19.gitaly.CommitDiffRequest\x1a\x1a.gitaly.CommitDiffResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12P\n\x0b\x43ommitDelta\x12\x1a.gitaly.CommitDeltaRequest\x1a\x1b.gitaly.CommitDeltaResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x44\n\x07RawDiff\x12\x16.gitaly.RawDiffRequest\x1a\x17.gitaly.RawDiffResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12G\n\x08RawPatch\x12\x17.gitaly.RawPatchRequest\x1a\x18.gitaly.RawPatchResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12J\n\tDiffStats\x12\x18.gitaly.DiffStatsRequest\x1a\x19.gitaly.DiffStatsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12_\n\x10\x46indChangedPaths\x12\x1f.gitaly.FindChangedPathsRequest\x1a .gitaly.FindChangedPathsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x42\x30Z.gitlab.com/gitlab-org/gitaly/proto/go/gitalypbb\x06proto3'
serialized_pb=b'\n\ndiff.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"\xcb\x03\n\x11\x43ommitDiffRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\x12 \n\x18ignore_whitespace_change\x18\x04 \x01(\x08\x12\r\n\x05paths\x18\x05 \x03(\x0c\x12\x16\n\x0e\x63ollapse_diffs\x18\x06 \x01(\x08\x12\x16\n\x0e\x65nforce_limits\x18\x07 \x01(\x08\x12\x11\n\tmax_files\x18\x08 \x01(\x05\x12\x11\n\tmax_lines\x18\t \x01(\x05\x12\x11\n\tmax_bytes\x18\n \x01(\x05\x12\x17\n\x0fmax_patch_bytes\x18\x0e \x01(\x05\x12\x16\n\x0esafe_max_files\x18\x0b \x01(\x05\x12\x16\n\x0esafe_max_lines\x18\x0c \x01(\x05\x12\x16\n\x0esafe_max_bytes\x18\r \x01(\x05\x12\x35\n\tdiff_mode\x18\x0f \x01(\x0e\x32\".gitaly.CommitDiffRequest.DiffMode\"%\n\x08\x44iffMode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08WORDDIFF\x10\x01\"\xff\x01\n\x12\x43ommitDiffResponse\x12\x11\n\tfrom_path\x18\x01 \x01(\x0c\x12\x0f\n\x07to_path\x18\x02 \x01(\x0c\x12\x0f\n\x07\x66rom_id\x18\x03 \x01(\t\x12\r\n\x05to_id\x18\x04 \x01(\t\x12\x10\n\x08old_mode\x18\x05 \x01(\x05\x12\x10\n\x08new_mode\x18\x06 \x01(\x05\x12\x0e\n\x06\x62inary\x18\x07 \x01(\x08\x12\x16\n\x0eraw_patch_data\x18\t \x01(\x0c\x12\x14\n\x0c\x65nd_of_patch\x18\n \x01(\x08\x12\x17\n\x0foverflow_marker\x18\x0b \x01(\x08\x12\x11\n\tcollapsed\x18\x0c \x01(\x08\x12\x11\n\ttoo_large\x18\r \x01(\x08J\x04\x08\x08\x10\t\"\x82\x01\n\x12\x43ommitDeltaRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\x12\r\n\x05paths\x18\x04 \x03(\x0c\"u\n\x0b\x43ommitDelta\x12\x11\n\tfrom_path\x18\x01 \x01(\x0c\x12\x0f\n\x07to_path\x18\x02 \x01(\x0c\x12\x0f\n\x07\x66rom_id\x18\x03 \x01(\t\x12\r\n\x05to_id\x18\x04 \x01(\t\x12\x10\n\x08old_mode\x18\x05 \x01(\x05\x12\x10\n\x08new_mode\x18\x06 \x01(\x05\":\n\x13\x43ommitDeltaResponse\x12#\n\x06\x64\x65ltas\x18\x01 \x03(\x0b\x32\x13.gitaly.CommitDelta\"o\n\x0eRawDiffRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\"\x1f\n\x0fRawDiffResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"p\n\x0fRawPatchRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\" \n\x10RawPatchResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"q\n\x10\x44iffStatsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0eleft_commit_id\x18\x02 \x01(\t\x12\x17\n\x0fright_commit_id\x18\x03 \x01(\t\"Q\n\tDiffStats\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x11\n\tadditions\x18\x02 \x01(\x05\x12\x11\n\tdeletions\x18\x03 \x01(\x05\x12\x10\n\x08old_path\x18\x04 \x01(\x0c\"5\n\x11\x44iffStatsResponse\x12 \n\x05stats\x18\x01 \x03(\x0b\x32\x11.gitaly.DiffStats\"X\n\x17\x46indChangedPathsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0f\n\x07\x63ommits\x18\x02 \x03(\t\"?\n\x18\x46indChangedPathsResponse\x12#\n\x05paths\x18\x01 \x03(\x0b\x32\x14.gitaly.ChangedPaths\"\x96\x01\n\x0c\x43hangedPaths\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12+\n\x06status\x18\x02 \x01(\x0e\x32\x1b.gitaly.ChangedPaths.Status\"K\n\x06Status\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x0b\n\x07\x44\x45LETED\x10\x02\x12\x0f\n\x0bTYPE_CHANGE\x10\x03\x12\n\n\x06\x43OPIED\x10\x04\x32\xea\x03\n\x0b\x44iffService\x12M\n\nCommitDiff\x12\x19.gitaly.CommitDiffRequest\x1a\x1a.gitaly.CommitDiffResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12P\n\x0b\x43ommitDelta\x12\x1a.gitaly.CommitDeltaRequest\x1a\x1b.gitaly.CommitDeltaResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x44\n\x07RawDiff\x12\x16.gitaly.RawDiffRequest\x1a\x17.gitaly.RawDiffResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12G\n\x08RawPatch\x12\x17.gitaly.RawPatchRequest\x1a\x18.gitaly.RawPatchResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12J\n\tDiffStats\x12\x18.gitaly.DiffStatsRequest\x1a\x19.gitaly.DiffStatsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12_\n\x10\x46indChangedPaths\x12\x1f.gitaly.FindChangedPathsRequest\x1a .gitaly.FindChangedPathsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypbb\x06proto3'
,
dependencies=[lint__pb2.DESCRIPTOR,shared__pb2.DESCRIPTOR,])
_COMMITDIFFREQUEST_DIFFMODE = _descriptor.EnumDescriptor(
name='DiffMode',
full_name='gitaly.CommitDiffRequest.DiffMode',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='DEFAULT', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='WORDDIFF', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=471,
serialized_end=508,
)
_sym_db.RegisterEnumDescriptor(_COMMITDIFFREQUEST_DIFFMODE)
_CHANGEDPATHS_STATUS = _descriptor.EnumDescriptor(
name='Status',
full_name='gitaly.ChangedPaths.Status',
......@@ -62,8 +87,8 @@ _CHANGEDPATHS_STATUS = _descriptor.EnumDescriptor(
],
containing_type=None,
serialized_options=None,
serialized_start=1764,
serialized_end=1839,
serialized_start=1858,
serialized_end=1933,
)
_sym_db.RegisterEnumDescriptor(_CHANGEDPATHS_STATUS)
......@@ -174,11 +199,19 @@ _COMMITDIFFREQUEST = _descriptor.Descriptor(
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='diff_mode', full_name='gitaly.CommitDiffRequest.diff_mode', index=14,
number=15, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_COMMITDIFFREQUEST_DIFFMODE,
],
serialized_options=None,
is_extendable=False,
......@@ -187,7 +220,7 @@ _COMMITDIFFREQUEST = _descriptor.Descriptor(
oneofs=[
],
serialized_start=49,
serialized_end=414,
serialized_end=508,
)
......@@ -295,8 +328,8 @@ _COMMITDIFFRESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=417,
serialized_end=672,
serialized_start=511,
serialized_end=766,
)
......@@ -348,8 +381,8 @@ _COMMITDELTAREQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=675,
serialized_end=805,
serialized_start=769,
serialized_end=899,
)
......@@ -415,8 +448,8 @@ _COMMITDELTA = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=807,
serialized_end=924,
serialized_start=901,
serialized_end=1018,
)
......@@ -447,8 +480,8 @@ _COMMITDELTARESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=926,
serialized_end=984,
serialized_start=1020,
serialized_end=1078,
)
......@@ -493,8 +526,8 @@ _RAWDIFFREQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=986,
serialized_end=1097,
serialized_start=1080,
serialized_end=1191,
)
......@@ -525,8 +558,8 @@ _RAWDIFFRESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1099,
serialized_end=1130,
serialized_start=1193,
serialized_end=1224,
)
......@@ -571,8 +604,8 @@ _RAWPATCHREQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],