github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/protobuf/protoc-gen-go-grain/test/reenter/hello.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.32.0 4 // protoc v4.25.0 5 // source: test/reenter/hello.proto 6 7 package hello 8 9 import ( 10 _ "github.com/asynkron/protoactor-go/protobuf/protoc-gen-go-grain/options" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type SayHelloRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 30 } 31 32 func (x *SayHelloRequest) Reset() { 33 *x = SayHelloRequest{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_test_reenter_hello_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *SayHelloRequest) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*SayHelloRequest) ProtoMessage() {} 46 47 func (x *SayHelloRequest) ProtoReflect() protoreflect.Message { 48 mi := &file_test_reenter_hello_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use SayHelloRequest.ProtoReflect.Descriptor instead. 60 func (*SayHelloRequest) Descriptor() ([]byte, []int) { 61 return file_test_reenter_hello_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *SayHelloRequest) GetName() string { 65 if x != nil { 66 return x.Name 67 } 68 return "" 69 } 70 71 type SayHelloResponse struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 77 } 78 79 func (x *SayHelloResponse) Reset() { 80 *x = SayHelloResponse{} 81 if protoimpl.UnsafeEnabled { 82 mi := &file_test_reenter_hello_proto_msgTypes[1] 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 ms.StoreMessageInfo(mi) 85 } 86 } 87 88 func (x *SayHelloResponse) String() string { 89 return protoimpl.X.MessageStringOf(x) 90 } 91 92 func (*SayHelloResponse) ProtoMessage() {} 93 94 func (x *SayHelloResponse) ProtoReflect() protoreflect.Message { 95 mi := &file_test_reenter_hello_proto_msgTypes[1] 96 if protoimpl.UnsafeEnabled && x != nil { 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 if ms.LoadMessageInfo() == nil { 99 ms.StoreMessageInfo(mi) 100 } 101 return ms 102 } 103 return mi.MessageOf(x) 104 } 105 106 // Deprecated: Use SayHelloResponse.ProtoReflect.Descriptor instead. 107 func (*SayHelloResponse) Descriptor() ([]byte, []int) { 108 return file_test_reenter_hello_proto_rawDescGZIP(), []int{1} 109 } 110 111 func (x *SayHelloResponse) GetMessage() string { 112 if x != nil { 113 return x.Message 114 } 115 return "" 116 } 117 118 type DoworkRequest struct { 119 state protoimpl.MessageState 120 sizeCache protoimpl.SizeCache 121 unknownFields protoimpl.UnknownFields 122 123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 124 } 125 126 func (x *DoworkRequest) Reset() { 127 *x = DoworkRequest{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_test_reenter_hello_proto_msgTypes[2] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *DoworkRequest) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*DoworkRequest) ProtoMessage() {} 140 141 func (x *DoworkRequest) ProtoReflect() protoreflect.Message { 142 mi := &file_test_reenter_hello_proto_msgTypes[2] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151 } 152 153 // Deprecated: Use DoworkRequest.ProtoReflect.Descriptor instead. 154 func (*DoworkRequest) Descriptor() ([]byte, []int) { 155 return file_test_reenter_hello_proto_rawDescGZIP(), []int{2} 156 } 157 158 func (x *DoworkRequest) GetName() string { 159 if x != nil { 160 return x.Name 161 } 162 return "" 163 } 164 165 type DoworkResponse struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 171 } 172 173 func (x *DoworkResponse) Reset() { 174 *x = DoworkResponse{} 175 if protoimpl.UnsafeEnabled { 176 mi := &file_test_reenter_hello_proto_msgTypes[3] 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 ms.StoreMessageInfo(mi) 179 } 180 } 181 182 func (x *DoworkResponse) String() string { 183 return protoimpl.X.MessageStringOf(x) 184 } 185 186 func (*DoworkResponse) ProtoMessage() {} 187 188 func (x *DoworkResponse) ProtoReflect() protoreflect.Message { 189 mi := &file_test_reenter_hello_proto_msgTypes[3] 190 if protoimpl.UnsafeEnabled && x != nil { 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 if ms.LoadMessageInfo() == nil { 193 ms.StoreMessageInfo(mi) 194 } 195 return ms 196 } 197 return mi.MessageOf(x) 198 } 199 200 // Deprecated: Use DoworkResponse.ProtoReflect.Descriptor instead. 201 func (*DoworkResponse) Descriptor() ([]byte, []int) { 202 return file_test_reenter_hello_proto_rawDescGZIP(), []int{3} 203 } 204 205 func (x *DoworkResponse) GetMessage() string { 206 if x != nil { 207 return x.Message 208 } 209 return "" 210 } 211 212 var File_test_reenter_hello_proto protoreflect.FileDescriptor 213 214 var file_test_reenter_hello_proto_rawDesc = []byte{ 215 0x0a, 0x18, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x72, 0x65, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x68, 216 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x68, 0x65, 0x6c, 0x6c, 217 0x6f, 0x1a, 0x32, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x6f, 0x74, 218 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x61, 0x69, 0x6e, 0x2f, 219 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 220 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x0f, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 221 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 222 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2c, 0x0a, 0x10, 223 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 224 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 225 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x23, 0x0a, 0x0d, 0x44, 0x6f, 226 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 227 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 228 0x2a, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 229 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 230 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x8b, 0x01, 0x0a, 0x05, 231 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x43, 0x0a, 0x08, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 232 0x6f, 0x12, 0x16, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 233 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 234 0x6f, 0x2e, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 235 0x73, 0x65, 0x22, 0x06, 0x82, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x12, 0x3d, 0x0a, 0x06, 0x44, 0x6f, 236 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x44, 0x6f, 0x77, 237 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x68, 0x65, 0x6c, 238 0x6c, 0x6f, 0x2e, 0x44, 0x6f, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 239 0x65, 0x22, 0x06, 0x82, 0xb5, 0x18, 0x02, 0x10, 0x01, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 240 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x73, 0x79, 0x6e, 0x6b, 0x72, 0x6f, 0x6e, 241 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 242 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x61, 243 0x69, 0x6e, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 244 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 245 } 246 247 var ( 248 file_test_reenter_hello_proto_rawDescOnce sync.Once 249 file_test_reenter_hello_proto_rawDescData = file_test_reenter_hello_proto_rawDesc 250 ) 251 252 func file_test_reenter_hello_proto_rawDescGZIP() []byte { 253 file_test_reenter_hello_proto_rawDescOnce.Do(func() { 254 file_test_reenter_hello_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_reenter_hello_proto_rawDescData) 255 }) 256 return file_test_reenter_hello_proto_rawDescData 257 } 258 259 var file_test_reenter_hello_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 260 var file_test_reenter_hello_proto_goTypes = []interface{}{ 261 (*SayHelloRequest)(nil), // 0: hello.SayHelloRequest 262 (*SayHelloResponse)(nil), // 1: hello.SayHelloResponse 263 (*DoworkRequest)(nil), // 2: hello.DoworkRequest 264 (*DoworkResponse)(nil), // 3: hello.DoworkResponse 265 } 266 var file_test_reenter_hello_proto_depIdxs = []int32{ 267 0, // 0: hello.Hello.SayHello:input_type -> hello.SayHelloRequest 268 2, // 1: hello.Hello.Dowork:input_type -> hello.DoworkRequest 269 1, // 2: hello.Hello.SayHello:output_type -> hello.SayHelloResponse 270 3, // 3: hello.Hello.Dowork:output_type -> hello.DoworkResponse 271 2, // [2:4] is the sub-list for method output_type 272 0, // [0:2] is the sub-list for method input_type 273 0, // [0:0] is the sub-list for extension type_name 274 0, // [0:0] is the sub-list for extension extendee 275 0, // [0:0] is the sub-list for field type_name 276 } 277 278 func init() { file_test_reenter_hello_proto_init() } 279 func file_test_reenter_hello_proto_init() { 280 if File_test_reenter_hello_proto != nil { 281 return 282 } 283 if !protoimpl.UnsafeEnabled { 284 file_test_reenter_hello_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 285 switch v := v.(*SayHelloRequest); i { 286 case 0: 287 return &v.state 288 case 1: 289 return &v.sizeCache 290 case 2: 291 return &v.unknownFields 292 default: 293 return nil 294 } 295 } 296 file_test_reenter_hello_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 297 switch v := v.(*SayHelloResponse); i { 298 case 0: 299 return &v.state 300 case 1: 301 return &v.sizeCache 302 case 2: 303 return &v.unknownFields 304 default: 305 return nil 306 } 307 } 308 file_test_reenter_hello_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 309 switch v := v.(*DoworkRequest); i { 310 case 0: 311 return &v.state 312 case 1: 313 return &v.sizeCache 314 case 2: 315 return &v.unknownFields 316 default: 317 return nil 318 } 319 } 320 file_test_reenter_hello_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 321 switch v := v.(*DoworkResponse); i { 322 case 0: 323 return &v.state 324 case 1: 325 return &v.sizeCache 326 case 2: 327 return &v.unknownFields 328 default: 329 return nil 330 } 331 } 332 } 333 type x struct{} 334 out := protoimpl.TypeBuilder{ 335 File: protoimpl.DescBuilder{ 336 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 337 RawDescriptor: file_test_reenter_hello_proto_rawDesc, 338 NumEnums: 0, 339 NumMessages: 4, 340 NumExtensions: 0, 341 NumServices: 1, 342 }, 343 GoTypes: file_test_reenter_hello_proto_goTypes, 344 DependencyIndexes: file_test_reenter_hello_proto_depIdxs, 345 MessageInfos: file_test_reenter_hello_proto_msgTypes, 346 }.Build() 347 File_test_reenter_hello_proto = out.File 348 file_test_reenter_hello_proto_rawDesc = nil 349 file_test_reenter_hello_proto_goTypes = nil 350 file_test_reenter_hello_proto_depIdxs = nil 351 }