2020-06-20 23:00:25 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-10-13 12:38:34 +08:00
|
|
|
// protoc-gen-go v1.31.0
|
|
|
|
// protoc v4.24.4
|
2022-07-02 13:43:25 +08:00
|
|
|
// source: mq.proto
|
2020-04-16 17:21:23 +08:00
|
|
|
|
2022-07-02 13:43:25 +08:00
|
|
|
package mq_pb
|
2020-04-16 17:21:23 +08:00
|
|
|
|
|
|
|
import (
|
2020-06-20 23:00:25 +08:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2020-04-16 17:21:23 +08:00
|
|
|
)
|
|
|
|
|
2020-06-20 23:00:25 +08: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 17:21:23 +08:00
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
type FindBrokerLeaderRequest struct {
|
2020-06-20 23:00:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2022-07-11 15:20:27 +08:00
|
|
|
|
|
|
|
FilerGroup string `protobuf:"bytes,1,opt,name=filer_group,json=filerGroup,proto3" json:"filer_group,omitempty"`
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderRequest) Reset() {
|
|
|
|
*x = FindBrokerLeaderRequest{}
|
2020-06-20 23:00:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[0]
|
2020-06-20 23:00:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderRequest) String() string {
|
2020-06-20 23:00:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (*FindBrokerLeaderRequest) ProtoMessage() {}
|
2020-06-20 23:00:25 +08:00
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderRequest) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[0]
|
2020-06-20 23:00:25 +08: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-11 03:11:37 +08:00
|
|
|
// Deprecated: Use FindBrokerLeaderRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*FindBrokerLeaderRequest) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{0}
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
|
2022-07-11 15:20:27 +08:00
|
|
|
func (x *FindBrokerLeaderRequest) GetFilerGroup() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.FilerGroup
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
type FindBrokerLeaderResponse struct {
|
2020-06-20 23:00:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2022-07-10 16:36:23 +08:00
|
|
|
Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderResponse) Reset() {
|
|
|
|
*x = FindBrokerLeaderResponse{}
|
2020-06-20 23:00:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[1]
|
2020-06-20 23:00:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderResponse) String() string {
|
2020-06-20 23:00:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (*FindBrokerLeaderResponse) ProtoMessage() {}
|
2020-06-20 23:00:25 +08:00
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderResponse) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[1]
|
2020-06-20 23:00:25 +08: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-11 03:11:37 +08:00
|
|
|
// Deprecated: Use FindBrokerLeaderResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*FindBrokerLeaderResponse) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{1}
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
|
2022-07-11 03:11:37 +08:00
|
|
|
func (x *FindBrokerLeaderResponse) GetBroker() string {
|
2020-06-20 23:00:25 +08:00
|
|
|
if x != nil {
|
2022-07-10 16:36:23 +08:00
|
|
|
return x.Broker
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-08-21 13:53:05 +08:00
|
|
|
type Topic struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Topic) Reset() {
|
|
|
|
*x = Topic{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[2]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Topic) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Topic) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Topic) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[2]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Topic.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Topic) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{2}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Topic) GetNamespace() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Namespace
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Topic) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-07-11 15:20:27 +08:00
|
|
|
type Partition struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
RingSize int32 `protobuf:"varint,1,opt,name=ring_size,json=ringSize,proto3" json:"ring_size,omitempty"`
|
|
|
|
RangeStart int32 `protobuf:"varint,2,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
|
|
|
|
RangeStop int32 `protobuf:"varint,3,opt,name=range_stop,json=rangeStop,proto3" json:"range_stop,omitempty"`
|
2023-12-12 04:05:54 +08:00
|
|
|
UnixTimeNs int64 `protobuf:"varint,4,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Partition) Reset() {
|
|
|
|
*x = Partition{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[3]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Partition) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Partition) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Partition) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[3]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Partition.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Partition) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{3}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Partition) GetRingSize() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RingSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Partition) GetRangeStart() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RangeStart
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Partition) GetRangeStop() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.RangeStop
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *Partition) GetUnixTimeNs() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.UnixTimeNs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
// ////////////////////////////////////////////////
|
|
|
|
type BrokerStats struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
CpuUsagePercent int32 `protobuf:"varint,1,opt,name=cpu_usage_percent,json=cpuUsagePercent,proto3" json:"cpu_usage_percent,omitempty"`
|
|
|
|
Stats map[string]*TopicPartitionStats `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrokerStats) Reset() {
|
|
|
|
*x = BrokerStats{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrokerStats) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*BrokerStats) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *BrokerStats) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_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 BrokerStats.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BrokerStats) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrokerStats) GetCpuUsagePercent() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CpuUsagePercent
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrokerStats) GetStats() map[string]*TopicPartitionStats {
|
|
|
|
if x != nil {
|
|
|
|
return x.Stats
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type TopicPartitionStats struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
|
|
ConsumerCount int32 `protobuf:"varint,3,opt,name=consumer_count,json=consumerCount,proto3" json:"consumer_count,omitempty"`
|
|
|
|
IsLeader bool `protobuf:"varint,4,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) Reset() {
|
|
|
|
*x = TopicPartitionStats{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[5]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*TopicPartitionStats) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[5]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use TopicPartitionStats.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TopicPartitionStats) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{5}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) GetTopic() *Topic {
|
2022-07-11 15:20:27 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Topic
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) GetPartition() *Partition {
|
2022-07-11 15:20:27 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Partition
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) GetConsumerCount() int32 {
|
2022-07-11 15:20:27 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.ConsumerCount
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *TopicPartitionStats) GetIsLeader() bool {
|
2022-07-11 15:20:27 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.IsLeader
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return false
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type PublisherToPubBalancerRequest struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
|
|
|
// *PublisherToPubBalancerRequest_Init
|
|
|
|
// *PublisherToPubBalancerRequest_Stats
|
|
|
|
Message isPublisherToPubBalancerRequest_Message `protobuf_oneof:"message"`
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerRequest) Reset() {
|
|
|
|
*x = PublisherToPubBalancerRequest{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[6]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerRequest) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*PublisherToPubBalancerRequest) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerRequest) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[6]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use PublisherToPubBalancerRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PublisherToPubBalancerRequest) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{6}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (m *PublisherToPubBalancerRequest) GetMessage() isPublisherToPubBalancerRequest_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PublisherToPubBalancerRequest) GetInit() *PublisherToPubBalancerRequest_InitMessage {
|
|
|
|
if x, ok := x.GetMessage().(*PublisherToPubBalancerRequest_Init); ok {
|
|
|
|
return x.Init
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PublisherToPubBalancerRequest) GetStats() *BrokerStats {
|
|
|
|
if x, ok := x.GetMessage().(*PublisherToPubBalancerRequest_Stats); ok {
|
|
|
|
return x.Stats
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type isPublisherToPubBalancerRequest_Message interface {
|
|
|
|
isPublisherToPubBalancerRequest_Message()
|
|
|
|
}
|
|
|
|
|
|
|
|
type PublisherToPubBalancerRequest_Init struct {
|
|
|
|
Init *PublisherToPubBalancerRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type PublisherToPubBalancerRequest_Stats struct {
|
|
|
|
Stats *BrokerStats `protobuf:"bytes,2,opt,name=stats,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*PublisherToPubBalancerRequest_Init) isPublisherToPubBalancerRequest_Message() {}
|
|
|
|
|
|
|
|
func (*PublisherToPubBalancerRequest_Stats) isPublisherToPubBalancerRequest_Message() {}
|
|
|
|
|
|
|
|
type PublisherToPubBalancerResponse struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerResponse) Reset() {
|
|
|
|
*x = PublisherToPubBalancerResponse{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[7]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerResponse) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*PublisherToPubBalancerResponse) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerResponse) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[7]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use PublisherToPubBalancerResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PublisherToPubBalancerResponse) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{7}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type BalanceTopicsRequest struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BalanceTopicsRequest) Reset() {
|
|
|
|
*x = BalanceTopicsRequest{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[8]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BalanceTopicsRequest) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*BalanceTopicsRequest) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BalanceTopicsRequest) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[8]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use BalanceTopicsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BalanceTopicsRequest) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{8}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type BalanceTopicsResponse struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BalanceTopicsResponse) Reset() {
|
|
|
|
*x = BalanceTopicsResponse{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[9]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BalanceTopicsResponse) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*BalanceTopicsResponse) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BalanceTopicsResponse) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[9]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use BalanceTopicsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BalanceTopicsResponse) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{9}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// ////////////////////////////////////////////////
|
|
|
|
type ConfigureTopicRequest struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2023-12-12 04:05:54 +08:00
|
|
|
|
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicRequest) Reset() {
|
|
|
|
*x = ConfigureTopicRequest{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[10]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicRequest) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*ConfigureTopicRequest) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicRequest) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[10]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use ConfigureTopicRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ConfigureTopicRequest) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{10}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicRequest) GetTopic() *Topic {
|
|
|
|
if x != nil {
|
|
|
|
return x.Topic
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConfigureTopicRequest) GetPartitionCount() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PartitionCount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ConfigureTopicResponse struct {
|
2022-07-11 15:20:27 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicResponse) Reset() {
|
|
|
|
*x = ConfigureTopicResponse{}
|
2022-07-11 15:20:27 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[11]
|
2022-07-11 15:20:27 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicResponse) String() string {
|
2022-07-11 15:20:27 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*ConfigureTopicResponse) ProtoMessage() {}
|
2022-07-11 15:20:27 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicResponse) ProtoReflect() protoreflect.Message {
|
2023-08-21 13:53:05 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[11]
|
2022-07-11 15:20:27 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use ConfigureTopicResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ConfigureTopicResponse) Descriptor() ([]byte, []int) {
|
2023-08-21 13:53:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{11}
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ConfigureTopicResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
2022-07-11 15:20:27 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.BrokerPartitionAssignments
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2022-07-11 15:20:27 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type ListTopicsRequest struct {
|
2023-09-15 14:49:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsRequest) Reset() {
|
|
|
|
*x = ListTopicsRequest{}
|
2023-09-15 14:49:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsRequest) String() string {
|
2023-09-15 14:49:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*ListTopicsRequest) ProtoMessage() {}
|
2023-09-15 14:49:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsRequest) ProtoReflect() protoreflect.Message {
|
2023-09-15 14:49:05 +08:00
|
|
|
mi := &file_mq_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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use ListTopicsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ListTopicsRequest) Descriptor() ([]byte, []int) {
|
2023-09-15 14:49:05 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type ListTopicsResponse struct {
|
2023-09-20 05:02:08 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Topics []*Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
|
2023-09-20 05:02:08 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsResponse) Reset() {
|
|
|
|
*x = ListTopicsResponse{}
|
2023-09-20 05:02:08 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[13]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsResponse) String() string {
|
2023-09-20 05:02:08 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*ListTopicsResponse) ProtoMessage() {}
|
2023-09-20 05:02:08 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsResponse) ProtoReflect() protoreflect.Message {
|
2023-09-20 05:02:08 +08:00
|
|
|
mi := &file_mq_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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use ListTopicsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ListTopicsResponse) Descriptor() ([]byte, []int) {
|
2023-09-20 05:02:08 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{13}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ListTopicsResponse) GetTopics() []*Topic {
|
2023-09-20 05:02:08 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Topics
|
2023-09-20 05:02:08 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type LookupTopicBrokersRequest struct {
|
2023-09-15 14:49:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
IsForPublish bool `protobuf:"varint,2,opt,name=is_for_publish,json=isForPublish,proto3" json:"is_for_publish,omitempty"`
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersRequest) Reset() {
|
|
|
|
*x = LookupTopicBrokersRequest{}
|
2023-09-15 14:49:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-20 05:02:08 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[14]
|
2023-09-15 14:49:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersRequest) String() string {
|
2023-09-15 14:49:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*LookupTopicBrokersRequest) ProtoMessage() {}
|
2023-09-15 14:49:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersRequest) ProtoReflect() protoreflect.Message {
|
2023-09-20 05:02:08 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[14]
|
2023-09-15 14:49:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use LookupTopicBrokersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LookupTopicBrokersRequest) Descriptor() ([]byte, []int) {
|
2023-09-20 05:02:08 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{14}
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersRequest) GetTopic() *Topic {
|
|
|
|
if x != nil {
|
|
|
|
return x.Topic
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersRequest) GetIsForPublish() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.IsForPublish
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return false
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type LookupTopicBrokersResponse struct {
|
2023-09-15 14:49:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2023-12-12 04:05:54 +08:00
|
|
|
|
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersResponse) Reset() {
|
|
|
|
*x = LookupTopicBrokersResponse{}
|
2023-09-15 14:49:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-20 05:02:08 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[15]
|
2023-09-15 14:49:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersResponse) String() string {
|
2023-09-15 14:49:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*LookupTopicBrokersResponse) ProtoMessage() {}
|
2023-09-15 14:49:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersResponse) ProtoReflect() protoreflect.Message {
|
2023-09-20 05:02:08 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[15]
|
2023-09-15 14:49:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use LookupTopicBrokersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LookupTopicBrokersResponse) Descriptor() ([]byte, []int) {
|
2023-09-20 05:02:08 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{15}
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *LookupTopicBrokersResponse) GetTopic() *Topic {
|
|
|
|
if x != nil {
|
|
|
|
return x.Topic
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *LookupTopicBrokersResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
|
|
|
if x != nil {
|
|
|
|
return x.BrokerPartitionAssignments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BrokerPartitionAssignment struct {
|
2023-09-25 05:22:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
|
|
LeaderBroker string `protobuf:"bytes,2,opt,name=leader_broker,json=leaderBroker,proto3" json:"leader_broker,omitempty"`
|
|
|
|
FollowerBrokers []string `protobuf:"bytes,3,rep,name=follower_brokers,json=followerBrokers,proto3" json:"follower_brokers,omitempty"`
|
2023-09-25 05:22:11 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BrokerPartitionAssignment) Reset() {
|
|
|
|
*x = BrokerPartitionAssignment{}
|
2023-09-25 05:22:11 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[16]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BrokerPartitionAssignment) String() string {
|
2023-09-25 05:22:11 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*BrokerPartitionAssignment) ProtoMessage() {}
|
2023-09-25 05:22:11 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BrokerPartitionAssignment) ProtoReflect() protoreflect.Message {
|
2023-09-25 05:22:11 +08:00
|
|
|
mi := &file_mq_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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use BrokerPartitionAssignment.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BrokerPartitionAssignment) Descriptor() ([]byte, []int) {
|
2023-09-25 05:22:11 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{16}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BrokerPartitionAssignment) GetPartition() *Partition {
|
2023-09-25 05:22:11 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Partition
|
2023-09-25 05:22:11 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BrokerPartitionAssignment) GetLeaderBroker() string {
|
2023-09-25 05:22:11 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.LeaderBroker
|
2023-09-25 05:22:11 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return ""
|
2023-09-25 05:22:11 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *BrokerPartitionAssignment) GetFollowerBrokers() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.FollowerBrokers
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type AssignTopicPartitionsRequest struct {
|
2023-09-25 05:22:11 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
2023-09-25 05:22:11 +08:00
|
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
2023-12-12 04:05:54 +08:00
|
|
|
IsLeader bool `protobuf:"varint,3,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
|
|
|
|
IsDraining bool `protobuf:"varint,4,opt,name=is_draining,json=isDraining,proto3" json:"is_draining,omitempty"`
|
2023-09-25 05:22:11 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsRequest) Reset() {
|
|
|
|
*x = AssignTopicPartitionsRequest{}
|
2023-09-25 05:22:11 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[17]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsRequest) String() string {
|
2023-09-25 05:22:11 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*AssignTopicPartitionsRequest) ProtoMessage() {}
|
2023-09-25 05:22:11 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
|
2023-09-25 05:22:11 +08:00
|
|
|
mi := &file_mq_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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use AssignTopicPartitionsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AssignTopicPartitionsRequest) Descriptor() ([]byte, []int) {
|
2023-09-25 05:22:11 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{17}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsRequest) GetTopic() *Topic {
|
|
|
|
if x != nil {
|
|
|
|
return x.Topic
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AssignTopicPartitionsRequest) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
2023-09-25 05:22:11 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.BrokerPartitionAssignments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsRequest) GetIsLeader() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.IsLeader
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AssignTopicPartitionsRequest) GetIsDraining() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.IsDraining
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type AssignTopicPartitionsResponse struct {
|
2023-09-25 06:26:49 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsResponse) Reset() {
|
|
|
|
*x = AssignTopicPartitionsResponse{}
|
2023-09-25 06:26:49 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[18]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsResponse) String() string {
|
2023-09-25 06:26:49 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*AssignTopicPartitionsResponse) ProtoMessage() {}
|
2023-09-25 06:26:49 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *AssignTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
|
2023-09-25 06:26:49 +08:00
|
|
|
mi := &file_mq_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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use AssignTopicPartitionsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AssignTopicPartitionsResponse) Descriptor() ([]byte, []int) {
|
2023-09-25 06:26:49 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{18}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscriberToSubCoordinatorRequest struct {
|
2023-09-25 06:26:49 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2023-12-12 04:05:54 +08:00
|
|
|
|
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
|
|
|
// *SubscriberToSubCoordinatorRequest_Init
|
|
|
|
// *SubscriberToSubCoordinatorRequest_Ack
|
|
|
|
Message isSubscriberToSubCoordinatorRequest_Message `protobuf_oneof:"message"`
|
2023-09-25 06:26:49 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest) Reset() {
|
|
|
|
*x = SubscriberToSubCoordinatorRequest{}
|
2023-09-25 06:26:49 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[19]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest) String() string {
|
2023-09-25 06:26:49 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscriberToSubCoordinatorRequest) ProtoMessage() {}
|
2023-09-25 06:26:49 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest) ProtoReflect() protoreflect.Message {
|
2023-09-25 06:26:49 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[19]
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscriberToSubCoordinatorRequest) Descriptor() ([]byte, []int) {
|
2023-09-25 06:26:49 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{19}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (m *SubscriberToSubCoordinatorRequest) GetMessage() isSubscriberToSubCoordinatorRequest_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest) GetInit() *SubscriberToSubCoordinatorRequest_InitMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SubscriberToSubCoordinatorRequest_Init); ok {
|
|
|
|
return x.Init
|
|
|
|
}
|
|
|
|
return nil
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest) GetAck() *SubscriberToSubCoordinatorRequest_AckMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SubscriberToSubCoordinatorRequest_Ack); ok {
|
|
|
|
return x.Ack
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type isSubscriberToSubCoordinatorRequest_Message interface {
|
|
|
|
isSubscriberToSubCoordinatorRequest_Message()
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscriberToSubCoordinatorRequest_Init struct {
|
|
|
|
Init *SubscriberToSubCoordinatorRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubscriberToSubCoordinatorRequest_Ack struct {
|
|
|
|
Ack *SubscriberToSubCoordinatorRequest_AckMessage `protobuf:"bytes,2,opt,name=ack,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_Init) isSubscriberToSubCoordinatorRequest_Message() {}
|
|
|
|
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_Ack) isSubscriberToSubCoordinatorRequest_Message() {}
|
|
|
|
|
|
|
|
type SubscriberToSubCoordinatorResponse struct {
|
2023-09-25 12:19:51 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
|
|
|
// *SubscriberToSubCoordinatorResponse_Assignment_
|
|
|
|
Message isSubscriberToSubCoordinatorResponse_Message `protobuf_oneof:"message"`
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse) Reset() {
|
|
|
|
*x = SubscriberToSubCoordinatorResponse{}
|
2023-09-25 12:19:51 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[20]
|
2023-09-25 12:19:51 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse) String() string {
|
2023-09-25 12:19:51 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscriberToSubCoordinatorResponse) ProtoMessage() {}
|
2023-09-25 12:19:51 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[20]
|
2023-09-25 12:19:51 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscriberToSubCoordinatorResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{20}
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (m *SubscriberToSubCoordinatorResponse) GetMessage() isSubscriberToSubCoordinatorResponse_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
2023-09-25 12:19:51 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse) GetAssignment() *SubscriberToSubCoordinatorResponse_Assignment {
|
|
|
|
if x, ok := x.GetMessage().(*SubscriberToSubCoordinatorResponse_Assignment_); ok {
|
|
|
|
return x.Assignment
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type isSubscriberToSubCoordinatorResponse_Message interface {
|
|
|
|
isSubscriberToSubCoordinatorResponse_Message()
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubscriberToSubCoordinatorResponse_Assignment_ struct {
|
|
|
|
Assignment *SubscriberToSubCoordinatorResponse_Assignment `protobuf:"bytes,1,opt,name=assignment,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment_) isSubscriberToSubCoordinatorResponse_Message() {
|
|
|
|
}
|
|
|
|
|
|
|
|
// ////////////////////////////////////////////////
|
|
|
|
type DataMessage struct {
|
2022-08-01 04:23:44 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
TsNs int64 `protobuf:"varint,3,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *DataMessage) Reset() {
|
|
|
|
*x = DataMessage{}
|
2022-08-01 04:23:44 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[21]
|
2022-08-01 04:23:44 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *DataMessage) String() string {
|
2022-08-01 04:23:44 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*DataMessage) ProtoMessage() {}
|
2022-08-01 04:23:44 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *DataMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[21]
|
2022-08-01 04:23:44 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DataMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{21}
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *DataMessage) GetKey() []byte {
|
2022-08-01 04:23:44 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Key
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *DataMessage) GetValue() []byte {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Value
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *DataMessage) GetTsNs() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TsNs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type PublishRequest struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
|
|
|
// *PublishRequest_Init
|
|
|
|
// *PublishRequest_Data
|
|
|
|
Message isPublishRequest_Message `protobuf_oneof:"message"`
|
|
|
|
Sequence int64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishRequest) Reset() {
|
|
|
|
*x = PublishRequest{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[22]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishRequest) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*PublishRequest) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[22]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PublishRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{22}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (m *PublishRequest) GetMessage() isPublishRequest_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishRequest) GetInit() *PublishRequest_InitMessage {
|
|
|
|
if x, ok := x.GetMessage().(*PublishRequest_Init); ok {
|
|
|
|
return x.Init
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishRequest) GetData() *DataMessage {
|
|
|
|
if x, ok := x.GetMessage().(*PublishRequest_Data); ok {
|
|
|
|
return x.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PublishRequest) GetSequence() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sequence
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type isPublishRequest_Message interface {
|
|
|
|
isPublishRequest_Message()
|
|
|
|
}
|
|
|
|
|
|
|
|
type PublishRequest_Init struct {
|
|
|
|
Init *PublishRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type PublishRequest_Data struct {
|
|
|
|
Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*PublishRequest_Init) isPublishRequest_Message() {}
|
|
|
|
|
|
|
|
func (*PublishRequest_Data) isPublishRequest_Message() {}
|
|
|
|
|
|
|
|
type PublishResponse struct {
|
2022-08-01 04:23:44 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
AckSequence int64 `protobuf:"varint,1,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
|
|
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
ShouldClose bool `protobuf:"varint,3,opt,name=should_close,json=shouldClose,proto3" json:"should_close,omitempty"`
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishResponse) Reset() {
|
|
|
|
*x = PublishResponse{}
|
2022-08-01 04:23:44 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[23]
|
2022-08-01 04:23:44 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishResponse) String() string {
|
2022-08-01 04:23:44 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*PublishResponse) ProtoMessage() {}
|
2022-08-01 04:23:44 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[23]
|
2022-08-01 04:23:44 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PublishResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{23}
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishResponse) GetAckSequence() int64 {
|
2022-08-01 04:23:44 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.AckSequence
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return 0
|
2022-08-01 04:23:44 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishResponse) GetError() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Error
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublishResponse) GetShouldClose() bool {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.ShouldClose
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return false
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscribeRequest struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2022-07-03 15:29:25 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
|
|
|
// *SubscribeRequest_Init
|
|
|
|
// *SubscribeRequest_Ack
|
|
|
|
Message isSubscribeRequest_Message `protobuf_oneof:"message"`
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeRequest) Reset() {
|
|
|
|
*x = SubscribeRequest{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[24]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
2020-06-20 23:00:25 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeRequest) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2022-07-03 15:29:25 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscribeRequest) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[24]
|
2023-08-21 13:53:05 +08: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-03 15:29:25 +08:00
|
|
|
}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{24}
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (m *SubscribeRequest) GetMessage() isSubscribeRequest_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeRequest) GetInit() *SubscribeRequest_InitMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SubscribeRequest_Init); ok {
|
|
|
|
return x.Init
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeRequest) GetAck() *SubscribeRequest_AckMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SubscribeRequest_Ack); ok {
|
|
|
|
return x.Ack
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type isSubscribeRequest_Message interface {
|
|
|
|
isSubscribeRequest_Message()
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscribeRequest_Init struct {
|
|
|
|
Init *SubscribeRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscribeRequest_Ack struct {
|
|
|
|
Ack *SubscribeRequest_AckMessage `protobuf:"bytes,2,opt,name=ack,proto3,oneof"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscribeRequest_Init) isSubscribeRequest_Message() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscribeRequest_Ack) isSubscribeRequest_Message() {}
|
|
|
|
|
|
|
|
type SubscribeResponse struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Types that are assignable to Message:
|
|
|
|
//
|
|
|
|
// *SubscribeResponse_Ctrl
|
|
|
|
// *SubscribeResponse_Data
|
|
|
|
Message isSubscribeResponse_Message `protobuf_oneof:"message"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeResponse) Reset() {
|
|
|
|
*x = SubscribeResponse{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[25]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeResponse) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscribeResponse) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[25]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{25}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (m *SubscribeResponse) GetMessage() isSubscribeResponse_Message {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeResponse) GetCtrl() *SubscribeResponse_CtrlMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SubscribeResponse_Ctrl); ok {
|
|
|
|
return x.Ctrl
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscribeResponse) GetData() *DataMessage {
|
|
|
|
if x, ok := x.GetMessage().(*SubscribeResponse_Data); ok {
|
|
|
|
return x.Data
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type isSubscribeResponse_Message interface {
|
|
|
|
isSubscribeResponse_Message()
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscribeResponse_Ctrl struct {
|
|
|
|
Ctrl *SubscribeResponse_CtrlMessage `protobuf:"bytes,1,opt,name=ctrl,proto3,oneof"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscribeResponse_Data struct {
|
|
|
|
Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscribeResponse_Ctrl) isSubscribeResponse_Message() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscribeResponse_Data) isSubscribeResponse_Message() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type ClosePublishersRequest struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
UnixTimeNs int64 `protobuf:"varint,2,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersRequest) Reset() {
|
|
|
|
*x = ClosePublishersRequest{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[26]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersRequest) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*ClosePublishersRequest) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[26]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use ClosePublishersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ClosePublishersRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{26}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersRequest) GetTopic() *Topic {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Topic
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersRequest) GetUnixTimeNs() int64 {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.UnixTimeNs
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return 0
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type ClosePublishersResponse struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersResponse) Reset() {
|
|
|
|
*x = ClosePublishersResponse{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[27]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersResponse) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*ClosePublishersResponse) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *ClosePublishersResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[27]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use ClosePublishersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ClosePublishersResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{27}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type CloseSubscribersRequest struct {
|
2023-08-27 04:39:21 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
UnixTimeNs int64 `protobuf:"varint,2,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersRequest) Reset() {
|
|
|
|
*x = CloseSubscribersRequest{}
|
2023-08-27 04:39:21 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[28]
|
2023-08-27 04:39:21 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersRequest) String() string {
|
2023-08-27 04:39:21 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*CloseSubscribersRequest) ProtoMessage() {}
|
2023-08-27 04:39:21 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[28]
|
2023-08-27 04:39:21 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use CloseSubscribersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CloseSubscribersRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{28}
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersRequest) GetTopic() *Topic {
|
2023-08-27 04:39:21 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Topic
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersRequest) GetUnixTimeNs() int64 {
|
2023-08-27 04:39:21 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.UnixTimeNs
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return 0
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type CloseSubscribersResponse struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersResponse) Reset() {
|
|
|
|
*x = CloseSubscribersResponse{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[29]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersResponse) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*CloseSubscribersResponse) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *CloseSubscribersResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[29]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use CloseSubscribersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CloseSubscribersResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{29}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type PublisherToPubBalancerRequest_InitMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) Reset() {
|
|
|
|
*x = PublisherToPubBalancerRequest_InitMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_mq_proto_msgTypes[31]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*PublisherToPubBalancerRequest_InitMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[31]
|
|
|
|
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)
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use PublisherToPubBalancerRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PublisherToPubBalancerRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{6, 0}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) GetBroker() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Broker
|
|
|
|
}
|
|
|
|
return ""
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscriberToSubCoordinatorRequest_InitMessage struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-29 03:56:37 +08:00
|
|
|
ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
|
|
ConsumerGroupInstanceId string `protobuf:"bytes,2,opt,name=consumer_group_instance_id,json=consumerGroupInstanceId,proto3" json:"consumer_group_instance_id,omitempty"`
|
|
|
|
Topic *Topic `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) Reset() {
|
|
|
|
*x = SubscriberToSubCoordinatorRequest_InitMessage{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[32]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscriberToSubCoordinatorRequest_InitMessage) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[32]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{19, 0}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetConsumerGroup() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.ConsumerGroup
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return ""
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-29 03:56:37 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetConsumerGroupInstanceId() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-29 03:56:37 +08:00
|
|
|
return x.ConsumerGroupInstanceId
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetTopic() *Topic {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Topic
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return nil
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscriberToSubCoordinatorRequest_AckMessage struct {
|
2023-08-27 04:39:21 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
|
|
TsNs int64 `protobuf:"varint,2,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckMessage) Reset() {
|
|
|
|
*x = SubscriberToSubCoordinatorRequest_AckMessage{}
|
2023-08-27 04:39:21 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[33]
|
2023-08-27 04:39:21 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckMessage) String() string {
|
2023-08-27 04:39:21 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscriberToSubCoordinatorRequest_AckMessage) ProtoMessage() {}
|
2023-08-27 04:39:21 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[33]
|
2023-08-27 04:39:21 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest_AckMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_AckMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{19, 1}
|
2023-10-01 04:18:49 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckMessage) GetPartition() *Partition {
|
|
|
|
if x != nil {
|
|
|
|
return x.Partition
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
2023-09-01 15:36:51 +08:00
|
|
|
return nil
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckMessage) GetTsNs() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TsNs
|
2023-10-01 04:18:49 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return 0
|
2023-10-01 04:18:49 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscriberToSubCoordinatorResponse_AssignedPartition struct {
|
2023-08-27 04:39:21 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
|
|
TsNs int64 `protobuf:"varint,2,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
2023-12-29 12:35:15 +08:00
|
|
|
Broker string `protobuf:"bytes,3,opt,name=broker,proto3" json:"broker,omitempty"`
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_AssignedPartition) Reset() {
|
|
|
|
*x = SubscriberToSubCoordinatorResponse_AssignedPartition{}
|
2023-08-27 04:39:21 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[34]
|
2023-08-27 04:39:21 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_AssignedPartition) String() string {
|
2023-08-27 04:39:21 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscriberToSubCoordinatorResponse_AssignedPartition) ProtoMessage() {}
|
2023-08-27 04:39:21 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_AssignedPartition) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[34]
|
2023-08-27 04:39:21 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorResponse_AssignedPartition.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_AssignedPartition) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{20, 0}
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_AssignedPartition) GetPartition() *Partition {
|
|
|
|
if x != nil {
|
|
|
|
return x.Partition
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_AssignedPartition) GetTsNs() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TsNs
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return 0
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-12-29 12:35:15 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_AssignedPartition) GetBroker() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Broker
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
type SubscriberToSubCoordinatorResponse_Assignment struct {
|
2023-09-15 14:49:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
Generation int64 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"`
|
|
|
|
AssignedPartitions []*SubscriberToSubCoordinatorResponse_AssignedPartition `protobuf:"bytes,2,rep,name=assigned_partitions,json=assignedPartitions,proto3" json:"assigned_partitions,omitempty"`
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) Reset() {
|
|
|
|
*x = SubscriberToSubCoordinatorResponse_Assignment{}
|
2023-09-15 14:49:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[35]
|
2023-09-15 14:49:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) String() string {
|
2023-09-15 14:49:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment) ProtoMessage() {}
|
2023-09-15 14:49:05 +08:00
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_mq_proto_msgTypes[35]
|
2023-09-15 14:49:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorResponse_Assignment.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment) Descriptor() ([]byte, []int) {
|
|
|
|
return file_mq_proto_rawDescGZIP(), []int{20, 1}
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) GetGeneration() int64 {
|
2023-09-15 14:49:05 +08:00
|
|
|
if x != nil {
|
2023-12-12 04:05:54 +08:00
|
|
|
return x.Generation
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) GetAssignedPartitions() []*SubscriberToSubCoordinatorResponse_AssignedPartition {
|
|
|
|
if x != nil {
|
|
|
|
return x.AssignedPartitions
|
|
|
|
}
|
|
|
|
return nil
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
|
|
|
|
2023-08-21 13:53:05 +08:00
|
|
|
type PublishRequest_InitMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-09-07 13:39:46 +08:00
|
|
|
Topic *Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
Partition *Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
|
|
AckInterval int32 `protobuf:"varint,3,opt,name=ack_interval,json=ackInterval,proto3" json:"ack_interval,omitempty"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PublishRequest_InitMessage) Reset() {
|
|
|
|
*x = PublishRequest_InitMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[36]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PublishRequest_InitMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*PublishRequest_InitMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PublishRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[36]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use PublishRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PublishRequest_InitMessage) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{22, 0}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-08-27 04:39:21 +08:00
|
|
|
func (x *PublishRequest_InitMessage) GetTopic() *Topic {
|
2023-08-21 13:53:05 +08:00
|
|
|
if x != nil {
|
2023-08-27 04:39:21 +08:00
|
|
|
return x.Topic
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-08-27 04:39:21 +08:00
|
|
|
func (x *PublishRequest_InitMessage) GetPartition() *Partition {
|
|
|
|
if x != nil {
|
|
|
|
return x.Partition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-09-07 13:39:46 +08:00
|
|
|
func (x *PublishRequest_InitMessage) GetAckInterval() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AckInterval
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
type SubscribeRequest_InitMessage struct {
|
2023-08-21 13:53:05 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-10-01 04:18:49 +08:00
|
|
|
ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
|
|
ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
|
|
|
|
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
|
|
Topic *Topic `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
|
|
Partition *Partition `protobuf:"bytes,5,opt,name=partition,proto3" json:"partition,omitempty"`
|
2023-10-01 12:47:57 +08:00
|
|
|
// Types that are assignable to Offset:
|
|
|
|
//
|
|
|
|
// *SubscribeRequest_InitMessage_StartOffset
|
|
|
|
// *SubscribeRequest_InitMessage_StartTimestampNs
|
|
|
|
Offset isSubscribeRequest_InitMessage_Offset `protobuf_oneof:"offset"`
|
|
|
|
Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"`
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) Reset() {
|
|
|
|
*x = SubscribeRequest_InitMessage{}
|
2023-08-21 13:53:05 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[37]
|
2023-08-21 13:53:05 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) String() string {
|
2023-08-21 13:53:05 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (*SubscribeRequest_InitMessage) ProtoMessage() {}
|
2023-08-21 13:53:05 +08:00
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[37]
|
2023-08-21 13:53:05 +08: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)
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
// Deprecated: Use SubscribeRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeRequest_InitMessage) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{24, 0}
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetConsumerGroup() string {
|
2023-09-01 15:36:51 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.ConsumerGroup
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetConsumerId() string {
|
2023-09-01 15:36:51 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.ConsumerId
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetClientId() string {
|
2023-09-05 12:43:50 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.ClientId
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetTopic() *Topic {
|
2023-10-01 04:18:49 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Topic
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetPartition() *Partition {
|
2023-10-01 04:18:49 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Partition
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (m *SubscribeRequest_InitMessage) GetOffset() isSubscribeRequest_InitMessage_Offset {
|
2023-09-01 15:36:51 +08:00
|
|
|
if m != nil {
|
|
|
|
return m.Offset
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetStartOffset() int64 {
|
|
|
|
if x, ok := x.GetOffset().(*SubscribeRequest_InitMessage_StartOffset); ok {
|
2023-09-01 15:36:51 +08:00
|
|
|
return x.StartOffset
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetStartTimestampNs() int64 {
|
|
|
|
if x, ok := x.GetOffset().(*SubscribeRequest_InitMessage_StartTimestampNs); ok {
|
2023-09-01 15:36:51 +08:00
|
|
|
return x.StartTimestampNs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (x *SubscribeRequest_InitMessage) GetFilter() string {
|
2023-09-05 12:43:50 +08:00
|
|
|
if x != nil {
|
|
|
|
return x.Filter
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
type isSubscribeRequest_InitMessage_Offset interface {
|
|
|
|
isSubscribeRequest_InitMessage_Offset()
|
2023-09-01 15:36:51 +08:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
type SubscribeRequest_InitMessage_StartOffset struct {
|
|
|
|
StartOffset int64 `protobuf:"varint,6,opt,name=start_offset,json=startOffset,proto3,oneof"`
|
2023-09-01 15:36:51 +08:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
type SubscribeRequest_InitMessage_StartTimestampNs struct {
|
|
|
|
StartTimestampNs int64 `protobuf:"varint,7,opt,name=start_timestamp_ns,json=startTimestampNs,proto3,oneof"`
|
2023-09-01 15:36:51 +08:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (*SubscribeRequest_InitMessage_StartOffset) isSubscribeRequest_InitMessage_Offset() {}
|
2023-09-01 15:36:51 +08:00
|
|
|
|
2023-10-01 12:47:57 +08:00
|
|
|
func (*SubscribeRequest_InitMessage_StartTimestampNs) isSubscribeRequest_InitMessage_Offset() {}
|
2023-09-01 15:36:51 +08:00
|
|
|
|
2023-10-01 04:18:49 +08:00
|
|
|
type SubscribeRequest_AckMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeRequest_AckMessage) Reset() {
|
|
|
|
*x = SubscribeRequest_AckMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[38]
|
2023-10-01 04:18:49 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeRequest_AckMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SubscribeRequest_AckMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SubscribeRequest_AckMessage) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[38]
|
2023-10-01 04:18:49 +08: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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SubscribeRequest_AckMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeRequest_AckMessage) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{24, 1}
|
2023-10-01 04:18:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeRequest_AckMessage) GetSequence() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sequence
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-08-27 04:39:21 +08:00
|
|
|
type SubscribeResponse_CtrlMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-10-01 04:18:49 +08:00
|
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
IsEndOfStream bool `protobuf:"varint,2,opt,name=is_end_of_stream,json=isEndOfStream,proto3" json:"is_end_of_stream,omitempty"`
|
|
|
|
IsEndOfTopic bool `protobuf:"varint,3,opt,name=is_end_of_topic,json=isEndOfTopic,proto3" json:"is_end_of_topic,omitempty"`
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeResponse_CtrlMessage) Reset() {
|
|
|
|
*x = SubscribeResponse_CtrlMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[39]
|
2023-08-27 04:39:21 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeResponse_CtrlMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SubscribeResponse_CtrlMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SubscribeResponse_CtrlMessage) ProtoReflect() protoreflect.Message {
|
2023-12-12 04:05:54 +08:00
|
|
|
mi := &file_mq_proto_msgTypes[39]
|
2023-08-27 04:39:21 +08: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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SubscribeResponse_CtrlMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeResponse_CtrlMessage) Descriptor() ([]byte, []int) {
|
2023-12-12 04:05:54 +08:00
|
|
|
return file_mq_proto_rawDescGZIP(), []int{25, 0}
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeResponse_CtrlMessage) GetError() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Error
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-01 04:18:49 +08:00
|
|
|
func (x *SubscribeResponse_CtrlMessage) GetIsEndOfStream() bool {
|
2023-08-27 04:39:21 +08:00
|
|
|
if x != nil {
|
2023-10-01 04:18:49 +08:00
|
|
|
return x.IsEndOfStream
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
2023-10-01 04:18:49 +08:00
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeResponse_CtrlMessage) GetIsEndOfTopic() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.IsEndOfTopic
|
|
|
|
}
|
|
|
|
return false
|
2023-08-27 04:39:21 +08:00
|
|
|
}
|
|
|
|
|
2023-08-21 13:53:05 +08: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,
|
2023-12-12 04:05:54 +08:00
|
|
|
0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x22, 0x3a, 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, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f,
|
|
|
|
0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x72, 0x47,
|
|
|
|
0x72, 0x6f, 0x75, 0x70, 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, 0x22, 0x39, 0x0a, 0x05, 0x54, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
|
|
|
|
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
|
|
0x61, 0x6d, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f,
|
|
|
|
0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12,
|
|
|
|
0x1d, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x20,
|
|
|
|
0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x04,
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x6e, 0x69, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x73,
|
|
|
|
0x22, 0xd2, 0x01, 0x0a, 0x0b, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73,
|
|
|
|
0x12, 0x2a, 0x0a, 0x11, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x65,
|
|
|
|
0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x70, 0x75,
|
|
|
|
0x55, 0x73, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x05,
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x65,
|
2023-10-13 11:28:11 +08:00
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65,
|
2023-12-12 04:05:54 +08:00
|
|
|
0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72,
|
|
|
|
0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x5b, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74,
|
|
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50,
|
|
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x29, 0x0a,
|
|
|
|
0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74,
|
|
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
|
|
0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
|
|
|
|
0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61,
|
|
|
|
0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61,
|
|
|
|
0x64, 0x65, 0x72, 0x22, 0xd3, 0x01, 0x0a, 0x1d, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65,
|
|
|
|
0x72, 0x54, 0x6f, 0x50, 0x75, 0x62, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x54, 0x6f, 0x50, 0x75,
|
|
|
|
0x62, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04,
|
|
|
|
0x69, 0x6e, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00,
|
|
|
|
0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x25, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x4d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 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, 0x42, 0x09,
|
|
|
|
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x20, 0x0a, 0x1e, 0x50, 0x75, 0x62,
|
|
|
|
0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x54, 0x6f, 0x50, 0x75, 0x62, 0x42, 0x61, 0x6c, 0x61, 0x6e,
|
|
|
|
0x63, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x42,
|
|
|
|
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f,
|
|
|
|
0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6b, 0x0a, 0x15,
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65,
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
|
|
|
|
0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63,
|
|
|
|
0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,
|
|
|
|
0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x16, 0x43, 0x6f,
|
|
|
|
0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70,
|
2023-10-13 11:28:11 +08:00
|
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
|
|
|
|
0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72,
|
|
|
|
0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
|
|
|
|
0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69,
|
2023-12-12 04:05:54 +08:00
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,
|
|
|
|
0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x6f,
|
|
|
|
0x70, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
|
|
|
|
0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x22, 0x6c, 0x0a, 0x19, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
|
|
|
|
0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12,
|
|
|
|
0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
|
|
|
|
0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x6f, 0x72, 0x50, 0x75,
|
|
|
|
0x62, 0x6c, 0x69, 0x73, 0x68, 0x22, 0xb2, 0x01, 0x0a, 0x1a, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
|
|
|
|
0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12,
|
|
|
|
0x69, 0x0a, 0x1c, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
|
|
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
|
|
|
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
|
|
|
|
0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a,
|
|
|
|
0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41,
|
|
|
|
0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x19, 0x42,
|
|
|
|
0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73,
|
|
|
|
0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74,
|
|
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
|
|
0x23, 0x0a, 0x0d, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x72,
|
|
|
|
0x6f, 0x6b, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x72,
|
|
|
|
0x5f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,
|
|
|
|
0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x22,
|
|
|
|
0xf2, 0x01, 0x0a, 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50,
|
|
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54,
|
|
|
|
0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x69, 0x0a, 0x1c, 0x62,
|
|
|
|
0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
|
|
|
|
0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
|
|
0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
|
|
|
|
0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x62, 0x72, 0x6f, 0x6b,
|
2023-09-27 06:17:33 +08:00
|
|
|
0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67,
|
2023-12-12 04:05:54 +08:00
|
|
|
0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, 0x61,
|
|
|
|
0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, 0x61,
|
|
|
|
0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x69,
|
|
|
|
0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x44, 0x72, 0x61, 0x69,
|
|
|
|
0x6e, 0x69, 0x6e, 0x67, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f,
|
|
|
|
0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xca, 0x03, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
|
2023-12-12 04:05:54 +08:00
|
|
|
0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e,
|
|
|
|
0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x04, 0x69,
|
|
|
|
0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
|
0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
|
|
0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
|
|
|
|
0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x4d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x4e,
|
|
|
|
0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
|
|
|
|
0x72, 0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69,
|
|
|
|
0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x63, 0x6b,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x03, 0x61, 0x63, 0x6b, 0x1a, 0x9c,
|
2023-12-12 04:05:54 +08:00
|
|
|
0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25,
|
|
|
|
0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3b, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
|
|
|
|
0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
|
|
|
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x73, 0x75,
|
|
|
|
0x6d, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
|
|
|
0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62,
|
|
|
|
0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x1a, 0x58, 0x0a,
|
|
|
|
0x0a, 0x41, 0x63, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x09, 0x70,
|
|
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
|
|
|
|
0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61,
|
|
|
|
0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x03, 0x52, 0x04, 0x74, 0x73, 0x4e, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
2023-12-29 12:35:15 +08:00
|
|
|
0x67, 0x65, 0x22, 0xab, 0x03, 0x0a, 0x22, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f,
|
|
|
|
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x61, 0x73, 0x73,
|
|
|
|
0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e,
|
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62,
|
|
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72,
|
|
|
|
0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
|
|
|
|
0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x73,
|
2023-12-29 12:35:15 +08:00
|
|
|
0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x77, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a,
|
|
|
|
0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
|
|
|
|
0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20,
|
2023-12-29 12:35:15 +08:00
|
|
|
0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x73, 0x4e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x6f,
|
|
|
|
0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x72, 0x6f, 0x6b, 0x65,
|
|
|
|
0x72, 0x1a, 0xa1, 0x01, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x12, 0x73, 0x0a, 0x13, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72,
|
|
|
|
0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e,
|
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62,
|
|
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72,
|
|
|
|
0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
|
|
|
|
0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x52, 0x12, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
0x22, 0x4a, 0x0a, 0x0b, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65,
|
|
|
|
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
|
|
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x73, 0x5f, 0x6e, 0x73,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x73, 0x4e, 0x73, 0x22, 0xbd, 0x02, 0x0a,
|
|
|
|
0x0e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62,
|
2023-12-29 12:35:15 +08:00
|
|
|
0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74,
|
|
|
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12,
|
|
|
|
0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
|
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74,
|
|
|
|
0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0x92, 0x01, 0x0a,
|
|
|
|
0x0b, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x05,
|
|
|
|
0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63,
|
|
|
|
0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,
|
|
|
|
0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21,
|
|
|
|
0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03,
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
|
|
|
|
0x6c, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x6d, 0x0a, 0x0f,
|
|
|
|
0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e,
|
|
|
|
0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x75,
|
|
|
|
0x6c, 0x64, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b,
|
|
|
|
0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x22, 0x96, 0x04, 0x0a, 0x10,
|
|
|
|
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x12, 0x40, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
|
|
|
|
0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75,
|
|
|
|
0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49,
|
|
|
|
0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e,
|
|
|
|
0x69, 0x74, 0x12, 0x3d, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x29, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53,
|
|
|
|
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
|
|
|
0x41, 0x63, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x03, 0x61, 0x63,
|
|
|
|
0x6b, 0x1a, 0xcb, 0x02, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x67, 0x72,
|
|
|
|
0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75,
|
|
|
|
0x6d, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73,
|
|
|
|
0x75, 0x6d, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
|
|
|
|
0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69,
|
|
|
|
0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c,
|
|
|
|
0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
|
|
|
|
0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
|
|
|
|
0x5f, 0x70, 0x62, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70,
|
|
|
|
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72,
|
|
|
|
0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00,
|
|
|
|
0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x2e, 0x0a,
|
|
|
|
0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
|
|
0x5f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x10, 0x73, 0x74, 0x61,
|
|
|
|
0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x73, 0x12, 0x16, 0x0a,
|
|
|
|
0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66,
|
|
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x1a,
|
|
|
|
0x28, 0x0a, 0x0a, 0x41, 0x63, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a,
|
|
|
|
0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x65, 0x22, 0x87, 0x02, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
|
|
0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x63, 0x74,
|
|
|
|
0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
2023-12-29 03:56:37 +08:00
|
|
|
0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
|
2023-12-29 12:35:15 +08:00
|
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x74, 0x72, 0x6c, 0x4d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x12, 0x2f, 0x0a,
|
|
|
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x73,
|
|
|
|
0x0a, 0x0b, 0x43, 0x74, 0x72, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
|
|
|
|
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
|
|
|
|
0x72, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66,
|
|
|
|
0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69,
|
|
|
|
0x73, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x25, 0x0a, 0x0f,
|
|
|
|
0x69, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18,
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x54, 0x6f,
|
|
|
|
0x70, 0x69, 0x63, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x65,
|
|
|
|
0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72,
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f,
|
|
|
|
0x70, 0x69, 0x63, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
|
|
|
0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x6e, 0x69, 0x78, 0x54,
|
|
|
|
0x69, 0x6d, 0x65, 0x4e, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75,
|
|
|
|
0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
0x22, 0x66, 0x0a, 0x17, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
|
|
0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74,
|
|
|
|
0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52,
|
|
|
|
0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74,
|
|
|
|
0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x6e,
|
|
|
|
0x69, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x6c, 0x6f, 0x73,
|
|
|
|
0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x32, 0xce, 0x09, 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, 0x12, 0x79,
|
|
|
|
0x0a, 0x16, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x54, 0x6f, 0x50, 0x75, 0x62,
|
|
|
|
0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
|
|
0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65,
|
|
|
|
0x72, 0x54, 0x6f, 0x50, 0x75, 0x62, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e,
|
|
|
|
0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x54, 0x6f,
|
|
|
|
0x50, 0x75, 0x62, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x0d, 0x42, 0x61, 0x6c,
|
|
|
|
0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
|
|
|
|
0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23,
|
|
|
|
0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x42, 0x61,
|
|
|
|
0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70,
|
|
|
|
0x69, 0x63, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67,
|
|
|
|
0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
|
0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43,
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73,
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
|
|
|
|
0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x12, 0x27, 0x2e,
|
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f,
|
|
|
|
0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69,
|
|
|
|
0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x54, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
0x22, 0x00, 0x12, 0x72, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70, 0x69,
|
|
|
|
0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67,
|
|
|
|
0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
|
0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x6f, 0x70,
|
|
|
|
0x69, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50,
|
|
|
|
0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
|
0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75,
|
|
|
|
0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
0x25, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43,
|
|
|
|
0x6c, 0x6f, 0x73, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x10, 0x43, 0x6c, 0x6f, 0x73,
|
|
|
|
0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x6d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73,
|
|
|
|
0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f,
|
|
|
|
0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
|
|
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01,
|
|
|
|
0x0a, 0x1a, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75,
|
|
|
|
0x62, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2f, 0x2e, 0x6d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x73,
|
|
|
|
0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72, 0x64,
|
|
|
|
0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e,
|
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62,
|
|
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x75, 0x62, 0x43, 0x6f, 0x6f, 0x72,
|
|
|
|
0x64, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
|
|
0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4c, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
|
|
|
|
0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
|
|
|
|
0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
|
|
|
|
0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e, 0x50, 0x75,
|
|
|
|
0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28,
|
|
|
|
0x01, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
|
|
|
|
0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
|
|
|
|
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x62, 0x2e,
|
|
|
|
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x4f, 0x0a, 0x0c, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64,
|
|
|
|
0x66, 0x73, 0x2e, 0x6d, 0x71, 0x42, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x51, 0x75,
|
|
|
|
0x65, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
|
|
|
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 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,
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_mq_proto_rawDescOnce sync.Once
|
|
|
|
file_mq_proto_rawDescData = file_mq_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_mq_proto_rawDescGZIP() []byte {
|
|
|
|
file_mq_proto_rawDescOnce.Do(func() {
|
|
|
|
file_mq_proto_rawDescData = protoimpl.X.CompressGZIP(file_mq_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_mq_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2023-12-12 04:05:54 +08:00
|
|
|
var file_mq_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
|
2023-08-21 13:53:05 +08:00
|
|
|
var file_mq_proto_goTypes = []interface{}{
|
2023-12-12 04:05:54 +08:00
|
|
|
(*FindBrokerLeaderRequest)(nil), // 0: messaging_pb.FindBrokerLeaderRequest
|
|
|
|
(*FindBrokerLeaderResponse)(nil), // 1: messaging_pb.FindBrokerLeaderResponse
|
|
|
|
(*Topic)(nil), // 2: messaging_pb.Topic
|
|
|
|
(*Partition)(nil), // 3: messaging_pb.Partition
|
|
|
|
(*BrokerStats)(nil), // 4: messaging_pb.BrokerStats
|
|
|
|
(*TopicPartitionStats)(nil), // 5: messaging_pb.TopicPartitionStats
|
|
|
|
(*PublisherToPubBalancerRequest)(nil), // 6: messaging_pb.PublisherToPubBalancerRequest
|
|
|
|
(*PublisherToPubBalancerResponse)(nil), // 7: messaging_pb.PublisherToPubBalancerResponse
|
|
|
|
(*BalanceTopicsRequest)(nil), // 8: messaging_pb.BalanceTopicsRequest
|
|
|
|
(*BalanceTopicsResponse)(nil), // 9: messaging_pb.BalanceTopicsResponse
|
|
|
|
(*ConfigureTopicRequest)(nil), // 10: messaging_pb.ConfigureTopicRequest
|
|
|
|
(*ConfigureTopicResponse)(nil), // 11: messaging_pb.ConfigureTopicResponse
|
|
|
|
(*ListTopicsRequest)(nil), // 12: messaging_pb.ListTopicsRequest
|
|
|
|
(*ListTopicsResponse)(nil), // 13: messaging_pb.ListTopicsResponse
|
|
|
|
(*LookupTopicBrokersRequest)(nil), // 14: messaging_pb.LookupTopicBrokersRequest
|
|
|
|
(*LookupTopicBrokersResponse)(nil), // 15: messaging_pb.LookupTopicBrokersResponse
|
|
|
|
(*BrokerPartitionAssignment)(nil), // 16: messaging_pb.BrokerPartitionAssignment
|
|
|
|
(*AssignTopicPartitionsRequest)(nil), // 17: messaging_pb.AssignTopicPartitionsRequest
|
|
|
|
(*AssignTopicPartitionsResponse)(nil), // 18: messaging_pb.AssignTopicPartitionsResponse
|
|
|
|
(*SubscriberToSubCoordinatorRequest)(nil), // 19: messaging_pb.SubscriberToSubCoordinatorRequest
|
|
|
|
(*SubscriberToSubCoordinatorResponse)(nil), // 20: messaging_pb.SubscriberToSubCoordinatorResponse
|
|
|
|
(*DataMessage)(nil), // 21: messaging_pb.DataMessage
|
|
|
|
(*PublishRequest)(nil), // 22: messaging_pb.PublishRequest
|
|
|
|
(*PublishResponse)(nil), // 23: messaging_pb.PublishResponse
|
|
|
|
(*SubscribeRequest)(nil), // 24: messaging_pb.SubscribeRequest
|
|
|
|
(*SubscribeResponse)(nil), // 25: messaging_pb.SubscribeResponse
|
|
|
|
(*ClosePublishersRequest)(nil), // 26: messaging_pb.ClosePublishersRequest
|
|
|
|
(*ClosePublishersResponse)(nil), // 27: messaging_pb.ClosePublishersResponse
|
|
|
|
(*CloseSubscribersRequest)(nil), // 28: messaging_pb.CloseSubscribersRequest
|
|
|
|
(*CloseSubscribersResponse)(nil), // 29: messaging_pb.CloseSubscribersResponse
|
|
|
|
nil, // 30: messaging_pb.BrokerStats.StatsEntry
|
|
|
|
(*PublisherToPubBalancerRequest_InitMessage)(nil), // 31: messaging_pb.PublisherToPubBalancerRequest.InitMessage
|
|
|
|
(*SubscriberToSubCoordinatorRequest_InitMessage)(nil), // 32: messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage
|
|
|
|
(*SubscriberToSubCoordinatorRequest_AckMessage)(nil), // 33: messaging_pb.SubscriberToSubCoordinatorRequest.AckMessage
|
|
|
|
(*SubscriberToSubCoordinatorResponse_AssignedPartition)(nil), // 34: messaging_pb.SubscriberToSubCoordinatorResponse.AssignedPartition
|
|
|
|
(*SubscriberToSubCoordinatorResponse_Assignment)(nil), // 35: messaging_pb.SubscriberToSubCoordinatorResponse.Assignment
|
|
|
|
(*PublishRequest_InitMessage)(nil), // 36: messaging_pb.PublishRequest.InitMessage
|
|
|
|
(*SubscribeRequest_InitMessage)(nil), // 37: messaging_pb.SubscribeRequest.InitMessage
|
|
|
|
(*SubscribeRequest_AckMessage)(nil), // 38: messaging_pb.SubscribeRequest.AckMessage
|
|
|
|
(*SubscribeResponse_CtrlMessage)(nil), // 39: messaging_pb.SubscribeResponse.CtrlMessage
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
var file_mq_proto_depIdxs = []int32{
|
2023-12-12 04:05:54 +08:00
|
|
|
30, // 0: messaging_pb.BrokerStats.stats:type_name -> messaging_pb.BrokerStats.StatsEntry
|
|
|
|
2, // 1: messaging_pb.TopicPartitionStats.topic:type_name -> messaging_pb.Topic
|
|
|
|
3, // 2: messaging_pb.TopicPartitionStats.partition:type_name -> messaging_pb.Partition
|
|
|
|
31, // 3: messaging_pb.PublisherToPubBalancerRequest.init:type_name -> messaging_pb.PublisherToPubBalancerRequest.InitMessage
|
|
|
|
4, // 4: messaging_pb.PublisherToPubBalancerRequest.stats:type_name -> messaging_pb.BrokerStats
|
|
|
|
2, // 5: messaging_pb.ConfigureTopicRequest.topic:type_name -> messaging_pb.Topic
|
|
|
|
16, // 6: messaging_pb.ConfigureTopicResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
|
|
2, // 7: messaging_pb.ListTopicsResponse.topics:type_name -> messaging_pb.Topic
|
|
|
|
2, // 8: messaging_pb.LookupTopicBrokersRequest.topic:type_name -> messaging_pb.Topic
|
|
|
|
2, // 9: messaging_pb.LookupTopicBrokersResponse.topic:type_name -> messaging_pb.Topic
|
|
|
|
16, // 10: messaging_pb.LookupTopicBrokersResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
|
|
3, // 11: messaging_pb.BrokerPartitionAssignment.partition:type_name -> messaging_pb.Partition
|
|
|
|
2, // 12: messaging_pb.AssignTopicPartitionsRequest.topic:type_name -> messaging_pb.Topic
|
|
|
|
16, // 13: messaging_pb.AssignTopicPartitionsRequest.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
|
|
32, // 14: messaging_pb.SubscriberToSubCoordinatorRequest.init:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage
|
|
|
|
33, // 15: messaging_pb.SubscriberToSubCoordinatorRequest.ack:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.AckMessage
|
|
|
|
35, // 16: messaging_pb.SubscriberToSubCoordinatorResponse.assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorResponse.Assignment
|
|
|
|
36, // 17: messaging_pb.PublishRequest.init:type_name -> messaging_pb.PublishRequest.InitMessage
|
|
|
|
21, // 18: messaging_pb.PublishRequest.data:type_name -> messaging_pb.DataMessage
|
|
|
|
37, // 19: messaging_pb.SubscribeRequest.init:type_name -> messaging_pb.SubscribeRequest.InitMessage
|
|
|
|
38, // 20: messaging_pb.SubscribeRequest.ack:type_name -> messaging_pb.SubscribeRequest.AckMessage
|
|
|
|
39, // 21: messaging_pb.SubscribeResponse.ctrl:type_name -> messaging_pb.SubscribeResponse.CtrlMessage
|
|
|
|
21, // 22: messaging_pb.SubscribeResponse.data:type_name -> messaging_pb.DataMessage
|
|
|
|
2, // 23: messaging_pb.ClosePublishersRequest.topic:type_name -> messaging_pb.Topic
|
|
|
|
2, // 24: messaging_pb.CloseSubscribersRequest.topic:type_name -> messaging_pb.Topic
|
|
|
|
5, // 25: messaging_pb.BrokerStats.StatsEntry.value:type_name -> messaging_pb.TopicPartitionStats
|
|
|
|
2, // 26: messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage.topic:type_name -> messaging_pb.Topic
|
|
|
|
3, // 27: messaging_pb.SubscriberToSubCoordinatorRequest.AckMessage.partition:type_name -> messaging_pb.Partition
|
|
|
|
3, // 28: messaging_pb.SubscriberToSubCoordinatorResponse.AssignedPartition.partition:type_name -> messaging_pb.Partition
|
|
|
|
34, // 29: messaging_pb.SubscriberToSubCoordinatorResponse.Assignment.assigned_partitions:type_name -> messaging_pb.SubscriberToSubCoordinatorResponse.AssignedPartition
|
|
|
|
2, // 30: messaging_pb.PublishRequest.InitMessage.topic:type_name -> messaging_pb.Topic
|
|
|
|
3, // 31: messaging_pb.PublishRequest.InitMessage.partition:type_name -> messaging_pb.Partition
|
|
|
|
2, // 32: messaging_pb.SubscribeRequest.InitMessage.topic:type_name -> messaging_pb.Topic
|
|
|
|
3, // 33: messaging_pb.SubscribeRequest.InitMessage.partition:type_name -> messaging_pb.Partition
|
|
|
|
0, // 34: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
|
|
|
|
6, // 35: messaging_pb.SeaweedMessaging.PublisherToPubBalancer:input_type -> messaging_pb.PublisherToPubBalancerRequest
|
|
|
|
8, // 36: messaging_pb.SeaweedMessaging.BalanceTopics:input_type -> messaging_pb.BalanceTopicsRequest
|
|
|
|
12, // 37: messaging_pb.SeaweedMessaging.ListTopics:input_type -> messaging_pb.ListTopicsRequest
|
|
|
|
10, // 38: messaging_pb.SeaweedMessaging.ConfigureTopic:input_type -> messaging_pb.ConfigureTopicRequest
|
|
|
|
14, // 39: messaging_pb.SeaweedMessaging.LookupTopicBrokers:input_type -> messaging_pb.LookupTopicBrokersRequest
|
|
|
|
17, // 40: messaging_pb.SeaweedMessaging.AssignTopicPartitions:input_type -> messaging_pb.AssignTopicPartitionsRequest
|
|
|
|
26, // 41: messaging_pb.SeaweedMessaging.ClosePublishers:input_type -> messaging_pb.ClosePublishersRequest
|
|
|
|
28, // 42: messaging_pb.SeaweedMessaging.CloseSubscribers:input_type -> messaging_pb.CloseSubscribersRequest
|
|
|
|
19, // 43: messaging_pb.SeaweedMessaging.SubscriberToSubCoordinator:input_type -> messaging_pb.SubscriberToSubCoordinatorRequest
|
|
|
|
22, // 44: messaging_pb.SeaweedMessaging.Publish:input_type -> messaging_pb.PublishRequest
|
|
|
|
24, // 45: messaging_pb.SeaweedMessaging.Subscribe:input_type -> messaging_pb.SubscribeRequest
|
|
|
|
1, // 46: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
|
|
|
|
7, // 47: messaging_pb.SeaweedMessaging.PublisherToPubBalancer:output_type -> messaging_pb.PublisherToPubBalancerResponse
|
|
|
|
9, // 48: messaging_pb.SeaweedMessaging.BalanceTopics:output_type -> messaging_pb.BalanceTopicsResponse
|
|
|
|
13, // 49: messaging_pb.SeaweedMessaging.ListTopics:output_type -> messaging_pb.ListTopicsResponse
|
|
|
|
11, // 50: messaging_pb.SeaweedMessaging.ConfigureTopic:output_type -> messaging_pb.ConfigureTopicResponse
|
|
|
|
15, // 51: messaging_pb.SeaweedMessaging.LookupTopicBrokers:output_type -> messaging_pb.LookupTopicBrokersResponse
|
|
|
|
18, // 52: messaging_pb.SeaweedMessaging.AssignTopicPartitions:output_type -> messaging_pb.AssignTopicPartitionsResponse
|
|
|
|
27, // 53: messaging_pb.SeaweedMessaging.ClosePublishers:output_type -> messaging_pb.ClosePublishersResponse
|
|
|
|
29, // 54: messaging_pb.SeaweedMessaging.CloseSubscribers:output_type -> messaging_pb.CloseSubscribersResponse
|
|
|
|
20, // 55: messaging_pb.SeaweedMessaging.SubscriberToSubCoordinator:output_type -> messaging_pb.SubscriberToSubCoordinatorResponse
|
|
|
|
23, // 56: messaging_pb.SeaweedMessaging.Publish:output_type -> messaging_pb.PublishResponse
|
|
|
|
25, // 57: messaging_pb.SeaweedMessaging.Subscribe:output_type -> messaging_pb.SubscribeResponse
|
|
|
|
46, // [46:58] is the sub-list for method output_type
|
|
|
|
34, // [34:46] is the sub-list for method input_type
|
|
|
|
34, // [34:34] is the sub-list for extension type_name
|
|
|
|
34, // [34:34] is the sub-list for extension extendee
|
|
|
|
0, // [0:34] is the sub-list for field type_name
|
2023-08-21 13:53:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_mq_proto_init() }
|
|
|
|
func file_mq_proto_init() {
|
|
|
|
if File_mq_proto != nil {
|
2020-06-20 23:00:25 +08:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2022-07-03 15:29:25 +08:00
|
|
|
file_mq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*FindBrokerLeaderRequest); i {
|
2020-06-20 23:00:25 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-07-10 16:36:23 +08:00
|
|
|
file_mq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*FindBrokerLeaderResponse); i {
|
2020-06-20 23:00:25 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-07-11 15:20:27 +08:00
|
|
|
file_mq_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*Topic); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*Partition); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*BrokerStats); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*TopicPartitionStats); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*PublisherToPubBalancerRequest); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*PublisherToPubBalancerResponse); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*BalanceTopicsRequest); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*BalanceTopicsResponse); i {
|
2022-07-17 01:49:34 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*ConfigureTopicRequest); i {
|
2022-07-11 15:20:27 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-08-01 04:23:44 +08:00
|
|
|
file_mq_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*ConfigureTopicResponse); i {
|
2022-08-01 04:23:44 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*ListTopicsRequest); i {
|
2022-08-01 04:23:44 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*ListTopicsResponse); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*LookupTopicBrokersRequest); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*LookupTopicBrokersResponse); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*BrokerPartitionAssignment); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*AssignTopicPartitionsRequest); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*AssignTopicPartitionsResponse); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscriberToSubCoordinatorRequest); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscriberToSubCoordinatorResponse); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*DataMessage); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*PublishRequest); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*PublishResponse); i {
|
2022-08-01 04:23:44 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscribeRequest); i {
|
2023-08-27 04:39:21 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscribeResponse); i {
|
2023-08-27 04:39:21 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*ClosePublishersRequest); i {
|
2023-08-27 04:39:21 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*ClosePublishersResponse); i {
|
2023-08-27 04:39:21 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-08-28 09:59:04 +08:00
|
|
|
file_mq_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*CloseSubscribersRequest); i {
|
2023-09-01 15:36:51 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*CloseSubscribersResponse); i {
|
2023-09-20 05:02:08 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*PublisherToPubBalancerRequest_InitMessage); i {
|
2023-09-25 06:26:49 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscriberToSubCoordinatorRequest_InitMessage); i {
|
2023-09-25 05:22:11 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscriberToSubCoordinatorRequest_AckMessage); i {
|
2023-09-25 12:19:51 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscriberToSubCoordinatorResponse_AssignedPartition); i {
|
2023-09-25 06:26:49 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
2023-12-12 04:05:54 +08:00
|
|
|
switch v := v.(*SubscriberToSubCoordinatorResponse_Assignment); i {
|
2023-09-15 14:49:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-15 14:49:05 +08:00
|
|
|
switch v := v.(*PublishRequest_InitMessage); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-01 12:47:57 +08:00
|
|
|
switch v := v.(*SubscribeRequest_InitMessage); i {
|
2023-09-15 14:49:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-01 04:18:49 +08:00
|
|
|
switch v := v.(*SubscribeRequest_AckMessage); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
2023-08-27 04:39:21 +08:00
|
|
|
switch v := v.(*SubscribeResponse_CtrlMessage); i {
|
2023-08-21 13:53:05 +08:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[6].OneofWrappers = []interface{}{
|
|
|
|
(*PublisherToPubBalancerRequest_Init)(nil),
|
|
|
|
(*PublisherToPubBalancerRequest_Stats)(nil),
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[19].OneofWrappers = []interface{}{
|
|
|
|
(*SubscriberToSubCoordinatorRequest_Init)(nil),
|
|
|
|
(*SubscriberToSubCoordinatorRequest_Ack)(nil),
|
|
|
|
}
|
|
|
|
file_mq_proto_msgTypes[20].OneofWrappers = []interface{}{
|
|
|
|
(*SubscriberToSubCoordinatorResponse_Assignment_)(nil),
|
2023-09-15 14:49:05 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[22].OneofWrappers = []interface{}{
|
2023-08-21 13:53:05 +08:00
|
|
|
(*PublishRequest_Init)(nil),
|
|
|
|
(*PublishRequest_Data)(nil),
|
2020-06-20 23:00:25 +08:00
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[24].OneofWrappers = []interface{}{
|
2023-10-01 12:47:57 +08:00
|
|
|
(*SubscribeRequest_Init)(nil),
|
2023-10-01 04:18:49 +08:00
|
|
|
(*SubscribeRequest_Ack)(nil),
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[25].OneofWrappers = []interface{}{
|
2023-08-27 04:39:21 +08:00
|
|
|
(*SubscribeResponse_Ctrl)(nil),
|
|
|
|
(*SubscribeResponse_Data)(nil),
|
|
|
|
}
|
2023-12-12 04:05:54 +08:00
|
|
|
file_mq_proto_msgTypes[37].OneofWrappers = []interface{}{
|
2023-10-01 12:47:57 +08:00
|
|
|
(*SubscribeRequest_InitMessage_StartOffset)(nil),
|
|
|
|
(*SubscribeRequest_InitMessage_StartTimestampNs)(nil),
|
2023-09-01 15:36:51 +08:00
|
|
|
}
|
2020-06-20 23:00:25 +08:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2022-07-03 15:29:25 +08:00
|
|
|
RawDescriptor: file_mq_proto_rawDesc,
|
2022-07-10 16:36:23 +08:00
|
|
|
NumEnums: 0,
|
2023-12-12 04:05:54 +08:00
|
|
|
NumMessages: 40,
|
2020-06-20 23:00:25 +08:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
2022-07-03 15:29:25 +08:00
|
|
|
GoTypes: file_mq_proto_goTypes,
|
|
|
|
DependencyIndexes: file_mq_proto_depIdxs,
|
|
|
|
MessageInfos: file_mq_proto_msgTypes,
|
2020-06-20 23:00:25 +08:00
|
|
|
}.Build()
|
2022-07-03 15:29:25 +08:00
|
|
|
File_mq_proto = out.File
|
|
|
|
file_mq_proto_rawDesc = nil
|
|
|
|
file_mq_proto_goTypes = nil
|
|
|
|
file_mq_proto_depIdxs = nil
|
2020-04-16 17:21:23 +08:00
|
|
|
}
|