proto/go/gitalypb/shared.pb.go (1,144 lines of code) (raw):

// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.5 // protoc v6.30.2 // source: shared.proto package gitalypb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" unsafe "unsafe" ) 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) ) // ObjectType ... type ObjectType int32 const ( // UNKNOWN ... ObjectType_UNKNOWN ObjectType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // COMMIT ... ObjectType_COMMIT ObjectType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // BLOB ... ObjectType_BLOB ObjectType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TREE ... ObjectType_TREE ObjectType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TAG ... ObjectType_TAG ObjectType = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ObjectType. var ( ObjectType_name = map[int32]string{ 0: "UNKNOWN", 1: "COMMIT", 2: "BLOB", 3: "TREE", 4: "TAG", } ObjectType_value = map[string]int32{ "UNKNOWN": 0, "COMMIT": 1, "BLOB": 2, "TREE": 3, "TAG": 4, } ) func (x ObjectType) Enum() *ObjectType { p := new(ObjectType) *p = x return p } func (x ObjectType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ObjectType) Descriptor() protoreflect.EnumDescriptor { return file_shared_proto_enumTypes[0].Descriptor() } func (ObjectType) Type() protoreflect.EnumType { return &file_shared_proto_enumTypes[0] } func (x ObjectType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ObjectType.Descriptor instead. func (ObjectType) EnumDescriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{0} } // ObjectFormat is the object format that a Git repository can use. type ObjectFormat int32 const ( // OBJECT_FORMAT_UNSPECIFIED is the default object type when it has not been explicitly requested // by the client. Defaults to OBJECT_FORMAT_SHA1. ObjectFormat_OBJECT_FORMAT_UNSPECIFIED ObjectFormat = 0 // OBJECT_FORMAT_SHA1 is the object format based on the SHA1 hash. ObjectFormat_OBJECT_FORMAT_SHA1 ObjectFormat = 1 // OBJECT_FORMAT_SHA256 is the object format based on the SHA256 hash. This is experimental. ObjectFormat_OBJECT_FORMAT_SHA256 ObjectFormat = 2 ) // Enum value maps for ObjectFormat. var ( ObjectFormat_name = map[int32]string{ 0: "OBJECT_FORMAT_UNSPECIFIED", 1: "OBJECT_FORMAT_SHA1", 2: "OBJECT_FORMAT_SHA256", } ObjectFormat_value = map[string]int32{ "OBJECT_FORMAT_UNSPECIFIED": 0, "OBJECT_FORMAT_SHA1": 1, "OBJECT_FORMAT_SHA256": 2, } ) func (x ObjectFormat) Enum() *ObjectFormat { p := new(ObjectFormat) *p = x return p } func (x ObjectFormat) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ObjectFormat) Descriptor() protoreflect.EnumDescriptor { return file_shared_proto_enumTypes[1].Descriptor() } func (ObjectFormat) Type() protoreflect.EnumType { return &file_shared_proto_enumTypes[1] } func (x ObjectFormat) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ObjectFormat.Descriptor instead. func (ObjectFormat) EnumDescriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{1} } // SignatureType ... type SignatureType int32 const ( // NONE ... SignatureType_NONE SignatureType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // PGP ... SignatureType_PGP SignatureType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // X509 ... SignatureType_X509 SignatureType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // SSH ... SignatureType_SSH SignatureType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for SignatureType. var ( SignatureType_name = map[int32]string{ 0: "NONE", 1: "PGP", 2: "X509", 3: "SSH", } SignatureType_value = map[string]int32{ "NONE": 0, "PGP": 1, "X509": 2, "SSH": 3, } ) func (x SignatureType) Enum() *SignatureType { p := new(SignatureType) *p = x return p } func (x SignatureType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (SignatureType) Descriptor() protoreflect.EnumDescriptor { return file_shared_proto_enumTypes[2].Descriptor() } func (SignatureType) Type() protoreflect.EnumType { return &file_shared_proto_enumTypes[2] } func (x SignatureType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use SignatureType.Descriptor instead. func (SignatureType) EnumDescriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{2} } // SortDirection defines the sort direction. type SortDirection int32 const ( // ASCENDING sorts by the sort key in ascending order. SortDirection_ASCENDING SortDirection = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // DESCENDING sorts by the sort key in descending order. SortDirection_DESCENDING SortDirection = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for SortDirection. var ( SortDirection_name = map[int32]string{ 0: "ASCENDING", 1: "DESCENDING", } SortDirection_value = map[string]int32{ "ASCENDING": 0, "DESCENDING": 1, } ) func (x SortDirection) Enum() *SortDirection { p := new(SortDirection) *p = x return p } func (x SortDirection) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (SortDirection) Descriptor() protoreflect.EnumDescriptor { return file_shared_proto_enumTypes[3].Descriptor() } func (SortDirection) Type() protoreflect.EnumType { return &file_shared_proto_enumTypes[3] } func (x SortDirection) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use SortDirection.Descriptor instead. func (SortDirection) EnumDescriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{3} } // Repository ... type Repository struct { state protoimpl.MessageState `protogen:"open.v1"` // storage_name ... StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // relative_path ... RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // git_object_directory sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field. // It influences the object storage directory the SHA1 directories are created underneath. GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,json=gitObjectDirectory,proto3" json:"git_object_directory,omitempty"` // git_alternate_object_directories sets the GIT_ALTERNATE_OBJECT_DIRECTORIES envvar on git commands to // the values of this field. It influences the list of Git object directories which can be used to search // for Git objects. GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,json=gitAlternateObjectDirectories,proto3" json:"git_alternate_object_directories,omitempty"` // gl_repository is used in callbacks to GitLab so that it knows what repository the event is // associated with. May be left empty on RPC's that do not perform callbacks. // During project creation, `gl_repository` may not be known. GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` // gl_project_path is the human-readable GitLab project path (e.g. gitlab-org/gitlab-ce). // When hashed storage is use, this associates a project path with its // path on disk. The name can change over time (e.g. when a project is // renamed). This is primarily used for logging/debugging at the // moment. GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,json=glProjectPath,proto3" json:"gl_project_path,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Repository) Reset() { *x = Repository{} mi := &file_shared_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Repository) String() string { return protoimpl.X.MessageStringOf(x) } func (*Repository) ProtoMessage() {} func (x *Repository) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Repository.ProtoReflect.Descriptor instead. func (*Repository) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{0} } func (x *Repository) GetStorageName() string { if x != nil { return x.StorageName } return "" } func (x *Repository) GetRelativePath() string { if x != nil { return x.RelativePath } return "" } func (x *Repository) GetGitObjectDirectory() string { if x != nil { return x.GitObjectDirectory } return "" } func (x *Repository) GetGitAlternateObjectDirectories() []string { if x != nil { return x.GitAlternateObjectDirectories } return nil } func (x *Repository) GetGlRepository() string { if x != nil { return x.GlRepository } return "" } func (x *Repository) GetGlProjectPath() string { if x != nil { return x.GlProjectPath } return "" } // CommitTrailer is a single Git trailer (https://git-scm.com/docs/git-interpret-trailers) // key-value pair. type CommitTrailer struct { state protoimpl.MessageState `protogen:"open.v1"` // key is the key of the trailer, such as `Signed-off-by`. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the trailer, such as `Alice <alice@gmail.com>`. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommitTrailer) Reset() { *x = CommitTrailer{} mi := &file_shared_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommitTrailer) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitTrailer) ProtoMessage() {} func (x *CommitTrailer) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommitTrailer.ProtoReflect.Descriptor instead. func (*CommitTrailer) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{1} } func (x *CommitTrailer) GetKey() []byte { if x != nil { return x.Key } return nil } func (x *CommitTrailer) GetValue() []byte { if x != nil { return x.Value } return nil } // CommitStatInfo includes the number of changed lines and files in the commit. type CommitStatInfo struct { state protoimpl.MessageState `protogen:"open.v1"` // additions is the number of line additions in the commit. Additions int32 `protobuf:"varint,1,opt,name=additions,proto3" json:"additions,omitempty"` // deletions is the number of lines deleted in the commit. Deletions int32 `protobuf:"varint,2,opt,name=deletions,proto3" json:"deletions,omitempty"` // changed_files is the number of files changed in the commit. ChangedFiles int32 `protobuf:"varint,3,opt,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommitStatInfo) Reset() { *x = CommitStatInfo{} mi := &file_shared_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommitStatInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitStatInfo) ProtoMessage() {} func (x *CommitStatInfo) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommitStatInfo.ProtoReflect.Descriptor instead. func (*CommitStatInfo) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{2} } func (x *CommitStatInfo) GetAdditions() int32 { if x != nil { return x.Additions } return 0 } func (x *CommitStatInfo) GetDeletions() int32 { if x != nil { return x.Deletions } return 0 } func (x *CommitStatInfo) GetChangedFiles() int32 { if x != nil { return x.ChangedFiles } return 0 } // GitCommit corresponds to Gitlab::Git::Commit type GitCommit struct { state protoimpl.MessageState `protogen:"open.v1"` // id ... Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // subject ... Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // body ... Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // author ... Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` // committer ... Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer,proto3" json:"committer,omitempty"` // parent_ids ... ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // body_size is the size of the commit body. If body exceeds a certain threshold, // it will be nullified, but its size will be set in body_size so we can know if // a commit had a body in the first place. BodySize int64 `protobuf:"varint,7,opt,name=body_size,json=bodySize,proto3" json:"body_size,omitempty"` // signature_type ... SignatureType SignatureType `protobuf:"varint,8,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` // tree_id is the object ID of the tree. The tree ID will always be filled, even // if the tree is empty. In that case the value will be `4b825dc642cb6eb9a060e54bf8d69288fbee4904`. // That value is equivalent to `git hash-object -t tree /dev/null`. TreeId string `protobuf:"bytes,9,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // trailers is the list of Git trailers (https://git-scm.com/docs/git-interpret-trailers) // found in this commit's message. The number of trailers and their key/value // sizes are limited. If a trailer exceeds these size limits, it and any // trailers that follow it are not included. Trailers []*CommitTrailer `protobuf:"bytes,10,rep,name=trailers,proto3" json:"trailers,omitempty"` // short_stats are the git stats including additions, deletions and changed_files, // they are only set when `include_shortstat == true`. ShortStats *CommitStatInfo `protobuf:"bytes,11,opt,name=short_stats,json=shortStats,proto3" json:"short_stats,omitempty"` // referenced_by contains fully-qualified reference names (e.g refs/heads/main) // that point to the commit. ReferencedBy [][]byte `protobuf:"bytes,12,rep,name=referenced_by,json=referencedBy,proto3" json:"referenced_by,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // encoding is the encoding of the commit message. This field will only be present if // `i18n.commitEncoding` was set to a value other than "UTF-8" at the time // this commit was made. // See: https://git-scm.com/docs/git-commit#_discussion Encoding string `protobuf:"bytes,13,opt,name=encoding,proto3" json:"encoding,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GitCommit) Reset() { *x = GitCommit{} mi := &file_shared_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GitCommit) String() string { return protoimpl.X.MessageStringOf(x) } func (*GitCommit) ProtoMessage() {} func (x *GitCommit) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GitCommit.ProtoReflect.Descriptor instead. func (*GitCommit) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{3} } func (x *GitCommit) GetId() string { if x != nil { return x.Id } return "" } func (x *GitCommit) GetSubject() []byte { if x != nil { return x.Subject } return nil } func (x *GitCommit) GetBody() []byte { if x != nil { return x.Body } return nil } func (x *GitCommit) GetAuthor() *CommitAuthor { if x != nil { return x.Author } return nil } func (x *GitCommit) GetCommitter() *CommitAuthor { if x != nil { return x.Committer } return nil } func (x *GitCommit) GetParentIds() []string { if x != nil { return x.ParentIds } return nil } func (x *GitCommit) GetBodySize() int64 { if x != nil { return x.BodySize } return 0 } func (x *GitCommit) GetSignatureType() SignatureType { if x != nil { return x.SignatureType } return SignatureType_NONE } func (x *GitCommit) GetTreeId() string { if x != nil { return x.TreeId } return "" } func (x *GitCommit) GetTrailers() []*CommitTrailer { if x != nil { return x.Trailers } return nil } func (x *GitCommit) GetShortStats() *CommitStatInfo { if x != nil { return x.ShortStats } return nil } func (x *GitCommit) GetReferencedBy() [][]byte { if x != nil { return x.ReferencedBy } return nil } func (x *GitCommit) GetEncoding() string { if x != nil { return x.Encoding } return "" } // CommitAuthor ... type CommitAuthor struct { state protoimpl.MessageState `protogen:"open.v1"` // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // email ... Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // date ... Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // timezone ... Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CommitAuthor) Reset() { *x = CommitAuthor{} mi := &file_shared_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CommitAuthor) String() string { return protoimpl.X.MessageStringOf(x) } func (*CommitAuthor) ProtoMessage() {} func (x *CommitAuthor) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead. func (*CommitAuthor) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{4} } func (x *CommitAuthor) GetName() []byte { if x != nil { return x.Name } return nil } func (x *CommitAuthor) GetEmail() []byte { if x != nil { return x.Email } return nil } func (x *CommitAuthor) GetDate() *timestamppb.Timestamp { if x != nil { return x.Date } return nil } func (x *CommitAuthor) GetTimezone() []byte { if x != nil { return x.Timezone } return nil } // ExitStatus ... type ExitStatus struct { state protoimpl.MessageState `protogen:"open.v1"` // value ... Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExitStatus) Reset() { *x = ExitStatus{} mi := &file_shared_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExitStatus) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExitStatus) ProtoMessage() {} func (x *ExitStatus) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ExitStatus.ProtoReflect.Descriptor instead. func (*ExitStatus) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{5} } func (x *ExitStatus) GetValue() int32 { if x != nil { return x.Value } return 0 } // Branch corresponds to Gitlab::Git::Branch type Branch struct { state protoimpl.MessageState `protogen:"open.v1"` // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // target_commit ... TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Branch) Reset() { *x = Branch{} mi := &file_shared_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Branch) String() string { return protoimpl.X.MessageStringOf(x) } func (*Branch) ProtoMessage() {} func (x *Branch) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Branch.ProtoReflect.Descriptor instead. func (*Branch) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{6} } func (x *Branch) GetName() []byte { if x != nil { return x.Name } return nil } func (x *Branch) GetTargetCommit() *GitCommit { if x != nil { return x.TargetCommit } return nil } // Tag ... type Tag struct { state protoimpl.MessageState `protogen:"open.v1"` // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // id ... Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // target_commit ... TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` // message is the message of the tag. If message exceeds a certain // threshold, it will be nullified, but its size will be set in // message_size so we can know if a tag had a message in the first place. Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // message_size ... MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` // tagger ... Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` // signature_type ... SignatureType SignatureType `protobuf:"varint,7,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Tag) Reset() { *x = Tag{} mi := &file_shared_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Tag) String() string { return protoimpl.X.MessageStringOf(x) } func (*Tag) ProtoMessage() {} func (x *Tag) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Tag.ProtoReflect.Descriptor instead. func (*Tag) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{7} } func (x *Tag) GetName() []byte { if x != nil { return x.Name } return nil } func (x *Tag) GetId() string { if x != nil { return x.Id } return "" } func (x *Tag) GetTargetCommit() *GitCommit { if x != nil { return x.TargetCommit } return nil } func (x *Tag) GetMessage() []byte { if x != nil { return x.Message } return nil } func (x *Tag) GetMessageSize() int64 { if x != nil { return x.MessageSize } return 0 } func (x *Tag) GetTagger() *CommitAuthor { if x != nil { return x.Tagger } return nil } func (x *Tag) GetSignatureType() SignatureType { if x != nil { return x.SignatureType } return SignatureType_NONE } // User ... type User struct { state protoimpl.MessageState `protogen:"open.v1"` // gl_id ... GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` // name ... Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // email ... Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // gl_username ... GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` // timezone is the timezone as configured by the user in the web interface. This // timezone may be used when new commits are created via RPC calls. Timezone string `protobuf:"bytes,5,opt,name=timezone,proto3" json:"timezone,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} mi := &file_shared_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *User) String() string { return protoimpl.X.MessageStringOf(x) } func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use User.ProtoReflect.Descriptor instead. func (*User) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{8} } func (x *User) GetGlId() string { if x != nil { return x.GlId } return "" } func (x *User) GetName() []byte { if x != nil { return x.Name } return nil } func (x *User) GetEmail() []byte { if x != nil { return x.Email } return nil } func (x *User) GetGlUsername() string { if x != nil { return x.GlUsername } return "" } func (x *User) GetTimezone() string { if x != nil { return x.Timezone } return "" } // ObjectPool ... type ObjectPool struct { state protoimpl.MessageState `protogen:"open.v1"` // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ObjectPool) Reset() { *x = ObjectPool{} mi := &file_shared_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ObjectPool) String() string { return protoimpl.X.MessageStringOf(x) } func (*ObjectPool) ProtoMessage() {} func (x *ObjectPool) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ObjectPool.ProtoReflect.Descriptor instead. func (*ObjectPool) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{9} } func (x *ObjectPool) GetRepository() *Repository { if x != nil { return x.Repository } return nil } // PaginationParameter controls pagination within RPCs. type PaginationParameter struct { state protoimpl.MessageState `protogen:"open.v1"` // page_token instructs pagination to start sending results after the provided page // token appears. A page token allows for a generic pattern to uniquely // identify a result or 'page'. Each paginated RPC may interpret a page // token differently. PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // limit is the maximum number of objects the client will receive. When fully consuming // the response the client will receive _at most_ `limit` number of resulting objects. // Note that the number of response messages might be much lower, as some response // messages already send multiple objects per message. // When the limit is smaller than 0, it will be normalized to 2147483647 // on the server side. When limit is not set, it defaults to 0, and no // results are send in the response. Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PaginationParameter) Reset() { *x = PaginationParameter{} mi := &file_shared_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PaginationParameter) String() string { return protoimpl.X.MessageStringOf(x) } func (*PaginationParameter) ProtoMessage() {} func (x *PaginationParameter) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PaginationParameter.ProtoReflect.Descriptor instead. func (*PaginationParameter) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{10} } func (x *PaginationParameter) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *PaginationParameter) GetLimit() int32 { if x != nil { return x.Limit } return 0 } // PaginationCursor defines the page token clients should use to fetch the next page. type PaginationCursor struct { state protoimpl.MessageState `protogen:"open.v1"` // next_cursor is an opaque token provided to the caller to indicate what the caller // should present as a page_token to get subsequent results. NextCursor string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PaginationCursor) Reset() { *x = PaginationCursor{} mi := &file_shared_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PaginationCursor) String() string { return protoimpl.X.MessageStringOf(x) } func (*PaginationCursor) ProtoMessage() {} func (x *PaginationCursor) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PaginationCursor.ProtoReflect.Descriptor instead. func (*PaginationCursor) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{11} } func (x *PaginationCursor) GetNextCursor() string { if x != nil { return x.NextCursor } return "" } // GlobalOptions are additional git options as defined at https://git-scm.com/docs/git/#_options. type GlobalOptions struct { state protoimpl.MessageState `protogen:"open.v1"` // literal_pathspecs should be set to treat pathspecs literally (i.e. no globbing, no pathspec magic). LiteralPathspecs bool `protobuf:"varint,1,opt,name=literal_pathspecs,json=literalPathspecs,proto3" json:"literal_pathspecs,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GlobalOptions) Reset() { *x = GlobalOptions{} mi := &file_shared_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GlobalOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*GlobalOptions) ProtoMessage() {} func (x *GlobalOptions) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead. func (*GlobalOptions) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{12} } func (x *GlobalOptions) GetLiteralPathspecs() bool { if x != nil { return x.LiteralPathspecs } return false } // Partition represents storage partition type Partition struct { state protoimpl.MessageState `protogen:"open.v1"` // id is the identifier of a partition within the storage Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Partition) Reset() { *x = Partition{} mi := &file_shared_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Partition) String() string { return protoimpl.X.MessageStringOf(x) } func (*Partition) ProtoMessage() {} func (x *Partition) ProtoReflect() protoreflect.Message { mi := &file_shared_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Partition.ProtoReflect.Descriptor instead. func (*Partition) Descriptor() ([]byte, []int) { return file_shared_proto_rawDescGZIP(), []int{13} } func (x *Partition) GetId() string { if x != nil { return x.Id } return "" } var File_shared_proto protoreflect.FileDescriptor var file_shared_proto_rawDesc = string([]byte{ 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x67, 0x69, 0x74, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x67, 0x69, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x47, 0x0a, 0x20, 0x67, 0x69, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1d, 0x67, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x61, 0x74, 0x68, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x37, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x71, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xeb, 0x03, 0x0a, 0x09, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6f, 0x64, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x54, 0x0a, 0x06, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x46, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 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, 0x90, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4a, 0x0a, 0x13, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x33, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x3c, 0x0a, 0x0d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x22, 0x1b, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x2a, 0x42, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x04, 0x2a, 0x5f, 0x0a, 0x0c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x02, 0x2a, 0x35, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x47, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x53, 0x48, 0x10, 0x03, 0x2a, 0x2e, 0x0a, 0x0d, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 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_shared_proto_rawDescOnce sync.Once file_shared_proto_rawDescData []byte ) func file_shared_proto_rawDescGZIP() []byte { file_shared_proto_rawDescOnce.Do(func() { file_shared_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_shared_proto_rawDesc), len(file_shared_proto_rawDesc))) }) return file_shared_proto_rawDescData } var file_shared_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_shared_proto_goTypes = []any{ (ObjectType)(0), // 0: gitaly.ObjectType (ObjectFormat)(0), // 1: gitaly.ObjectFormat (SignatureType)(0), // 2: gitaly.SignatureType (SortDirection)(0), // 3: gitaly.SortDirection (*Repository)(nil), // 4: gitaly.Repository (*CommitTrailer)(nil), // 5: gitaly.CommitTrailer (*CommitStatInfo)(nil), // 6: gitaly.CommitStatInfo (*GitCommit)(nil), // 7: gitaly.GitCommit (*CommitAuthor)(nil), // 8: gitaly.CommitAuthor (*ExitStatus)(nil), // 9: gitaly.ExitStatus (*Branch)(nil), // 10: gitaly.Branch (*Tag)(nil), // 11: gitaly.Tag (*User)(nil), // 12: gitaly.User (*ObjectPool)(nil), // 13: gitaly.ObjectPool (*PaginationParameter)(nil), // 14: gitaly.PaginationParameter (*PaginationCursor)(nil), // 15: gitaly.PaginationCursor (*GlobalOptions)(nil), // 16: gitaly.GlobalOptions (*Partition)(nil), // 17: gitaly.Partition (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp } var file_shared_proto_depIdxs = []int32{ 8, // 0: gitaly.GitCommit.author:type_name -> gitaly.CommitAuthor 8, // 1: gitaly.GitCommit.committer:type_name -> gitaly.CommitAuthor 2, // 2: gitaly.GitCommit.signature_type:type_name -> gitaly.SignatureType 5, // 3: gitaly.GitCommit.trailers:type_name -> gitaly.CommitTrailer 6, // 4: gitaly.GitCommit.short_stats:type_name -> gitaly.CommitStatInfo 18, // 5: gitaly.CommitAuthor.date:type_name -> google.protobuf.Timestamp 7, // 6: gitaly.Branch.target_commit:type_name -> gitaly.GitCommit 7, // 7: gitaly.Tag.target_commit:type_name -> gitaly.GitCommit 8, // 8: gitaly.Tag.tagger:type_name -> gitaly.CommitAuthor 2, // 9: gitaly.Tag.signature_type:type_name -> gitaly.SignatureType 4, // 10: gitaly.ObjectPool.repository:type_name -> gitaly.Repository 11, // [11:11] is the sub-list for method output_type 11, // [11:11] is the sub-list for method input_type 11, // [11:11] is the sub-list for extension type_name 11, // [11:11] is the sub-list for extension extendee 0, // [0:11] is the sub-list for field type_name } func init() { file_shared_proto_init() } func file_shared_proto_init() { if File_shared_proto != nil { return } file_lint_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_shared_proto_rawDesc), len(file_shared_proto_rawDesc)), NumEnums: 4, NumMessages: 14, NumExtensions: 0, NumServices: 0, }, GoTypes: file_shared_proto_goTypes, DependencyIndexes: file_shared_proto_depIdxs, EnumInfos: file_shared_proto_enumTypes, MessageInfos: file_shared_proto_msgTypes, }.Build() File_shared_proto = out.File file_shared_proto_goTypes = nil file_shared_proto_depIdxs = nil }