From ab1c4c6b67de7800d04c73beac02f916423b3e4d Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Tue, 15 Jun 2021 12:51:07 +0200 Subject: blob: Implement new RPC to list blobs via revisions We already have multiple RPCs which request one or more blobs via a revision: - `GetBlob()` allows to find a single blob via an object ID. - `GetBlobs()` allows to find blobs via a set of revisions with paths. The path is mandatory here, so it's not possible to e.g. list all blobs of a given non-treeish object. - `ListNewBlobs()` is a specialized RPC which lists all blobs introduced with a specific revision which were not yet part of the repository. None of these RPCs allow the caller to specify blobs via a set of revisions. This lack of functionality is hurting us in the Rails access checks though: we cannot create a batched check determining all new blobs of all changes at once, but instead need to call `ListNewBlobs()` for each change separately. Given that it uses `--not --all`, this is excessively expensive for some repository shapes with lots of references. In order to not have this access check scale with `O(refs * changes)`, this commit introduces a fourth RPC `ListBlobs()`. This RPC takes a set of revisions and returns all blobs which are reachable via a graph walk starting from those revisions. In addition to normal revisions, this RPC also allows the pseudo-revisions "--all" and "--not". This new RPC deprecates `ListNewBlobs()` given that it's a clear superset of its provided functionality. Changelog: added --- proto/go/gitalypb/blob.pb.go | 566 ++++++++++++++++++++++++++++++++----------- 1 file changed, 419 insertions(+), 147 deletions(-) (limited to 'proto/go/gitalypb/blob.pb.go') diff --git a/proto/go/gitalypb/blob.pb.go b/proto/go/gitalypb/blob.pb.go index ac28b1888..692b166b6 100644 --- a/proto/go/gitalypb/blob.pb.go +++ b/proto/go/gitalypb/blob.pb.go @@ -322,6 +322,141 @@ func (x *GetBlobsResponse) GetType() ObjectType { return ObjectType_UNKNOWN } +// ListBlobsRequest is a request for the ListBlobs RPC. +type ListBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which blobs should be enumerated. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Revisions is the list of revisions to retrieve blobs from. These revisions + // will be walked. Supports pseudo-revisions `--all` and `--not` as well as + // negated revisions via `^revision`. Revisions cannot start with a leading + // dash. Please consult gitrevisions(7) for more info. Must not be empty. + Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` + // Limit is the maximum number of blobs to return. If set to its default + // (`0`), then all found blobs wll be returned. + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + // BytesLimit is the maximum number of bytes to receive for each blob. If set + // to `0`, then no blob data will be sent. If `-1`, then all blob data will + // be sent without any limits. + BytesLimit int64 `protobuf:"varint,4,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` +} + +func (x *ListBlobsRequest) Reset() { + *x = ListBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBlobsRequest) ProtoMessage() {} + +func (x *ListBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBlobsRequest.ProtoReflect.Descriptor instead. +func (*ListBlobsRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{4} +} + +func (x *ListBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListBlobsRequest) GetRevisions() []string { + if x != nil { + return x.Revisions + } + return nil +} + +func (x *ListBlobsRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *ListBlobsRequest) GetBytesLimit() int64 { + if x != nil { + return x.BytesLimit + } + return 0 +} + +// ListBlobsResponse is a response for the ListBlobs RPC. +type ListBlobsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Blobs is the blobs which have been found. In case blob contents were + // requested and contents of a blob exceed the maximum gRPC message size, + // then this blob will be split up into multiple blob messages which span + // across multiple responses. In that case, metadata of the blob will only be + // sent on the first such message for this specific blob. + Blobs []*ListBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` +} + +func (x *ListBlobsResponse) Reset() { + *x = ListBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBlobsResponse) ProtoMessage() {} + +func (x *ListBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBlobsResponse.ProtoReflect.Descriptor instead. +func (*ListBlobsResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{5} +} + +func (x *ListBlobsResponse) GetBlobs() []*ListBlobsResponse_Blob { + if x != nil { + return x.Blobs + } + return nil +} + // LFSPointer is a git blob which points to an LFS object. type LFSPointer struct { state protoimpl.MessageState @@ -341,7 +476,7 @@ type LFSPointer struct { func (x *LFSPointer) Reset() { *x = LFSPointer{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[4] + mi := &file_blob_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -354,7 +489,7 @@ func (x *LFSPointer) String() string { func (*LFSPointer) ProtoMessage() {} func (x *LFSPointer) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[4] + mi := &file_blob_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -367,7 +502,7 @@ func (x *LFSPointer) ProtoReflect() protoreflect.Message { // Deprecated: Use LFSPointer.ProtoReflect.Descriptor instead. func (*LFSPointer) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{4} + return file_blob_proto_rawDescGZIP(), []int{6} } func (x *LFSPointer) GetSize() int64 { @@ -404,7 +539,7 @@ type NewBlobObject struct { func (x *NewBlobObject) Reset() { *x = NewBlobObject{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[5] + mi := &file_blob_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -417,7 +552,7 @@ func (x *NewBlobObject) String() string { func (*NewBlobObject) ProtoMessage() {} func (x *NewBlobObject) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[5] + mi := &file_blob_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -430,7 +565,7 @@ func (x *NewBlobObject) ProtoReflect() protoreflect.Message { // Deprecated: Use NewBlobObject.ProtoReflect.Descriptor instead. func (*NewBlobObject) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{5} + return file_blob_proto_rawDescGZIP(), []int{7} } func (x *NewBlobObject) GetSize() int64 { @@ -471,7 +606,7 @@ type GetLFSPointersRequest struct { func (x *GetLFSPointersRequest) Reset() { *x = GetLFSPointersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[6] + mi := &file_blob_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -484,7 +619,7 @@ func (x *GetLFSPointersRequest) String() string { func (*GetLFSPointersRequest) ProtoMessage() {} func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[6] + mi := &file_blob_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -497,7 +632,7 @@ func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLFSPointersRequest.ProtoReflect.Descriptor instead. func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{6} + return file_blob_proto_rawDescGZIP(), []int{8} } func (x *GetLFSPointersRequest) GetRepository() *Repository { @@ -527,7 +662,7 @@ type GetLFSPointersResponse struct { func (x *GetLFSPointersResponse) Reset() { *x = GetLFSPointersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[7] + mi := &file_blob_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -540,7 +675,7 @@ func (x *GetLFSPointersResponse) String() string { func (*GetLFSPointersResponse) ProtoMessage() {} func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[7] + mi := &file_blob_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -553,7 +688,7 @@ func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLFSPointersResponse.ProtoReflect.Descriptor instead. func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{7} + return file_blob_proto_rawDescGZIP(), []int{9} } func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { @@ -582,7 +717,7 @@ type ListLFSPointersRequest struct { func (x *ListLFSPointersRequest) Reset() { *x = ListLFSPointersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[8] + mi := &file_blob_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -595,7 +730,7 @@ func (x *ListLFSPointersRequest) String() string { func (*ListLFSPointersRequest) ProtoMessage() {} func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[8] + mi := &file_blob_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -608,7 +743,7 @@ func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLFSPointersRequest.ProtoReflect.Descriptor instead. func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{8} + return file_blob_proto_rawDescGZIP(), []int{10} } func (x *ListLFSPointersRequest) GetRepository() *Repository { @@ -645,7 +780,7 @@ type ListLFSPointersResponse struct { func (x *ListLFSPointersResponse) Reset() { *x = ListLFSPointersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[9] + mi := &file_blob_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -658,7 +793,7 @@ func (x *ListLFSPointersResponse) String() string { func (*ListLFSPointersResponse) ProtoMessage() {} func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[9] + mi := &file_blob_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -671,7 +806,7 @@ func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLFSPointersResponse.ProtoReflect.Descriptor instead. func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{9} + return file_blob_proto_rawDescGZIP(), []int{11} } func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { @@ -697,7 +832,7 @@ type ListAllLFSPointersRequest struct { func (x *ListAllLFSPointersRequest) Reset() { *x = ListAllLFSPointersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[10] + mi := &file_blob_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -710,7 +845,7 @@ func (x *ListAllLFSPointersRequest) String() string { func (*ListAllLFSPointersRequest) ProtoMessage() {} func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[10] + mi := &file_blob_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -723,7 +858,7 @@ func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAllLFSPointersRequest.ProtoReflect.Descriptor instead. func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{10} + return file_blob_proto_rawDescGZIP(), []int{12} } func (x *ListAllLFSPointersRequest) GetRepository() *Repository { @@ -753,7 +888,7 @@ type ListAllLFSPointersResponse struct { func (x *ListAllLFSPointersResponse) Reset() { *x = ListAllLFSPointersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[11] + mi := &file_blob_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -766,7 +901,7 @@ func (x *ListAllLFSPointersResponse) String() string { func (*ListAllLFSPointersResponse) ProtoMessage() {} func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[11] + mi := &file_blob_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -779,7 +914,7 @@ func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAllLFSPointersResponse.ProtoReflect.Descriptor instead. func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{11} + return file_blob_proto_rawDescGZIP(), []int{13} } func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { @@ -801,7 +936,7 @@ type GetBlobsRequest_RevisionPath struct { func (x *GetBlobsRequest_RevisionPath) Reset() { *x = GetBlobsRequest_RevisionPath{} if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[12] + mi := &file_blob_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -814,7 +949,7 @@ func (x *GetBlobsRequest_RevisionPath) String() string { func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[12] + mi := &file_blob_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -844,6 +979,76 @@ func (x *GetBlobsRequest_RevisionPath) GetPath() []byte { return nil } +// Blob represents a Git blob object. +type ListBlobsResponse_Blob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Oid is the object ID of the blob. Will only be set for the first + // message of each specific blob. + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + // Size is the size of the blob. Will only be set for the first message + // of each specific blob. + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + // Data is the contents of the blob. This field is optional and depends on + // the BytesLimit in the original request. + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *ListBlobsResponse_Blob) Reset() { + *x = ListBlobsResponse_Blob{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBlobsResponse_Blob) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBlobsResponse_Blob) ProtoMessage() {} + +func (x *ListBlobsResponse_Blob) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBlobsResponse_Blob.ProtoReflect.Descriptor instead. +func (*ListBlobsResponse_Blob) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *ListBlobsResponse_Blob) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *ListBlobsResponse_Blob) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *ListBlobsResponse_Blob) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + var File_blob_proto protoreflect.FileDescriptor var file_blob_proto_rawDesc = []byte{ @@ -890,86 +1095,110 @@ var file_blob_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x46, - 0x0a, 0x0a, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x0d, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, - 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x22, 0x6c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa1, + 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, + 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x62, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x1a, 0x40, + 0x0a, 0x04, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x46, 0x0a, 0x0a, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, + 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, + 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x0d, 0x4e, 0x65, 0x77, 0x42, + 0x6c, 0x6f, 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x6c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x64, + 0x73, 0x22, 0x4f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, + 0x66, 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x4c, + 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6b, 0x0a, + 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x64, 0x73, 0x22, - 0x4f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, - 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, - 0x22, 0x86, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x4c, 0x69, 0x73, - 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, - 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6b, 0x0a, 0x19, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x53, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x32, 0xbc, 0x03, - 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, - 0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, - 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, - 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1d, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, - 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x53, 0x0a, 0x1a, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x32, + 0x88, 0x04, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x44, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, + 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, + 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, + 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, - 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, - 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, - 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, - 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, - 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, + 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, + 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -984,50 +1213,57 @@ func file_blob_proto_rawDescGZIP() []byte { return file_blob_proto_rawDescData } -var file_blob_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_blob_proto_msgTypes = make([]protoimpl.MessageInfo, 16) var file_blob_proto_goTypes = []interface{}{ (*GetBlobRequest)(nil), // 0: gitaly.GetBlobRequest (*GetBlobResponse)(nil), // 1: gitaly.GetBlobResponse (*GetBlobsRequest)(nil), // 2: gitaly.GetBlobsRequest (*GetBlobsResponse)(nil), // 3: gitaly.GetBlobsResponse - (*LFSPointer)(nil), // 4: gitaly.LFSPointer - (*NewBlobObject)(nil), // 5: gitaly.NewBlobObject - (*GetLFSPointersRequest)(nil), // 6: gitaly.GetLFSPointersRequest - (*GetLFSPointersResponse)(nil), // 7: gitaly.GetLFSPointersResponse - (*ListLFSPointersRequest)(nil), // 8: gitaly.ListLFSPointersRequest - (*ListLFSPointersResponse)(nil), // 9: gitaly.ListLFSPointersResponse - (*ListAllLFSPointersRequest)(nil), // 10: gitaly.ListAllLFSPointersRequest - (*ListAllLFSPointersResponse)(nil), // 11: gitaly.ListAllLFSPointersResponse - (*GetBlobsRequest_RevisionPath)(nil), // 12: gitaly.GetBlobsRequest.RevisionPath - (*Repository)(nil), // 13: gitaly.Repository - (ObjectType)(0), // 14: gitaly.ObjectType + (*ListBlobsRequest)(nil), // 4: gitaly.ListBlobsRequest + (*ListBlobsResponse)(nil), // 5: gitaly.ListBlobsResponse + (*LFSPointer)(nil), // 6: gitaly.LFSPointer + (*NewBlobObject)(nil), // 7: gitaly.NewBlobObject + (*GetLFSPointersRequest)(nil), // 8: gitaly.GetLFSPointersRequest + (*GetLFSPointersResponse)(nil), // 9: gitaly.GetLFSPointersResponse + (*ListLFSPointersRequest)(nil), // 10: gitaly.ListLFSPointersRequest + (*ListLFSPointersResponse)(nil), // 11: gitaly.ListLFSPointersResponse + (*ListAllLFSPointersRequest)(nil), // 12: gitaly.ListAllLFSPointersRequest + (*ListAllLFSPointersResponse)(nil), // 13: gitaly.ListAllLFSPointersResponse + (*GetBlobsRequest_RevisionPath)(nil), // 14: gitaly.GetBlobsRequest.RevisionPath + (*ListBlobsResponse_Blob)(nil), // 15: gitaly.ListBlobsResponse.Blob + (*Repository)(nil), // 16: gitaly.Repository + (ObjectType)(0), // 17: gitaly.ObjectType } var file_blob_proto_depIdxs = []int32{ - 13, // 0: gitaly.GetBlobRequest.repository:type_name -> gitaly.Repository - 13, // 1: gitaly.GetBlobsRequest.repository:type_name -> gitaly.Repository - 12, // 2: gitaly.GetBlobsRequest.revision_paths:type_name -> gitaly.GetBlobsRequest.RevisionPath - 14, // 3: gitaly.GetBlobsResponse.type:type_name -> gitaly.ObjectType - 13, // 4: gitaly.GetLFSPointersRequest.repository:type_name -> gitaly.Repository - 4, // 5: gitaly.GetLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer - 13, // 6: gitaly.ListLFSPointersRequest.repository:type_name -> gitaly.Repository - 4, // 7: gitaly.ListLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer - 13, // 8: gitaly.ListAllLFSPointersRequest.repository:type_name -> gitaly.Repository - 4, // 9: gitaly.ListAllLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer - 0, // 10: gitaly.BlobService.GetBlob:input_type -> gitaly.GetBlobRequest - 2, // 11: gitaly.BlobService.GetBlobs:input_type -> gitaly.GetBlobsRequest - 6, // 12: gitaly.BlobService.GetLFSPointers:input_type -> gitaly.GetLFSPointersRequest - 8, // 13: gitaly.BlobService.ListLFSPointers:input_type -> gitaly.ListLFSPointersRequest - 10, // 14: gitaly.BlobService.ListAllLFSPointers:input_type -> gitaly.ListAllLFSPointersRequest - 1, // 15: gitaly.BlobService.GetBlob:output_type -> gitaly.GetBlobResponse - 3, // 16: gitaly.BlobService.GetBlobs:output_type -> gitaly.GetBlobsResponse - 7, // 17: gitaly.BlobService.GetLFSPointers:output_type -> gitaly.GetLFSPointersResponse - 9, // 18: gitaly.BlobService.ListLFSPointers:output_type -> gitaly.ListLFSPointersResponse - 11, // 19: gitaly.BlobService.ListAllLFSPointers:output_type -> gitaly.ListAllLFSPointersResponse - 15, // [15:20] is the sub-list for method output_type - 10, // [10:15] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 16, // 0: gitaly.GetBlobRequest.repository:type_name -> gitaly.Repository + 16, // 1: gitaly.GetBlobsRequest.repository:type_name -> gitaly.Repository + 14, // 2: gitaly.GetBlobsRequest.revision_paths:type_name -> gitaly.GetBlobsRequest.RevisionPath + 17, // 3: gitaly.GetBlobsResponse.type:type_name -> gitaly.ObjectType + 16, // 4: gitaly.ListBlobsRequest.repository:type_name -> gitaly.Repository + 15, // 5: gitaly.ListBlobsResponse.blobs:type_name -> gitaly.ListBlobsResponse.Blob + 16, // 6: gitaly.GetLFSPointersRequest.repository:type_name -> gitaly.Repository + 6, // 7: gitaly.GetLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 16, // 8: gitaly.ListLFSPointersRequest.repository:type_name -> gitaly.Repository + 6, // 9: gitaly.ListLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 16, // 10: gitaly.ListAllLFSPointersRequest.repository:type_name -> gitaly.Repository + 6, // 11: gitaly.ListAllLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 0, // 12: gitaly.BlobService.GetBlob:input_type -> gitaly.GetBlobRequest + 2, // 13: gitaly.BlobService.GetBlobs:input_type -> gitaly.GetBlobsRequest + 4, // 14: gitaly.BlobService.ListBlobs:input_type -> gitaly.ListBlobsRequest + 8, // 15: gitaly.BlobService.GetLFSPointers:input_type -> gitaly.GetLFSPointersRequest + 10, // 16: gitaly.BlobService.ListLFSPointers:input_type -> gitaly.ListLFSPointersRequest + 12, // 17: gitaly.BlobService.ListAllLFSPointers:input_type -> gitaly.ListAllLFSPointersRequest + 1, // 18: gitaly.BlobService.GetBlob:output_type -> gitaly.GetBlobResponse + 3, // 19: gitaly.BlobService.GetBlobs:output_type -> gitaly.GetBlobsResponse + 5, // 20: gitaly.BlobService.ListBlobs:output_type -> gitaly.ListBlobsResponse + 9, // 21: gitaly.BlobService.GetLFSPointers:output_type -> gitaly.GetLFSPointersResponse + 11, // 22: gitaly.BlobService.ListLFSPointers:output_type -> gitaly.ListLFSPointersResponse + 13, // 23: gitaly.BlobService.ListAllLFSPointers:output_type -> gitaly.ListAllLFSPointersResponse + 18, // [18:24] is the sub-list for method output_type + 12, // [12:18] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_blob_proto_init() } @@ -1087,7 +1323,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LFSPointer); i { + switch v := v.(*ListBlobsRequest); i { case 0: return &v.state case 1: @@ -1099,7 +1335,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewBlobObject); i { + switch v := v.(*ListBlobsResponse); i { case 0: return &v.state case 1: @@ -1111,7 +1347,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLFSPointersRequest); i { + switch v := v.(*LFSPointer); i { case 0: return &v.state case 1: @@ -1123,7 +1359,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLFSPointersResponse); i { + switch v := v.(*NewBlobObject); i { case 0: return &v.state case 1: @@ -1135,7 +1371,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLFSPointersRequest); i { + switch v := v.(*GetLFSPointersRequest); i { case 0: return &v.state case 1: @@ -1147,7 +1383,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLFSPointersResponse); i { + switch v := v.(*GetLFSPointersResponse); i { case 0: return &v.state case 1: @@ -1159,7 +1395,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllLFSPointersRequest); i { + switch v := v.(*ListLFSPointersRequest); i { case 0: return &v.state case 1: @@ -1171,7 +1407,7 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllLFSPointersResponse); i { + switch v := v.(*ListLFSPointersResponse); i { case 0: return &v.state case 1: @@ -1183,6 +1419,30 @@ func file_blob_proto_init() { } } file_blob_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBlobsRequest_RevisionPath); i { case 0: return &v.state @@ -1194,6 +1454,18 @@ func file_blob_proto_init() { return nil } } + file_blob_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBlobsResponse_Blob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1201,7 +1473,7 @@ func file_blob_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_blob_proto_rawDesc, NumEnums: 0, - NumMessages: 13, + NumMessages: 16, NumExtensions: 0, NumServices: 1, }, -- cgit v1.2.3