diff options
author | James Fargher <proglottis@gmail.com> | 2021-08-10 00:23:44 +0300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2021-08-10 00:23:44 +0300 |
commit | 0a4e1c785063f4ad2cef80303fa10276e2e4e2a6 (patch) | |
tree | 66f01017a21795ccef4fcc56dd959da1eed4f19f /proto/go | |
parent | 8fe0f38a98ddcc5e2cb68f7593e1514c6a1287b1 (diff) | |
parent | cb8c7392b544ece7c27fdd2467b2afcab7c0b400 (diff) |
Merge branch 'list_refs_rpc' into 'master'
Add ListRef RPC to list all refs
See merge request gitlab-org/gitaly!3731
Diffstat (limited to 'proto/go')
-rw-r--r-- | proto/go/gitalypb/ref.pb.go | 671 | ||||
-rw-r--r-- | proto/go/gitalypb/ref_grpc.pb.go | 69 |
2 files changed, 526 insertions, 214 deletions
diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go index 7fedbd7f5..e3569ff95 100644 --- a/proto/go/gitalypb/ref.pb.go +++ b/proto/go/gitalypb/ref.pb.go @@ -2540,6 +2540,126 @@ func (*PackRefsResponse) Descriptor() ([]byte, []int) { return file_ref_proto_rawDescGZIP(), []int{43} } +// ListRefsRequest is a request for the ListRefs RPC. +type ListRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which references should be listed in. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Patterns contains all patterns which shall be listed. Patterns should be in the format + // accepted by git-for-each-ref(1). At least one pattern must be given, otherwise an error + // is returned. Patterns which don't match any reference will be silently ignored. + Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` + // Head determines whether the RPC should also return the HEAD reference. By default, + // pseudo-refs are not included in the response. + Head bool `protobuf:"varint,3,opt,name=head,proto3" json:"head,omitempty"` +} + +func (x *ListRefsRequest) Reset() { + *x = ListRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsRequest) ProtoMessage() {} + +func (x *ListRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[44] + 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 ListRefsRequest.ProtoReflect.Descriptor instead. +func (*ListRefsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{44} +} + +func (x *ListRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListRefsRequest) GetPatterns() [][]byte { + if x != nil { + return x.Patterns + } + return nil +} + +func (x *ListRefsRequest) GetHead() bool { + if x != nil { + return x.Head + } + return false +} + +// ListRefsResponse is a response for the ListRefs RPC. The RPC can return multiple responses +// in case there are more references than fit into a single gRPC message. +type ListRefsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // References is the set of references returned by the RPC. + References []*ListRefsResponse_Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` +} + +func (x *ListRefsResponse) Reset() { + *x = ListRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsResponse) ProtoMessage() {} + +func (x *ListRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[45] + 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 ListRefsResponse.ProtoReflect.Descriptor instead. +func (*ListRefsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{45} +} + +func (x *ListRefsResponse) GetReferences() []*ListRefsResponse_Reference { + if x != nil { + return x.References + } + return nil +} + type FindAllBranchesResponse_Branch struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2552,7 +2672,7 @@ type FindAllBranchesResponse_Branch struct { func (x *FindAllBranchesResponse_Branch) Reset() { *x = FindAllBranchesResponse_Branch{} if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[44] + mi := &file_ref_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2565,7 +2685,7 @@ func (x *FindAllBranchesResponse_Branch) String() string { func (*FindAllBranchesResponse_Branch) ProtoMessage() {} func (x *FindAllBranchesResponse_Branch) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[44] + mi := &file_ref_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2608,7 +2728,7 @@ type FindAllTagsRequest_SortBy struct { func (x *FindAllTagsRequest_SortBy) Reset() { *x = FindAllTagsRequest_SortBy{} if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[45] + mi := &file_ref_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2621,7 +2741,7 @@ func (x *FindAllTagsRequest_SortBy) String() string { func (*FindAllTagsRequest_SortBy) ProtoMessage() {} func (x *FindAllTagsRequest_SortBy) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[45] + mi := &file_ref_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2671,7 +2791,7 @@ type GetTagSignaturesResponse_TagSignature struct { func (x *GetTagSignaturesResponse_TagSignature) Reset() { *x = GetTagSignaturesResponse_TagSignature{} if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[46] + mi := &file_ref_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2684,7 +2804,7 @@ func (x *GetTagSignaturesResponse_TagSignature) String() string { func (*GetTagSignaturesResponse_TagSignature) ProtoMessage() {} func (x *GetTagSignaturesResponse_TagSignature) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[46] + mi := &file_ref_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2721,6 +2841,64 @@ func (x *GetTagSignaturesResponse_TagSignature) GetContent() []byte { return nil } +// Reference is a direct Git reference. No symbolic references will ever be returned by this RPC. +type ListRefsResponse_Reference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name is the fully qualified name of the reference. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Target is the object ID the reference points to. + Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +} + +func (x *ListRefsResponse_Reference) Reset() { + *x = ListRefsResponse_Reference{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsResponse_Reference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsResponse_Reference) ProtoMessage() {} + +func (x *ListRefsResponse_Reference) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[49] + 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 ListRefsResponse_Reference.ProtoReflect.Descriptor instead. +func (*ListRefsResponse_Reference) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{45, 0} +} + +func (x *ListRefsResponse_Reference) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *ListRefsResponse_Reference) GetTarget() string { + if x != nil { + return x.Target + } + return "" +} + var File_ref_proto protoreflect.FileDescriptor var file_ref_proto_rawDesc = []byte{ @@ -3039,123 +3217,145 @@ var file_ref_proto_rawDesc = []byte{ 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x66, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x83, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x66, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, - 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x12, 0x65, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, - 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, - 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, - 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x62, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, - 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x20, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, - 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, - 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, - 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x07, - 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7b, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x66, 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, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x68, + 0x65, 0x61, 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x37, 0x0a, 0x09, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x32, 0xcc, 0x0e, 0x0a, 0x0a, 0x52, 0x65, 0x66, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x12, 0x65, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x52, + 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x62, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, + 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1e, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x07, 0x46, + 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, + 0x6e, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x48, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6e, + 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x66, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, - 0x12, 0x6e, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, - 0x12, 0x48, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, - 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x52, 0x65, 0x66, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x30, 0x01, 0x12, 0x83, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, - 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1f, 0x2e, + 0x30, 0x01, 0x12, 0x83, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 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, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 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, + 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, - 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x62, 0x73, - 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, - 0x77, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, - 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x45, 0x0a, 0x08, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, - 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, - 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 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, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x53, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, + 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, + 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, + 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x45, 0x0a, 0x08, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, + 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x66, 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 ( @@ -3171,7 +3371,7 @@ func file_ref_proto_rawDescGZIP() []byte { } var file_ref_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 47) +var file_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 50) var file_ref_proto_goTypes = []interface{}{ (FindLocalBranchesRequest_SortBy)(0), // 0: gitaly.FindLocalBranchesRequest.SortBy (FindAllTagsRequest_SortBy_Key)(0), // 1: gitaly.FindAllTagsRequest.SortBy.Key @@ -3220,104 +3420,111 @@ var file_ref_proto_goTypes = []interface{}{ (*FindAllRemoteBranchesResponse)(nil), // 44: gitaly.FindAllRemoteBranchesResponse (*PackRefsRequest)(nil), // 45: gitaly.PackRefsRequest (*PackRefsResponse)(nil), // 46: gitaly.PackRefsResponse - (*FindAllBranchesResponse_Branch)(nil), // 47: gitaly.FindAllBranchesResponse.Branch - (*FindAllTagsRequest_SortBy)(nil), // 48: gitaly.FindAllTagsRequest.SortBy - (*GetTagSignaturesResponse_TagSignature)(nil), // 49: gitaly.GetTagSignaturesResponse.TagSignature - (*Repository)(nil), // 50: gitaly.Repository - (*NewBlobObject)(nil), // 51: gitaly.NewBlobObject - (*PaginationParameter)(nil), // 52: gitaly.PaginationParameter - (*GitCommit)(nil), // 53: gitaly.GitCommit - (*timestamppb.Timestamp)(nil), // 54: google.protobuf.Timestamp - (*Tag)(nil), // 55: gitaly.Tag - (*Branch)(nil), // 56: gitaly.Branch - (SortDirection)(0), // 57: gitaly.SortDirection + (*ListRefsRequest)(nil), // 47: gitaly.ListRefsRequest + (*ListRefsResponse)(nil), // 48: gitaly.ListRefsResponse + (*FindAllBranchesResponse_Branch)(nil), // 49: gitaly.FindAllBranchesResponse.Branch + (*FindAllTagsRequest_SortBy)(nil), // 50: gitaly.FindAllTagsRequest.SortBy + (*GetTagSignaturesResponse_TagSignature)(nil), // 51: gitaly.GetTagSignaturesResponse.TagSignature + (*ListRefsResponse_Reference)(nil), // 52: gitaly.ListRefsResponse.Reference + (*Repository)(nil), // 53: gitaly.Repository + (*NewBlobObject)(nil), // 54: gitaly.NewBlobObject + (*PaginationParameter)(nil), // 55: gitaly.PaginationParameter + (*GitCommit)(nil), // 56: gitaly.GitCommit + (*timestamppb.Timestamp)(nil), // 57: google.protobuf.Timestamp + (*Tag)(nil), // 58: gitaly.Tag + (*Branch)(nil), // 59: gitaly.Branch + (SortDirection)(0), // 60: gitaly.SortDirection } var file_ref_proto_depIdxs = []int32{ - 50, // 0: gitaly.ListNewBlobsRequest.repository:type_name -> gitaly.Repository - 51, // 1: gitaly.ListNewBlobsResponse.new_blob_objects:type_name -> gitaly.NewBlobObject - 50, // 2: gitaly.FindDefaultBranchNameRequest.repository:type_name -> gitaly.Repository - 50, // 3: gitaly.FindAllBranchNamesRequest.repository:type_name -> gitaly.Repository - 50, // 4: gitaly.FindAllTagNamesRequest.repository:type_name -> gitaly.Repository - 50, // 5: gitaly.FindRefNameRequest.repository:type_name -> gitaly.Repository - 50, // 6: gitaly.FindLocalBranchesRequest.repository:type_name -> gitaly.Repository + 53, // 0: gitaly.ListNewBlobsRequest.repository:type_name -> gitaly.Repository + 54, // 1: gitaly.ListNewBlobsResponse.new_blob_objects:type_name -> gitaly.NewBlobObject + 53, // 2: gitaly.FindDefaultBranchNameRequest.repository:type_name -> gitaly.Repository + 53, // 3: gitaly.FindAllBranchNamesRequest.repository:type_name -> gitaly.Repository + 53, // 4: gitaly.FindAllTagNamesRequest.repository:type_name -> gitaly.Repository + 53, // 5: gitaly.FindRefNameRequest.repository:type_name -> gitaly.Repository + 53, // 6: gitaly.FindLocalBranchesRequest.repository:type_name -> gitaly.Repository 0, // 7: gitaly.FindLocalBranchesRequest.sort_by:type_name -> gitaly.FindLocalBranchesRequest.SortBy - 52, // 8: gitaly.FindLocalBranchesRequest.pagination_params:type_name -> gitaly.PaginationParameter + 55, // 8: gitaly.FindLocalBranchesRequest.pagination_params:type_name -> gitaly.PaginationParameter 15, // 9: gitaly.FindLocalBranchesResponse.branches:type_name -> gitaly.FindLocalBranchResponse 16, // 10: gitaly.FindLocalBranchResponse.commit_author:type_name -> gitaly.FindLocalBranchCommitAuthor 16, // 11: gitaly.FindLocalBranchResponse.commit_committer:type_name -> gitaly.FindLocalBranchCommitAuthor - 53, // 12: gitaly.FindLocalBranchResponse.commit:type_name -> gitaly.GitCommit - 54, // 13: gitaly.FindLocalBranchCommitAuthor.date:type_name -> google.protobuf.Timestamp - 50, // 14: gitaly.FindAllBranchesRequest.repository:type_name -> gitaly.Repository - 47, // 15: gitaly.FindAllBranchesResponse.branches:type_name -> gitaly.FindAllBranchesResponse.Branch - 50, // 16: gitaly.FindTagRequest.repository:type_name -> gitaly.Repository - 55, // 17: gitaly.FindTagResponse.tag:type_name -> gitaly.Tag - 50, // 18: gitaly.FindAllTagsRequest.repository:type_name -> gitaly.Repository - 48, // 19: gitaly.FindAllTagsRequest.sort_by:type_name -> gitaly.FindAllTagsRequest.SortBy - 55, // 20: gitaly.FindAllTagsResponse.tags:type_name -> gitaly.Tag - 50, // 21: gitaly.RefExistsRequest.repository:type_name -> gitaly.Repository - 50, // 22: gitaly.CreateBranchRequest.repository:type_name -> gitaly.Repository + 56, // 12: gitaly.FindLocalBranchResponse.commit:type_name -> gitaly.GitCommit + 57, // 13: gitaly.FindLocalBranchCommitAuthor.date:type_name -> google.protobuf.Timestamp + 53, // 14: gitaly.FindAllBranchesRequest.repository:type_name -> gitaly.Repository + 49, // 15: gitaly.FindAllBranchesResponse.branches:type_name -> gitaly.FindAllBranchesResponse.Branch + 53, // 16: gitaly.FindTagRequest.repository:type_name -> gitaly.Repository + 58, // 17: gitaly.FindTagResponse.tag:type_name -> gitaly.Tag + 53, // 18: gitaly.FindAllTagsRequest.repository:type_name -> gitaly.Repository + 50, // 19: gitaly.FindAllTagsRequest.sort_by:type_name -> gitaly.FindAllTagsRequest.SortBy + 58, // 20: gitaly.FindAllTagsResponse.tags:type_name -> gitaly.Tag + 53, // 21: gitaly.RefExistsRequest.repository:type_name -> gitaly.Repository + 53, // 22: gitaly.CreateBranchRequest.repository:type_name -> gitaly.Repository 2, // 23: gitaly.CreateBranchResponse.status:type_name -> gitaly.CreateBranchResponse.Status - 56, // 24: gitaly.CreateBranchResponse.branch:type_name -> gitaly.Branch - 50, // 25: gitaly.DeleteBranchRequest.repository:type_name -> gitaly.Repository - 50, // 26: gitaly.FindBranchRequest.repository:type_name -> gitaly.Repository - 56, // 27: gitaly.FindBranchResponse.branch:type_name -> gitaly.Branch - 50, // 28: gitaly.DeleteRefsRequest.repository:type_name -> gitaly.Repository - 50, // 29: gitaly.ListBranchNamesContainingCommitRequest.repository:type_name -> gitaly.Repository - 50, // 30: gitaly.ListTagNamesContainingCommitRequest.repository:type_name -> gitaly.Repository - 50, // 31: gitaly.GetTagSignaturesRequest.repository:type_name -> gitaly.Repository - 49, // 32: gitaly.GetTagSignaturesResponse.signatures:type_name -> gitaly.GetTagSignaturesResponse.TagSignature - 50, // 33: gitaly.GetTagMessagesRequest.repository:type_name -> gitaly.Repository - 50, // 34: gitaly.ListNewCommitsRequest.repository:type_name -> gitaly.Repository - 53, // 35: gitaly.ListNewCommitsResponse.commits:type_name -> gitaly.GitCommit - 50, // 36: gitaly.FindAllRemoteBranchesRequest.repository:type_name -> gitaly.Repository - 56, // 37: gitaly.FindAllRemoteBranchesResponse.branches:type_name -> gitaly.Branch - 50, // 38: gitaly.PackRefsRequest.repository:type_name -> gitaly.Repository - 53, // 39: gitaly.FindAllBranchesResponse.Branch.target:type_name -> gitaly.GitCommit - 1, // 40: gitaly.FindAllTagsRequest.SortBy.key:type_name -> gitaly.FindAllTagsRequest.SortBy.Key - 57, // 41: gitaly.FindAllTagsRequest.SortBy.direction:type_name -> gitaly.SortDirection - 5, // 42: gitaly.RefService.FindDefaultBranchName:input_type -> gitaly.FindDefaultBranchNameRequest - 7, // 43: gitaly.RefService.FindAllBranchNames:input_type -> gitaly.FindAllBranchNamesRequest - 9, // 44: gitaly.RefService.FindAllTagNames:input_type -> gitaly.FindAllTagNamesRequest - 11, // 45: gitaly.RefService.FindRefName:input_type -> gitaly.FindRefNameRequest - 13, // 46: gitaly.RefService.FindLocalBranches:input_type -> gitaly.FindLocalBranchesRequest - 17, // 47: gitaly.RefService.FindAllBranches:input_type -> gitaly.FindAllBranchesRequest - 21, // 48: gitaly.RefService.FindAllTags:input_type -> gitaly.FindAllTagsRequest - 19, // 49: gitaly.RefService.FindTag:input_type -> gitaly.FindTagRequest - 43, // 50: gitaly.RefService.FindAllRemoteBranches:input_type -> gitaly.FindAllRemoteBranchesRequest - 23, // 51: gitaly.RefService.RefExists:input_type -> gitaly.RefExistsRequest - 29, // 52: gitaly.RefService.FindBranch:input_type -> gitaly.FindBranchRequest - 31, // 53: gitaly.RefService.DeleteRefs:input_type -> gitaly.DeleteRefsRequest - 33, // 54: gitaly.RefService.ListBranchNamesContainingCommit:input_type -> gitaly.ListBranchNamesContainingCommitRequest - 35, // 55: gitaly.RefService.ListTagNamesContainingCommit:input_type -> gitaly.ListTagNamesContainingCommitRequest - 37, // 56: gitaly.RefService.GetTagSignatures:input_type -> gitaly.GetTagSignaturesRequest - 39, // 57: gitaly.RefService.GetTagMessages:input_type -> gitaly.GetTagMessagesRequest - 41, // 58: gitaly.RefService.ListNewCommits:input_type -> gitaly.ListNewCommitsRequest - 3, // 59: gitaly.RefService.ListNewBlobs:input_type -> gitaly.ListNewBlobsRequest - 45, // 60: gitaly.RefService.PackRefs:input_type -> gitaly.PackRefsRequest - 6, // 61: gitaly.RefService.FindDefaultBranchName:output_type -> gitaly.FindDefaultBranchNameResponse - 8, // 62: gitaly.RefService.FindAllBranchNames:output_type -> gitaly.FindAllBranchNamesResponse - 10, // 63: gitaly.RefService.FindAllTagNames:output_type -> gitaly.FindAllTagNamesResponse - 12, // 64: gitaly.RefService.FindRefName:output_type -> gitaly.FindRefNameResponse - 14, // 65: gitaly.RefService.FindLocalBranches:output_type -> gitaly.FindLocalBranchesResponse - 18, // 66: gitaly.RefService.FindAllBranches:output_type -> gitaly.FindAllBranchesResponse - 22, // 67: gitaly.RefService.FindAllTags:output_type -> gitaly.FindAllTagsResponse - 20, // 68: gitaly.RefService.FindTag:output_type -> gitaly.FindTagResponse - 44, // 69: gitaly.RefService.FindAllRemoteBranches:output_type -> gitaly.FindAllRemoteBranchesResponse - 24, // 70: gitaly.RefService.RefExists:output_type -> gitaly.RefExistsResponse - 30, // 71: gitaly.RefService.FindBranch:output_type -> gitaly.FindBranchResponse - 32, // 72: gitaly.RefService.DeleteRefs:output_type -> gitaly.DeleteRefsResponse - 34, // 73: gitaly.RefService.ListBranchNamesContainingCommit:output_type -> gitaly.ListBranchNamesContainingCommitResponse - 36, // 74: gitaly.RefService.ListTagNamesContainingCommit:output_type -> gitaly.ListTagNamesContainingCommitResponse - 38, // 75: gitaly.RefService.GetTagSignatures:output_type -> gitaly.GetTagSignaturesResponse - 40, // 76: gitaly.RefService.GetTagMessages:output_type -> gitaly.GetTagMessagesResponse - 42, // 77: gitaly.RefService.ListNewCommits:output_type -> gitaly.ListNewCommitsResponse - 4, // 78: gitaly.RefService.ListNewBlobs:output_type -> gitaly.ListNewBlobsResponse - 46, // 79: gitaly.RefService.PackRefs:output_type -> gitaly.PackRefsResponse - 61, // [61:80] is the sub-list for method output_type - 42, // [42:61] is the sub-list for method input_type - 42, // [42:42] is the sub-list for extension type_name - 42, // [42:42] is the sub-list for extension extendee - 0, // [0:42] is the sub-list for field type_name + 59, // 24: gitaly.CreateBranchResponse.branch:type_name -> gitaly.Branch + 53, // 25: gitaly.DeleteBranchRequest.repository:type_name -> gitaly.Repository + 53, // 26: gitaly.FindBranchRequest.repository:type_name -> gitaly.Repository + 59, // 27: gitaly.FindBranchResponse.branch:type_name -> gitaly.Branch + 53, // 28: gitaly.DeleteRefsRequest.repository:type_name -> gitaly.Repository + 53, // 29: gitaly.ListBranchNamesContainingCommitRequest.repository:type_name -> gitaly.Repository + 53, // 30: gitaly.ListTagNamesContainingCommitRequest.repository:type_name -> gitaly.Repository + 53, // 31: gitaly.GetTagSignaturesRequest.repository:type_name -> gitaly.Repository + 51, // 32: gitaly.GetTagSignaturesResponse.signatures:type_name -> gitaly.GetTagSignaturesResponse.TagSignature + 53, // 33: gitaly.GetTagMessagesRequest.repository:type_name -> gitaly.Repository + 53, // 34: gitaly.ListNewCommitsRequest.repository:type_name -> gitaly.Repository + 56, // 35: gitaly.ListNewCommitsResponse.commits:type_name -> gitaly.GitCommit + 53, // 36: gitaly.FindAllRemoteBranchesRequest.repository:type_name -> gitaly.Repository + 59, // 37: gitaly.FindAllRemoteBranchesResponse.branches:type_name -> gitaly.Branch + 53, // 38: gitaly.PackRefsRequest.repository:type_name -> gitaly.Repository + 53, // 39: gitaly.ListRefsRequest.repository:type_name -> gitaly.Repository + 52, // 40: gitaly.ListRefsResponse.references:type_name -> gitaly.ListRefsResponse.Reference + 56, // 41: gitaly.FindAllBranchesResponse.Branch.target:type_name -> gitaly.GitCommit + 1, // 42: gitaly.FindAllTagsRequest.SortBy.key:type_name -> gitaly.FindAllTagsRequest.SortBy.Key + 60, // 43: gitaly.FindAllTagsRequest.SortBy.direction:type_name -> gitaly.SortDirection + 5, // 44: gitaly.RefService.FindDefaultBranchName:input_type -> gitaly.FindDefaultBranchNameRequest + 7, // 45: gitaly.RefService.FindAllBranchNames:input_type -> gitaly.FindAllBranchNamesRequest + 9, // 46: gitaly.RefService.FindAllTagNames:input_type -> gitaly.FindAllTagNamesRequest + 11, // 47: gitaly.RefService.FindRefName:input_type -> gitaly.FindRefNameRequest + 13, // 48: gitaly.RefService.FindLocalBranches:input_type -> gitaly.FindLocalBranchesRequest + 17, // 49: gitaly.RefService.FindAllBranches:input_type -> gitaly.FindAllBranchesRequest + 21, // 50: gitaly.RefService.FindAllTags:input_type -> gitaly.FindAllTagsRequest + 19, // 51: gitaly.RefService.FindTag:input_type -> gitaly.FindTagRequest + 43, // 52: gitaly.RefService.FindAllRemoteBranches:input_type -> gitaly.FindAllRemoteBranchesRequest + 23, // 53: gitaly.RefService.RefExists:input_type -> gitaly.RefExistsRequest + 29, // 54: gitaly.RefService.FindBranch:input_type -> gitaly.FindBranchRequest + 31, // 55: gitaly.RefService.DeleteRefs:input_type -> gitaly.DeleteRefsRequest + 33, // 56: gitaly.RefService.ListBranchNamesContainingCommit:input_type -> gitaly.ListBranchNamesContainingCommitRequest + 35, // 57: gitaly.RefService.ListTagNamesContainingCommit:input_type -> gitaly.ListTagNamesContainingCommitRequest + 37, // 58: gitaly.RefService.GetTagSignatures:input_type -> gitaly.GetTagSignaturesRequest + 39, // 59: gitaly.RefService.GetTagMessages:input_type -> gitaly.GetTagMessagesRequest + 41, // 60: gitaly.RefService.ListNewCommits:input_type -> gitaly.ListNewCommitsRequest + 3, // 61: gitaly.RefService.ListNewBlobs:input_type -> gitaly.ListNewBlobsRequest + 45, // 62: gitaly.RefService.PackRefs:input_type -> gitaly.PackRefsRequest + 47, // 63: gitaly.RefService.ListRefs:input_type -> gitaly.ListRefsRequest + 6, // 64: gitaly.RefService.FindDefaultBranchName:output_type -> gitaly.FindDefaultBranchNameResponse + 8, // 65: gitaly.RefService.FindAllBranchNames:output_type -> gitaly.FindAllBranchNamesResponse + 10, // 66: gitaly.RefService.FindAllTagNames:output_type -> gitaly.FindAllTagNamesResponse + 12, // 67: gitaly.RefService.FindRefName:output_type -> gitaly.FindRefNameResponse + 14, // 68: gitaly.RefService.FindLocalBranches:output_type -> gitaly.FindLocalBranchesResponse + 18, // 69: gitaly.RefService.FindAllBranches:output_type -> gitaly.FindAllBranchesResponse + 22, // 70: gitaly.RefService.FindAllTags:output_type -> gitaly.FindAllTagsResponse + 20, // 71: gitaly.RefService.FindTag:output_type -> gitaly.FindTagResponse + 44, // 72: gitaly.RefService.FindAllRemoteBranches:output_type -> gitaly.FindAllRemoteBranchesResponse + 24, // 73: gitaly.RefService.RefExists:output_type -> gitaly.RefExistsResponse + 30, // 74: gitaly.RefService.FindBranch:output_type -> gitaly.FindBranchResponse + 32, // 75: gitaly.RefService.DeleteRefs:output_type -> gitaly.DeleteRefsResponse + 34, // 76: gitaly.RefService.ListBranchNamesContainingCommit:output_type -> gitaly.ListBranchNamesContainingCommitResponse + 36, // 77: gitaly.RefService.ListTagNamesContainingCommit:output_type -> gitaly.ListTagNamesContainingCommitResponse + 38, // 78: gitaly.RefService.GetTagSignatures:output_type -> gitaly.GetTagSignaturesResponse + 40, // 79: gitaly.RefService.GetTagMessages:output_type -> gitaly.GetTagMessagesResponse + 42, // 80: gitaly.RefService.ListNewCommits:output_type -> gitaly.ListNewCommitsResponse + 4, // 81: gitaly.RefService.ListNewBlobs:output_type -> gitaly.ListNewBlobsResponse + 46, // 82: gitaly.RefService.PackRefs:output_type -> gitaly.PackRefsResponse + 48, // 83: gitaly.RefService.ListRefs:output_type -> gitaly.ListRefsResponse + 64, // [64:84] is the sub-list for method output_type + 44, // [44:64] is the sub-list for method input_type + 44, // [44:44] is the sub-list for extension type_name + 44, // [44:44] is the sub-list for extension extendee + 0, // [0:44] is the sub-list for field type_name } func init() { file_ref_proto_init() } @@ -3858,7 +4065,7 @@ func file_ref_proto_init() { } } file_ref_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllBranchesResponse_Branch); i { + switch v := v.(*ListRefsRequest); i { case 0: return &v.state case 1: @@ -3870,7 +4077,7 @@ func file_ref_proto_init() { } } file_ref_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllTagsRequest_SortBy); i { + switch v := v.(*ListRefsResponse); i { case 0: return &v.state case 1: @@ -3882,6 +4089,30 @@ func file_ref_proto_init() { } } file_ref_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesResponse_Branch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagsRequest_SortBy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTagSignaturesResponse_TagSignature); i { case 0: return &v.state @@ -3893,6 +4124,18 @@ func file_ref_proto_init() { return nil } } + file_ref_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRefsResponse_Reference); 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{ @@ -3900,7 +4143,7 @@ func file_ref_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_ref_proto_rawDesc, NumEnums: 3, - NumMessages: 47, + NumMessages: 50, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/go/gitalypb/ref_grpc.pb.go b/proto/go/gitalypb/ref_grpc.pb.go index fc108c7a5..a343a0544 100644 --- a/proto/go/gitalypb/ref_grpc.pb.go +++ b/proto/go/gitalypb/ref_grpc.pb.go @@ -47,6 +47,10 @@ type RefServiceClient interface { ListNewCommits(ctx context.Context, in *ListNewCommitsRequest, opts ...grpc.CallOption) (RefService_ListNewCommitsClient, error) ListNewBlobs(ctx context.Context, in *ListNewBlobsRequest, opts ...grpc.CallOption) (RefService_ListNewBlobsClient, error) PackRefs(ctx context.Context, in *PackRefsRequest, opts ...grpc.CallOption) (*PackRefsResponse, error) + // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD + // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is + // pointing at. + ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) } type refServiceClient struct { @@ -504,6 +508,38 @@ func (c *refServiceClient) PackRefs(ctx context.Context, in *PackRefsRequest, op return out, nil } +func (c *refServiceClient) ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[12], "/gitaly.RefService/ListRefs", opts...) + if err != nil { + return nil, err + } + x := &refServiceListRefsClient{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 RefService_ListRefsClient interface { + Recv() (*ListRefsResponse, error) + grpc.ClientStream +} + +type refServiceListRefsClient struct { + grpc.ClientStream +} + +func (x *refServiceListRefsClient) Recv() (*ListRefsResponse, error) { + m := new(ListRefsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // RefServiceServer is the server API for RefService service. // All implementations must embed UnimplementedRefServiceServer // for forward compatibility @@ -537,6 +573,10 @@ type RefServiceServer interface { ListNewCommits(*ListNewCommitsRequest, RefService_ListNewCommitsServer) error ListNewBlobs(*ListNewBlobsRequest, RefService_ListNewBlobsServer) error PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) + // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD + // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is + // pointing at. + ListRefs(*ListRefsRequest, RefService_ListRefsServer) error mustEmbedUnimplementedRefServiceServer() } @@ -601,6 +641,9 @@ func (UnimplementedRefServiceServer) ListNewBlobs(*ListNewBlobsRequest, RefServi func (UnimplementedRefServiceServer) PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PackRefs not implemented") } +func (UnimplementedRefServiceServer) ListRefs(*ListRefsRequest, RefService_ListRefsServer) error { + return status.Errorf(codes.Unimplemented, "method ListRefs not implemented") +} func (UnimplementedRefServiceServer) mustEmbedUnimplementedRefServiceServer() {} // UnsafeRefServiceServer may be embedded to opt out of forward compatibility for this service. @@ -992,6 +1035,27 @@ func _RefService_PackRefs_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +func _RefService_ListRefs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListRefsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListRefs(m, &refServiceListRefsServer{stream}) +} + +type RefService_ListRefsServer interface { + Send(*ListRefsResponse) error + grpc.ServerStream +} + +type refServiceListRefsServer struct { + grpc.ServerStream +} + +func (x *refServiceListRefsServer) Send(m *ListRefsResponse) error { + return x.ServerStream.SendMsg(m) +} + // RefService_ServiceDesc is the grpc.ServiceDesc for RefService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -1089,6 +1153,11 @@ var RefService_ServiceDesc = grpc.ServiceDesc{ Handler: _RefService_ListNewBlobs_Handler, ServerStreams: true, }, + { + StreamName: "ListRefs", + Handler: _RefService_ListRefs_Handler, + ServerStreams: true, + }, }, Metadata: "ref.proto", } |