github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/protobuf/protoc-gen-go-grain/test/hello/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/hello/hello.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_hello_hello_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_hello_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 SayHelloResponse.ProtoReflect.Descriptor instead. 60 func (*SayHelloResponse) Descriptor() ([]byte, []int) { 61 return file_test_hello_hello_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 var File_test_hello_hello_proto protoreflect.FileDescriptor 72 73 var file_test_hello_hello_proto_rawDesc = []byte{ 74 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2f, 0x68, 0x65, 0x6c, 75 0x6c, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x1a, 76 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 77 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x10, 78 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 79 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 80 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x46, 0x0a, 0x05, 0x48, 0x65, 81 0x6c, 0x6c, 0x6f, 0x12, 0x3d, 0x0a, 0x08, 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 82 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 83 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 84 0x53, 0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 85 0x22, 0x00, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 86 0x2f, 0x61, 0x73, 0x79, 0x6e, 0x6b, 0x72, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x61, 87 0x63, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 88 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x61, 0x69, 0x6e, 0x2f, 0x74, 0x65, 0x73, 0x74, 89 0x64, 0x61, 0x74, 0x61, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 90 0x6f, 0x33, 91 } 92 93 var ( 94 file_test_hello_hello_proto_rawDescOnce sync.Once 95 file_test_hello_hello_proto_rawDescData = file_test_hello_hello_proto_rawDesc 96 ) 97 98 func file_test_hello_hello_proto_rawDescGZIP() []byte { 99 file_test_hello_hello_proto_rawDescOnce.Do(func() { 100 file_test_hello_hello_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_hello_hello_proto_rawDescData) 101 }) 102 return file_test_hello_hello_proto_rawDescData 103 } 104 105 var file_test_hello_hello_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 106 var file_test_hello_hello_proto_goTypes = []interface{}{ 107 (*SayHelloResponse)(nil), // 0: hello.SayHelloResponse 108 (*emptypb.Empty)(nil), // 1: google.protobuf.Empty 109 } 110 var file_test_hello_hello_proto_depIdxs = []int32{ 111 1, // 0: hello.Hello.SayHello:input_type -> google.protobuf.Empty 112 0, // 1: hello.Hello.SayHello:output_type -> hello.SayHelloResponse 113 1, // [1:2] is the sub-list for method output_type 114 0, // [0:1] is the sub-list for method input_type 115 0, // [0:0] is the sub-list for extension type_name 116 0, // [0:0] is the sub-list for extension extendee 117 0, // [0:0] is the sub-list for field type_name 118 } 119 120 func init() { file_test_hello_hello_proto_init() } 121 func file_test_hello_hello_proto_init() { 122 if File_test_hello_hello_proto != nil { 123 return 124 } 125 if !protoimpl.UnsafeEnabled { 126 file_test_hello_hello_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 127 switch v := v.(*SayHelloResponse); i { 128 case 0: 129 return &v.state 130 case 1: 131 return &v.sizeCache 132 case 2: 133 return &v.unknownFields 134 default: 135 return nil 136 } 137 } 138 } 139 type x struct{} 140 out := protoimpl.TypeBuilder{ 141 File: protoimpl.DescBuilder{ 142 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 143 RawDescriptor: file_test_hello_hello_proto_rawDesc, 144 NumEnums: 0, 145 NumMessages: 1, 146 NumExtensions: 0, 147 NumServices: 1, 148 }, 149 GoTypes: file_test_hello_hello_proto_goTypes, 150 DependencyIndexes: file_test_hello_hello_proto_depIdxs, 151 MessageInfos: file_test_hello_hello_proto_msgTypes, 152 }.Build() 153 File_test_hello_hello_proto = out.File 154 file_test_hello_hello_proto_rawDesc = nil 155 file_test_hello_hello_proto_goTypes = nil 156 file_test_hello_hello_proto_depIdxs = nil 157 }