diff options
Diffstat (limited to 'proto/go/gitalypb/hook.pb.go')
-rw-r--r-- | proto/go/gitalypb/hook.pb.go | 1249 |
1 files changed, 823 insertions, 426 deletions
diff --git a/proto/go/gitalypb/hook.pb.go b/proto/go/gitalypb/hook.pb.go index 8b1343a5f..be83ca9db 100644 --- a/proto/go/gitalypb/hook.pb.go +++ b/proto/go/gitalypb/hook.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: hook.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ReferenceTransactionHookRequest_State int32 @@ -32,680 +37,1072 @@ const ( ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 ) -var ReferenceTransactionHookRequest_State_name = map[int32]string{ - 0: "PREPARED", - 1: "COMMITTED", - 2: "ABORTED", -} +// Enum value maps for ReferenceTransactionHookRequest_State. +var ( + ReferenceTransactionHookRequest_State_name = map[int32]string{ + 0: "PREPARED", + 1: "COMMITTED", + 2: "ABORTED", + } + ReferenceTransactionHookRequest_State_value = map[string]int32{ + "PREPARED": 0, + "COMMITTED": 1, + "ABORTED": 2, + } +) -var ReferenceTransactionHookRequest_State_value = map[string]int32{ - "PREPARED": 0, - "COMMITTED": 1, - "ABORTED": 2, +func (x ReferenceTransactionHookRequest_State) Enum() *ReferenceTransactionHookRequest_State { + p := new(ReferenceTransactionHookRequest_State) + *p = x + return p } func (x ReferenceTransactionHookRequest_State) String() string { - return proto.EnumName(ReferenceTransactionHookRequest_State_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ReferenceTransactionHookRequest_State) Descriptor() protoreflect.EnumDescriptor { + return file_hook_proto_enumTypes[0].Descriptor() +} + +func (ReferenceTransactionHookRequest_State) Type() protoreflect.EnumType { + return &file_hook_proto_enumTypes[0] +} + +func (x ReferenceTransactionHookRequest_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReferenceTransactionHookRequest_State.Descriptor instead. func (ReferenceTransactionHookRequest_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{6, 0} + return file_hook_proto_rawDescGZIP(), []int{6, 0} } type PreReceiveHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"` GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *PreReceiveHookRequest) Reset() { *m = PreReceiveHookRequest{} } -func (m *PreReceiveHookRequest) String() string { return proto.CompactTextString(m) } -func (*PreReceiveHookRequest) ProtoMessage() {} -func (*PreReceiveHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{0} +func (x *PreReceiveHookRequest) Reset() { + *x = PreReceiveHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PreReceiveHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreReceiveHookRequest.Unmarshal(m, b) +func (x *PreReceiveHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PreReceiveHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreReceiveHookRequest.Marshal(b, m, deterministic) -} -func (m *PreReceiveHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreReceiveHookRequest.Merge(m, src) -} -func (m *PreReceiveHookRequest) XXX_Size() int { - return xxx_messageInfo_PreReceiveHookRequest.Size(m) -} -func (m *PreReceiveHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PreReceiveHookRequest.DiscardUnknown(m) + +func (*PreReceiveHookRequest) ProtoMessage() {} + +func (x *PreReceiveHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PreReceiveHookRequest proto.InternalMessageInfo +// Deprecated: Use PreReceiveHookRequest.ProtoReflect.Descriptor instead. +func (*PreReceiveHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{0} +} -func (m *PreReceiveHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PreReceiveHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PreReceiveHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *PreReceiveHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *PreReceiveHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *PreReceiveHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *PreReceiveHookRequest) GetGitPushOptions() []string { - if m != nil { - return m.GitPushOptions +func (x *PreReceiveHookRequest) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions } return nil } type PreReceiveHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PreReceiveHookResponse) Reset() { *m = PreReceiveHookResponse{} } -func (m *PreReceiveHookResponse) String() string { return proto.CompactTextString(m) } -func (*PreReceiveHookResponse) ProtoMessage() {} -func (*PreReceiveHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{1} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *PreReceiveHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreReceiveHookResponse.Unmarshal(m, b) -} -func (m *PreReceiveHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreReceiveHookResponse.Marshal(b, m, deterministic) -} -func (m *PreReceiveHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreReceiveHookResponse.Merge(m, src) +func (x *PreReceiveHookResponse) Reset() { + *x = PreReceiveHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PreReceiveHookResponse) XXX_Size() int { - return xxx_messageInfo_PreReceiveHookResponse.Size(m) + +func (x *PreReceiveHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PreReceiveHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PreReceiveHookResponse.DiscardUnknown(m) + +func (*PreReceiveHookResponse) ProtoMessage() {} + +func (x *PreReceiveHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PreReceiveHookResponse proto.InternalMessageInfo +// Deprecated: Use PreReceiveHookResponse.ProtoReflect.Descriptor instead. +func (*PreReceiveHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{1} +} -func (m *PreReceiveHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *PreReceiveHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *PreReceiveHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *PreReceiveHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *PreReceiveHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *PreReceiveHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type PostReceiveHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *PostReceiveHookRequest) Reset() { *m = PostReceiveHookRequest{} } -func (m *PostReceiveHookRequest) String() string { return proto.CompactTextString(m) } -func (*PostReceiveHookRequest) ProtoMessage() {} -func (*PostReceiveHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{2} +func (x *PostReceiveHookRequest) Reset() { + *x = PostReceiveHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostReceiveHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostReceiveHookRequest.Unmarshal(m, b) -} -func (m *PostReceiveHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostReceiveHookRequest.Marshal(b, m, deterministic) -} -func (m *PostReceiveHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostReceiveHookRequest.Merge(m, src) +func (x *PostReceiveHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostReceiveHookRequest) XXX_Size() int { - return xxx_messageInfo_PostReceiveHookRequest.Size(m) -} -func (m *PostReceiveHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PostReceiveHookRequest.DiscardUnknown(m) + +func (*PostReceiveHookRequest) ProtoMessage() {} + +func (x *PostReceiveHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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 mi.MessageOf(x) } -var xxx_messageInfo_PostReceiveHookRequest proto.InternalMessageInfo +// Deprecated: Use PostReceiveHookRequest.ProtoReflect.Descriptor instead. +func (*PostReceiveHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{2} +} -func (m *PostReceiveHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PostReceiveHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PostReceiveHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *PostReceiveHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *PostReceiveHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *PostReceiveHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *PostReceiveHookRequest) GetGitPushOptions() []string { - if m != nil { - return m.GitPushOptions +func (x *PostReceiveHookRequest) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions } return nil } type PostReceiveHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PostReceiveHookResponse) Reset() { *m = PostReceiveHookResponse{} } -func (m *PostReceiveHookResponse) String() string { return proto.CompactTextString(m) } -func (*PostReceiveHookResponse) ProtoMessage() {} -func (*PostReceiveHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{3} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *PostReceiveHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostReceiveHookResponse.Unmarshal(m, b) -} -func (m *PostReceiveHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostReceiveHookResponse.Marshal(b, m, deterministic) -} -func (m *PostReceiveHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostReceiveHookResponse.Merge(m, src) +func (x *PostReceiveHookResponse) Reset() { + *x = PostReceiveHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostReceiveHookResponse) XXX_Size() int { - return xxx_messageInfo_PostReceiveHookResponse.Size(m) + +func (x *PostReceiveHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostReceiveHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PostReceiveHookResponse.DiscardUnknown(m) + +func (*PostReceiveHookResponse) ProtoMessage() {} + +func (x *PostReceiveHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PostReceiveHookResponse proto.InternalMessageInfo +// Deprecated: Use PostReceiveHookResponse.ProtoReflect.Descriptor instead. +func (*PostReceiveHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{3} +} -func (m *PostReceiveHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *PostReceiveHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *PostReceiveHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *PostReceiveHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *PostReceiveHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *PostReceiveHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type UpdateHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *UpdateHookRequest) Reset() { *m = UpdateHookRequest{} } -func (m *UpdateHookRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateHookRequest) ProtoMessage() {} -func (*UpdateHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{4} +func (x *UpdateHookRequest) Reset() { + *x = UpdateHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateHookRequest.Unmarshal(m, b) +func (x *UpdateHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateHookRequest.Marshal(b, m, deterministic) -} -func (m *UpdateHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateHookRequest.Merge(m, src) -} -func (m *UpdateHookRequest) XXX_Size() int { - return xxx_messageInfo_UpdateHookRequest.Size(m) -} -func (m *UpdateHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateHookRequest.DiscardUnknown(m) + +func (*UpdateHookRequest) ProtoMessage() {} + +func (x *UpdateHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_UpdateHookRequest proto.InternalMessageInfo +// Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead. +func (*UpdateHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{4} +} -func (m *UpdateHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UpdateHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UpdateHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *UpdateHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *UpdateHookRequest) GetRef() []byte { - if m != nil { - return m.Ref +func (x *UpdateHookRequest) GetRef() []byte { + if x != nil { + return x.Ref } return nil } -func (m *UpdateHookRequest) GetOldValue() string { - if m != nil { - return m.OldValue +func (x *UpdateHookRequest) GetOldValue() string { + if x != nil { + return x.OldValue } return "" } -func (m *UpdateHookRequest) GetNewValue() string { - if m != nil { - return m.NewValue +func (x *UpdateHookRequest) GetNewValue() string { + if x != nil { + return x.NewValue } return "" } type UpdateHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UpdateHookResponse) Reset() { *m = UpdateHookResponse{} } -func (m *UpdateHookResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateHookResponse) ProtoMessage() {} -func (*UpdateHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{5} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *UpdateHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateHookResponse.Unmarshal(m, b) -} -func (m *UpdateHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateHookResponse.Marshal(b, m, deterministic) -} -func (m *UpdateHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateHookResponse.Merge(m, src) +func (x *UpdateHookResponse) Reset() { + *x = UpdateHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateHookResponse) XXX_Size() int { - return xxx_messageInfo_UpdateHookResponse.Size(m) + +func (x *UpdateHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateHookResponse.DiscardUnknown(m) + +func (*UpdateHookResponse) ProtoMessage() {} + +func (x *UpdateHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_UpdateHookResponse proto.InternalMessageInfo +// Deprecated: Use UpdateHookResponse.ProtoReflect.Descriptor instead. +func (*UpdateHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{5} +} -func (m *UpdateHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *UpdateHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *UpdateHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *UpdateHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *UpdateHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *UpdateHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type ReferenceTransactionHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ReferenceTransactionHookRequest) Reset() { *m = ReferenceTransactionHookRequest{} } -func (m *ReferenceTransactionHookRequest) String() string { return proto.CompactTextString(m) } -func (*ReferenceTransactionHookRequest) ProtoMessage() {} -func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{6} +func (x *ReferenceTransactionHookRequest) Reset() { + *x = ReferenceTransactionHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReferenceTransactionHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReferenceTransactionHookRequest.Unmarshal(m, b) -} -func (m *ReferenceTransactionHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReferenceTransactionHookRequest.Marshal(b, m, deterministic) -} -func (m *ReferenceTransactionHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceTransactionHookRequest.Merge(m, src) +func (x *ReferenceTransactionHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReferenceTransactionHookRequest) XXX_Size() int { - return xxx_messageInfo_ReferenceTransactionHookRequest.Size(m) -} -func (m *ReferenceTransactionHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReferenceTransactionHookRequest.DiscardUnknown(m) + +func (*ReferenceTransactionHookRequest) ProtoMessage() {} + +func (x *ReferenceTransactionHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_ReferenceTransactionHookRequest proto.InternalMessageInfo +// Deprecated: Use ReferenceTransactionHookRequest.ProtoReflect.Descriptor instead. +func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{6} +} -func (m *ReferenceTransactionHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ReferenceTransactionHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *ReferenceTransactionHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *ReferenceTransactionHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State { - if m != nil { - return m.State +func (x *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State { + if x != nil { + return x.State } return ReferenceTransactionHookRequest_PREPARED } type ReferenceTransactionHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ReferenceTransactionHookResponse) Reset() { *m = ReferenceTransactionHookResponse{} } -func (m *ReferenceTransactionHookResponse) String() string { return proto.CompactTextString(m) } -func (*ReferenceTransactionHookResponse) ProtoMessage() {} -func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{7} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *ReferenceTransactionHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReferenceTransactionHookResponse.Unmarshal(m, b) -} -func (m *ReferenceTransactionHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReferenceTransactionHookResponse.Marshal(b, m, deterministic) -} -func (m *ReferenceTransactionHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceTransactionHookResponse.Merge(m, src) +func (x *ReferenceTransactionHookResponse) Reset() { + *x = ReferenceTransactionHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReferenceTransactionHookResponse) XXX_Size() int { - return xxx_messageInfo_ReferenceTransactionHookResponse.Size(m) + +func (x *ReferenceTransactionHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReferenceTransactionHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReferenceTransactionHookResponse.DiscardUnknown(m) + +func (*ReferenceTransactionHookResponse) ProtoMessage() {} + +func (x *ReferenceTransactionHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_ReferenceTransactionHookResponse proto.InternalMessageInfo +// Deprecated: Use ReferenceTransactionHookResponse.ProtoReflect.Descriptor instead. +func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{7} +} -func (m *ReferenceTransactionHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *ReferenceTransactionHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *ReferenceTransactionHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *ReferenceTransactionHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type PackObjectsHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // args contains the arguments passed to the pack-objects hook, without the leading "git" Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // stdin is meant for consumption by git-pack-objects - Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` } -func (m *PackObjectsHookRequest) Reset() { *m = PackObjectsHookRequest{} } -func (m *PackObjectsHookRequest) String() string { return proto.CompactTextString(m) } -func (*PackObjectsHookRequest) ProtoMessage() {} -func (*PackObjectsHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{8} +func (x *PackObjectsHookRequest) Reset() { + *x = PackObjectsHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PackObjectsHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackObjectsHookRequest.Unmarshal(m, b) +func (x *PackObjectsHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PackObjectsHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackObjectsHookRequest.Marshal(b, m, deterministic) -} -func (m *PackObjectsHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackObjectsHookRequest.Merge(m, src) -} -func (m *PackObjectsHookRequest) XXX_Size() int { - return xxx_messageInfo_PackObjectsHookRequest.Size(m) -} -func (m *PackObjectsHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PackObjectsHookRequest.DiscardUnknown(m) + +func (*PackObjectsHookRequest) ProtoMessage() {} + +func (x *PackObjectsHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PackObjectsHookRequest proto.InternalMessageInfo +// Deprecated: Use PackObjectsHookRequest.ProtoReflect.Descriptor instead. +func (*PackObjectsHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{8} +} -func (m *PackObjectsHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PackObjectsHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PackObjectsHookRequest) GetArgs() []string { - if m != nil { - return m.Args +func (x *PackObjectsHookRequest) GetArgs() []string { + if x != nil { + return x.Args } return nil } -func (m *PackObjectsHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *PackObjectsHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } type PackObjectsHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // stdout contains packfile data Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr contains progress messages (such as "Enumerating objects ...") - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` } -func (m *PackObjectsHookResponse) Reset() { *m = PackObjectsHookResponse{} } -func (m *PackObjectsHookResponse) String() string { return proto.CompactTextString(m) } -func (*PackObjectsHookResponse) ProtoMessage() {} -func (*PackObjectsHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{9} +func (x *PackObjectsHookResponse) Reset() { + *x = PackObjectsHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PackObjectsHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackObjectsHookResponse.Unmarshal(m, b) -} -func (m *PackObjectsHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackObjectsHookResponse.Marshal(b, m, deterministic) +func (x *PackObjectsHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PackObjectsHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackObjectsHookResponse.Merge(m, src) -} -func (m *PackObjectsHookResponse) XXX_Size() int { - return xxx_messageInfo_PackObjectsHookResponse.Size(m) -} -func (m *PackObjectsHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PackObjectsHookResponse.DiscardUnknown(m) + +func (*PackObjectsHookResponse) ProtoMessage() {} + +func (x *PackObjectsHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PackObjectsHookResponse proto.InternalMessageInfo +// Deprecated: Use PackObjectsHookResponse.ProtoReflect.Descriptor instead. +func (*PackObjectsHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{9} +} -func (m *PackObjectsHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *PackObjectsHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *PackObjectsHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *PackObjectsHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func init() { - proto.RegisterEnum("gitaly.ReferenceTransactionHookRequest_State", ReferenceTransactionHookRequest_State_name, ReferenceTransactionHookRequest_State_value) - proto.RegisterType((*PreReceiveHookRequest)(nil), "gitaly.PreReceiveHookRequest") - proto.RegisterType((*PreReceiveHookResponse)(nil), "gitaly.PreReceiveHookResponse") - proto.RegisterType((*PostReceiveHookRequest)(nil), "gitaly.PostReceiveHookRequest") - proto.RegisterType((*PostReceiveHookResponse)(nil), "gitaly.PostReceiveHookResponse") - proto.RegisterType((*UpdateHookRequest)(nil), "gitaly.UpdateHookRequest") - proto.RegisterType((*UpdateHookResponse)(nil), "gitaly.UpdateHookResponse") - proto.RegisterType((*ReferenceTransactionHookRequest)(nil), "gitaly.ReferenceTransactionHookRequest") - proto.RegisterType((*ReferenceTransactionHookResponse)(nil), "gitaly.ReferenceTransactionHookResponse") - proto.RegisterType((*PackObjectsHookRequest)(nil), "gitaly.PackObjectsHookRequest") - proto.RegisterType((*PackObjectsHookResponse)(nil), "gitaly.PackObjectsHookResponse") -} - -func init() { proto.RegisterFile("hook.proto", fileDescriptor_3eef30da1c11ee1b) } - -var fileDescriptor_3eef30da1c11ee1b = []byte{ - // 642 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x6f, 0xd3, 0x4e, - 0x10, 0xfd, 0x39, 0xff, 0x7e, 0xcd, 0x24, 0x94, 0xb0, 0x6a, 0x53, 0x63, 0x04, 0x8d, 0x7c, 0xc1, - 0x07, 0x9a, 0x94, 0xf6, 0xc2, 0xb5, 0x7f, 0x22, 0xd1, 0x43, 0x95, 0x68, 0x5b, 0x7a, 0x00, 0x89, - 0x68, 0xe3, 0x4c, 0x93, 0xa5, 0xae, 0xd7, 0xec, 0x6e, 0xd2, 0x46, 0x02, 0xae, 0x7c, 0x04, 0x38, - 0xf1, 0x71, 0xca, 0x8d, 0x4f, 0xc3, 0x89, 0x13, 0xb2, 0x9d, 0xb4, 0x49, 0xeb, 0x50, 0x84, 0x50, - 0xe9, 0x6d, 0x67, 0xde, 0xee, 0xdb, 0x7d, 0x6f, 0x26, 0x13, 0x03, 0xf4, 0x84, 0x38, 0xaa, 0x06, - 0x52, 0x68, 0x41, 0x72, 0x5d, 0xae, 0x99, 0x37, 0xb4, 0xc0, 0xe3, 0xbe, 0x8e, 0x73, 0x56, 0x51, - 0xf5, 0x98, 0xc4, 0x4e, 0x1c, 0xd9, 0x67, 0x06, 0x2c, 0x36, 0x25, 0x52, 0x74, 0x91, 0x0f, 0xf0, - 0xb9, 0x10, 0x47, 0x14, 0xdf, 0xf6, 0x51, 0x69, 0xf2, 0x0c, 0x40, 0x62, 0x20, 0x14, 0xd7, 0x42, - 0x0e, 0x4d, 0xa3, 0x62, 0x38, 0x85, 0x35, 0x52, 0x8d, 0x09, 0xab, 0xf4, 0x1c, 0xd9, 0xcc, 0x7c, - 0x3e, 0x7b, 0x62, 0xd0, 0x89, 0xbd, 0x64, 0x1d, 0x16, 0xd1, 0x1f, 0x70, 0x29, 0xfc, 0x63, 0xf4, - 0x75, 0x6b, 0xc0, 0x24, 0x67, 0x6d, 0x0f, 0x95, 0x99, 0xaa, 0xa4, 0x9d, 0x3c, 0x5d, 0x98, 0x00, - 0x0f, 0xc6, 0x18, 0x59, 0x80, 0xac, 0xd2, 0x1d, 0xee, 0x9b, 0x99, 0x8a, 0xe1, 0x14, 0x69, 0x1c, - 0x10, 0x07, 0x4a, 0x5d, 0xae, 0x5b, 0x41, 0x5f, 0xf5, 0x5a, 0x22, 0xd0, 0x5c, 0xf8, 0xca, 0xcc, - 0x46, 0x2c, 0xf3, 0x5d, 0xae, 0x9b, 0x7d, 0xd5, 0x6b, 0xc4, 0x59, 0xfb, 0x3d, 0x94, 0x2f, 0xeb, - 0x50, 0x81, 0xf0, 0x15, 0x92, 0x32, 0xe4, 0x94, 0xee, 0x88, 0xbe, 0x8e, 0x44, 0x14, 0xe9, 0x28, - 0x1a, 0xe5, 0x51, 0x4a, 0x33, 0x75, 0x9e, 0x47, 0x29, 0xc9, 0x3a, 0x14, 0xf0, 0x94, 0xeb, 0x96, - 0xd2, 0x4c, 0xf7, 0x95, 0x99, 0x9e, 0x56, 0x5e, 0x3f, 0xe5, 0x7a, 0x2f, 0x42, 0x28, 0xe0, 0xf9, - 0xda, 0xfe, 0x6a, 0x40, 0xb9, 0x29, 0x94, 0xbe, 0x45, 0x46, 0xa6, 0xaf, 0x33, 0x32, 0x93, 0x68, - 0xe4, 0x07, 0x58, 0xba, 0x22, 0xe4, 0x26, 0x9d, 0xfc, 0x66, 0xc0, 0xbd, 0x17, 0x41, 0x87, 0xe9, - 0x7f, 0x69, 0x62, 0x09, 0xd2, 0x12, 0x0f, 0x47, 0x16, 0x86, 0x4b, 0xf2, 0x00, 0xf2, 0xc2, 0xeb, - 0xb4, 0x06, 0xcc, 0xeb, 0x63, 0xd4, 0xa3, 0x79, 0x3a, 0x27, 0xbc, 0xce, 0x41, 0x18, 0x87, 0xa0, - 0x8f, 0x27, 0x23, 0x30, 0x1b, 0x83, 0x3e, 0x9e, 0x44, 0xa0, 0x3d, 0x04, 0x32, 0xa9, 0xe7, 0x26, - 0xbd, 0xfc, 0x92, 0x82, 0x65, 0x8a, 0x87, 0x28, 0xd1, 0x77, 0x71, 0x5f, 0x32, 0x5f, 0x31, 0x37, - 0xac, 0xf2, 0xad, 0x6b, 0xcf, 0xad, 0x30, 0xcb, 0x74, 0xec, 0xec, 0xfc, 0xda, 0xca, 0xc5, 0xfd, - 0xbf, 0x7c, 0x7c, 0x35, 0xd4, 0x89, 0x34, 0x3e, 0x6b, 0x3f, 0x85, 0x6c, 0x14, 0x93, 0x22, 0xcc, - 0x35, 0x69, 0xbd, 0xb9, 0x41, 0xeb, 0xdb, 0xa5, 0xff, 0xc8, 0x1d, 0xc8, 0x6f, 0x35, 0x76, 0x77, - 0x77, 0xf6, 0xf7, 0xeb, 0xdb, 0x25, 0x83, 0x14, 0xe0, 0xff, 0x8d, 0xcd, 0x06, 0x0d, 0x83, 0x94, - 0xfd, 0xd1, 0x80, 0xca, 0xec, 0x3b, 0x6e, 0xb2, 0x54, 0xef, 0xa0, 0xdc, 0x64, 0xee, 0x51, 0xa3, - 0xfd, 0x06, 0x5d, 0xad, 0xfe, 0x4e, 0x81, 0x08, 0x64, 0x98, 0xec, 0x8e, 0xeb, 0x11, 0xad, 0x93, - 0xfd, 0xb7, 0x77, 0x60, 0xe9, 0xca, 0xed, 0x7f, 0xa6, 0x7e, 0xed, 0x7b, 0x1a, 0x0a, 0x21, 0xc1, - 0x1e, 0xca, 0x01, 0x77, 0x91, 0xbc, 0x82, 0xf9, 0xe9, 0xc1, 0x4c, 0x1e, 0x8e, 0x1f, 0x9f, 0xf8, - 0xc7, 0x63, 0x3d, 0x9a, 0x05, 0xc7, 0x0f, 0xb2, 0x73, 0x3f, 0x3e, 0x39, 0xa9, 0xb9, 0x94, 0x63, - 0xac, 0x1a, 0xe4, 0x35, 0xdc, 0xbd, 0x34, 0xac, 0xc8, 0xc5, 0xf1, 0xc4, 0x71, 0x6c, 0x2d, 0xcf, - 0xc4, 0x13, 0xf8, 0x77, 0x01, 0x2e, 0x7e, 0xbb, 0xe4, 0xfe, 0xf8, 0xe8, 0x95, 0xf9, 0x64, 0x59, - 0x49, 0xd0, 0x34, 0xe1, 0xaa, 0x41, 0x86, 0x60, 0xce, 0xea, 0x36, 0xf2, 0xf8, 0x37, 0x7b, 0xde, - 0x72, 0xae, 0xdf, 0x38, 0xc3, 0xa9, 0xe9, 0x0a, 0x4f, 0x38, 0x95, 0xd8, 0x78, 0x13, 0x4e, 0x25, - 0xb7, 0xc6, 0x24, 0xff, 0xe6, 0xea, 0xcb, 0x70, 0xb7, 0xc7, 0xda, 0x55, 0x57, 0x1c, 0xd7, 0xe2, - 0xe5, 0x8a, 0x90, 0xdd, 0x5a, 0xcc, 0x51, 0x8b, 0x3e, 0x37, 0x6a, 0x5d, 0x31, 0x8a, 0x83, 0x76, - 0x3b, 0x17, 0xa5, 0xd6, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x68, 0xd7, 0xfb, 0xb1, 0x08, - 0x00, 0x00, +var File_hook_proto protoreflect.FileDescriptor + +var file_hook_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x68, 0x6f, 0x6f, 0x6b, 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, 0xc6, + 0x01, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, + 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, + 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, + 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc7, 0x01, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, + 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x7e, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, + 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, + 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0xce, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x79, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9e, 0x02, 0x0a, + 0x1f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x31, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x87, 0x01, + 0x0a, 0x20, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x7c, 0x0a, 0x16, 0x50, 0x61, 0x63, 0x6b, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x12, 0x0a, 0x04, 0x61, + 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x22, 0x49, 0x0a, 0x17, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, + 0x32, 0xf4, 0x03, 0x0a, 0x0b, 0x48, 0x6f, 0x6f, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, + 0x6f, 0x6b, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, 0x0a, + 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, + 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4d, 0x0a, + 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x18, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_hook_proto_rawDescOnce sync.Once + file_hook_proto_rawDescData = file_hook_proto_rawDesc +) + +func file_hook_proto_rawDescGZIP() []byte { + file_hook_proto_rawDescOnce.Do(func() { + file_hook_proto_rawDescData = protoimpl.X.CompressGZIP(file_hook_proto_rawDescData) + }) + return file_hook_proto_rawDescData +} + +var file_hook_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_hook_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_hook_proto_goTypes = []interface{}{ + (ReferenceTransactionHookRequest_State)(0), // 0: gitaly.ReferenceTransactionHookRequest.State + (*PreReceiveHookRequest)(nil), // 1: gitaly.PreReceiveHookRequest + (*PreReceiveHookResponse)(nil), // 2: gitaly.PreReceiveHookResponse + (*PostReceiveHookRequest)(nil), // 3: gitaly.PostReceiveHookRequest + (*PostReceiveHookResponse)(nil), // 4: gitaly.PostReceiveHookResponse + (*UpdateHookRequest)(nil), // 5: gitaly.UpdateHookRequest + (*UpdateHookResponse)(nil), // 6: gitaly.UpdateHookResponse + (*ReferenceTransactionHookRequest)(nil), // 7: gitaly.ReferenceTransactionHookRequest + (*ReferenceTransactionHookResponse)(nil), // 8: gitaly.ReferenceTransactionHookResponse + (*PackObjectsHookRequest)(nil), // 9: gitaly.PackObjectsHookRequest + (*PackObjectsHookResponse)(nil), // 10: gitaly.PackObjectsHookResponse + (*Repository)(nil), // 11: gitaly.Repository + (*ExitStatus)(nil), // 12: gitaly.ExitStatus +} +var file_hook_proto_depIdxs = []int32{ + 11, // 0: gitaly.PreReceiveHookRequest.repository:type_name -> gitaly.Repository + 12, // 1: gitaly.PreReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 2: gitaly.PostReceiveHookRequest.repository:type_name -> gitaly.Repository + 12, // 3: gitaly.PostReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 4: gitaly.UpdateHookRequest.repository:type_name -> gitaly.Repository + 12, // 5: gitaly.UpdateHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 6: gitaly.ReferenceTransactionHookRequest.repository:type_name -> gitaly.Repository + 0, // 7: gitaly.ReferenceTransactionHookRequest.state:type_name -> gitaly.ReferenceTransactionHookRequest.State + 12, // 8: gitaly.ReferenceTransactionHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 9: gitaly.PackObjectsHookRequest.repository:type_name -> gitaly.Repository + 1, // 10: gitaly.HookService.PreReceiveHook:input_type -> gitaly.PreReceiveHookRequest + 3, // 11: gitaly.HookService.PostReceiveHook:input_type -> gitaly.PostReceiveHookRequest + 5, // 12: gitaly.HookService.UpdateHook:input_type -> gitaly.UpdateHookRequest + 7, // 13: gitaly.HookService.ReferenceTransactionHook:input_type -> gitaly.ReferenceTransactionHookRequest + 9, // 14: gitaly.HookService.PackObjectsHook:input_type -> gitaly.PackObjectsHookRequest + 2, // 15: gitaly.HookService.PreReceiveHook:output_type -> gitaly.PreReceiveHookResponse + 4, // 16: gitaly.HookService.PostReceiveHook:output_type -> gitaly.PostReceiveHookResponse + 6, // 17: gitaly.HookService.UpdateHook:output_type -> gitaly.UpdateHookResponse + 8, // 18: gitaly.HookService.ReferenceTransactionHook:output_type -> gitaly.ReferenceTransactionHookResponse + 10, // 19: gitaly.HookService.PackObjectsHook:output_type -> gitaly.PackObjectsHookResponse + 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_hook_proto_init() } +func file_hook_proto_init() { + if File_hook_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_hook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreReceiveHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreReceiveHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceiveHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceiveHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceTransactionHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceTransactionHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackObjectsHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackObjectsHookResponse); 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{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_hook_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_hook_proto_goTypes, + DependencyIndexes: file_hook_proto_depIdxs, + EnumInfos: file_hook_proto_enumTypes, + MessageInfos: file_hook_proto_msgTypes, + }.Build() + File_hook_proto = out.File + file_hook_proto_rawDesc = nil + file_hook_proto_goTypes = nil + file_hook_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // HookServiceClient is the client API for HookService service. // @@ -722,10 +1119,10 @@ type HookServiceClient interface { } type hookServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewHookServiceClient(cc *grpc.ClientConn) HookServiceClient { +func NewHookServiceClient(cc grpc.ClientConnInterface) HookServiceClient { return &hookServiceClient{cc} } @@ -901,19 +1298,19 @@ type HookServiceServer interface { type UnimplementedHookServiceServer struct { } -func (*UnimplementedHookServiceServer) PreReceiveHook(srv HookService_PreReceiveHookServer) error { +func (*UnimplementedHookServiceServer) PreReceiveHook(HookService_PreReceiveHookServer) error { return status.Errorf(codes.Unimplemented, "method PreReceiveHook not implemented") } -func (*UnimplementedHookServiceServer) PostReceiveHook(srv HookService_PostReceiveHookServer) error { +func (*UnimplementedHookServiceServer) PostReceiveHook(HookService_PostReceiveHookServer) error { return status.Errorf(codes.Unimplemented, "method PostReceiveHook not implemented") } -func (*UnimplementedHookServiceServer) UpdateHook(req *UpdateHookRequest, srv HookService_UpdateHookServer) error { +func (*UnimplementedHookServiceServer) UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error { return status.Errorf(codes.Unimplemented, "method UpdateHook not implemented") } -func (*UnimplementedHookServiceServer) ReferenceTransactionHook(srv HookService_ReferenceTransactionHookServer) error { +func (*UnimplementedHookServiceServer) ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error { return status.Errorf(codes.Unimplemented, "method ReferenceTransactionHook not implemented") } -func (*UnimplementedHookServiceServer) PackObjectsHook(srv HookService_PackObjectsHookServer) error { +func (*UnimplementedHookServiceServer) PackObjectsHook(HookService_PackObjectsHookServer) error { return status.Errorf(codes.Unimplemented, "method PackObjectsHook not implemented") } |