github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/protobuf/protoc-gen-go-grain/test/multi-services/services.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/multi-services/services.proto 6 7 package hello 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 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 SayHelloResponse struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 30 } 31 32 func (x *SayHelloResponse) Reset() { 33 *x = SayHelloResponse{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_test_multi_services_services_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *SayHelloResponse) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*SayHelloResponse) ProtoMessage() {} 46 47 func (x *SayHelloResponse) ProtoReflect() protoreflect.Message { 48 mi := &file_test_multi_services_services_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 SayHelloResponse.ProtoReflect.Descriptor instead. 60 func (*SayHelloResponse) Descriptor() ([]byte, []int) { 61 return file_test_multi_services_services_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *SayHelloResponse) GetMessage() string { 65 if x != nil { 66 return x.Message 67 } 68 return "" 69 } 70 71 type DoWorkRequest struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 Work string `protobuf:"bytes,1,opt,name=work,proto3" json:"work,omitempty"` 77 } 78 79 func (x *DoWorkRequest) Reset() { 80 *x = DoWorkRequest{} 81 if protoimpl.UnsafeEnabled { 82 mi := &file_test_multi_services_services_proto_msgTypes[1] 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 ms.StoreMessageInfo(mi) 85 } 86 } 87 88 func (x *DoWorkRequest) String() string { 89 return protoimpl.X.MessageStringOf(x) 90 } 91 92 func (*DoWorkRequest) ProtoMessage() {} 93 94 func (x *DoWorkRequest) ProtoReflect() protoreflect.Message { 95 mi := &file_test_multi_services_services_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 DoWorkRequest.ProtoReflect.Descriptor instead. 107 func (*DoWorkRequest) Descriptor() ([]byte, []int) { 108 return file_test_multi_services_services_proto_rawDescGZIP(), []int{1} 109 } 110 111 func (x *DoWorkRequest) GetWork() string { 112 if x != nil { 113 return x.Work 114 } 115 return "" 116 } 117 118 type DoWorkResponse struct { 119 state protoimpl.MessageState 120 sizeCache protoimpl.SizeCache 121 unknownFields protoimpl.UnknownFields 122 123 Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` 124 } 125 126 func (x *DoWorkResponse) Reset() { 127 *x = DoWorkResponse{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_test_multi_services_services_proto_msgTypes[2] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *DoWorkResponse) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*DoWorkResponse) ProtoMessage() {} 140 141 func (x *DoWorkResponse) ProtoReflect() protoreflect.Message { 142 mi := &file_test_multi_services_services_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 DoWorkResponse.ProtoReflect.Descriptor instead. 154 func (*DoWorkResponse) Descriptor() ([]byte, []int) { 155 return file_test_multi_services_services_proto_rawDescGZIP(), []int{2} 156 } 157 158 func (x *DoWorkResponse) GetResult() string { 159 if x != nil { 160 return x.Result 161 } 162 return "" 163 } 164 165 var File_test_multi_services_services_proto protoreflect.FileDescriptor 166 167 var file_test_multi_services_services_proto_rawDesc = []byte{ 168 0x0a, 0x22, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x2d, 0x73, 0x65, 0x72, 169 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 170 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 171 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 172 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x10, 0x53, 0x61, 0x79, 0x48, 173 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 174 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 175 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x23, 0x0a, 0x0d, 0x44, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 176 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 177 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x28, 0x0a, 0x0e, 0x44, 178 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 179 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 180 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0x46, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x3d, 181 0x0a, 0x08, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 182 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 183 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x53, 0x61, 0x79, 0x48, 0x65, 184 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x3f, 0x0a, 185 0x04, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x37, 0x0a, 0x06, 0x44, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x12, 186 0x14, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x44, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 187 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x44, 0x6f, 188 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x46, 189 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x73, 0x79, 190 0x6e, 0x6b, 0x72, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x61, 0x63, 0x74, 0x6f, 0x72, 191 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 192 0x6f, 0x2d, 0x67, 0x72, 0x61, 0x69, 0x6e, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 193 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 194 } 195 196 var ( 197 file_test_multi_services_services_proto_rawDescOnce sync.Once 198 file_test_multi_services_services_proto_rawDescData = file_test_multi_services_services_proto_rawDesc 199 ) 200 201 func file_test_multi_services_services_proto_rawDescGZIP() []byte { 202 file_test_multi_services_services_proto_rawDescOnce.Do(func() { 203 file_test_multi_services_services_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_multi_services_services_proto_rawDescData) 204 }) 205 return file_test_multi_services_services_proto_rawDescData 206 } 207 208 var file_test_multi_services_services_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 209 var file_test_multi_services_services_proto_goTypes = []interface{}{ 210 (*SayHelloResponse)(nil), // 0: hello.SayHelloResponse 211 (*DoWorkRequest)(nil), // 1: hello.DoWorkRequest 212 (*DoWorkResponse)(nil), // 2: hello.DoWorkResponse 213 (*emptypb.Empty)(nil), // 3: google.protobuf.Empty 214 } 215 var file_test_multi_services_services_proto_depIdxs = []int32{ 216 3, // 0: hello.Hello.SayHello:input_type -> google.protobuf.Empty 217 1, // 1: hello.Work.DoWork:input_type -> hello.DoWorkRequest 218 0, // 2: hello.Hello.SayHello:output_type -> hello.SayHelloResponse 219 2, // 3: hello.Work.DoWork:output_type -> hello.DoWorkResponse 220 2, // [2:4] is the sub-list for method output_type 221 0, // [0:2] is the sub-list for method input_type 222 0, // [0:0] is the sub-list for extension type_name 223 0, // [0:0] is the sub-list for extension extendee 224 0, // [0:0] is the sub-list for field type_name 225 } 226 227 func init() { file_test_multi_services_services_proto_init() } 228 func file_test_multi_services_services_proto_init() { 229 if File_test_multi_services_services_proto != nil { 230 return 231 } 232 if !protoimpl.UnsafeEnabled { 233 file_test_multi_services_services_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 234 switch v := v.(*SayHelloResponse); i { 235 case 0: 236 return &v.state 237 case 1: 238 return &v.sizeCache 239 case 2: 240 return &v.unknownFields 241 default: 242 return nil 243 } 244 } 245 file_test_multi_services_services_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 246 switch v := v.(*DoWorkRequest); i { 247 case 0: 248 return &v.state 249 case 1: 250 return &v.sizeCache 251 case 2: 252 return &v.unknownFields 253 default: 254 return nil 255 } 256 } 257 file_test_multi_services_services_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 258 switch v := v.(*DoWorkResponse); i { 259 case 0: 260 return &v.state 261 case 1: 262 return &v.sizeCache 263 case 2: 264 return &v.unknownFields 265 default: 266 return nil 267 } 268 } 269 } 270 type x struct{} 271 out := protoimpl.TypeBuilder{ 272 File: protoimpl.DescBuilder{ 273 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 274 RawDescriptor: file_test_multi_services_services_proto_rawDesc, 275 NumEnums: 0, 276 NumMessages: 3, 277 NumExtensions: 0, 278 NumServices: 2, 279 }, 280 GoTypes: file_test_multi_services_services_proto_goTypes, 281 DependencyIndexes: file_test_multi_services_services_proto_depIdxs, 282 MessageInfos: file_test_multi_services_services_proto_msgTypes, 283 }.Build() 284 File_test_multi_services_services_proto = out.File 285 file_test_multi_services_services_proto_rawDesc = nil 286 file_test_multi_services_services_proto_goTypes = nil 287 file_test_multi_services_services_proto_depIdxs = nil 288 }