diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-11 10:08:39 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-11 10:08:39 +0300 |
commit | 5200cc5b7bb1dc10738166b1be783e38acd98812 (patch) | |
tree | 938566eabe05a4cf7e885d873af9a15329cdd3d8 /proto/go | |
parent | 60a7383d965aa6a8e69aa2e33a84792cde486cd3 (diff) | |
parent | ca71bbd189a528700f4583ee621b36bbb2b89ec7 (diff) |
Merge branch 'pks-proto-style-update' into 'master'
proto: Update documentation and modernize our style guide
See merge request gitlab-org/gitaly!4539
Diffstat (limited to 'proto/go')
-rw-r--r-- | proto/go/gitalypb/commit.pb.go | 38 | ||||
-rw-r--r-- | proto/go/gitalypb/diff.pb.go | 14 | ||||
-rw-r--r-- | proto/go/gitalypb/hook.pb.go | 6 | ||||
-rw-r--r-- | proto/go/gitalypb/lint.pb.go | 12 | ||||
-rw-r--r-- | proto/go/gitalypb/operations.pb.go | 24 | ||||
-rw-r--r-- | proto/go/gitalypb/ref.pb.go | 26 | ||||
-rw-r--r-- | proto/go/gitalypb/repository.pb.go | 24 | ||||
-rw-r--r-- | proto/go/gitalypb/shared.pb.go | 22 | ||||
-rw-r--r-- | proto/go/gitalypb/transaction.pb.go | 12 | ||||
-rw-r--r-- | proto/go/gitalypb/wiki.pb.go | 8 |
10 files changed, 93 insertions, 93 deletions
diff --git a/proto/go/gitalypb/commit.pb.go b/proto/go/gitalypb/commit.pb.go index a2c9d0a20..4a7ba41b3 100644 --- a/proto/go/gitalypb/commit.pb.go +++ b/proto/go/gitalypb/commit.pb.go @@ -26,15 +26,15 @@ type ListCommitsRequest_Order int32 const ( // NONE defaults to reverse chronological order. - ListCommitsRequest_NONE ListCommitsRequest_Order = 0 + ListCommitsRequest_NONE ListCommitsRequest_Order = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TOPO order will cause no parents to be shown before all of its children // are shown. Furthermore, multiple lines of history will not be // intermixed. - ListCommitsRequest_TOPO ListCommitsRequest_Order = 1 + ListCommitsRequest_TOPO ListCommitsRequest_Order = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DATE order will cause no parents to be shown before all of its children // are shown. Otherwise, commits are shown in commit timestamp order. This // can cause history to be shown intermixed. - ListCommitsRequest_DATE ListCommitsRequest_Order = 2 + ListCommitsRequest_DATE ListCommitsRequest_Order = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ListCommitsRequest_Order. @@ -83,13 +83,13 @@ type TreeEntryResponse_ObjectType int32 const ( // This comment is left unintentionally blank. - TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 + TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 + TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 + TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 + TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for TreeEntryResponse_ObjectType. @@ -140,11 +140,11 @@ type TreeEntry_EntryType int32 const ( // This comment is left unintentionally blank. - TreeEntry_BLOB TreeEntry_EntryType = 0 + TreeEntry_BLOB TreeEntry_EntryType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - TreeEntry_TREE TreeEntry_EntryType = 1 + TreeEntry_TREE TreeEntry_EntryType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - TreeEntry_COMMIT TreeEntry_EntryType = 3 + TreeEntry_COMMIT TreeEntry_EntryType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for TreeEntry_EntryType. @@ -192,10 +192,10 @@ func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { type GetTreeEntriesRequest_SortBy int32 const ( - // This comment is left unintentionally blank. - GetTreeEntriesRequest_DEFAULT GetTreeEntriesRequest_SortBy = 0 // Preserve order of git ls-tree - // This comment is left unintentionally blank. - GetTreeEntriesRequest_TREES_FIRST GetTreeEntriesRequest_SortBy = 1 // trees, blobs, submodules + // Preserve order of git ls-tree. + GetTreeEntriesRequest_DEFAULT GetTreeEntriesRequest_SortBy = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH + // Trees, blobs, submodules. + GetTreeEntriesRequest_TREES_FIRST GetTreeEntriesRequest_SortBy = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for GetTreeEntriesRequest_SortBy. @@ -242,11 +242,11 @@ type FindAllCommitsRequest_Order int32 const ( // This comment is left unintentionally blank. - FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 + FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 + FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 + FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for FindAllCommitsRequest_Order. @@ -295,9 +295,9 @@ type FindCommitsRequest_Order int32 const ( // This comment is left unintentionally blank. - FindCommitsRequest_NONE FindCommitsRequest_Order = 0 + FindCommitsRequest_NONE FindCommitsRequest_Order = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 + FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for FindCommitsRequest_Order. diff --git a/proto/go/gitalypb/diff.pb.go b/proto/go/gitalypb/diff.pb.go index cc2114b9c..6c8c08e8d 100644 --- a/proto/go/gitalypb/diff.pb.go +++ b/proto/go/gitalypb/diff.pb.go @@ -25,9 +25,9 @@ type CommitDiffRequest_DiffMode int32 const ( // DEFAULT is the standard diff mode and results in a linewise diff for textfiles. - CommitDiffRequest_DEFAULT CommitDiffRequest_DiffMode = 0 + 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 + CommitDiffRequest_WORDDIFF CommitDiffRequest_DiffMode = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for CommitDiffRequest_DiffMode. @@ -74,15 +74,15 @@ type ChangedPaths_Status int32 const ( // This comment is left unintentionally blank. - ChangedPaths_ADDED ChangedPaths_Status = 0 + ChangedPaths_ADDED ChangedPaths_Status = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - ChangedPaths_MODIFIED ChangedPaths_Status = 1 + ChangedPaths_MODIFIED ChangedPaths_Status = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ChangedPaths_DELETED ChangedPaths_Status = 2 + ChangedPaths_DELETED ChangedPaths_Status = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ChangedPaths_TYPE_CHANGE ChangedPaths_Status = 3 + ChangedPaths_TYPE_CHANGE ChangedPaths_Status = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ChangedPaths_COPIED ChangedPaths_Status = 4 + ChangedPaths_COPIED ChangedPaths_Status = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ChangedPaths_Status. diff --git a/proto/go/gitalypb/hook.pb.go b/proto/go/gitalypb/hook.pb.go index 8fd4fe4c3..a8a92c76c 100644 --- a/proto/go/gitalypb/hook.pb.go +++ b/proto/go/gitalypb/hook.pb.go @@ -25,11 +25,11 @@ type ReferenceTransactionHookRequest_State int32 const ( // This comment is left unintentionally blank. - ReferenceTransactionHookRequest_PREPARED ReferenceTransactionHookRequest_State = 0 + ReferenceTransactionHookRequest_PREPARED ReferenceTransactionHookRequest_State = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - ReferenceTransactionHookRequest_COMMITTED ReferenceTransactionHookRequest_State = 1 + ReferenceTransactionHookRequest_COMMITTED ReferenceTransactionHookRequest_State = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 + ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ReferenceTransactionHookRequest_State. diff --git a/proto/go/gitalypb/lint.pb.go b/proto/go/gitalypb/lint.pb.go index 08d2ad0ae..a2f4e9e72 100644 --- a/proto/go/gitalypb/lint.pb.go +++ b/proto/go/gitalypb/lint.pb.go @@ -26,13 +26,13 @@ type OperationMsg_Operation int32 const ( // This comment is left unintentionally blank. - OperationMsg_UNKNOWN OperationMsg_Operation = 0 + OperationMsg_UNKNOWN OperationMsg_Operation = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - OperationMsg_MUTATOR OperationMsg_Operation = 1 + OperationMsg_MUTATOR OperationMsg_Operation = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - OperationMsg_ACCESSOR OperationMsg_Operation = 2 + OperationMsg_ACCESSOR OperationMsg_Operation = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - OperationMsg_MAINTENANCE OperationMsg_Operation = 3 + OperationMsg_MAINTENANCE OperationMsg_Operation = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for OperationMsg_Operation. @@ -83,9 +83,9 @@ type OperationMsg_Scope int32 const ( // This comment is left unintentionally blank. - OperationMsg_REPOSITORY OperationMsg_Scope = 0 + OperationMsg_REPOSITORY OperationMsg_Scope = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - OperationMsg_STORAGE OperationMsg_Scope = 2 + OperationMsg_STORAGE OperationMsg_Scope = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for OperationMsg_Scope. diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go index 67c8676e1..e0efd07bc 100644 --- a/proto/go/gitalypb/operations.pb.go +++ b/proto/go/gitalypb/operations.pb.go @@ -27,12 +27,12 @@ type UserCherryPickResponse_CreateTreeError int32 const ( // NONE denotes that no error occurred. - UserCherryPickResponse_NONE UserCherryPickResponse_CreateTreeError = 0 + UserCherryPickResponse_NONE UserCherryPickResponse_CreateTreeError = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // EMPTY denotes that the cherry-pick would've resulted in an empty commit, // typically because it has already been applied to the target branch. - UserCherryPickResponse_EMPTY UserCherryPickResponse_CreateTreeError = 1 + UserCherryPickResponse_EMPTY UserCherryPickResponse_CreateTreeError = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // CONFLICT denotes that the cherry-pick resulted in a conflict. - UserCherryPickResponse_CONFLICT UserCherryPickResponse_CreateTreeError = 2 + UserCherryPickResponse_CONFLICT UserCherryPickResponse_CreateTreeError = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for UserCherryPickResponse_CreateTreeError. @@ -82,12 +82,12 @@ type UserRevertResponse_CreateTreeError int32 const ( // NONE denotes that no error occurred. - UserRevertResponse_NONE UserRevertResponse_CreateTreeError = 0 + UserRevertResponse_NONE UserRevertResponse_CreateTreeError = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // EMPTY denotes that the revert would've resulted in an empty commit, // typically because it has already been applied to the target branch. - UserRevertResponse_EMPTY UserRevertResponse_CreateTreeError = 1 + UserRevertResponse_EMPTY UserRevertResponse_CreateTreeError = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // CONFLICT denotes that the revert resulted in a conflict. - UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2 + UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for UserRevertResponse_CreateTreeError. @@ -136,17 +136,17 @@ type UserCommitFilesActionHeader_ActionType int32 const ( // CREATE creates a new file. - UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0 + UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // CREATE_DIR creates a new directory. - UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1 + UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // UPDATE updates an existing file. - UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2 + UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // MOVE moves an existing file to a new path. - UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3 + UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DELETE deletes an existing file. - UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4 + UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // CHMOD changes the permissions of an existing file. - UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 + UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for UserCommitFilesActionHeader_ActionType. diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go index 536f61ff2..df88af5e2 100644 --- a/proto/go/gitalypb/ref.pb.go +++ b/proto/go/gitalypb/ref.pb.go @@ -26,11 +26,11 @@ type FindLocalBranchesRequest_SortBy int32 const ( // This comment is left unintentionally blank. - FindLocalBranchesRequest_NAME FindLocalBranchesRequest_SortBy = 0 + FindLocalBranchesRequest_NAME FindLocalBranchesRequest_SortBy = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - FindLocalBranchesRequest_UPDATED_ASC FindLocalBranchesRequest_SortBy = 1 + FindLocalBranchesRequest_UPDATED_ASC FindLocalBranchesRequest_SortBy = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 + FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for FindLocalBranchesRequest_SortBy. @@ -79,9 +79,9 @@ type FindAllTagsRequest_SortBy_Key int32 const ( // This comment is left unintentionally blank. - FindAllTagsRequest_SortBy_REFNAME FindAllTagsRequest_SortBy_Key = 0 + FindAllTagsRequest_SortBy_REFNAME FindAllTagsRequest_SortBy_Key = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - FindAllTagsRequest_SortBy_CREATORDATE FindAllTagsRequest_SortBy_Key = 1 + FindAllTagsRequest_SortBy_CREATORDATE FindAllTagsRequest_SortBy_Key = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for FindAllTagsRequest_SortBy_Key. @@ -128,13 +128,13 @@ type CreateBranchResponse_Status int32 const ( // This comment is left unintentionally blank. - CreateBranchResponse_OK CreateBranchResponse_Status = 0 + CreateBranchResponse_OK CreateBranchResponse_Status = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1 + CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2 + CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 + CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for CreateBranchResponse_Status. @@ -185,13 +185,13 @@ type ListRefsRequest_SortBy_Key int32 const ( // This comment is left unintentionally blank. - ListRefsRequest_SortBy_REFNAME ListRefsRequest_SortBy_Key = 0 + ListRefsRequest_SortBy_REFNAME ListRefsRequest_SortBy_Key = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - ListRefsRequest_SortBy_CREATORDATE ListRefsRequest_SortBy_Key = 1 + ListRefsRequest_SortBy_CREATORDATE ListRefsRequest_SortBy_Key = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ListRefsRequest_SortBy_AUTHORDATE ListRefsRequest_SortBy_Key = 2 + ListRefsRequest_SortBy_AUTHORDATE ListRefsRequest_SortBy_Key = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ListRefsRequest_SortBy_COMMITTERDATE ListRefsRequest_SortBy_Key = 3 + ListRefsRequest_SortBy_COMMITTERDATE ListRefsRequest_SortBy_Key = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ListRefsRequest_SortBy_Key. diff --git a/proto/go/gitalypb/repository.pb.go b/proto/go/gitalypb/repository.pb.go index 90f8a7e6f..f24ce8a3d 100644 --- a/proto/go/gitalypb/repository.pb.go +++ b/proto/go/gitalypb/repository.pb.go @@ -27,7 +27,7 @@ const ( // SizeMultiple requires to use '--split --size-multiple=4' strategy to create/update commit graph. // https://git-scm.com/docs/git-commit-graph#Documentation/git-commit-graph.txt-emwriteem // It is a default, there is no need to explicitly set it in the request. - WriteCommitGraphRequest_SizeMultiple WriteCommitGraphRequest_SplitStrategy = 0 // protolint:disable:this ENUM_FIELD_NAMES_UPPER_SNAKE_CASE + WriteCommitGraphRequest_SizeMultiple WriteCommitGraphRequest_SplitStrategy = 0 // protolint:disable:this ENUM_FIELD_NAMES_UPPER_SNAKE_CASE ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH ) // Enum value maps for WriteCommitGraphRequest_SplitStrategy. @@ -72,13 +72,13 @@ type GetArchiveRequest_Format int32 const ( // This comment is left unintentionally blank. - GetArchiveRequest_ZIP GetArchiveRequest_Format = 0 + GetArchiveRequest_ZIP GetArchiveRequest_Format = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - GetArchiveRequest_TAR GetArchiveRequest_Format = 1 + GetArchiveRequest_TAR GetArchiveRequest_Format = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2 + GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 + GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for GetArchiveRequest_Format. @@ -129,19 +129,19 @@ type GetRawChangesResponse_RawChange_Operation int32 const ( // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_UNKNOWN GetRawChangesResponse_RawChange_Operation = 0 + GetRawChangesResponse_RawChange_UNKNOWN GetRawChangesResponse_RawChange_Operation = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_ADDED GetRawChangesResponse_RawChange_Operation = 1 + GetRawChangesResponse_RawChange_ADDED GetRawChangesResponse_RawChange_Operation = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_COPIED GetRawChangesResponse_RawChange_Operation = 2 + GetRawChangesResponse_RawChange_COPIED GetRawChangesResponse_RawChange_Operation = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_DELETED GetRawChangesResponse_RawChange_Operation = 3 + GetRawChangesResponse_RawChange_DELETED GetRawChangesResponse_RawChange_Operation = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_MODIFIED GetRawChangesResponse_RawChange_Operation = 4 + GetRawChangesResponse_RawChange_MODIFIED GetRawChangesResponse_RawChange_Operation = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_RENAMED GetRawChangesResponse_RawChange_Operation = 5 + GetRawChangesResponse_RawChange_RENAMED GetRawChangesResponse_RawChange_Operation = 5 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 + GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for GetRawChangesResponse_RawChange_Operation. diff --git a/proto/go/gitalypb/shared.pb.go b/proto/go/gitalypb/shared.pb.go index 31a54b636..e1aa03aac 100644 --- a/proto/go/gitalypb/shared.pb.go +++ b/proto/go/gitalypb/shared.pb.go @@ -26,15 +26,15 @@ type ObjectType int32 const ( // This comment is left unintentionally blank. - ObjectType_UNKNOWN ObjectType = 0 + ObjectType_UNKNOWN ObjectType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - ObjectType_COMMIT ObjectType = 1 + ObjectType_COMMIT ObjectType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ObjectType_BLOB ObjectType = 2 + ObjectType_BLOB ObjectType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ObjectType_TREE ObjectType = 3 + ObjectType_TREE ObjectType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - ObjectType_TAG ObjectType = 4 + ObjectType_TAG ObjectType = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for ObjectType. @@ -87,13 +87,13 @@ type SignatureType int32 const ( // This comment is left unintentionally blank. - SignatureType_NONE SignatureType = 0 + SignatureType_NONE SignatureType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - SignatureType_PGP SignatureType = 1 + SignatureType_PGP SignatureType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - SignatureType_X509 SignatureType = 2 + SignatureType_X509 SignatureType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - SignatureType_SSH SignatureType = 3 // maybe add X509+TSA or other combinations at a later step + SignatureType_SSH SignatureType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for SignatureType. @@ -144,9 +144,9 @@ type SortDirection int32 const ( // ASCENDING sorts by the sort key in ascending order. - SortDirection_ASCENDING SortDirection = 0 + 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 + SortDirection_DESCENDING SortDirection = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for SortDirection. diff --git a/proto/go/gitalypb/transaction.pb.go b/proto/go/gitalypb/transaction.pb.go index b98a2af3a..6824ea2d8 100644 --- a/proto/go/gitalypb/transaction.pb.go +++ b/proto/go/gitalypb/transaction.pb.go @@ -27,14 +27,14 @@ const ( // UNKNOWN_PHASE is the unknown voting phase. This value has been the // default because phases have been introduced. Eventually, using this // phase will become unsupported. - VoteTransactionRequest_UNKNOWN_PHASE VoteTransactionRequest_Phase = 0 + VoteTransactionRequest_UNKNOWN_PHASE VoteTransactionRequest_Phase = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // PREPARED_PHASE is the prepratory phase. The data that is about to change // is locked for concurrent modification, but changes have not yet been // written to disk. - VoteTransactionRequest_PREPARED_PHASE VoteTransactionRequest_Phase = 1 + VoteTransactionRequest_PREPARED_PHASE VoteTransactionRequest_Phase = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COMMITTED_PHASE is the committing phase. Data has been committed to disk // and will be visible in all subsequent requests. - VoteTransactionRequest_COMMITTED_PHASE VoteTransactionRequest_Phase = 2 + VoteTransactionRequest_COMMITTED_PHASE VoteTransactionRequest_Phase = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for VoteTransactionRequest_Phase. @@ -84,11 +84,11 @@ type VoteTransactionResponse_TransactionState int32 const ( // This comment is left unintentionally blank. - VoteTransactionResponse_COMMIT VoteTransactionResponse_TransactionState = 0 + VoteTransactionResponse_COMMIT VoteTransactionResponse_TransactionState = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - VoteTransactionResponse_ABORT VoteTransactionResponse_TransactionState = 1 + VoteTransactionResponse_ABORT VoteTransactionResponse_TransactionState = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // This comment is left unintentionally blank. - VoteTransactionResponse_STOP VoteTransactionResponse_TransactionState = 2 + VoteTransactionResponse_STOP VoteTransactionResponse_TransactionState = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for VoteTransactionResponse_TransactionState. diff --git a/proto/go/gitalypb/wiki.pb.go b/proto/go/gitalypb/wiki.pb.go index a57413524..d37ad38fc 100644 --- a/proto/go/gitalypb/wiki.pb.go +++ b/proto/go/gitalypb/wiki.pb.go @@ -25,9 +25,9 @@ type WikiGetAllPagesRequest_SortBy int32 const ( // This comment is left unintentionally blank. - WikiGetAllPagesRequest_TITLE WikiGetAllPagesRequest_SortBy = 0 + WikiGetAllPagesRequest_TITLE WikiGetAllPagesRequest_SortBy = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - WikiGetAllPagesRequest_CREATED_AT WikiGetAllPagesRequest_SortBy = 1 + WikiGetAllPagesRequest_CREATED_AT WikiGetAllPagesRequest_SortBy = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for WikiGetAllPagesRequest_SortBy. @@ -74,9 +74,9 @@ type WikiListPagesRequest_SortBy int32 const ( // This comment is left unintentionally blank. - WikiListPagesRequest_TITLE WikiListPagesRequest_SortBy = 0 + WikiListPagesRequest_TITLE WikiListPagesRequest_SortBy = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // This comment is left unintentionally blank. - WikiListPagesRequest_CREATED_AT WikiListPagesRequest_SortBy = 1 + WikiListPagesRequest_CREATED_AT WikiListPagesRequest_SortBy = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ) // Enum value maps for WikiListPagesRequest_SortBy. |