diff options
author | Mikhail Mazurskiy <mmazurskiy@gitlab.com> | 2021-04-23 11:16:29 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-06-11 09:11:14 +0300 |
commit | 69f3f118b1f277013864089f71a7331f8e4ae661 (patch) | |
tree | 4ed869e8d0e19a4cd64d71dc6a638670f7ece175 /proto/go/gitalypb/blob.pb.go | |
parent | e5dce90ecf1edae4fdb5e943b9d52d565f68eae3 (diff) |
Generated
Diffstat (limited to 'proto/go/gitalypb/blob.pb.go')
-rw-r--r-- | proto/go/gitalypb/blob.pb.go | 1753 |
1 files changed, 887 insertions, 866 deletions
diff --git a/proto/go/gitalypb/blob.pb.go b/proto/go/gitalypb/blob.pb.go index efbd3aac1..ac28b1888 100644 --- a/proto/go/gitalypb/blob.pb.go +++ b/proto/go/gitalypb/blob.pb.go @@ -1,348 +1,333 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 // source: blob.proto package gitalypb import ( - context "context" - fmt "fmt" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type GetBlobRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Object ID (SHA1) of the blob we want to get Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` // Maximum number of bytes we want to receive. Use '-1' to get the full blob no matter how big. - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *GetBlobRequest) Reset() { *m = GetBlobRequest{} } -func (m *GetBlobRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlobRequest) ProtoMessage() {} -func (*GetBlobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{0} +func (x *GetBlobRequest) Reset() { + *x = GetBlobRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobRequest.Unmarshal(m, b) -} -func (m *GetBlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobRequest.Marshal(b, m, deterministic) -} -func (m *GetBlobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobRequest.Merge(m, src) -} -func (m *GetBlobRequest) XXX_Size() int { - return xxx_messageInfo_GetBlobRequest.Size(m) +func (x *GetBlobRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobRequest.DiscardUnknown(m) + +func (*GetBlobRequest) ProtoMessage() {} + +func (x *GetBlobRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[0] + 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) } -var xxx_messageInfo_GetBlobRequest proto.InternalMessageInfo +// Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead. +func (*GetBlobRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{0} +} -func (m *GetBlobRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetBlobRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetBlobRequest) GetOid() string { - if m != nil { - return m.Oid +func (x *GetBlobRequest) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *GetBlobRequest) GetLimit() int64 { - if m != nil { - return m.Limit +func (x *GetBlobRequest) GetLimit() int64 { + if x != nil { + return x.Limit } return 0 } type GetBlobResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Blob size; present only in first response message Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Chunk of blob data Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Object ID of the actual blob returned. Empty if no blob was found. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` } -func (m *GetBlobResponse) Reset() { *m = GetBlobResponse{} } -func (m *GetBlobResponse) String() string { return proto.CompactTextString(m) } -func (*GetBlobResponse) ProtoMessage() {} -func (*GetBlobResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{1} +func (x *GetBlobResponse) Reset() { + *x = GetBlobResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobResponse.Unmarshal(m, b) +func (x *GetBlobResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobResponse.Marshal(b, m, deterministic) -} -func (m *GetBlobResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobResponse.Merge(m, src) -} -func (m *GetBlobResponse) XXX_Size() int { - return xxx_messageInfo_GetBlobResponse.Size(m) -} -func (m *GetBlobResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobResponse.DiscardUnknown(m) + +func (*GetBlobResponse) ProtoMessage() {} + +func (x *GetBlobResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[1] + 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) } -var xxx_messageInfo_GetBlobResponse proto.InternalMessageInfo +// Deprecated: Use GetBlobResponse.ProtoReflect.Descriptor instead. +func (*GetBlobResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{1} +} -func (m *GetBlobResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *GetBlobResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *GetBlobResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetBlobResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *GetBlobResponse) GetOid() string { - if m != nil { - return m.Oid +func (x *GetBlobResponse) GetOid() string { + if x != nil { + return x.Oid } return "" } type GetBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Revision/Path pairs of the blobs we want to get. RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths,proto3" json:"revision_paths,omitempty"` // Maximum number of bytes we want to receive. Use '-1' to get the full blobs no matter how big. - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *GetBlobsRequest) Reset() { *m = GetBlobsRequest{} } -func (m *GetBlobsRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlobsRequest) ProtoMessage() {} -func (*GetBlobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{2} +func (x *GetBlobsRequest) Reset() { + *x = GetBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobsRequest.Unmarshal(m, b) -} -func (m *GetBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobsRequest.Marshal(b, m, deterministic) -} -func (m *GetBlobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobsRequest.Merge(m, src) -} -func (m *GetBlobsRequest) XXX_Size() int { - return xxx_messageInfo_GetBlobsRequest.Size(m) -} -func (m *GetBlobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobsRequest.DiscardUnknown(m) +func (x *GetBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetBlobsRequest proto.InternalMessageInfo +func (*GetBlobsRequest) ProtoMessage() {} -func (m *GetBlobsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { - if m != nil { - return m.RevisionPaths - } - return nil +// Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead. +func (*GetBlobsRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{2} } -func (m *GetBlobsRequest) GetLimit() int64 { - if m != nil { - return m.Limit +func (x *GetBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } - return 0 -} - -type GetBlobsRequest_RevisionPath struct { - Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetBlobsRequest_RevisionPath) Reset() { *m = GetBlobsRequest_RevisionPath{} } -func (m *GetBlobsRequest_RevisionPath) String() string { return proto.CompactTextString(m) } -func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} -func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{2, 0} -} - -func (m *GetBlobsRequest_RevisionPath) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobsRequest_RevisionPath.Unmarshal(m, b) -} -func (m *GetBlobsRequest_RevisionPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobsRequest_RevisionPath.Marshal(b, m, deterministic) -} -func (m *GetBlobsRequest_RevisionPath) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobsRequest_RevisionPath.Merge(m, src) -} -func (m *GetBlobsRequest_RevisionPath) XXX_Size() int { - return xxx_messageInfo_GetBlobsRequest_RevisionPath.Size(m) -} -func (m *GetBlobsRequest_RevisionPath) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobsRequest_RevisionPath.DiscardUnknown(m) + return nil } -var xxx_messageInfo_GetBlobsRequest_RevisionPath proto.InternalMessageInfo - -func (m *GetBlobsRequest_RevisionPath) GetRevision() string { - if m != nil { - return m.Revision +func (x *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { + if x != nil { + return x.RevisionPaths } - return "" + return nil } -func (m *GetBlobsRequest_RevisionPath) GetPath() []byte { - if m != nil { - return m.Path +func (x *GetBlobsRequest) GetLimit() int64 { + if x != nil { + return x.Limit } - return nil + return 0 } type GetBlobsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Blob size; present only on the first message per blob Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Chunk of blob data, could span over multiple messages. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` - Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` - Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` - Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetBlobsResponse) Reset() { *m = GetBlobsResponse{} } -func (m *GetBlobsResponse) String() string { return proto.CompactTextString(m) } -func (*GetBlobsResponse) ProtoMessage() {} -func (*GetBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{3} + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` + IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` + Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` + Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` + Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` +} + +func (x *GetBlobsResponse) Reset() { + *x = GetBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobsResponse.Unmarshal(m, b) -} -func (m *GetBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobsResponse.Marshal(b, m, deterministic) -} -func (m *GetBlobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobsResponse.Merge(m, src) +func (x *GetBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlobsResponse) XXX_Size() int { - return xxx_messageInfo_GetBlobsResponse.Size(m) -} -func (m *GetBlobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobsResponse.DiscardUnknown(m) + +func (*GetBlobsResponse) ProtoMessage() {} + +func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[3] + 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) } -var xxx_messageInfo_GetBlobsResponse proto.InternalMessageInfo +// Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead. +func (*GetBlobsResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{3} +} -func (m *GetBlobsResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *GetBlobsResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *GetBlobsResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetBlobsResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *GetBlobsResponse) GetOid() string { - if m != nil { - return m.Oid +func (x *GetBlobsResponse) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *GetBlobsResponse) GetIsSubmodule() bool { - if m != nil { - return m.IsSubmodule +func (x *GetBlobsResponse) GetIsSubmodule() bool { + if x != nil { + return x.IsSubmodule } return false } -func (m *GetBlobsResponse) GetMode() int32 { - if m != nil { - return m.Mode +func (x *GetBlobsResponse) GetMode() int32 { + if x != nil { + return x.Mode } return 0 } -func (m *GetBlobsResponse) GetRevision() string { - if m != nil { - return m.Revision +func (x *GetBlobsResponse) GetRevision() string { + if x != nil { + return x.Revision } return "" } -func (m *GetBlobsResponse) GetPath() []byte { - if m != nil { - return m.Path +func (x *GetBlobsResponse) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *GetBlobsResponse) GetType() ObjectType { - if m != nil { - return m.Type +func (x *GetBlobsResponse) GetType() ObjectType { + if x != nil { + return x.Type } return ObjectType_UNKNOWN } // LFSPointer is a git blob which points to an LFS object. type LFSPointer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Size is the size of the blob. This is not the size of the LFS object // pointed to. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` @@ -350,208 +335,240 @@ type LFSPointer struct { // the LFS data in the format specified by the LFS project. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Oid is the object ID of the blob. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` } -func (m *LFSPointer) Reset() { *m = LFSPointer{} } -func (m *LFSPointer) String() string { return proto.CompactTextString(m) } -func (*LFSPointer) ProtoMessage() {} -func (*LFSPointer) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{4} +func (x *LFSPointer) Reset() { + *x = LFSPointer{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LFSPointer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LFSPointer.Unmarshal(m, b) -} -func (m *LFSPointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LFSPointer.Marshal(b, m, deterministic) -} -func (m *LFSPointer) XXX_Merge(src proto.Message) { - xxx_messageInfo_LFSPointer.Merge(m, src) +func (x *LFSPointer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LFSPointer) XXX_Size() int { - return xxx_messageInfo_LFSPointer.Size(m) -} -func (m *LFSPointer) XXX_DiscardUnknown() { - xxx_messageInfo_LFSPointer.DiscardUnknown(m) + +func (*LFSPointer) ProtoMessage() {} + +func (x *LFSPointer) 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) } -var xxx_messageInfo_LFSPointer proto.InternalMessageInfo +// Deprecated: Use LFSPointer.ProtoReflect.Descriptor instead. +func (*LFSPointer) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{4} +} -func (m *LFSPointer) GetSize() int64 { - if m != nil { - return m.Size +func (x *LFSPointer) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *LFSPointer) GetData() []byte { - if m != nil { - return m.Data +func (x *LFSPointer) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *LFSPointer) GetOid() string { - if m != nil { - return m.Oid +func (x *LFSPointer) GetOid() string { + if x != nil { + return x.Oid } return "" } type NewBlobObject struct { - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NewBlobObject) Reset() { *m = NewBlobObject{} } -func (m *NewBlobObject) String() string { return proto.CompactTextString(m) } -func (*NewBlobObject) ProtoMessage() {} -func (*NewBlobObject) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{5} + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` } -func (m *NewBlobObject) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewBlobObject.Unmarshal(m, b) -} -func (m *NewBlobObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewBlobObject.Marshal(b, m, deterministic) -} -func (m *NewBlobObject) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewBlobObject.Merge(m, src) +func (x *NewBlobObject) Reset() { + *x = NewBlobObject{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewBlobObject) XXX_Size() int { - return xxx_messageInfo_NewBlobObject.Size(m) + +func (x *NewBlobObject) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewBlobObject) XXX_DiscardUnknown() { - xxx_messageInfo_NewBlobObject.DiscardUnknown(m) + +func (*NewBlobObject) ProtoMessage() {} + +func (x *NewBlobObject) 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) } -var xxx_messageInfo_NewBlobObject proto.InternalMessageInfo +// Deprecated: Use NewBlobObject.ProtoReflect.Descriptor instead. +func (*NewBlobObject) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{5} +} -func (m *NewBlobObject) GetSize() int64 { - if m != nil { - return m.Size +func (x *NewBlobObject) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *NewBlobObject) GetOid() string { - if m != nil { - return m.Oid +func (x *NewBlobObject) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *NewBlobObject) GetPath() []byte { - if m != nil { - return m.Path +func (x *NewBlobObject) GetPath() []byte { + if x != nil { + return x.Path } return nil } // GetLFSPointersRequest is a request for the GetLFSPointers RPC. type GetLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // BlobIds is the list of blobs to retrieve LFS pointers from. Must be a // non-empty list of blobs IDs to fetch. - BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` } -func (m *GetLFSPointersRequest) Reset() { *m = GetLFSPointersRequest{} } -func (m *GetLFSPointersRequest) String() string { return proto.CompactTextString(m) } -func (*GetLFSPointersRequest) ProtoMessage() {} -func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{6} +func (x *GetLFSPointersRequest) Reset() { + *x = GetLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetLFSPointersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLFSPointersRequest.Unmarshal(m, b) -} -func (m *GetLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLFSPointersRequest.Marshal(b, m, deterministic) -} -func (m *GetLFSPointersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLFSPointersRequest.Merge(m, src) -} -func (m *GetLFSPointersRequest) XXX_Size() int { - return xxx_messageInfo_GetLFSPointersRequest.Size(m) +func (x *GetLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLFSPointersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLFSPointersRequest.DiscardUnknown(m) + +func (*GetLFSPointersRequest) ProtoMessage() {} + +func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[6] + 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) } -var xxx_messageInfo_GetLFSPointersRequest proto.InternalMessageInfo +// Deprecated: Use GetLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{6} +} -func (m *GetLFSPointersRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetLFSPointersRequest) GetBlobIds() []string { - if m != nil { - return m.BlobIds +func (x *GetLFSPointersRequest) GetBlobIds() []string { + if x != nil { + return x.BlobIds } return nil } // GetLFSPointersResponse is a response for the GetLFSPointers RPC. type GetLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` } -func (m *GetLFSPointersResponse) Reset() { *m = GetLFSPointersResponse{} } -func (m *GetLFSPointersResponse) String() string { return proto.CompactTextString(m) } -func (*GetLFSPointersResponse) ProtoMessage() {} -func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{7} +func (x *GetLFSPointersResponse) Reset() { + *x = GetLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetLFSPointersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLFSPointersResponse.Unmarshal(m, b) +func (x *GetLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLFSPointersResponse.Marshal(b, m, deterministic) -} -func (m *GetLFSPointersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLFSPointersResponse.Merge(m, src) -} -func (m *GetLFSPointersResponse) XXX_Size() int { - return xxx_messageInfo_GetLFSPointersResponse.Size(m) -} -func (m *GetLFSPointersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetLFSPointersResponse.DiscardUnknown(m) + +func (*GetLFSPointersResponse) ProtoMessage() {} + +func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[7] + 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) } -var xxx_messageInfo_GetLFSPointersResponse proto.InternalMessageInfo +// Deprecated: Use GetLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{7} +} -func (m *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if m != nil { - return m.LfsPointers +func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers } return nil } // ListLFSPointersRequest is a request for the ListLFSPointers RPC. type ListLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` @@ -559,637 +576,641 @@ type ListLFSPointersRequest struct { // a non-empty list. Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // Limit limits the number of LFS pointers returned. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListLFSPointersRequest) Reset() { *m = ListLFSPointersRequest{} } -func (m *ListLFSPointersRequest) String() string { return proto.CompactTextString(m) } -func (*ListLFSPointersRequest) ProtoMessage() {} -func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{8} +func (x *ListLFSPointersRequest) Reset() { + *x = ListLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListLFSPointersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLFSPointersRequest.Unmarshal(m, b) +func (x *ListLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLFSPointersRequest.Marshal(b, m, deterministic) -} -func (m *ListLFSPointersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLFSPointersRequest.Merge(m, src) -} -func (m *ListLFSPointersRequest) XXX_Size() int { - return xxx_messageInfo_ListLFSPointersRequest.Size(m) -} -func (m *ListLFSPointersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLFSPointersRequest.DiscardUnknown(m) + +func (*ListLFSPointersRequest) ProtoMessage() {} + +func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[8] + 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) } -var xxx_messageInfo_ListLFSPointersRequest proto.InternalMessageInfo +// Deprecated: Use ListLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{8} +} -func (m *ListLFSPointersRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListLFSPointersRequest) GetRevisions() []string { - if m != nil { - return m.Revisions +func (x *ListLFSPointersRequest) GetRevisions() []string { + if x != nil { + return x.Revisions } return nil } -func (m *ListLFSPointersRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *ListLFSPointersRequest) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } // ListLFSPointersResponse is a response for the ListLFSPointers RPC. type ListLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` } -func (m *ListLFSPointersResponse) Reset() { *m = ListLFSPointersResponse{} } -func (m *ListLFSPointersResponse) String() string { return proto.CompactTextString(m) } -func (*ListLFSPointersResponse) ProtoMessage() {} -func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{9} +func (x *ListLFSPointersResponse) Reset() { + *x = ListLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListLFSPointersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLFSPointersResponse.Unmarshal(m, b) +func (x *ListLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLFSPointersResponse.Marshal(b, m, deterministic) -} -func (m *ListLFSPointersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLFSPointersResponse.Merge(m, src) -} -func (m *ListLFSPointersResponse) XXX_Size() int { - return xxx_messageInfo_ListLFSPointersResponse.Size(m) -} -func (m *ListLFSPointersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLFSPointersResponse.DiscardUnknown(m) + +func (*ListLFSPointersResponse) ProtoMessage() {} + +func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[9] + 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) } -var xxx_messageInfo_ListLFSPointersResponse proto.InternalMessageInfo +// Deprecated: Use ListLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{9} +} -func (m *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if m != nil { - return m.LfsPointers +func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers } return nil } // ListAllLFSPointersRequest is a request for the ListAllLFSPointers RPC. type ListAllLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Limit limits the number of LFS pointers returned. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListAllLFSPointersRequest) Reset() { *m = ListAllLFSPointersRequest{} } -func (m *ListAllLFSPointersRequest) String() string { return proto.CompactTextString(m) } -func (*ListAllLFSPointersRequest) ProtoMessage() {} -func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{10} + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListAllLFSPointersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAllLFSPointersRequest.Unmarshal(m, b) -} -func (m *ListAllLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAllLFSPointersRequest.Marshal(b, m, deterministic) -} -func (m *ListAllLFSPointersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllLFSPointersRequest.Merge(m, src) -} -func (m *ListAllLFSPointersRequest) XXX_Size() int { - return xxx_messageInfo_ListAllLFSPointersRequest.Size(m) -} -func (m *ListAllLFSPointersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAllLFSPointersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAllLFSPointersRequest proto.InternalMessageInfo - -func (m *ListAllLFSPointersRequest) GetRepository() *Repository { - if m != nil { - return m.Repository - } - return nil -} - -func (m *ListAllLFSPointersRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *ListAllLFSPointersRequest) Reset() { + *x = ListAllLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 -} - -// ListAllLFSPointersResponse is a response for the ListAllLFSPointers RPC. -type ListAllLFSPointersResponse struct { - // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListAllLFSPointersResponse) Reset() { *m = ListAllLFSPointersResponse{} } -func (m *ListAllLFSPointersResponse) String() string { return proto.CompactTextString(m) } -func (*ListAllLFSPointersResponse) ProtoMessage() {} -func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{11} } -func (m *ListAllLFSPointersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAllLFSPointersResponse.Unmarshal(m, b) -} -func (m *ListAllLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAllLFSPointersResponse.Marshal(b, m, deterministic) -} -func (m *ListAllLFSPointersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllLFSPointersResponse.Merge(m, src) -} -func (m *ListAllLFSPointersResponse) XXX_Size() int { - return xxx_messageInfo_ListAllLFSPointersResponse.Size(m) +func (x *ListAllLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAllLFSPointersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAllLFSPointersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAllLFSPointersResponse proto.InternalMessageInfo -func (m *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if m != nil { - return m.LfsPointers - } - return nil -} +func (*ListAllLFSPointersRequest) ProtoMessage() {} -func init() { - proto.RegisterType((*GetBlobRequest)(nil), "gitaly.GetBlobRequest") - proto.RegisterType((*GetBlobResponse)(nil), "gitaly.GetBlobResponse") - proto.RegisterType((*GetBlobsRequest)(nil), "gitaly.GetBlobsRequest") - proto.RegisterType((*GetBlobsRequest_RevisionPath)(nil), "gitaly.GetBlobsRequest.RevisionPath") - proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse") - proto.RegisterType((*LFSPointer)(nil), "gitaly.LFSPointer") - proto.RegisterType((*NewBlobObject)(nil), "gitaly.NewBlobObject") - proto.RegisterType((*GetLFSPointersRequest)(nil), "gitaly.GetLFSPointersRequest") - proto.RegisterType((*GetLFSPointersResponse)(nil), "gitaly.GetLFSPointersResponse") - proto.RegisterType((*ListLFSPointersRequest)(nil), "gitaly.ListLFSPointersRequest") - proto.RegisterType((*ListLFSPointersResponse)(nil), "gitaly.ListLFSPointersResponse") - proto.RegisterType((*ListAllLFSPointersRequest)(nil), "gitaly.ListAllLFSPointersRequest") - proto.RegisterType((*ListAllLFSPointersResponse)(nil), "gitaly.ListAllLFSPointersResponse") -} - -func init() { proto.RegisterFile("blob.proto", fileDescriptor_6903d1e8a20272e8) } - -var fileDescriptor_6903d1e8a20272e8 = []byte{ - // 644 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x96, 0x9b, 0xb6, 0x6b, 0x4f, 0xbb, 0x1f, 0x59, 0xb0, 0x65, 0x11, 0x3f, 0x59, 0x84, 0x50, - 0x2e, 0xa0, 0x85, 0x32, 0x24, 0xae, 0x90, 0x98, 0xd0, 0xa6, 0x69, 0x13, 0x9b, 0x5c, 0x6e, 0x40, - 0x48, 0x55, 0xb2, 0x78, 0x9d, 0xc1, 0xad, 0x43, 0xec, 0x0d, 0x95, 0x07, 0xe0, 0x15, 0xe0, 0x61, - 0xb8, 0xe6, 0x25, 0x78, 0x07, 0x1e, 0x80, 0x2b, 0x94, 0xff, 0xac, 0x49, 0xb9, 0xe9, 0xee, 0x8e, - 0x8f, 0x73, 0xbe, 0xef, 0x3b, 0xc7, 0x9f, 0x1d, 0x00, 0x97, 0x0b, 0xb7, 0xe7, 0x07, 0x42, 0x09, - 0xdc, 0x1c, 0x33, 0xe5, 0xf0, 0x99, 0x01, 0x9c, 0x4d, 0x55, 0x9c, 0x33, 0xba, 0xf2, 0xc2, 0x09, - 0xa8, 0x17, 0xaf, 0xac, 0x00, 0xd6, 0x0e, 0xa8, 0xda, 0xe3, 0xc2, 0x25, 0xf4, 0xf3, 0x25, 0x95, - 0x0a, 0xbf, 0x00, 0x08, 0xa8, 0x2f, 0x24, 0x53, 0x22, 0x98, 0xe9, 0xc8, 0x44, 0x76, 0x67, 0x80, - 0x7b, 0x31, 0x50, 0x8f, 0x64, 0x3b, 0x7b, 0xf5, 0x1f, 0xbf, 0x1e, 0x21, 0x52, 0xf8, 0x16, 0x6f, - 0x80, 0x26, 0x98, 0xa7, 0xd7, 0x4c, 0x64, 0xb7, 0x49, 0x18, 0xe2, 0x5b, 0xd0, 0xe0, 0x6c, 0xc2, - 0x94, 0xae, 0x99, 0xc8, 0xd6, 0x48, 0xbc, 0xb0, 0x8e, 0x60, 0x3d, 0xe3, 0x94, 0xbe, 0x98, 0x4a, - 0x8a, 0x31, 0xd4, 0x25, 0xfb, 0x4a, 0x23, 0x3a, 0x8d, 0x44, 0x71, 0x98, 0xf3, 0x1c, 0xe5, 0x44, - 0x78, 0x5d, 0x12, 0xc5, 0x29, 0x85, 0x96, 0x51, 0x58, 0x7f, 0x50, 0x86, 0x26, 0x97, 0x6f, 0xe1, - 0x08, 0xd6, 0x02, 0x7a, 0xc5, 0x24, 0x13, 0xd3, 0x91, 0xef, 0xa8, 0x0b, 0xa9, 0xd7, 0x4c, 0xcd, - 0xee, 0x0c, 0x1e, 0xa4, 0xd5, 0x73, 0x54, 0x3d, 0x92, 0x7c, 0x7d, 0xea, 0xa8, 0x0b, 0xb2, 0x1a, - 0x14, 0x56, 0xb2, 0xba, 0x7b, 0xe3, 0x25, 0x74, 0x8b, 0x45, 0xd8, 0x80, 0x56, 0x5a, 0x16, 0x49, - 0x6d, 0x93, 0x6c, 0x1d, 0x8e, 0x20, 0x54, 0x91, 0x8e, 0x20, 0x8c, 0xad, 0xdf, 0x08, 0x36, 0x72, - 0x15, 0xcb, 0xce, 0x0f, 0xef, 0x40, 0x97, 0xc9, 0x91, 0xbc, 0x74, 0x27, 0xc2, 0xbb, 0xe4, 0x54, - 0xaf, 0x9b, 0xc8, 0x6e, 0x91, 0x0e, 0x93, 0xc3, 0x34, 0x15, 0x02, 0x4d, 0x84, 0x47, 0xf5, 0x86, - 0x89, 0xec, 0x06, 0x89, 0xe2, 0x6b, 0xaa, 0x9b, 0x0b, 0x54, 0xaf, 0xe4, 0xaa, 0xf1, 0x43, 0xa8, - 0xab, 0x99, 0x4f, 0xf5, 0x96, 0x89, 0xec, 0xb5, 0xfc, 0x30, 0x4e, 0xdc, 0x8f, 0xf4, 0x4c, 0xbd, - 0x9d, 0xf9, 0x94, 0x44, 0xfb, 0xd6, 0x3e, 0xc0, 0xf1, 0xfe, 0xf0, 0x54, 0xb0, 0xa9, 0xa2, 0xc1, - 0x12, 0xb6, 0x38, 0x84, 0xd5, 0x37, 0xf4, 0x4b, 0x38, 0xa4, 0x98, 0xa2, 0x12, 0xaa, 0x6c, 0xd8, - 0x54, 0xba, 0x56, 0x18, 0x38, 0x87, 0xdb, 0x07, 0x54, 0xe5, 0xaa, 0x6e, 0xc0, 0x66, 0xdb, 0xd0, - 0x0a, 0x6f, 0xe9, 0x88, 0x79, 0xb1, 0xc1, 0xda, 0x64, 0x25, 0x5c, 0x1f, 0x7a, 0xd2, 0x3a, 0x81, - 0xcd, 0x79, 0xb6, 0xe4, 0x8c, 0x9f, 0x43, 0x97, 0x9f, 0xcb, 0x91, 0x9f, 0xe4, 0x75, 0x14, 0x39, - 0x33, 0x23, 0xcc, 0x4b, 0x48, 0x87, 0x9f, 0xcb, 0xb4, 0xdc, 0xfa, 0x86, 0x60, 0xf3, 0x98, 0xc9, - 0x9b, 0x6d, 0xe0, 0x0e, 0xb4, 0xd3, 0xe3, 0x4e, 0x3b, 0xc8, 0x13, 0xd7, 0x8d, 0xdf, 0x48, 0xaf, - 0xfd, 0x29, 0x6c, 0x95, 0x74, 0x2c, 0xd7, 0xda, 0x27, 0xd8, 0x0e, 0x11, 0x5f, 0x71, 0x7e, 0xa3, - 0xcd, 0x55, 0xcb, 0x1f, 0x82, 0x51, 0x45, 0xb6, 0x54, 0x07, 0x83, 0x9f, 0x1a, 0x74, 0x42, 0x93, - 0x0e, 0x69, 0x70, 0xc5, 0xce, 0x28, 0x7e, 0x0d, 0x2b, 0xc9, 0xdd, 0xc6, 0x9b, 0x73, 0x4f, 0x4e, - 0xd2, 0x97, 0xb1, 0x55, 0xca, 0xc7, 0x12, 0xac, 0xe6, 0xdf, 0xef, 0x76, 0xad, 0x55, 0x7b, 0x82, - 0xf0, 0x01, 0xb4, 0xd2, 0x17, 0x02, 0x6f, 0x2d, 0x78, 0xb9, 0x0c, 0xbd, 0xbc, 0x51, 0x02, 0x7a, - 0x17, 0xfd, 0x1d, 0x0a, 0xfd, 0xe2, 0xbb, 0x85, 0xaa, 0xf2, 0xd0, 0x8d, 0x7b, 0x8b, 0xb6, 0x4b, - 0xd0, 0x1f, 0x60, 0x7d, 0xce, 0x0d, 0x38, 0x2b, 0xae, 0xb6, 0xab, 0x71, 0x7f, 0xe1, 0x7e, 0x09, - 0x9d, 0x02, 0x2e, 0x1f, 0x16, 0xde, 0x29, 0x02, 0x54, 0xba, 0xc6, 0xb0, 0xfe, 0xf7, 0xc9, 0x3c, - 0xcd, 0xde, 0xee, 0xfb, 0xc1, 0x98, 0x29, 0xee, 0xb8, 0xbd, 0x33, 0x31, 0xe9, 0xc7, 0xe1, 0x63, - 0x11, 0x8c, 0xfb, 0x31, 0x48, 0xff, 0xea, 0xe9, 0x6e, 0x3f, 0xfa, 0xcf, 0xf6, 0xc7, 0x22, 0xc9, - 0xf9, 0xae, 0xdb, 0x8c, 0x52, 0xcf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x33, 0xe5, 0x62, 0xe6, - 0xaa, 0x07, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// BlobServiceClient is the client API for BlobService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BlobServiceClient interface { - // GetBlob returns the contents of a blob object referenced by its object - // ID. We use a stream to return a chunked arbitrarily large binary - // response - GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) - GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) - // GetLFSPointers retrieves LFS pointers from a given set of object IDs. - // This RPC filters all requested objects and only returns those which refer - // to a valid LFS pointer. - GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) - // 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. - ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) - // ListAllLFSPointers retrieves all LFS pointers in the repository, including - // those not reachable by any reference. - ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) -} - -type blobServiceClient struct { - cc *grpc.ClientConn -} - -func NewBlobServiceClient(cc *grpc.ClientConn) BlobServiceClient { - return &blobServiceClient{cc} -} - -func (c *blobServiceClient) GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) { - stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[0], "/gitaly.BlobService/GetBlob", opts...) - if err != nil { - return nil, err - } - x := &blobServiceGetBlobClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err +func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_GetBlobClient interface { - Recv() (*GetBlobResponse, error) - grpc.ClientStream + return mi.MessageOf(x) } -type blobServiceGetBlobClient struct { - grpc.ClientStream +// Deprecated: Use ListAllLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{10} } -func (x *blobServiceGetBlobClient) Recv() (*GetBlobResponse, error) { - m := new(GetBlobResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *ListAllLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } - return m, nil + return nil } -func (c *blobServiceClient) GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) { - stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[1], "/gitaly.BlobService/GetBlobs", opts...) - if err != nil { - return nil, err - } - x := &blobServiceGetBlobsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err +func (x *ListAllLFSPointersRequest) GetLimit() int32 { + if x != nil { + return x.Limit } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_GetBlobsClient interface { - Recv() (*GetBlobsResponse, error) - grpc.ClientStream + return 0 } -type blobServiceGetBlobsClient struct { - grpc.ClientStream -} +// ListAllLFSPointersResponse is a response for the ListAllLFSPointers RPC. +type ListAllLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *blobServiceGetBlobsClient) Recv() (*GetBlobsResponse, error) { - m := new(GetBlobsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil + // LfsPointers is the list of LFS pointers which were requested. + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` } -func (c *blobServiceClient) GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) { - stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[2], "/gitaly.BlobService/GetLFSPointers", opts...) - if err != nil { - return nil, err - } - x := &blobServiceGetLFSPointersClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err +func (x *ListAllLFSPointersResponse) Reset() { + *x = ListAllLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil } -type BlobService_GetLFSPointersClient interface { - Recv() (*GetLFSPointersResponse, error) - grpc.ClientStream +func (x *ListAllLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type blobServiceGetLFSPointersClient struct { - grpc.ClientStream -} +func (*ListAllLFSPointersResponse) ProtoMessage() {} -func (x *blobServiceGetLFSPointersClient) Recv() (*GetLFSPointersResponse, error) { - m := new(GetLFSPointersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return m, nil + return mi.MessageOf(x) } -func (c *blobServiceClient) ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) { - stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[3], "/gitaly.BlobService/ListLFSPointers", opts...) - if err != nil { - return nil, err - } - x := &blobServiceListLFSPointersClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_ListLFSPointersClient interface { - Recv() (*ListLFSPointersResponse, error) - grpc.ClientStream -} - -type blobServiceListLFSPointersClient struct { - grpc.ClientStream -} - -func (x *blobServiceListLFSPointersClient) Recv() (*ListLFSPointersResponse, error) { - m := new(ListLFSPointersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil +// Deprecated: Use ListAllLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{11} } -func (c *blobServiceClient) ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) { - stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[4], "/gitaly.BlobService/ListAllLFSPointers", opts...) - if err != nil { - return nil, err +func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers } - x := &blobServiceListAllLFSPointersClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil + return nil } -type BlobService_ListAllLFSPointersClient interface { - Recv() (*ListAllLFSPointersResponse, error) - grpc.ClientStream -} +type GetBlobsRequest_RevisionPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type blobServiceListAllLFSPointersClient struct { - grpc.ClientStream + Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (x *blobServiceListAllLFSPointersClient) Recv() (*ListAllLFSPointersResponse, error) { - m := new(ListAllLFSPointersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *GetBlobsRequest_RevisionPath) Reset() { + *x = GetBlobsRequest_RevisionPath{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return m, nil } -// BlobServiceServer is the server API for BlobService service. -type BlobServiceServer interface { - // GetBlob returns the contents of a blob object referenced by its object - // ID. We use a stream to return a chunked arbitrarily large binary - // response - GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error - GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error - // GetLFSPointers retrieves LFS pointers from a given set of object IDs. - // This RPC filters all requested objects and only returns those which refer - // to a valid LFS pointer. - GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error - // 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. - ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error - // ListAllLFSPointers retrieves all LFS pointers in the repository, including - // those not reachable by any reference. - ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error +func (x *GetBlobsRequest_RevisionPath) String() string { + return protoimpl.X.MessageStringOf(x) } -// UnimplementedBlobServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBlobServiceServer struct { -} +func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} -func (*UnimplementedBlobServiceServer) GetBlob(req *GetBlobRequest, srv BlobService_GetBlobServer) error { - return status.Errorf(codes.Unimplemented, "method GetBlob not implemented") -} -func (*UnimplementedBlobServiceServer) GetBlobs(req *GetBlobsRequest, srv BlobService_GetBlobsServer) error { - return status.Errorf(codes.Unimplemented, "method GetBlobs not implemented") -} -func (*UnimplementedBlobServiceServer) GetLFSPointers(req *GetLFSPointersRequest, srv BlobService_GetLFSPointersServer) error { - return status.Errorf(codes.Unimplemented, "method GetLFSPointers not implemented") -} -func (*UnimplementedBlobServiceServer) ListLFSPointers(req *ListLFSPointersRequest, srv BlobService_ListLFSPointersServer) error { - return status.Errorf(codes.Unimplemented, "method ListLFSPointers not implemented") -} -func (*UnimplementedBlobServiceServer) ListAllLFSPointers(req *ListAllLFSPointersRequest, srv BlobService_ListAllLFSPointersServer) error { - return status.Errorf(codes.Unimplemented, "method ListAllLFSPointers not implemented") -} - -func RegisterBlobServiceServer(s *grpc.Server, srv BlobServiceServer) { - s.RegisterService(&_BlobService_serviceDesc, srv) -} - -func _BlobService_GetBlob_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetBlobRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return srv.(BlobServiceServer).GetBlob(m, &blobServiceGetBlobServer{stream}) -} - -type BlobService_GetBlobServer interface { - Send(*GetBlobResponse) error - grpc.ServerStream + return mi.MessageOf(x) } -type blobServiceGetBlobServer struct { - grpc.ServerStream -} - -func (x *blobServiceGetBlobServer) Send(m *GetBlobResponse) error { - return x.ServerStream.SendMsg(m) +// Deprecated: Use GetBlobsRequest_RevisionPath.ProtoReflect.Descriptor instead. +func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{2, 0} } -func _BlobService_GetBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetBlobsRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *GetBlobsRequest_RevisionPath) GetRevision() string { + if x != nil { + return x.Revision } - return srv.(BlobServiceServer).GetBlobs(m, &blobServiceGetBlobsServer{stream}) -} - -type BlobService_GetBlobsServer interface { - Send(*GetBlobsResponse) error - grpc.ServerStream -} - -type blobServiceGetBlobsServer struct { - grpc.ServerStream -} - -func (x *blobServiceGetBlobsServer) Send(m *GetBlobsResponse) error { - return x.ServerStream.SendMsg(m) + return "" } -func _BlobService_GetLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetLFSPointersRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *GetBlobsRequest_RevisionPath) GetPath() []byte { + if x != nil { + return x.Path } - return srv.(BlobServiceServer).GetLFSPointers(m, &blobServiceGetLFSPointersServer{stream}) -} - -type BlobService_GetLFSPointersServer interface { - Send(*GetLFSPointersResponse) error - grpc.ServerStream -} - -type blobServiceGetLFSPointersServer struct { - grpc.ServerStream + return nil } -func (x *blobServiceGetLFSPointersServer) Send(m *GetLFSPointersResponse) error { - return x.ServerStream.SendMsg(m) -} +var File_blob_proto protoreflect.FileDescriptor + +var file_blob_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 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, 0x10, 0x0a, 0x03, 0x6f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, + 0xee, 0x01, 0x0a, 0x0f, 0x47, 0x65, 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, 0x4b, 0x0a, + 0x0e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0d, 0x72, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x1a, 0x3e, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x12, + 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 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, + 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, + 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 ( + file_blob_proto_rawDescOnce sync.Once + file_blob_proto_rawDescData = file_blob_proto_rawDesc +) -func _BlobService_ListLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListLFSPointersRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func file_blob_proto_rawDescGZIP() []byte { + file_blob_proto_rawDescOnce.Do(func() { + file_blob_proto_rawDescData = protoimpl.X.CompressGZIP(file_blob_proto_rawDescData) + }) + return file_blob_proto_rawDescData +} + +var file_blob_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +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 +} +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 +} + +func init() { file_blob_proto_init() } +func file_blob_proto_init() { + if File_blob_proto != nil { + return } - return srv.(BlobServiceServer).ListLFSPointers(m, &blobServiceListLFSPointersServer{stream}) -} - -type BlobService_ListLFSPointersServer interface { - Send(*ListLFSPointersResponse) error - grpc.ServerStream -} - -type blobServiceListLFSPointersServer struct { - grpc.ServerStream -} - -func (x *blobServiceListLFSPointersServer) Send(m *ListLFSPointersResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_ListAllLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListAllLFSPointersRequest) - if err := stream.RecvMsg(m); err != nil { - return err + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_blob_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LFSPointer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewBlobObject); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[10].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[11].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[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsRequest_RevisionPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return srv.(BlobServiceServer).ListAllLFSPointers(m, &blobServiceListAllLFSPointersServer{stream}) -} - -type BlobService_ListAllLFSPointersServer interface { - Send(*ListAllLFSPointersResponse) error - grpc.ServerStream -} - -type blobServiceListAllLFSPointersServer struct { - grpc.ServerStream -} - -func (x *blobServiceListAllLFSPointersServer) Send(m *ListAllLFSPointersResponse) error { - return x.ServerStream.SendMsg(m) -} - -var _BlobService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.BlobService", - HandlerType: (*BlobServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "GetBlob", - Handler: _BlobService_GetBlob_Handler, - ServerStreams: true, - }, - { - StreamName: "GetBlobs", - Handler: _BlobService_GetBlobs_Handler, - ServerStreams: true, - }, - { - StreamName: "GetLFSPointers", - Handler: _BlobService_GetLFSPointers_Handler, - ServerStreams: true, - }, - { - StreamName: "ListLFSPointers", - Handler: _BlobService_ListLFSPointers_Handler, - ServerStreams: true, - }, - { - StreamName: "ListAllLFSPointers", - Handler: _BlobService_ListAllLFSPointers_Handler, - ServerStreams: true, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_blob_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, }, - }, - Metadata: "blob.proto", + GoTypes: file_blob_proto_goTypes, + DependencyIndexes: file_blob_proto_depIdxs, + MessageInfos: file_blob_proto_msgTypes, + }.Build() + File_blob_proto = out.File + file_blob_proto_rawDesc = nil + file_blob_proto_goTypes = nil + file_blob_proto_depIdxs = nil } |