// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v4.23.1 // source: diff.proto package gitalypb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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) ) // DiffMode determines the type of diff that will be returned. type CommitDiffRequest_DiffMode int32 const ( // DEFAULT is the standard diff mode and results in a linewise diff for textfiles. CommitDiffRequest_DEFAULT CommitDiffRequest_DiffMode = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // WORDDIFF is a word diff and computes the diff for whitespace separated words instead of for whole lines. CommitDiffRequest_WORDDIFF CommitDiffRequest_DiffMode = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for CommitDiffRequest_DiffMode. var ( CommitDiffRequest_DiffMode_name = map[int32]string{ 0: "DEFAULT", 1: "WORDDIFF", } CommitDiffRequest_DiffMode_value = map[string]int32{ "DEFAULT": 0, "WORDDIFF": 1, } ) func (x CommitDiffRequest_DiffMode) Enum() *CommitDiffRequest_DiffMode { p := new(CommitDiffRequest_DiffMode) *p = x return p } func (x CommitDiffRequest_DiffMode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CommitDiffRequest_DiffMode) Descriptor() protoreflect.EnumDescriptor { return file_diff_proto_enumTypes[0].Descriptor() } func (CommitDiffRequest_DiffMode) Type() protoreflect.EnumType { return &file_diff_proto_enumTypes[0] } func (x CommitDiffRequest_DiffMode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CommitDiffRequest_DiffMode.Descriptor instead. func (CommitDiffRequest_DiffMode) EnumDescriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{0, 0} } // WhitespaceChanges states which whitespace changes we should ignore. These options correlate to // the ones present in git-diff(1). type CommitDiffRequest_WhitespaceChanges int32 const ( // WHITESPACE_CHANGES_UNSPECIFIED is used to not ignore any whitespace changes. CommitDiffRequest_WHITESPACE_CHANGES_UNSPECIFIED CommitDiffRequest_WhitespaceChanges = 0 // WHITESPACE_CHANGES_IGNORE specifies to use the `--ignore-space-change` flag of git-diff(1). // Only changes in amount of whitespace are ignored. CommitDiffRequest_WHITESPACE_CHANGES_IGNORE CommitDiffRequest_WhitespaceChanges = 1 // WHITESPACE_CHANGES_IGNORE_ALL specifies to use the `--ignore-all-space` flag of git-diff(1). // all whitespace characters are ignored when comparing lines. CommitDiffRequest_WHITESPACE_CHANGES_IGNORE_ALL CommitDiffRequest_WhitespaceChanges = 2 ) // Enum value maps for CommitDiffRequest_WhitespaceChanges. var ( CommitDiffRequest_WhitespaceChanges_name = map[int32]string{ 0: "WHITESPACE_CHANGES_UNSPECIFIED", 1: "WHITESPACE_CHANGES_IGNORE", 2: "WHITESPACE_CHANGES_IGNORE_ALL", } CommitDiffRequest_WhitespaceChanges_value = map[string]int32{ "WHITESPACE_CHANGES_UNSPECIFIED": 0, "WHITESPACE_CHANGES_IGNORE": 1, "WHITESPACE_CHANGES_IGNORE_ALL": 2, } ) func (x CommitDiffRequest_WhitespaceChanges) Enum() *CommitDiffRequest_WhitespaceChanges { p := new(CommitDiffRequest_WhitespaceChanges) *p = x return p } func (x CommitDiffRequest_WhitespaceChanges) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CommitDiffRequest_WhitespaceChanges) Descriptor() protoreflect.EnumDescriptor { return file_diff_proto_enumTypes[1].Descriptor() } func (CommitDiffRequest_WhitespaceChanges) Type() protoreflect.EnumType { return &file_diff_proto_enumTypes[1] } func (x CommitDiffRequest_WhitespaceChanges) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CommitDiffRequest_WhitespaceChanges.Descriptor instead. func (CommitDiffRequest_WhitespaceChanges) EnumDescriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{0, 1} } // MergeCommitDiffMode controls which mode to use to produce diff output for merge commits type FindChangedPathsRequest_MergeCommitDiffMode int32 const ( // MERGE_COMMIT_DIFF_MODE_UNSPECIFIED is the default value. // It is equivalent to DIFF_MODE_INCLUDE_MERGES. FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_UNSPECIFIED FindChangedPathsRequest_MergeCommitDiffMode = 0 // MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES tells git to also show differences for merge commits. // Please refer to the documentation of the `-m` flag of git-diff-tree(1). FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES FindChangedPathsRequest_MergeCommitDiffMode = 1 // MERGE_COMMIT_DIFF_MODE_ALL_PARENTS tells git to only show differences for // files which were modified from all parents. // Please refer to the documentation of the `-c` flag of git-diff-tree(1). FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_ALL_PARENTS FindChangedPathsRequest_MergeCommitDiffMode = 2 ) // Enum value maps for FindChangedPathsRequest_MergeCommitDiffMode. var ( FindChangedPathsRequest_MergeCommitDiffMode_name = map[int32]string{ 0: "MERGE_COMMIT_DIFF_MODE_UNSPECIFIED", 1: "MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES", 2: "MERGE_COMMIT_DIFF_MODE_ALL_PARENTS", } FindChangedPathsRequest_MergeCommitDiffMode_value = map[string]int32{ "MERGE_COMMIT_DIFF_MODE_UNSPECIFIED": 0, "MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES": 1, "MERGE_COMMIT_DIFF_MODE_ALL_PARENTS": 2, } ) func (x FindChangedPathsRequest_MergeCommitDiffMode) Enum() *FindChangedPathsRequest_MergeCommitDiffMode { p := new(FindChangedPathsRequest_MergeCommitDiffMode) *p = x return p } func (x FindChangedPathsRequest_MergeCommitDiffMode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (FindChangedPathsRequest_MergeCommitDiffMode) Descriptor() protoreflect.EnumDescriptor { return file_diff_proto_enumTypes[2].Descriptor() } func (FindChangedPathsRequest_MergeCommitDiffMode) Type() protoreflect.EnumType { return &file_diff_proto_enumTypes[2] } func (x FindChangedPathsRequest_MergeCommitDiffMode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use FindChangedPathsRequest_MergeCommitDiffMode.Descriptor instead. func (FindChangedPathsRequest_MergeCommitDiffMode) EnumDescriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{12, 0} } // Status is an enum representing the type of change. type ChangedPaths_Status int32 const ( // ADDED indicates a file was added. ChangedPaths_ADDED ChangedPaths_Status = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // MODIFIED indicates a file was modified. ChangedPaths_MODIFIED ChangedPaths_Status = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DELETED indicates a file was deleted. ChangedPaths_DELETED ChangedPaths_Status = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TYPE_CHANGE ... ChangedPaths_TYPE_CHANGE ChangedPaths_Status = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COPIED ... ChangedPaths_COPIED ChangedPaths_Status = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ChangedPaths_Status. var ( ChangedPaths_Status_name = map[int32]string{ 0: "ADDED", 1: "MODIFIED", 2: "DELETED", 3: "TYPE_CHANGE", 4: "COPIED", } ChangedPaths_Status_value = map[string]int32{ "ADDED": 0, "MODIFIED": 1, "DELETED": 2, "TYPE_CHANGE": 3, "COPIED": 4, } ) func (x ChangedPaths_Status) Enum() *ChangedPaths_Status { p := new(ChangedPaths_Status) *p = x return p } func (x ChangedPaths_Status) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ChangedPaths_Status) Descriptor() protoreflect.EnumDescriptor { return file_diff_proto_enumTypes[3].Descriptor() } func (ChangedPaths_Status) Type() protoreflect.EnumType { return &file_diff_proto_enumTypes[3] } func (x ChangedPaths_Status) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ChangedPaths_Status.Descriptor instead. func (ChangedPaths_Status) EnumDescriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{14, 0} } // CommitDiffRequest is a request for the CommitDiff RPC. type CommitDiffRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository is the one from which to get the diff. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id is the left commit ID in ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id is the right commit ID in ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // paths is a list of paths that limits the diff to those specific paths. Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` // collapse_diffs causes patches to be emptied after safe_max_files, // safe_max_files, or safe_max_lines is reached. CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"` // enforce_limits causes parsing of diffs to stop if max_files, max_lines, // or max_bytes is reached. EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits,proto3" json:"enforce_limits,omitempty"` // max_files is the maximum number of files in a diff. Once reached, parsing is stopped // if enforce_limits is true. MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"` // max_lines is the maximum number of lines in a diff. Once reached, parsing is stopped // if enforce_limits is true. MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"` // max_bytes is the maximum number of bytes in a diff. Once reached, parsing is stopped // if enforce_limits is true. MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // max_patch_bytes is the limitation of a single diff patch, // patches surpassing this limit are pruned by default. // If this is 0 you will get back empty patches. MaxPatchBytes int32 `protobuf:"varint,14,opt,name=max_patch_bytes,json=maxPatchBytes,proto3" json:"max_patch_bytes,omitempty"` // safe_max_files is the maximum number of files in a diff. Once reached, patches are emptied if // collapse_diffs is true. SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles,proto3" json:"safe_max_files,omitempty"` // safe_max_lines is the maximum number of lines in a diff. Once reached, patches are emptied if // collapse_diffs is true. SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"` // safe_max_bytes is the maximum number of bytes in a diff. Once reached, patches are emptied if // collapse_diffs is true. SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"` // diff_mode is the mode used for generating the diff. Please refer to the enum declaration for supported modes. DiffMode CommitDiffRequest_DiffMode `protobuf:"varint,15,opt,name=diff_mode,json=diffMode,proto3,enum=gitaly.CommitDiffRequest_DiffMode" json:"diff_mode,omitempty"` // max_patch_bytes_for_file_extension is a map of file extension to max patch bytes for // that extension. It overrides max patch bytes for file extension. If the file does not // have an extension (eg Dockerfile), then the file name is used for matching. // For files with more than on extension (eg file.html.tmpl) only the last extension is matched. MaxPatchBytesForFileExtension map[string]int32 `protobuf:"bytes,16,rep,name=max_patch_bytes_for_file_extension,json=maxPatchBytesForFileExtension,proto3" json:"max_patch_bytes_for_file_extension,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // whitespace_changes states which whitespace changes should be included in the diff. // Please refer to the enum declaration for supported modes. WhitespaceChanges CommitDiffRequest_WhitespaceChanges `protobuf:"varint,17,opt,name=whitespace_changes,json=whitespaceChanges,proto3,enum=gitaly.CommitDiffRequest_WhitespaceChanges" json:"whitespace_changes,omitempty"` // collect_all_paths can be set when you want to get back all files, // even when the enforced limits are hit. Responses sent when the limits // were hit will have the path filled in, have the `overflow_marker` set, // but have no patch data. CollectAllPaths bool `protobuf:"varint,18,opt,name=collect_all_paths,json=collectAllPaths,proto3" json:"collect_all_paths,omitempty"` } func (x *CommitDiffRequest) Reset() { *x = CommitDiffRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CommitDiffRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitDiffRequest) ProtoMessage() {} func (x *CommitDiffRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use CommitDiffRequest.ProtoReflect.Descriptor instead. func (*CommitDiffRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{0} } func (x *CommitDiffRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } func (x *CommitDiffRequest) GetLeftCommitId() string { if x != nil { return x.LeftCommitId } return "" } func (x *CommitDiffRequest) GetRightCommitId() string { if x != nil { return x.RightCommitId } return "" } func (x *CommitDiffRequest) GetPaths() [][]byte { if x != nil { return x.Paths } return nil } func (x *CommitDiffRequest) GetCollapseDiffs() bool { if x != nil { return x.CollapseDiffs } return false } func (x *CommitDiffRequest) GetEnforceLimits() bool { if x != nil { return x.EnforceLimits } return false } func (x *CommitDiffRequest) GetMaxFiles() int32 { if x != nil { return x.MaxFiles } return 0 } func (x *CommitDiffRequest) GetMaxLines() int32 { if x != nil { return x.MaxLines } return 0 } func (x *CommitDiffRequest) GetMaxBytes() int32 { if x != nil { return x.MaxBytes } return 0 } func (x *CommitDiffRequest) GetMaxPatchBytes() int32 { if x != nil { return x.MaxPatchBytes } return 0 } func (x *CommitDiffRequest) GetSafeMaxFiles() int32 { if x != nil { return x.SafeMaxFiles } return 0 } func (x *CommitDiffRequest) GetSafeMaxLines() int32 { if x != nil { return x.SafeMaxLines } return 0 } func (x *CommitDiffRequest) GetSafeMaxBytes() int32 { if x != nil { return x.SafeMaxBytes } return 0 } func (x *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode { if x != nil { return x.DiffMode } return CommitDiffRequest_DEFAULT } func (x *CommitDiffRequest) GetMaxPatchBytesForFileExtension() map[string]int32 { if x != nil { return x.MaxPatchBytesForFileExtension } return nil } func (x *CommitDiffRequest) GetWhitespaceChanges() CommitDiffRequest_WhitespaceChanges { if x != nil { return x.WhitespaceChanges } return CommitDiffRequest_WHITESPACE_CHANGES_UNSPECIFIED } func (x *CommitDiffRequest) GetCollectAllPaths() bool { if x != nil { return x.CollectAllPaths } return false } // CommitDiffResponse corresponds to a single changed file in a commit. type CommitDiffResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // from_path is the path that to_path is getting compared to. FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` // to_path is the path that from_path is getting compared against. ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // from_id is the id of the blob that is getting compared against. FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` // to_id is the id of the blob that is getting compared to. ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` // old_mode is the mode of the file getting compared against. OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode is the mode of the file getting compared to. NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` // binary indicates whether or not binary data is getting compared. Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"` // raw_patch_data is the unparsed data of the diff. RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"` // end_of_patch indicates if this message represents the end of the diff. EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch,proto3" json:"end_of_patch,omitempty"` // overflow_marker Indicates if the diff file exceeded limitations, in which case // there will be no patch data sent, only information about the patch. OverflowMarker bool `protobuf:"varint,11,opt,name=overflow_marker,json=overflowMarker,proto3" json:"overflow_marker,omitempty"` // collapsed indicates the patch surpassed a "safe" limit and was therefore pruned, but // the client may still request the full patch on a separate request. Collapsed bool `protobuf:"varint,12,opt,name=collapsed,proto3" json:"collapsed,omitempty"` // too_large indicates the patch was pruned since it surpassed a hard limit, and can // therefore not be expanded. TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge,proto3" json:"too_large,omitempty"` } func (x *CommitDiffResponse) Reset() { *x = CommitDiffResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CommitDiffResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitDiffResponse) ProtoMessage() {} func (x *CommitDiffResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use CommitDiffResponse.ProtoReflect.Descriptor instead. func (*CommitDiffResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{1} } func (x *CommitDiffResponse) GetFromPath() []byte { if x != nil { return x.FromPath } return nil } func (x *CommitDiffResponse) GetToPath() []byte { if x != nil { return x.ToPath } return nil } func (x *CommitDiffResponse) GetFromId() string { if x != nil { return x.FromId } return "" } func (x *CommitDiffResponse) GetToId() string { if x != nil { return x.ToId } return "" } func (x *CommitDiffResponse) GetOldMode() int32 { if x != nil { return x.OldMode } return 0 } func (x *CommitDiffResponse) GetNewMode() int32 { if x != nil { return x.NewMode } return 0 } func (x *CommitDiffResponse) GetBinary() bool { if x != nil { return x.Binary } return false } func (x *CommitDiffResponse) GetRawPatchData() []byte { if x != nil { return x.RawPatchData } return nil } func (x *CommitDiffResponse) GetEndOfPatch() bool { if x != nil { return x.EndOfPatch } return false } func (x *CommitDiffResponse) GetOverflowMarker() bool { if x != nil { return x.OverflowMarker } return false } func (x *CommitDiffResponse) GetCollapsed() bool { if x != nil { return x.Collapsed } return false } func (x *CommitDiffResponse) GetTooLarge() bool { if x != nil { return x.TooLarge } return false } // CommitDeltaRequest is a request for the CommitDelta RPC. type CommitDeltaRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository is the one to get the commit deltas from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id is the left commit ID in ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id is the right commit ID in ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // paths is a list of paths that limits the diff to those specific paths. Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` } func (x *CommitDeltaRequest) Reset() { *x = CommitDeltaRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CommitDeltaRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitDeltaRequest) ProtoMessage() {} func (x *CommitDeltaRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use CommitDeltaRequest.ProtoReflect.Descriptor instead. func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{2} } func (x *CommitDeltaRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } func (x *CommitDeltaRequest) GetLeftCommitId() string { if x != nil { return x.LeftCommitId } return "" } func (x *CommitDeltaRequest) GetRightCommitId() string { if x != nil { return x.RightCommitId } return "" } func (x *CommitDeltaRequest) GetPaths() [][]byte { if x != nil { return x.Paths } return nil } // CommitDelta represents the metadata of a diff between two commits without the actual // patch data. type CommitDelta struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // from_path is the path that to_path is getting compared to. FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` // to_path is the path that from_path is getting compared against. ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // from_id is the id of the blob that is getting compared to. FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` // to_id is the id of the blob that is getting compared against. ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` // old_mode is the mode of the blob getting compared against. OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode is the mode of the blob getting compared to. NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` } func (x *CommitDelta) Reset() { *x = CommitDelta{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CommitDelta) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitDelta) ProtoMessage() {} func (x *CommitDelta) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use CommitDelta.ProtoReflect.Descriptor instead. func (*CommitDelta) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{3} } func (x *CommitDelta) GetFromPath() []byte { if x != nil { return x.FromPath } return nil } func (x *CommitDelta) GetToPath() []byte { if x != nil { return x.ToPath } return nil } func (x *CommitDelta) GetFromId() string { if x != nil { return x.FromId } return "" } func (x *CommitDelta) GetToId() string { if x != nil { return x.ToId } return "" } func (x *CommitDelta) GetOldMode() int32 { if x != nil { return x.OldMode } return 0 } func (x *CommitDelta) GetNewMode() int32 { if x != nil { return x.NewMode } return 0 } // CommitDeltaResponse is the response from a CommitDelta RPC call. type CommitDeltaResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // deltas is a list of CommitDeltas Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` } func (x *CommitDeltaResponse) Reset() { *x = CommitDeltaResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CommitDeltaResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitDeltaResponse) ProtoMessage() {} func (x *CommitDeltaResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommitDeltaResponse.ProtoReflect.Descriptor instead. func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{4} } func (x *CommitDeltaResponse) GetDeltas() []*CommitDelta { if x != nil { return x.Deltas } return nil } // RawDiffRequest is a request for the RawDiff RPC. type RawDiffRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository is the one to get the diff from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id is the left commit ID in ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id is the right commit ID in ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` } func (x *RawDiffRequest) Reset() { *x = RawDiffRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RawDiffRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RawDiffRequest) ProtoMessage() {} func (x *RawDiffRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RawDiffRequest.ProtoReflect.Descriptor instead. func (*RawDiffRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{5} } func (x *RawDiffRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } func (x *RawDiffRequest) GetLeftCommitId() string { if x != nil { return x.LeftCommitId } return "" } func (x *RawDiffRequest) GetRightCommitId() string { if x != nil { return x.RightCommitId } return "" } // RawDiffResponse is a response for the RawDiff RPC. type RawDiffResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // data is a sequence of bytes representing the unmodified diff patch data // returned from git-diff(1). Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } func (x *RawDiffResponse) Reset() { *x = RawDiffResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RawDiffResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RawDiffResponse) ProtoMessage() {} func (x *RawDiffResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use RawDiffResponse.ProtoReflect.Descriptor instead. func (*RawDiffResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{6} } func (x *RawDiffResponse) GetData() []byte { if x != nil { return x.Data } return nil } // RawPatchRequest is a response for the RawPatch RPC. type RawPatchRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository is the one to get the patch from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id is the left commit ID in ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id is the right commit ID in .. RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` } func (x *RawPatchRequest) Reset() { *x = RawPatchRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RawPatchRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RawPatchRequest) ProtoMessage() {} func (x *RawPatchRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use RawPatchRequest.ProtoReflect.Descriptor instead. func (*RawPatchRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{7} } func (x *RawPatchRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } func (x *RawPatchRequest) GetLeftCommitId() string { if x != nil { return x.LeftCommitId } return "" } func (x *RawPatchRequest) GetRightCommitId() string { if x != nil { return x.RightCommitId } return "" } // RawPatchResponse is a response for the RawPatch RPC. type RawPatchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // data is a sequence of bytes representing the unmodified diff patch data // returned from git-format-patch(1). Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } func (x *RawPatchResponse) Reset() { *x = RawPatchResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RawPatchResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RawPatchResponse) ProtoMessage() {} func (x *RawPatchResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use RawPatchResponse.ProtoReflect.Descriptor instead. func (*RawPatchResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{8} } func (x *RawPatchResponse) GetData() []byte { if x != nil { return x.Data } return nil } // DiffStatsRequest is a request for the DiffStats RPC. type DiffStatsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository is the one to get diff stats from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id is the left commit ID in .. LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id is the right commit ID in .. RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` } func (x *DiffStatsRequest) Reset() { *x = DiffStatsRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DiffStatsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DiffStatsRequest) ProtoMessage() {} func (x *DiffStatsRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_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) } // Deprecated: Use DiffStatsRequest.ProtoReflect.Descriptor instead. func (*DiffStatsRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{9} } func (x *DiffStatsRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } func (x *DiffStatsRequest) GetLeftCommitId() string { if x != nil { return x.LeftCommitId } return "" } func (x *DiffStatsRequest) GetRightCommitId() string { if x != nil { return x.RightCommitId } return "" } // DiffStats represents diff statistics for a path. type DiffStats struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // path is the path of the change. Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // additions is the number of additions in a diff. Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` // deletions is the number of deletions in a diff. Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` // old_path is the original path in the event of a rename. OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` } func (x *DiffStats) Reset() { *x = DiffStats{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DiffStats) String() string { return protoimpl.X.MessageStringOf(x) } func (*DiffStats) ProtoMessage() {} func (x *DiffStats) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[10] 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 DiffStats.ProtoReflect.Descriptor instead. func (*DiffStats) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{10} } func (x *DiffStats) GetPath() []byte { if x != nil { return x.Path } return nil } func (x *DiffStats) GetAdditions() int32 { if x != nil { return x.Additions } return 0 } func (x *DiffStats) GetDeletions() int32 { if x != nil { return x.Deletions } return 0 } func (x *DiffStats) GetOldPath() []byte { if x != nil { return x.OldPath } return nil } // DiffStatsResponse is a response for the DiffStats RPC. type DiffStatsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // stats is a list of DiffStats. Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } func (x *DiffStatsResponse) Reset() { *x = DiffStatsResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DiffStatsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DiffStatsResponse) ProtoMessage() {} func (x *DiffStatsResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DiffStatsResponse.ProtoReflect.Descriptor instead. func (*DiffStatsResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{11} } func (x *DiffStatsResponse) GetStats() []*DiffStats { if x != nil { return x.Stats } return nil } // FindChangedPathsRequest is the request for the FindChangedPaths RPC. // Given a list of commits, return the files changed. Each commit is compared // to its parent. Merge commits will show files which are different to all of // its parents. type FindChangedPathsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commits is the list of commits to compare to their parents. This field is deprecated. To adapt to the new calling // convention you can create one `CommitRequest` per commit, where each `CommitRequest` has only the `commit_revision` // field. // // Deprecated: Marked as deprecated in diff.proto. Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` // requests specifies the requests of what to compare. Requests []*FindChangedPathsRequest_Request `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` // merge_commit_diff_mode controls how merge commits are treated. MergeCommitDiffMode FindChangedPathsRequest_MergeCommitDiffMode `protobuf:"varint,4,opt,name=merge_commit_diff_mode,json=mergeCommitDiffMode,proto3,enum=gitaly.FindChangedPathsRequest_MergeCommitDiffMode" json:"merge_commit_diff_mode,omitempty"` } func (x *FindChangedPathsRequest) Reset() { *x = FindChangedPathsRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindChangedPathsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindChangedPathsRequest) ProtoMessage() {} func (x *FindChangedPathsRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FindChangedPathsRequest.ProtoReflect.Descriptor instead. func (*FindChangedPathsRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{12} } func (x *FindChangedPathsRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } // Deprecated: Marked as deprecated in diff.proto. func (x *FindChangedPathsRequest) GetCommits() []string { if x != nil { return x.Commits } return nil } func (x *FindChangedPathsRequest) GetRequests() []*FindChangedPathsRequest_Request { if x != nil { return x.Requests } return nil } func (x *FindChangedPathsRequest) GetMergeCommitDiffMode() FindChangedPathsRequest_MergeCommitDiffMode { if x != nil { return x.MergeCommitDiffMode } return FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_UNSPECIFIED } // FindChangedPathsResponse is the response for the FindChangedPaths RPC. // Returns a list of files that have been changed in the commits given. type FindChangedPathsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // paths contains the attributes for one changed file. In case of merge // commits, or when comparing three or more commits, a file might be included // more than once if it was changed between multiple commits. Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` } func (x *FindChangedPathsResponse) Reset() { *x = FindChangedPathsResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindChangedPathsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindChangedPathsResponse) ProtoMessage() {} func (x *FindChangedPathsResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[13] 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 FindChangedPathsResponse.ProtoReflect.Descriptor instead. func (*FindChangedPathsResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{13} } func (x *FindChangedPathsResponse) GetPaths() []*ChangedPaths { if x != nil { return x.Paths } return nil } // ChangedPaths contains information about a changed file. It includes the path // of the file, and the status of the change. type ChangedPaths struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // path is the path of the change in question. Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // status is the type of change. Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"` // old_mode is the mode of the changed path previous to the change. May be one of the following values: // // - 0o000000 if the path does not exist. // - 0o100644 if the path refers to a normal file. // - 0o100755 if the path refers to an executable file. // - 0o040000 if the path refers to a tree entry. // - 0o160000 if the path refers to a submodule. OldMode int32 `protobuf:"varint,3,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode is the mode of the changed path after the change. Please refer to `old_mode` for a list of potential values. NewMode int32 `protobuf:"varint,4,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` } func (x *ChangedPaths) Reset() { *x = ChangedPaths{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ChangedPaths) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangedPaths) ProtoMessage() {} func (x *ChangedPaths) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[14] 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 ChangedPaths.ProtoReflect.Descriptor instead. func (*ChangedPaths) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{14} } func (x *ChangedPaths) GetPath() []byte { if x != nil { return x.Path } return nil } func (x *ChangedPaths) GetStatus() ChangedPaths_Status { if x != nil { return x.Status } return ChangedPaths_ADDED } func (x *ChangedPaths) GetOldMode() int32 { if x != nil { return x.OldMode } return 0 } func (x *ChangedPaths) GetNewMode() int32 { if x != nil { return x.NewMode } return 0 } // GetPatchIDRequest is a request for the GetPatchID RPC. type GetPatchIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // repository is the repository the patch ID shall be computed in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // old_revision is the old revision that shall be used to compute the patch // from that will then be passed to git-patch-id(1). Accepts revisions as // specified in gitrevisions(5). OldRevision []byte `protobuf:"bytes,2,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` // new_revision is the new revision that shall be used to compute the patch // from that will then be passed to git-patch-id(1). Accepts revisions as // specified in gitrevisions(5). NewRevision []byte `protobuf:"bytes,3,opt,name=new_revision,json=newRevision,proto3" json:"new_revision,omitempty"` } func (x *GetPatchIDRequest) Reset() { *x = GetPatchIDRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetPatchIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPatchIDRequest) ProtoMessage() {} func (x *GetPatchIDRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetPatchIDRequest.ProtoReflect.Descriptor instead. func (*GetPatchIDRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{15} } func (x *GetPatchIDRequest) GetRepository() *Repository { if x != nil { return x.Repository } return nil } func (x *GetPatchIDRequest) GetOldRevision() []byte { if x != nil { return x.OldRevision } return nil } func (x *GetPatchIDRequest) GetNewRevision() []byte { if x != nil { return x.NewRevision } return nil } // GetPatchIDResponse is a response for the GetPatchID RPC. type GetPatchIDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // patch_id is the patch ID that was generated by hashing the diff of the // given old and new revision. PatchId string `protobuf:"bytes,1,opt,name=patch_id,json=patchId,proto3" json:"patch_id,omitempty"` } func (x *GetPatchIDResponse) Reset() { *x = GetPatchIDResponse{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetPatchIDResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPatchIDResponse) ProtoMessage() {} func (x *GetPatchIDResponse) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[16] 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 GetPatchIDResponse.ProtoReflect.Descriptor instead. func (*GetPatchIDResponse) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{16} } func (x *GetPatchIDResponse) GetPatchId() string { if x != nil { return x.PatchId } return "" } // Request is a single request to pass to git diff-tree. type FindChangedPathsRequest_Request struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Types that are assignable to Type: // // *FindChangedPathsRequest_Request_TreeRequest_ // *FindChangedPathsRequest_Request_CommitRequest_ Type isFindChangedPathsRequest_Request_Type `protobuf_oneof:"type"` } func (x *FindChangedPathsRequest_Request) Reset() { *x = FindChangedPathsRequest_Request{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindChangedPathsRequest_Request) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindChangedPathsRequest_Request) ProtoMessage() {} func (x *FindChangedPathsRequest_Request) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[18] 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 FindChangedPathsRequest_Request.ProtoReflect.Descriptor instead. func (*FindChangedPathsRequest_Request) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{12, 0} } func (m *FindChangedPathsRequest_Request) GetType() isFindChangedPathsRequest_Request_Type { if m != nil { return m.Type } return nil } func (x *FindChangedPathsRequest_Request) GetTreeRequest() *FindChangedPathsRequest_Request_TreeRequest { if x, ok := x.GetType().(*FindChangedPathsRequest_Request_TreeRequest_); ok { return x.TreeRequest } return nil } func (x *FindChangedPathsRequest_Request) GetCommitRequest() *FindChangedPathsRequest_Request_CommitRequest { if x, ok := x.GetType().(*FindChangedPathsRequest_Request_CommitRequest_); ok { return x.CommitRequest } return nil } type isFindChangedPathsRequest_Request_Type interface { isFindChangedPathsRequest_Request_Type() } type FindChangedPathsRequest_Request_TreeRequest_ struct { // tree_request is a request comparing two trees with each other. TreeRequest *FindChangedPathsRequest_Request_TreeRequest `protobuf:"bytes,1,opt,name=tree_request,json=treeRequest,proto3,oneof"` } type FindChangedPathsRequest_Request_CommitRequest_ struct { // commit_request is a request comparing one or more commits with each other. CommitRequest *FindChangedPathsRequest_Request_CommitRequest `protobuf:"bytes,2,opt,name=commit_request,json=commitRequest,proto3,oneof"` } func (*FindChangedPathsRequest_Request_TreeRequest_) isFindChangedPathsRequest_Request_Type() {} func (*FindChangedPathsRequest_Request_CommitRequest_) isFindChangedPathsRequest_Request_Type() {} // TreeRequest compares two trees. type FindChangedPathsRequest_Request_TreeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // left_tree_revision is the revision of the left tree to compare. Accepts any revision that // peels to a tree object. LeftTreeRevision string `protobuf:"bytes,1,opt,name=left_tree_revision,json=leftTreeRevision,proto3" json:"left_tree_revision,omitempty"` // right_tree_revision is the revision of the right tree to compare. Accepts any revision that // peels to a tree object. RightTreeRevision string `protobuf:"bytes,2,opt,name=right_tree_revision,json=rightTreeRevision,proto3" json:"right_tree_revision,omitempty"` } func (x *FindChangedPathsRequest_Request_TreeRequest) Reset() { *x = FindChangedPathsRequest_Request_TreeRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindChangedPathsRequest_Request_TreeRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindChangedPathsRequest_Request_TreeRequest) ProtoMessage() {} func (x *FindChangedPathsRequest_Request_TreeRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[19] 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 FindChangedPathsRequest_Request_TreeRequest.ProtoReflect.Descriptor instead. func (*FindChangedPathsRequest_Request_TreeRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{12, 0, 0} } func (x *FindChangedPathsRequest_Request_TreeRequest) GetLeftTreeRevision() string { if x != nil { return x.LeftTreeRevision } return "" } func (x *FindChangedPathsRequest_Request_TreeRequest) GetRightTreeRevision() string { if x != nil { return x.RightTreeRevision } return "" } // CommitRequest compares a commit to its parents (or some other commits.) type FindChangedPathsRequest_Request_CommitRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // commit_revision is the revision of the commit that should be compared. If no `parent_commit_revisions` // are given, then the commit will be compared against its parents. The revision needs to peel to a // commit object. CommitRevision string `protobuf:"bytes,1,opt,name=commit_revision,json=commitRevision,proto3" json:"commit_revision,omitempty"` // parent_commit_revisions are the revisions of commits to treat as the commit's parents. This is an // optional field: if not specified, the actual parents of the commit referred to by `commit_revision` // are used. ParentCommitRevisions []string `protobuf:"bytes,2,rep,name=parent_commit_revisions,json=parentCommitRevisions,proto3" json:"parent_commit_revisions,omitempty"` } func (x *FindChangedPathsRequest_Request_CommitRequest) Reset() { *x = FindChangedPathsRequest_Request_CommitRequest{} if protoimpl.UnsafeEnabled { mi := &file_diff_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindChangedPathsRequest_Request_CommitRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindChangedPathsRequest_Request_CommitRequest) ProtoMessage() {} func (x *FindChangedPathsRequest_Request_CommitRequest) ProtoReflect() protoreflect.Message { mi := &file_diff_proto_msgTypes[20] 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 FindChangedPathsRequest_Request_CommitRequest.ProtoReflect.Descriptor instead. func (*FindChangedPathsRequest_Request_CommitRequest) Descriptor() ([]byte, []int) { return file_diff_proto_rawDescGZIP(), []int{12, 0, 1} } func (x *FindChangedPathsRequest_Request_CommitRequest) GetCommitRevision() string { if x != nil { return x.CommitRevision } return "" } func (x *FindChangedPathsRequest_Request_CommitRequest) GetParentCommitRevisions() []string { if x != nil { return x.ParentCommitRevisions } return nil } var File_diff_proto protoreflect.FileDescriptor var file_diff_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 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, 0xd7, 0x08, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 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, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x44, 0x69, 0x66, 0x66, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x64, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x22, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x61, 0x78, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1d, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x12, 0x77, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x11, 0x77, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x1a, 0x50, 0x0a, 0x22, 0x4d, 0x61, 0x78, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x25, 0x0a, 0x08, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x4f, 0x52, 0x44, 0x44, 0x49, 0x46, 0x46, 0x10, 0x01, 0x22, 0x79, 0x0a, 0x11, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x48, 0x49, 0x54, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x57, 0x48, 0x49, 0x54, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x53, 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x57, 0x48, 0x49, 0x54, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x53, 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x18, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0xf8, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x6f, 0x6f, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0xb2, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 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, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x42, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 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, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 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, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 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, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3c, 0x0a, 0x11, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0xe0, 0x06, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x68, 0x0a, 0x16, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x13, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0xaa, 0x03, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x58, 0x0a, 0x0c, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x6b, 0x0a, 0x0b, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x65, 0x66, 0x74, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x69, 0x67, 0x68, 0x74, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x70, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x13, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x22, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x29, 0x0a, 0x25, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x5f, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x53, 0x10, 0x01, 0x12, 0x26, 0x0a, 0x22, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x5f, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x50, 0x41, 0x52, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x02, 0x22, 0x46, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x4b, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x04, 0x22, 0x93, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x63, 0x68, 0x49, 0x44, 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, 0x21, 0x0a, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x6c, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x63, 0x68, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x32, 0xb7, 0x04, 0x0a, 0x0b, 0x44, 0x69, 0x66, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x44, 0x0a, 0x07, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x63, 0x68, 0x49, 0x44, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x63, 0x68, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x63, 0x68, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 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, 0x36, 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_diff_proto_rawDescOnce sync.Once file_diff_proto_rawDescData = file_diff_proto_rawDesc ) func file_diff_proto_rawDescGZIP() []byte { file_diff_proto_rawDescOnce.Do(func() { file_diff_proto_rawDescData = protoimpl.X.CompressGZIP(file_diff_proto_rawDescData) }) return file_diff_proto_rawDescData } var file_diff_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_diff_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_diff_proto_goTypes = []interface{}{ (CommitDiffRequest_DiffMode)(0), // 0: gitaly.CommitDiffRequest.DiffMode (CommitDiffRequest_WhitespaceChanges)(0), // 1: gitaly.CommitDiffRequest.WhitespaceChanges (FindChangedPathsRequest_MergeCommitDiffMode)(0), // 2: gitaly.FindChangedPathsRequest.MergeCommitDiffMode (ChangedPaths_Status)(0), // 3: gitaly.ChangedPaths.Status (*CommitDiffRequest)(nil), // 4: gitaly.CommitDiffRequest (*CommitDiffResponse)(nil), // 5: gitaly.CommitDiffResponse (*CommitDeltaRequest)(nil), // 6: gitaly.CommitDeltaRequest (*CommitDelta)(nil), // 7: gitaly.CommitDelta (*CommitDeltaResponse)(nil), // 8: gitaly.CommitDeltaResponse (*RawDiffRequest)(nil), // 9: gitaly.RawDiffRequest (*RawDiffResponse)(nil), // 10: gitaly.RawDiffResponse (*RawPatchRequest)(nil), // 11: gitaly.RawPatchRequest (*RawPatchResponse)(nil), // 12: gitaly.RawPatchResponse (*DiffStatsRequest)(nil), // 13: gitaly.DiffStatsRequest (*DiffStats)(nil), // 14: gitaly.DiffStats (*DiffStatsResponse)(nil), // 15: gitaly.DiffStatsResponse (*FindChangedPathsRequest)(nil), // 16: gitaly.FindChangedPathsRequest (*FindChangedPathsResponse)(nil), // 17: gitaly.FindChangedPathsResponse (*ChangedPaths)(nil), // 18: gitaly.ChangedPaths (*GetPatchIDRequest)(nil), // 19: gitaly.GetPatchIDRequest (*GetPatchIDResponse)(nil), // 20: gitaly.GetPatchIDResponse nil, // 21: gitaly.CommitDiffRequest.MaxPatchBytesForFileExtensionEntry (*FindChangedPathsRequest_Request)(nil), // 22: gitaly.FindChangedPathsRequest.Request (*FindChangedPathsRequest_Request_TreeRequest)(nil), // 23: gitaly.FindChangedPathsRequest.Request.TreeRequest (*FindChangedPathsRequest_Request_CommitRequest)(nil), // 24: gitaly.FindChangedPathsRequest.Request.CommitRequest (*Repository)(nil), // 25: gitaly.Repository } var file_diff_proto_depIdxs = []int32{ 25, // 0: gitaly.CommitDiffRequest.repository:type_name -> gitaly.Repository 0, // 1: gitaly.CommitDiffRequest.diff_mode:type_name -> gitaly.CommitDiffRequest.DiffMode 21, // 2: gitaly.CommitDiffRequest.max_patch_bytes_for_file_extension:type_name -> gitaly.CommitDiffRequest.MaxPatchBytesForFileExtensionEntry 1, // 3: gitaly.CommitDiffRequest.whitespace_changes:type_name -> gitaly.CommitDiffRequest.WhitespaceChanges 25, // 4: gitaly.CommitDeltaRequest.repository:type_name -> gitaly.Repository 7, // 5: gitaly.CommitDeltaResponse.deltas:type_name -> gitaly.CommitDelta 25, // 6: gitaly.RawDiffRequest.repository:type_name -> gitaly.Repository 25, // 7: gitaly.RawPatchRequest.repository:type_name -> gitaly.Repository 25, // 8: gitaly.DiffStatsRequest.repository:type_name -> gitaly.Repository 14, // 9: gitaly.DiffStatsResponse.stats:type_name -> gitaly.DiffStats 25, // 10: gitaly.FindChangedPathsRequest.repository:type_name -> gitaly.Repository 22, // 11: gitaly.FindChangedPathsRequest.requests:type_name -> gitaly.FindChangedPathsRequest.Request 2, // 12: gitaly.FindChangedPathsRequest.merge_commit_diff_mode:type_name -> gitaly.FindChangedPathsRequest.MergeCommitDiffMode 18, // 13: gitaly.FindChangedPathsResponse.paths:type_name -> gitaly.ChangedPaths 3, // 14: gitaly.ChangedPaths.status:type_name -> gitaly.ChangedPaths.Status 25, // 15: gitaly.GetPatchIDRequest.repository:type_name -> gitaly.Repository 23, // 16: gitaly.FindChangedPathsRequest.Request.tree_request:type_name -> gitaly.FindChangedPathsRequest.Request.TreeRequest 24, // 17: gitaly.FindChangedPathsRequest.Request.commit_request:type_name -> gitaly.FindChangedPathsRequest.Request.CommitRequest 4, // 18: gitaly.DiffService.CommitDiff:input_type -> gitaly.CommitDiffRequest 6, // 19: gitaly.DiffService.CommitDelta:input_type -> gitaly.CommitDeltaRequest 9, // 20: gitaly.DiffService.RawDiff:input_type -> gitaly.RawDiffRequest 11, // 21: gitaly.DiffService.RawPatch:input_type -> gitaly.RawPatchRequest 13, // 22: gitaly.DiffService.DiffStats:input_type -> gitaly.DiffStatsRequest 16, // 23: gitaly.DiffService.FindChangedPaths:input_type -> gitaly.FindChangedPathsRequest 19, // 24: gitaly.DiffService.GetPatchID:input_type -> gitaly.GetPatchIDRequest 5, // 25: gitaly.DiffService.CommitDiff:output_type -> gitaly.CommitDiffResponse 8, // 26: gitaly.DiffService.CommitDelta:output_type -> gitaly.CommitDeltaResponse 10, // 27: gitaly.DiffService.RawDiff:output_type -> gitaly.RawDiffResponse 12, // 28: gitaly.DiffService.RawPatch:output_type -> gitaly.RawPatchResponse 15, // 29: gitaly.DiffService.DiffStats:output_type -> gitaly.DiffStatsResponse 17, // 30: gitaly.DiffService.FindChangedPaths:output_type -> gitaly.FindChangedPathsResponse 20, // 31: gitaly.DiffService.GetPatchID:output_type -> gitaly.GetPatchIDResponse 25, // [25:32] is the sub-list for method output_type 18, // [18:25] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name 18, // [18:18] is the sub-list for extension extendee 0, // [0:18] is the sub-list for field type_name } func init() { file_diff_proto_init() } func file_diff_proto_init() { if File_diff_proto != nil { return } file_lint_proto_init() file_shared_proto_init() if !protoimpl.UnsafeEnabled { file_diff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommitDiffRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommitDiffResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommitDeltaRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommitDelta); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommitDeltaResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RawDiffRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RawDiffResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RawPatchRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RawPatchResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiffStatsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiffStats); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiffStatsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindChangedPathsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindChangedPathsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangedPaths); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatchIDRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatchIDResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindChangedPathsRequest_Request); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindChangedPathsRequest_Request_TreeRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_diff_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindChangedPathsRequest_Request_CommitRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_diff_proto_msgTypes[18].OneofWrappers = []interface{}{ (*FindChangedPathsRequest_Request_TreeRequest_)(nil), (*FindChangedPathsRequest_Request_CommitRequest_)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_diff_proto_rawDesc, NumEnums: 4, NumMessages: 21, NumExtensions: 0, NumServices: 1, }, GoTypes: file_diff_proto_goTypes, DependencyIndexes: file_diff_proto_depIdxs, EnumInfos: file_diff_proto_enumTypes, MessageInfos: file_diff_proto_msgTypes, }.Build() File_diff_proto = out.File file_diff_proto_rawDesc = nil file_diff_proto_goTypes = nil file_diff_proto_depIdxs = nil }