github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/protobuf/protoc-gen-go-grain/options/options.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v4.25.0 5 // source: options/options.proto 6 7 package options 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 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 MethodOptions struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // mark a method as reenterable will generate a callback version of the method 30 Reenterable bool `protobuf:"varint,1,opt,name=reenterable,proto3" json:"reenterable,omitempty"` 31 // generate an extra future interface in the client 32 // all methods called in reenterable methods should use the future interface 33 Future bool `protobuf:"varint,2,opt,name=future,proto3" json:"future,omitempty"` 34 } 35 36 func (x *MethodOptions) Reset() { 37 *x = MethodOptions{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_options_options_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *MethodOptions) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*MethodOptions) ProtoMessage() {} 50 51 func (x *MethodOptions) ProtoReflect() protoreflect.Message { 52 mi := &file_options_options_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead. 64 func (*MethodOptions) Descriptor() ([]byte, []int) { 65 return file_options_options_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *MethodOptions) GetReenterable() bool { 69 if x != nil { 70 return x.Reenterable 71 } 72 return false 73 } 74 75 func (x *MethodOptions) GetFuture() bool { 76 if x != nil { 77 return x.Future 78 } 79 return false 80 } 81 82 var file_options_options_proto_extTypes = []protoimpl.ExtensionInfo{ 83 { 84 ExtendedType: (*descriptorpb.MethodOptions)(nil), 85 ExtensionType: (*MethodOptions)(nil), 86 Field: 50000, 87 Name: "options.method_options", 88 Tag: "bytes,50000,opt,name=method_options", 89 Filename: "options/options.proto", 90 }, 91 } 92 93 // Extension fields to descriptorpb.MethodOptions. 94 var ( 95 // optional options.MethodOptions method_options = 50000; 96 E_MethodOptions = &file_options_options_proto_extTypes[0] 97 ) 98 99 var File_options_options_proto protoreflect.FileDescriptor 100 101 var file_options_options_proto_rawDesc = []byte{ 102 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 103 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 104 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 105 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 106 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 107 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x62, 108 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x65, 0x6e, 0x74, 0x65, 109 0x72, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x18, 110 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x3a, 0x5f, 0x0a, 111 0x0e, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 112 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 113 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 114 0xd0, 0x86, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 115 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 116 0x0d, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x48, 117 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x73, 0x79, 118 0x6e, 0x6b, 0x72, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x61, 0x63, 0x74, 0x6f, 0x72, 119 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x72, 0x6f, 120 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x61, 0x69, 0x6e, 121 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 122 } 123 124 var ( 125 file_options_options_proto_rawDescOnce sync.Once 126 file_options_options_proto_rawDescData = file_options_options_proto_rawDesc 127 ) 128 129 func file_options_options_proto_rawDescGZIP() []byte { 130 file_options_options_proto_rawDescOnce.Do(func() { 131 file_options_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_options_options_proto_rawDescData) 132 }) 133 return file_options_options_proto_rawDescData 134 } 135 136 var file_options_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 137 var file_options_options_proto_goTypes = []interface{}{ 138 (*MethodOptions)(nil), // 0: options.MethodOptions 139 (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions 140 } 141 var file_options_options_proto_depIdxs = []int32{ 142 1, // 0: options.method_options:extendee -> google.protobuf.MethodOptions 143 0, // 1: options.method_options:type_name -> options.MethodOptions 144 2, // [2:2] is the sub-list for method output_type 145 2, // [2:2] is the sub-list for method input_type 146 1, // [1:2] is the sub-list for extension type_name 147 0, // [0:1] is the sub-list for extension extendee 148 0, // [0:0] is the sub-list for field type_name 149 } 150 151 func init() { file_options_options_proto_init() } 152 func file_options_options_proto_init() { 153 if File_options_options_proto != nil { 154 return 155 } 156 if !protoimpl.UnsafeEnabled { 157 file_options_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 158 switch v := v.(*MethodOptions); i { 159 case 0: 160 return &v.state 161 case 1: 162 return &v.sizeCache 163 case 2: 164 return &v.unknownFields 165 default: 166 return nil 167 } 168 } 169 } 170 type x struct{} 171 out := protoimpl.TypeBuilder{ 172 File: protoimpl.DescBuilder{ 173 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 174 RawDescriptor: file_options_options_proto_rawDesc, 175 NumEnums: 0, 176 NumMessages: 1, 177 NumExtensions: 1, 178 NumServices: 0, 179 }, 180 GoTypes: file_options_options_proto_goTypes, 181 DependencyIndexes: file_options_options_proto_depIdxs, 182 MessageInfos: file_options_options_proto_msgTypes, 183 ExtensionInfos: file_options_options_proto_extTypes, 184 }.Build() 185 File_options_options_proto = out.File 186 file_options_options_proto_rawDesc = nil 187 file_options_options_proto_goTypes = nil 188 file_options_options_proto_depIdxs = nil 189 }