From 4f12b4c7adfe5307fbf2c1f8ed43cdb306660171 Mon Sep 17 00:00:00 2001 From: Mostafa Moradian Date: Sat, 25 Jan 2025 21:55:51 +0100 Subject: [PATCH] Regenerate stubs --- api/v1/api.pb.go | 14 +++++++------- api/v1/api.swagger.json | 2 +- raft/proto/raft.pb.go | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/api/v1/api.pb.go b/api/v1/api.pb.go index c2d80c91..beca45f5 100644 --- a/api/v1/api.pb.go +++ b/api/v1/api.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: api/v1/api.proto @@ -15,6 +15,7 @@ import ( structpb "google.golang.org/protobuf/types/known/structpb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -373,7 +374,7 @@ func (x *Group) GetGroupName() string { var File_api_v1_api_proto protoreflect.FileDescriptor -var file_api_v1_api_proto_rawDesc = []byte{ +var file_api_v1_api_proto_rawDesc = string([]byte{ 0x0a, 0x10, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, @@ -890,16 +891,16 @@ var file_api_v1_api_proto_rawDesc = []byte{ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_api_v1_api_proto_rawDescOnce sync.Once - file_api_v1_api_proto_rawDescData = file_api_v1_api_proto_rawDesc + file_api_v1_api_proto_rawDescData []byte ) func file_api_v1_api_proto_rawDescGZIP() []byte { file_api_v1_api_proto_rawDescOnce.Do(func() { - file_api_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_api_proto_rawDescData) + file_api_v1_api_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_api_proto_rawDesc), len(file_api_v1_api_proto_rawDesc))) }) return file_api_v1_api_proto_rawDescData } @@ -952,7 +953,7 @@ func file_api_v1_api_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_api_v1_api_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_api_proto_rawDesc), len(file_api_v1_api_proto_rawDesc)), NumEnums: 0, NumMessages: 7, NumExtensions: 0, @@ -963,7 +964,6 @@ func file_api_v1_api_proto_init() { MessageInfos: file_api_v1_api_proto_msgTypes, }.Build() File_api_v1_api_proto = out.File - file_api_v1_api_proto_rawDesc = nil file_api_v1_api_proto_goTypes = nil file_api_v1_api_proto_depIdxs = nil } diff --git a/api/v1/api.swagger.json b/api/v1/api.swagger.json index c1e5868e..b15c8e22 100644 --- a/api/v1/api.swagger.json +++ b/api/v1/api.swagger.json @@ -416,7 +416,7 @@ "NULL_VALUE" ], "default": "NULL_VALUE", - "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." }, "protobufStruct": { "type": "object", diff --git a/raft/proto/raft.pb.go b/raft/proto/raft.pb.go index 0674f060..69864ba7 100644 --- a/raft/proto/raft.pb.go +++ b/raft/proto/raft.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.1 +// protoc-gen-go v1.36.4 // protoc (unknown) // source: raft/proto/raft.proto @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -127,7 +128,7 @@ func (x *ForwardApplyResponse) GetError() string { var File_raft_proto_raft_proto protoreflect.FileDescriptor -var file_raft_proto_raft_proto_rawDesc = []byte{ +var file_raft_proto_raft_proto_rawDesc = string([]byte{ 0x0a, 0x15, 0x72, 0x61, 0x66, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x61, 0x66, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x72, 0x61, 0x66, 0x74, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, @@ -152,16 +153,16 @@ var file_raft_proto_raft_proto_rawDesc = []byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x64, 0x2f, 0x72, 0x61, 0x66, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_raft_proto_raft_proto_rawDescOnce sync.Once - file_raft_proto_raft_proto_rawDescData = file_raft_proto_raft_proto_rawDesc + file_raft_proto_raft_proto_rawDescData []byte ) func file_raft_proto_raft_proto_rawDescGZIP() []byte { file_raft_proto_raft_proto_rawDescOnce.Do(func() { - file_raft_proto_raft_proto_rawDescData = protoimpl.X.CompressGZIP(file_raft_proto_raft_proto_rawDescData) + file_raft_proto_raft_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_raft_proto_raft_proto_rawDesc), len(file_raft_proto_raft_proto_rawDesc))) }) return file_raft_proto_raft_proto_rawDescData } @@ -190,7 +191,7 @@ func file_raft_proto_raft_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_raft_proto_raft_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_raft_proto_raft_proto_rawDesc), len(file_raft_proto_raft_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -201,7 +202,6 @@ func file_raft_proto_raft_proto_init() { MessageInfos: file_raft_proto_raft_proto_msgTypes, }.Build() File_raft_proto_raft_proto = out.File - file_raft_proto_raft_proto_rawDesc = nil file_raft_proto_raft_proto_goTypes = nil file_raft_proto_raft_proto_depIdxs = nil }