mirror of https://github.com/harness/drone.git
1842 lines
62 KiB
Go
1842 lines
62 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.21.11
|
|
// source: ref.proto
|
|
|
|
package rpc
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
type ListBranchesRequest_SortOption int32
|
|
|
|
const (
|
|
ListBranchesRequest_Default ListBranchesRequest_SortOption = 0
|
|
ListBranchesRequest_Name ListBranchesRequest_SortOption = 1
|
|
ListBranchesRequest_Date ListBranchesRequest_SortOption = 2
|
|
)
|
|
|
|
// Enum value maps for ListBranchesRequest_SortOption.
|
|
var (
|
|
ListBranchesRequest_SortOption_name = map[int32]string{
|
|
0: "Default",
|
|
1: "Name",
|
|
2: "Date",
|
|
}
|
|
ListBranchesRequest_SortOption_value = map[string]int32{
|
|
"Default": 0,
|
|
"Name": 1,
|
|
"Date": 2,
|
|
}
|
|
)
|
|
|
|
func (x ListBranchesRequest_SortOption) Enum() *ListBranchesRequest_SortOption {
|
|
p := new(ListBranchesRequest_SortOption)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ListBranchesRequest_SortOption) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ListBranchesRequest_SortOption) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_ref_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ListBranchesRequest_SortOption) Type() protoreflect.EnumType {
|
|
return &file_ref_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ListBranchesRequest_SortOption) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ListBranchesRequest_SortOption.Descriptor instead.
|
|
func (ListBranchesRequest_SortOption) EnumDescriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{9, 0}
|
|
}
|
|
|
|
type ListCommitTagsRequest_SortOption int32
|
|
|
|
const (
|
|
ListCommitTagsRequest_Default ListCommitTagsRequest_SortOption = 0
|
|
ListCommitTagsRequest_Name ListCommitTagsRequest_SortOption = 1
|
|
ListCommitTagsRequest_Date ListCommitTagsRequest_SortOption = 2
|
|
)
|
|
|
|
// Enum value maps for ListCommitTagsRequest_SortOption.
|
|
var (
|
|
ListCommitTagsRequest_SortOption_name = map[int32]string{
|
|
0: "Default",
|
|
1: "Name",
|
|
2: "Date",
|
|
}
|
|
ListCommitTagsRequest_SortOption_value = map[string]int32{
|
|
"Default": 0,
|
|
"Name": 1,
|
|
"Date": 2,
|
|
}
|
|
)
|
|
|
|
func (x ListCommitTagsRequest_SortOption) Enum() *ListCommitTagsRequest_SortOption {
|
|
p := new(ListCommitTagsRequest_SortOption)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ListCommitTagsRequest_SortOption) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ListCommitTagsRequest_SortOption) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_ref_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ListCommitTagsRequest_SortOption) Type() protoreflect.EnumType {
|
|
return &file_ref_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ListCommitTagsRequest_SortOption) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCommitTagsRequest_SortOption.Descriptor instead.
|
|
func (ListCommitTagsRequest_SortOption) EnumDescriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{12, 0}
|
|
}
|
|
|
|
type CreateCommitTagRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *WriteRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
TagName string `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
|
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
Tagger *Identity `protobuf:"bytes,5,opt,name=tagger,proto3" json:"tagger,omitempty"`
|
|
TaggerDate int64 `protobuf:"varint,6,opt,name=taggerDate,proto3" json:"taggerDate,omitempty"`
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) Reset() {
|
|
*x = CreateCommitTagRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateCommitTagRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateCommitTagRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 CreateCommitTagRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateCommitTagRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) GetBase() *WriteRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) GetTagName() string {
|
|
if x != nil {
|
|
return x.TagName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) GetTagger() *Identity {
|
|
if x != nil {
|
|
return x.Tagger
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateCommitTagRequest) GetTaggerDate() int64 {
|
|
if x != nil {
|
|
return x.TaggerDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateCommitTagResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tag *CommitTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
}
|
|
|
|
func (x *CreateCommitTagResponse) Reset() {
|
|
*x = CreateCommitTagResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateCommitTagResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateCommitTagResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateCommitTagResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 CreateCommitTagResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateCommitTagResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateCommitTagResponse) GetTag() *CommitTag {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteTagRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *WriteRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
TagName string `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteTagRequest) Reset() {
|
|
*x = DeleteTagRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteTagRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTagRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 DeleteTagRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTagRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DeleteTagRequest) GetBase() *WriteRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeleteTagRequest) GetTagName() string {
|
|
if x != nil {
|
|
return x.TagName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateBranchRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *WriteRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
BranchName string `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
|
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
|
|
}
|
|
|
|
func (x *CreateBranchRequest) Reset() {
|
|
*x = CreateBranchRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateBranchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateBranchRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 CreateBranchRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateBranchRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CreateBranchRequest) GetBase() *WriteRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateBranchRequest) GetBranchName() string {
|
|
if x != nil {
|
|
return x.BranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateBranchRequest) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateBranchResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
|
|
}
|
|
|
|
func (x *CreateBranchResponse) Reset() {
|
|
*x = CreateBranchResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateBranchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateBranchResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 CreateBranchResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateBranchResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateBranchResponse) GetBranch() *Branch {
|
|
if x != nil {
|
|
return x.Branch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetBranchRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *ReadRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
BranchName string `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
|
}
|
|
|
|
func (x *GetBranchRequest) Reset() {
|
|
*x = GetBranchRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBranchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBranchRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBranchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 GetBranchRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBranchRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetBranchRequest) GetBase() *ReadRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetBranchRequest) GetBranchName() string {
|
|
if x != nil {
|
|
return x.BranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBranchResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
|
|
}
|
|
|
|
func (x *GetBranchResponse) Reset() {
|
|
*x = GetBranchResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBranchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBranchResponse) ProtoMessage() {}
|
|
|
|
func (x *GetBranchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 GetBranchResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetBranchResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetBranchResponse) GetBranch() *Branch {
|
|
if x != nil {
|
|
return x.Branch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteBranchRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *WriteRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
BranchName string `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
|
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteBranchRequest) Reset() {
|
|
*x = DeleteBranchRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteBranchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteBranchRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 DeleteBranchRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteBranchRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DeleteBranchRequest) GetBase() *WriteRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeleteBranchRequest) GetBranchName() string {
|
|
if x != nil {
|
|
return x.BranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteBranchRequest) GetForce() bool {
|
|
if x != nil {
|
|
return x.Force
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteBranchResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteBranchResponse) Reset() {
|
|
*x = DeleteBranchResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteBranchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteBranchResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 DeleteBranchResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteBranchResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DeleteBranchResponse) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListBranchesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *ReadRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
IncludeCommit bool `protobuf:"varint,2,opt,name=include_commit,json=includeCommit,proto3" json:"include_commit,omitempty"`
|
|
Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
|
Sort ListBranchesRequest_SortOption `protobuf:"varint,4,opt,name=sort,proto3,enum=rpc.ListBranchesRequest_SortOption" json:"sort,omitempty"`
|
|
Order SortOrder `protobuf:"varint,5,opt,name=order,proto3,enum=rpc.SortOrder" json:"order,omitempty"`
|
|
Page int32 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
|
|
PageSize int32 `protobuf:"varint,7,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
|
}
|
|
|
|
func (x *ListBranchesRequest) Reset() {
|
|
*x = ListBranchesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListBranchesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListBranchesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 ListBranchesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListBranchesRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetBase() *ReadRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetIncludeCommit() bool {
|
|
if x != nil {
|
|
return x.IncludeCommit
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetSort() ListBranchesRequest_SortOption {
|
|
if x != nil {
|
|
return x.Sort
|
|
}
|
|
return ListBranchesRequest_Default
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetOrder() SortOrder {
|
|
if x != nil {
|
|
return x.Order
|
|
}
|
|
return SortOrder_Default
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListBranchesRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListBranchesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
|
|
}
|
|
|
|
func (x *ListBranchesResponse) Reset() {
|
|
*x = ListBranchesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListBranchesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListBranchesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 ListBranchesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListBranchesResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ListBranchesResponse) GetBranch() *Branch {
|
|
if x != nil {
|
|
return x.Branch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Branch struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
Commit *Commit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
|
|
}
|
|
|
|
func (x *Branch) Reset() {
|
|
*x = Branch{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[11]
|
|
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_ref_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 Branch.ProtoReflect.Descriptor instead.
|
|
func (*Branch) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *Branch) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetCommit() *Commit {
|
|
if x != nil {
|
|
return x.Commit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListCommitTagsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *ReadRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
IncludeCommit bool `protobuf:"varint,2,opt,name=include_commit,json=includeCommit,proto3" json:"include_commit,omitempty"`
|
|
Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
|
Sort ListCommitTagsRequest_SortOption `protobuf:"varint,4,opt,name=sort,proto3,enum=rpc.ListCommitTagsRequest_SortOption" json:"sort,omitempty"`
|
|
Order SortOrder `protobuf:"varint,5,opt,name=order,proto3,enum=rpc.SortOrder" json:"order,omitempty"`
|
|
Page int32 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
|
|
PageSize int32 `protobuf:"varint,7,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) Reset() {
|
|
*x = ListCommitTagsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommitTagsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCommitTagsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 ListCommitTagsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCommitTagsRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetBase() *ReadRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetIncludeCommit() bool {
|
|
if x != nil {
|
|
return x.IncludeCommit
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetSort() ListCommitTagsRequest_SortOption {
|
|
if x != nil {
|
|
return x.Sort
|
|
}
|
|
return ListCommitTagsRequest_Default
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetOrder() SortOrder {
|
|
if x != nil {
|
|
return x.Order
|
|
}
|
|
return SortOrder_Default
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListCommitTagsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListCommitTagsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tag *CommitTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
}
|
|
|
|
func (x *ListCommitTagsResponse) Reset() {
|
|
*x = ListCommitTagsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListCommitTagsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommitTagsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListCommitTagsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 ListCommitTagsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCommitTagsResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ListCommitTagsResponse) GetTag() *CommitTag {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CommitTag struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
IsAnnotated bool `protobuf:"varint,3,opt,name=is_annotated,json=isAnnotated,proto3" json:"is_annotated,omitempty"`
|
|
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
|
|
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
|
Tagger *Signature `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"`
|
|
Commit *Commit `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty"`
|
|
}
|
|
|
|
func (x *CommitTag) Reset() {
|
|
*x = CommitTag{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CommitTag) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommitTag) ProtoMessage() {}
|
|
|
|
func (x *CommitTag) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 CommitTag.ProtoReflect.Descriptor instead.
|
|
func (*CommitTag) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CommitTag) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommitTag) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommitTag) GetIsAnnotated() bool {
|
|
if x != nil {
|
|
return x.IsAnnotated
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CommitTag) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommitTag) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CommitTag) GetTagger() *Signature {
|
|
if x != nil {
|
|
return x.Tagger
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommitTag) GetCommit() *Commit {
|
|
if x != nil {
|
|
return x.Commit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRefRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *ReadRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
RefName string `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"`
|
|
RefType RefType `protobuf:"varint,3,opt,name=ref_type,json=refType,proto3,enum=rpc.RefType" json:"ref_type,omitempty"`
|
|
}
|
|
|
|
func (x *GetRefRequest) Reset() {
|
|
*x = GetRefRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetRefRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRefRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRefRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 GetRefRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRefRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GetRefRequest) GetBase() *ReadRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetRefRequest) GetRefName() string {
|
|
if x != nil {
|
|
return x.RefName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetRefRequest) GetRefType() RefType {
|
|
if x != nil {
|
|
return x.RefType
|
|
}
|
|
return RefType_Undefined
|
|
}
|
|
|
|
type GetRefResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
}
|
|
|
|
func (x *GetRefResponse) Reset() {
|
|
*x = GetRefResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetRefResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRefResponse) ProtoMessage() {}
|
|
|
|
func (x *GetRefResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 GetRefResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRefResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetRefResponse) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateRefRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *WriteRequest `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
RefName string `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"`
|
|
RefType RefType `protobuf:"varint,3,opt,name=ref_type,json=refType,proto3,enum=rpc.RefType" json:"ref_type,omitempty"`
|
|
NewValue string `protobuf:"bytes,4,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
|
|
OldValue string `protobuf:"bytes,5,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateRefRequest) Reset() {
|
|
*x = UpdateRefRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateRefRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateRefRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateRefRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_proto_msgTypes[17]
|
|
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 UpdateRefRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateRefRequest) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *UpdateRefRequest) GetBase() *WriteRequest {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateRefRequest) GetRefName() string {
|
|
if x != nil {
|
|
return x.RefName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateRefRequest) GetRefType() RefType {
|
|
if x != nil {
|
|
return x.RefType
|
|
}
|
|
return RefType_Undefined
|
|
}
|
|
|
|
func (x *UpdateRefRequest) GetNewValue() string {
|
|
if x != nil {
|
|
return x.NewValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateRefRequest) GetOldValue() string {
|
|
if x != nil {
|
|
return x.OldValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateRefResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *UpdateRefResponse) Reset() {
|
|
*x = UpdateRefResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_ref_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateRefResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateRefResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateRefResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ref_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 UpdateRefResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateRefResponse) Descriptor() ([]byte, []int) {
|
|
return file_ref_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
var File_ref_proto protoreflect.FileDescriptor
|
|
|
|
var file_ref_proto_rawDesc = []byte{
|
|
0x0a, 0x09, 0x72, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63,
|
|
0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3,
|
|
0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54,
|
|
0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x62, 0x61, 0x73,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x72,
|
|
0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65,
|
|
0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74,
|
|
0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72,
|
|
0x67, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a,
|
|
0x06, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x06, 0x74, 0x61,
|
|
0x67, 0x67, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x44, 0x61,
|
|
0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72,
|
|
0x44, 0x61, 0x74, 0x65, 0x22, 0x3b, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f,
|
|
0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x20, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61,
|
|
0x67, 0x22, 0x54, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08,
|
|
0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x75, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25,
|
|
0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
|
0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e,
|
|
0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x3b,
|
|
0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x72, 0x61,
|
|
0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x59, 0x0a, 0x10, 0x47,
|
|
0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x24, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
|
0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e,
|
|
0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x38, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61,
|
|
0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x62,
|
|
0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68,
|
|
0x22, 0x73, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x72, 0x69, 0x74,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
|
|
0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x28, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42,
|
|
0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a,
|
|
0x03, 0x73, 0x68, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x68, 0x61, 0x22,
|
|
0xb6, 0x02, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61, 0x64,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x25, 0x0a,
|
|
0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f,
|
|
0x6d, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x37, 0x0a, 0x04, 0x73, 0x6f,
|
|
0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c,
|
|
0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x73,
|
|
0x6f, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x0e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4f, 0x72, 0x64,
|
|
0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
|
|
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x2d, 0x0a, 0x0a, 0x53, 0x6f, 0x72,
|
|
0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x66, 0x61, 0x75,
|
|
0x6c, 0x74, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0x01, 0x12, 0x08,
|
|
0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x10, 0x02, 0x22, 0x3b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74,
|
|
0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x23, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62,
|
|
0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x53, 0x0a, 0x06, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12,
|
|
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x73, 0x68, 0x61, 0x12, 0x23, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
|
0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0xba, 0x02, 0x0a, 0x15, 0x4c,
|
|
0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e,
|
|
0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
|
|
0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x73, 0x6f,
|
|
0x72, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x0e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x4f, 0x72, 0x64, 0x65,
|
|
0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
|
0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x2d, 0x0a, 0x0a, 0x53, 0x6f, 0x72, 0x74,
|
|
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
|
|
0x74, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0x01, 0x12, 0x08, 0x0a,
|
|
0x04, 0x44, 0x61, 0x74, 0x65, 0x10, 0x02, 0x22, 0x3a, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x20, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x03,
|
|
0x74, 0x61, 0x67, 0x22, 0xd1, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61,
|
|
0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x73, 0x68, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x61, 0x6e,
|
|
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69,
|
|
0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
|
|
0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
|
|
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x74, 0x61,
|
|
0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x06, 0x74, 0x61, 0x67, 0x67,
|
|
0x65, 0x72, 0x12, 0x23, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52,
|
|
0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x79, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65,
|
|
0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61,
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x19,
|
|
0x0a, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x72, 0x65, 0x66,
|
|
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x52, 0x65, 0x66, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x72, 0x65, 0x66, 0x54, 0x79,
|
|
0x70, 0x65, 0x22, 0x22, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x03, 0x73, 0x68, 0x61, 0x22, 0xb7, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x62,
|
|
0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x62, 0x61,
|
|
0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a,
|
|
0x08, 0x72, 0x65, 0x66, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x0c, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x66, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x72,
|
|
0x65, 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
|
0x22, 0x13, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe5, 0x04, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
|
|
0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x2e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x3a, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x15, 0x2e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61,
|
|
0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x44,
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x2e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65,
|
|
0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x45, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73,
|
|
0x12, 0x18, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63,
|
|
0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f,
|
|
0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12,
|
|
0x15, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31,
|
|
0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x12, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47,
|
|
0x65, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x3a, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x12, 0x15,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a,
|
|
0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x72, 0x6e,
|
|
0x65, 0x73, 0x73, 0x2f, 0x67, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x69, 0x74, 0x72,
|
|
0x70, 0x63, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_ref_proto_rawDescOnce sync.Once
|
|
file_ref_proto_rawDescData = file_ref_proto_rawDesc
|
|
)
|
|
|
|
func file_ref_proto_rawDescGZIP() []byte {
|
|
file_ref_proto_rawDescOnce.Do(func() {
|
|
file_ref_proto_rawDescData = protoimpl.X.CompressGZIP(file_ref_proto_rawDescData)
|
|
})
|
|
return file_ref_proto_rawDescData
|
|
}
|
|
|
|
var file_ref_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
|
var file_ref_proto_goTypes = []interface{}{
|
|
(ListBranchesRequest_SortOption)(0), // 0: rpc.ListBranchesRequest.SortOption
|
|
(ListCommitTagsRequest_SortOption)(0), // 1: rpc.ListCommitTagsRequest.SortOption
|
|
(*CreateCommitTagRequest)(nil), // 2: rpc.CreateCommitTagRequest
|
|
(*CreateCommitTagResponse)(nil), // 3: rpc.CreateCommitTagResponse
|
|
(*DeleteTagRequest)(nil), // 4: rpc.DeleteTagRequest
|
|
(*CreateBranchRequest)(nil), // 5: rpc.CreateBranchRequest
|
|
(*CreateBranchResponse)(nil), // 6: rpc.CreateBranchResponse
|
|
(*GetBranchRequest)(nil), // 7: rpc.GetBranchRequest
|
|
(*GetBranchResponse)(nil), // 8: rpc.GetBranchResponse
|
|
(*DeleteBranchRequest)(nil), // 9: rpc.DeleteBranchRequest
|
|
(*DeleteBranchResponse)(nil), // 10: rpc.DeleteBranchResponse
|
|
(*ListBranchesRequest)(nil), // 11: rpc.ListBranchesRequest
|
|
(*ListBranchesResponse)(nil), // 12: rpc.ListBranchesResponse
|
|
(*Branch)(nil), // 13: rpc.Branch
|
|
(*ListCommitTagsRequest)(nil), // 14: rpc.ListCommitTagsRequest
|
|
(*ListCommitTagsResponse)(nil), // 15: rpc.ListCommitTagsResponse
|
|
(*CommitTag)(nil), // 16: rpc.CommitTag
|
|
(*GetRefRequest)(nil), // 17: rpc.GetRefRequest
|
|
(*GetRefResponse)(nil), // 18: rpc.GetRefResponse
|
|
(*UpdateRefRequest)(nil), // 19: rpc.UpdateRefRequest
|
|
(*UpdateRefResponse)(nil), // 20: rpc.UpdateRefResponse
|
|
(*WriteRequest)(nil), // 21: rpc.WriteRequest
|
|
(*Identity)(nil), // 22: rpc.Identity
|
|
(*ReadRequest)(nil), // 23: rpc.ReadRequest
|
|
(SortOrder)(0), // 24: rpc.SortOrder
|
|
(*Commit)(nil), // 25: rpc.Commit
|
|
(*Signature)(nil), // 26: rpc.Signature
|
|
(RefType)(0), // 27: rpc.RefType
|
|
}
|
|
var file_ref_proto_depIdxs = []int32{
|
|
21, // 0: rpc.CreateCommitTagRequest.base:type_name -> rpc.WriteRequest
|
|
22, // 1: rpc.CreateCommitTagRequest.tagger:type_name -> rpc.Identity
|
|
16, // 2: rpc.CreateCommitTagResponse.tag:type_name -> rpc.CommitTag
|
|
21, // 3: rpc.DeleteTagRequest.base:type_name -> rpc.WriteRequest
|
|
21, // 4: rpc.CreateBranchRequest.base:type_name -> rpc.WriteRequest
|
|
13, // 5: rpc.CreateBranchResponse.branch:type_name -> rpc.Branch
|
|
23, // 6: rpc.GetBranchRequest.base:type_name -> rpc.ReadRequest
|
|
13, // 7: rpc.GetBranchResponse.branch:type_name -> rpc.Branch
|
|
21, // 8: rpc.DeleteBranchRequest.base:type_name -> rpc.WriteRequest
|
|
23, // 9: rpc.ListBranchesRequest.base:type_name -> rpc.ReadRequest
|
|
0, // 10: rpc.ListBranchesRequest.sort:type_name -> rpc.ListBranchesRequest.SortOption
|
|
24, // 11: rpc.ListBranchesRequest.order:type_name -> rpc.SortOrder
|
|
13, // 12: rpc.ListBranchesResponse.branch:type_name -> rpc.Branch
|
|
25, // 13: rpc.Branch.commit:type_name -> rpc.Commit
|
|
23, // 14: rpc.ListCommitTagsRequest.base:type_name -> rpc.ReadRequest
|
|
1, // 15: rpc.ListCommitTagsRequest.sort:type_name -> rpc.ListCommitTagsRequest.SortOption
|
|
24, // 16: rpc.ListCommitTagsRequest.order:type_name -> rpc.SortOrder
|
|
16, // 17: rpc.ListCommitTagsResponse.tag:type_name -> rpc.CommitTag
|
|
26, // 18: rpc.CommitTag.tagger:type_name -> rpc.Signature
|
|
25, // 19: rpc.CommitTag.commit:type_name -> rpc.Commit
|
|
23, // 20: rpc.GetRefRequest.base:type_name -> rpc.ReadRequest
|
|
27, // 21: rpc.GetRefRequest.ref_type:type_name -> rpc.RefType
|
|
21, // 22: rpc.UpdateRefRequest.base:type_name -> rpc.WriteRequest
|
|
27, // 23: rpc.UpdateRefRequest.ref_type:type_name -> rpc.RefType
|
|
5, // 24: rpc.ReferenceService.CreateBranch:input_type -> rpc.CreateBranchRequest
|
|
7, // 25: rpc.ReferenceService.GetBranch:input_type -> rpc.GetBranchRequest
|
|
9, // 26: rpc.ReferenceService.DeleteBranch:input_type -> rpc.DeleteBranchRequest
|
|
11, // 27: rpc.ReferenceService.ListBranches:input_type -> rpc.ListBranchesRequest
|
|
14, // 28: rpc.ReferenceService.ListCommitTags:input_type -> rpc.ListCommitTagsRequest
|
|
2, // 29: rpc.ReferenceService.CreateCommitTag:input_type -> rpc.CreateCommitTagRequest
|
|
4, // 30: rpc.ReferenceService.DeleteTag:input_type -> rpc.DeleteTagRequest
|
|
17, // 31: rpc.ReferenceService.GetRef:input_type -> rpc.GetRefRequest
|
|
19, // 32: rpc.ReferenceService.UpdateRef:input_type -> rpc.UpdateRefRequest
|
|
6, // 33: rpc.ReferenceService.CreateBranch:output_type -> rpc.CreateBranchResponse
|
|
8, // 34: rpc.ReferenceService.GetBranch:output_type -> rpc.GetBranchResponse
|
|
10, // 35: rpc.ReferenceService.DeleteBranch:output_type -> rpc.DeleteBranchResponse
|
|
12, // 36: rpc.ReferenceService.ListBranches:output_type -> rpc.ListBranchesResponse
|
|
15, // 37: rpc.ReferenceService.ListCommitTags:output_type -> rpc.ListCommitTagsResponse
|
|
3, // 38: rpc.ReferenceService.CreateCommitTag:output_type -> rpc.CreateCommitTagResponse
|
|
20, // 39: rpc.ReferenceService.DeleteTag:output_type -> rpc.UpdateRefResponse
|
|
18, // 40: rpc.ReferenceService.GetRef:output_type -> rpc.GetRefResponse
|
|
20, // 41: rpc.ReferenceService.UpdateRef:output_type -> rpc.UpdateRefResponse
|
|
33, // [33:42] is the sub-list for method output_type
|
|
24, // [24:33] is the sub-list for method input_type
|
|
24, // [24:24] is the sub-list for extension type_name
|
|
24, // [24:24] is the sub-list for extension extendee
|
|
0, // [0:24] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_ref_proto_init() }
|
|
func file_ref_proto_init() {
|
|
if File_ref_proto != nil {
|
|
return
|
|
}
|
|
file_shared_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_ref_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateCommitTagRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateCommitTagResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteTagRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateBranchRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateBranchResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBranchRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBranchResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteBranchRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteBranchResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListBranchesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListBranchesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Branch); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListCommitTagsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListCommitTagsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CommitTag); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetRefRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetRefResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateRefRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_ref_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateRefResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_ref_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 19,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_ref_proto_goTypes,
|
|
DependencyIndexes: file_ref_proto_depIdxs,
|
|
EnumInfos: file_ref_proto_enumTypes,
|
|
MessageInfos: file_ref_proto_msgTypes,
|
|
}.Build()
|
|
File_ref_proto = out.File
|
|
file_ref_proto_rawDesc = nil
|
|
file_ref_proto_goTypes = nil
|
|
file_ref_proto_depIdxs = nil
|
|
}
|