github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/cluster/cluster_test_tool/pubsub_cluster.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v4.24.3 5 // source: pubsub_cluster.proto 6 7 package cluster_test_tool 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type DataPublished struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Data int32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` 29 } 30 31 func (x *DataPublished) Reset() { 32 *x = DataPublished{} 33 if protoimpl.UnsafeEnabled { 34 mi := &file_pubsub_cluster_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 } 39 40 func (x *DataPublished) String() string { 41 return protoimpl.X.MessageStringOf(x) 42 } 43 44 func (*DataPublished) ProtoMessage() {} 45 46 func (x *DataPublished) ProtoReflect() protoreflect.Message { 47 mi := &file_pubsub_cluster_proto_msgTypes[0] 48 if protoimpl.UnsafeEnabled && x != nil { 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 if ms.LoadMessageInfo() == nil { 51 ms.StoreMessageInfo(mi) 52 } 53 return ms 54 } 55 return mi.MessageOf(x) 56 } 57 58 // Deprecated: Use DataPublished.ProtoReflect.Descriptor instead. 59 func (*DataPublished) Descriptor() ([]byte, []int) { 60 return file_pubsub_cluster_proto_rawDescGZIP(), []int{0} 61 } 62 63 func (x *DataPublished) GetData() int32 { 64 if x != nil { 65 return x.Data 66 } 67 return 0 68 } 69 70 type Response struct { 71 state protoimpl.MessageState 72 sizeCache protoimpl.SizeCache 73 unknownFields protoimpl.UnknownFields 74 } 75 76 func (x *Response) Reset() { 77 *x = Response{} 78 if protoimpl.UnsafeEnabled { 79 mi := &file_pubsub_cluster_proto_msgTypes[1] 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 ms.StoreMessageInfo(mi) 82 } 83 } 84 85 func (x *Response) String() string { 86 return protoimpl.X.MessageStringOf(x) 87 } 88 89 func (*Response) ProtoMessage() {} 90 91 func (x *Response) ProtoReflect() protoreflect.Message { 92 mi := &file_pubsub_cluster_proto_msgTypes[1] 93 if protoimpl.UnsafeEnabled && x != nil { 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 if ms.LoadMessageInfo() == nil { 96 ms.StoreMessageInfo(mi) 97 } 98 return ms 99 } 100 return mi.MessageOf(x) 101 } 102 103 // Deprecated: Use Response.ProtoReflect.Descriptor instead. 104 func (*Response) Descriptor() ([]byte, []int) { 105 return file_pubsub_cluster_proto_rawDescGZIP(), []int{1} 106 } 107 108 var File_pubsub_cluster_proto protoreflect.FileDescriptor 109 110 var file_pubsub_cluster_proto_rawDesc = []byte{ 111 0x0a, 0x14, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 112 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 113 0x74, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x22, 0x23, 0x0a, 0x0d, 0x44, 0x61, 0x74, 114 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 115 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x0a, 116 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3e, 0x5a, 0x3c, 0x2f, 0x67, 117 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x73, 0x79, 0x6e, 0x6b, 0x72, 118 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x6f, 119 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 120 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 121 0x6f, 0x33, 122 } 123 124 var ( 125 file_pubsub_cluster_proto_rawDescOnce sync.Once 126 file_pubsub_cluster_proto_rawDescData = file_pubsub_cluster_proto_rawDesc 127 ) 128 129 func file_pubsub_cluster_proto_rawDescGZIP() []byte { 130 file_pubsub_cluster_proto_rawDescOnce.Do(func() { 131 file_pubsub_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_pubsub_cluster_proto_rawDescData) 132 }) 133 return file_pubsub_cluster_proto_rawDescData 134 } 135 136 var file_pubsub_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 137 var file_pubsub_cluster_proto_goTypes = []interface{}{ 138 (*DataPublished)(nil), // 0: cluster_test_tool.DataPublished 139 (*Response)(nil), // 1: cluster_test_tool.Response 140 } 141 var file_pubsub_cluster_proto_depIdxs = []int32{ 142 0, // [0:0] is the sub-list for method output_type 143 0, // [0:0] is the sub-list for method input_type 144 0, // [0:0] is the sub-list for extension type_name 145 0, // [0:0] is the sub-list for extension extendee 146 0, // [0:0] is the sub-list for field type_name 147 } 148 149 func init() { file_pubsub_cluster_proto_init() } 150 func file_pubsub_cluster_proto_init() { 151 if File_pubsub_cluster_proto != nil { 152 return 153 } 154 if !protoimpl.UnsafeEnabled { 155 file_pubsub_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 156 switch v := v.(*DataPublished); i { 157 case 0: 158 return &v.state 159 case 1: 160 return &v.sizeCache 161 case 2: 162 return &v.unknownFields 163 default: 164 return nil 165 } 166 } 167 file_pubsub_cluster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 168 switch v := v.(*Response); i { 169 case 0: 170 return &v.state 171 case 1: 172 return &v.sizeCache 173 case 2: 174 return &v.unknownFields 175 default: 176 return nil 177 } 178 } 179 } 180 type x struct{} 181 out := protoimpl.TypeBuilder{ 182 File: protoimpl.DescBuilder{ 183 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 184 RawDescriptor: file_pubsub_cluster_proto_rawDesc, 185 NumEnums: 0, 186 NumMessages: 2, 187 NumExtensions: 0, 188 NumServices: 0, 189 }, 190 GoTypes: file_pubsub_cluster_proto_goTypes, 191 DependencyIndexes: file_pubsub_cluster_proto_depIdxs, 192 MessageInfos: file_pubsub_cluster_proto_msgTypes, 193 }.Build() 194 File_pubsub_cluster_proto = out.File 195 file_pubsub_cluster_proto_rawDesc = nil 196 file_pubsub_cluster_proto_goTypes = nil 197 file_pubsub_cluster_proto_depIdxs = nil 198 }