Push stream able to get which request success

⬆️ Upgrade protobuf version
This commit is contained in:
2025-02-02 15:52:00 +08:00
parent 6de240179f
commit 0f350d00a8
17 changed files with 510 additions and 992 deletions

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v5.28.2
// protoc-gen-go v1.35.1
// protoc v5.28.3
// source: allocator.proto
package proto
@@ -28,11 +28,9 @@ type AllocMqRequest struct {
func (x *AllocMqRequest) Reset() {
*x = AllocMqRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_allocator_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_allocator_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AllocMqRequest) String() string {
@@ -43,7 +41,7 @@ func (*AllocMqRequest) ProtoMessage() {}
func (x *AllocMqRequest) ProtoReflect() protoreflect.Message {
mi := &file_allocator_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -69,11 +67,9 @@ type AllocMqResponse struct {
func (x *AllocMqResponse) Reset() {
*x = AllocMqResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_allocator_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_allocator_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AllocMqResponse) String() string {
@@ -84,7 +80,7 @@ func (*AllocMqResponse) ProtoMessage() {}
func (x *AllocMqResponse) ProtoReflect() protoreflect.Message {
mi := &file_allocator_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -121,11 +117,9 @@ type AllocKvRequest struct {
func (x *AllocKvRequest) Reset() {
*x = AllocKvRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_allocator_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_allocator_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AllocKvRequest) String() string {
@@ -136,7 +130,7 @@ func (*AllocKvRequest) ProtoMessage() {}
func (x *AllocKvRequest) ProtoReflect() protoreflect.Message {
mi := &file_allocator_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -162,11 +156,9 @@ type AllocKvResponse struct {
func (x *AllocKvResponse) Reset() {
*x = AllocKvResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_allocator_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_allocator_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AllocKvResponse) String() string {
@@ -177,7 +169,7 @@ func (*AllocKvResponse) ProtoMessage() {}
func (x *AllocKvResponse) ProtoReflect() protoreflect.Message {
mi := &file_allocator_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -248,7 +240,7 @@ func file_allocator_proto_rawDescGZIP() []byte {
}
var file_allocator_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_allocator_proto_goTypes = []interface{}{
var file_allocator_proto_goTypes = []any{
(*AllocMqRequest)(nil), // 0: proto.AllocMqRequest
(*AllocMqResponse)(nil), // 1: proto.AllocMqResponse
(*AllocKvRequest)(nil), // 2: proto.AllocKvRequest
@@ -271,56 +263,6 @@ func file_allocator_proto_init() {
if File_allocator_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_allocator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AllocMqRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_allocator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AllocMqResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_allocator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AllocKvRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_allocator_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AllocKvResponse); 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{