seaweedfs/weed/pb/mq_pb/mq.pb.go

210 lines
6.9 KiB
Go
Raw Normal View History

2020-06-20 15:00:25 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2022-05-02 04:59:16 +00:00
// protoc-gen-go v1.26.0
// protoc v3.17.3
2022-07-02 05:43:25 +00:00
// source: mq.proto
2020-04-16 09:21:23 +00:00
2022-07-02 05:43:25 +00:00
package mq_pb
2020-04-16 09:21:23 +00:00
import (
2020-06-20 15:00:25 +00:00
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
2020-04-16 09:21:23 +00:00
)
2020-06-20 15:00:25 +00:00
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)
)
2020-04-16 09:21:23 +00:00
2022-07-10 19:11:37 +00:00
type FindBrokerLeaderRequest struct {
2020-06-20 15:00:25 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderRequest) Reset() {
*x = FindBrokerLeaderRequest{}
2020-06-20 15:00:25 +00:00
if protoimpl.UnsafeEnabled {
2022-07-10 08:36:23 +00:00
mi := &file_mq_proto_msgTypes[0]
2020-06-20 15:00:25 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderRequest) String() string {
2020-06-20 15:00:25 +00:00
return protoimpl.X.MessageStringOf(x)
}
2022-07-10 19:11:37 +00:00
func (*FindBrokerLeaderRequest) ProtoMessage() {}
2020-06-20 15:00:25 +00:00
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderRequest) ProtoReflect() protoreflect.Message {
2022-07-10 08:36:23 +00:00
mi := &file_mq_proto_msgTypes[0]
2020-06-20 15:00:25 +00:00
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)
}
2022-07-10 19:11:37 +00:00
// Deprecated: Use FindBrokerLeaderRequest.ProtoReflect.Descriptor instead.
func (*FindBrokerLeaderRequest) Descriptor() ([]byte, []int) {
2022-07-10 08:36:23 +00:00
return file_mq_proto_rawDescGZIP(), []int{0}
2020-06-20 15:00:25 +00:00
}
2022-07-10 19:11:37 +00:00
type FindBrokerLeaderResponse struct {
2020-06-20 15:00:25 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2022-07-10 08:36:23 +00:00
Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
2020-06-20 15:00:25 +00:00
}
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderResponse) Reset() {
*x = FindBrokerLeaderResponse{}
2020-06-20 15:00:25 +00:00
if protoimpl.UnsafeEnabled {
2022-07-10 08:36:23 +00:00
mi := &file_mq_proto_msgTypes[1]
2020-06-20 15:00:25 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderResponse) String() string {
2020-06-20 15:00:25 +00:00
return protoimpl.X.MessageStringOf(x)
}
2022-07-10 19:11:37 +00:00
func (*FindBrokerLeaderResponse) ProtoMessage() {}
2020-06-20 15:00:25 +00:00
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderResponse) ProtoReflect() protoreflect.Message {
2022-07-10 08:36:23 +00:00
mi := &file_mq_proto_msgTypes[1]
2020-06-20 15:00:25 +00:00
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)
}
2022-07-10 19:11:37 +00:00
// Deprecated: Use FindBrokerLeaderResponse.ProtoReflect.Descriptor instead.
func (*FindBrokerLeaderResponse) Descriptor() ([]byte, []int) {
2022-07-10 08:36:23 +00:00
return file_mq_proto_rawDescGZIP(), []int{1}
2020-06-20 15:00:25 +00:00
}
2022-07-10 19:11:37 +00:00
func (x *FindBrokerLeaderResponse) GetBroker() string {
2020-06-20 15:00:25 +00:00
if x != nil {
2022-07-10 08:36:23 +00:00
return x.Broker
2020-06-20 15:00:25 +00:00
}
return ""
}
2022-07-03 07:29:25 +00:00
var File_mq_proto protoreflect.FileDescriptor
var file_mq_proto_rawDesc = []byte{
0x0a, 0x08, 0x6d, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x73, 0x73,
2022-07-10 19:11:37 +00:00
0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22, 0x19, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64,
0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x22, 0x32, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65,
0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x16, 0x0a, 0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x32, 0x77, 0x0a, 0x10, 0x53, 0x65, 0x61, 0x77, 0x65,
0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x63, 0x0a, 0x10, 0x46,
0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46,
0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72,
0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x42, 0x4e, 0x0a, 0x0c, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x6d, 0x71,
0x42, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x51, 0x75, 0x65, 0x75, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64,
0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x71, 0x5f, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2020-06-20 15:00:25 +00:00
}
var (
2022-07-03 07:29:25 +00:00
file_mq_proto_rawDescOnce sync.Once
file_mq_proto_rawDescData = file_mq_proto_rawDesc
2020-06-20 15:00:25 +00:00
)
2022-07-03 07:29:25 +00:00
func file_mq_proto_rawDescGZIP() []byte {
file_mq_proto_rawDescOnce.Do(func() {
file_mq_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_proto_rawDescData)
2020-06-20 15:00:25 +00:00
})
2022-07-03 07:29:25 +00:00
return file_mq_proto_rawDescData
}
2022-07-10 08:36:23 +00:00
var file_mq_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
2022-07-03 07:29:25 +00:00
var file_mq_proto_goTypes = []interface{}{
2022-07-10 19:11:37 +00:00
(*FindBrokerLeaderRequest)(nil), // 0: messaging_pb.FindBrokerLeaderRequest
(*FindBrokerLeaderResponse)(nil), // 1: messaging_pb.FindBrokerLeaderResponse
2022-07-03 07:29:25 +00:00
}
var file_mq_proto_depIdxs = []int32{
2022-07-10 19:11:37 +00:00
0, // 0: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
1, // 1: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
2022-07-10 08:36:23 +00:00
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
2020-06-20 15:00:25 +00:00
}
2022-07-03 07:29:25 +00:00
func init() { file_mq_proto_init() }
func file_mq_proto_init() {
if File_mq_proto != nil {
2020-06-20 15:00:25 +00:00
return
}
if !protoimpl.UnsafeEnabled {
2022-07-03 07:29:25 +00:00
file_mq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2022-07-10 19:11:37 +00:00
switch v := v.(*FindBrokerLeaderRequest); i {
2020-06-20 15:00:25 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2022-07-10 08:36:23 +00:00
file_mq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2022-07-10 19:11:37 +00:00
switch v := v.(*FindBrokerLeaderResponse); i {
2020-06-20 15:00:25 +00:00
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(),
2022-07-03 07:29:25 +00:00
RawDescriptor: file_mq_proto_rawDesc,
2022-07-10 08:36:23 +00:00
NumEnums: 0,
NumMessages: 2,
2020-06-20 15:00:25 +00:00
NumExtensions: 0,
NumServices: 1,
},
2022-07-03 07:29:25 +00:00
GoTypes: file_mq_proto_goTypes,
DependencyIndexes: file_mq_proto_depIdxs,
MessageInfos: file_mq_proto_msgTypes,
2020-06-20 15:00:25 +00:00
}.Build()
2022-07-03 07:29:25 +00:00
File_mq_proto = out.File
file_mq_proto_rawDesc = nil
file_mq_proto_goTypes = nil
file_mq_proto_depIdxs = nil
2020-04-16 09:21:23 +00:00
}