github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/service/daemon/daemon.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc v5.26.1 5 // source: service/daemon/daemon.proto 6 7 package daemon 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 VersionRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 } 28 29 func (x *VersionRequest) Reset() { 30 *x = VersionRequest{} 31 if protoimpl.UnsafeEnabled { 32 mi := &file_service_daemon_daemon_proto_msgTypes[0] 33 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 34 ms.StoreMessageInfo(mi) 35 } 36 } 37 38 func (x *VersionRequest) String() string { 39 return protoimpl.X.MessageStringOf(x) 40 } 41 42 func (*VersionRequest) ProtoMessage() {} 43 44 func (x *VersionRequest) ProtoReflect() protoreflect.Message { 45 mi := &file_service_daemon_daemon_proto_msgTypes[0] 46 if protoimpl.UnsafeEnabled && x != nil { 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 if ms.LoadMessageInfo() == nil { 49 ms.StoreMessageInfo(mi) 50 } 51 return ms 52 } 53 return mi.MessageOf(x) 54 } 55 56 // Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead. 57 func (*VersionRequest) Descriptor() ([]byte, []int) { 58 return file_service_daemon_daemon_proto_rawDescGZIP(), []int{0} 59 } 60 61 type VersionResponse struct { 62 state protoimpl.MessageState 63 sizeCache protoimpl.SizeCache 64 unknownFields protoimpl.UnknownFields 65 66 // TODO: Should we encapsulate these inside a Version message type, perhaps 67 // in the mutagen package? 68 Major uint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` 69 Minor uint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` 70 Patch uint64 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` 71 Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` 72 } 73 74 func (x *VersionResponse) Reset() { 75 *x = VersionResponse{} 76 if protoimpl.UnsafeEnabled { 77 mi := &file_service_daemon_daemon_proto_msgTypes[1] 78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 79 ms.StoreMessageInfo(mi) 80 } 81 } 82 83 func (x *VersionResponse) String() string { 84 return protoimpl.X.MessageStringOf(x) 85 } 86 87 func (*VersionResponse) ProtoMessage() {} 88 89 func (x *VersionResponse) ProtoReflect() protoreflect.Message { 90 mi := &file_service_daemon_daemon_proto_msgTypes[1] 91 if protoimpl.UnsafeEnabled && x != nil { 92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 93 if ms.LoadMessageInfo() == nil { 94 ms.StoreMessageInfo(mi) 95 } 96 return ms 97 } 98 return mi.MessageOf(x) 99 } 100 101 // Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead. 102 func (*VersionResponse) Descriptor() ([]byte, []int) { 103 return file_service_daemon_daemon_proto_rawDescGZIP(), []int{1} 104 } 105 106 func (x *VersionResponse) GetMajor() uint64 { 107 if x != nil { 108 return x.Major 109 } 110 return 0 111 } 112 113 func (x *VersionResponse) GetMinor() uint64 { 114 if x != nil { 115 return x.Minor 116 } 117 return 0 118 } 119 120 func (x *VersionResponse) GetPatch() uint64 { 121 if x != nil { 122 return x.Patch 123 } 124 return 0 125 } 126 127 func (x *VersionResponse) GetTag() string { 128 if x != nil { 129 return x.Tag 130 } 131 return "" 132 } 133 134 type TerminateRequest struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 } 139 140 func (x *TerminateRequest) Reset() { 141 *x = TerminateRequest{} 142 if protoimpl.UnsafeEnabled { 143 mi := &file_service_daemon_daemon_proto_msgTypes[2] 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 ms.StoreMessageInfo(mi) 146 } 147 } 148 149 func (x *TerminateRequest) String() string { 150 return protoimpl.X.MessageStringOf(x) 151 } 152 153 func (*TerminateRequest) ProtoMessage() {} 154 155 func (x *TerminateRequest) ProtoReflect() protoreflect.Message { 156 mi := &file_service_daemon_daemon_proto_msgTypes[2] 157 if protoimpl.UnsafeEnabled && x != nil { 158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 159 if ms.LoadMessageInfo() == nil { 160 ms.StoreMessageInfo(mi) 161 } 162 return ms 163 } 164 return mi.MessageOf(x) 165 } 166 167 // Deprecated: Use TerminateRequest.ProtoReflect.Descriptor instead. 168 func (*TerminateRequest) Descriptor() ([]byte, []int) { 169 return file_service_daemon_daemon_proto_rawDescGZIP(), []int{2} 170 } 171 172 type TerminateResponse struct { 173 state protoimpl.MessageState 174 sizeCache protoimpl.SizeCache 175 unknownFields protoimpl.UnknownFields 176 } 177 178 func (x *TerminateResponse) Reset() { 179 *x = TerminateResponse{} 180 if protoimpl.UnsafeEnabled { 181 mi := &file_service_daemon_daemon_proto_msgTypes[3] 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 ms.StoreMessageInfo(mi) 184 } 185 } 186 187 func (x *TerminateResponse) String() string { 188 return protoimpl.X.MessageStringOf(x) 189 } 190 191 func (*TerminateResponse) ProtoMessage() {} 192 193 func (x *TerminateResponse) ProtoReflect() protoreflect.Message { 194 mi := &file_service_daemon_daemon_proto_msgTypes[3] 195 if protoimpl.UnsafeEnabled && x != nil { 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 197 if ms.LoadMessageInfo() == nil { 198 ms.StoreMessageInfo(mi) 199 } 200 return ms 201 } 202 return mi.MessageOf(x) 203 } 204 205 // Deprecated: Use TerminateResponse.ProtoReflect.Descriptor instead. 206 func (*TerminateResponse) Descriptor() ([]byte, []int) { 207 return file_service_daemon_daemon_proto_rawDescGZIP(), []int{3} 208 } 209 210 var File_service_daemon_daemon_proto protoreflect.FileDescriptor 211 212 var file_service_daemon_daemon_proto_rawDesc = []byte{ 213 0x0a, 0x1b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 214 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x64, 215 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x22, 0x10, 0x0a, 0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 216 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 217 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 218 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 219 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 220 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 221 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x10, 0x0a, 0x03, 222 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x12, 223 0x0a, 0x10, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 224 0x73, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 225 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8a, 0x01, 0x0a, 0x06, 0x44, 0x61, 0x65, 0x6d, 226 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 227 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 228 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 229 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 230 0x12, 0x42, 0x0a, 0x09, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 231 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 232 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 233 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 234 0x73, 0x65, 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 235 0x6f, 0x6d, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x75, 236 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 237 0x65, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 238 } 239 240 var ( 241 file_service_daemon_daemon_proto_rawDescOnce sync.Once 242 file_service_daemon_daemon_proto_rawDescData = file_service_daemon_daemon_proto_rawDesc 243 ) 244 245 func file_service_daemon_daemon_proto_rawDescGZIP() []byte { 246 file_service_daemon_daemon_proto_rawDescOnce.Do(func() { 247 file_service_daemon_daemon_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_daemon_daemon_proto_rawDescData) 248 }) 249 return file_service_daemon_daemon_proto_rawDescData 250 } 251 252 var file_service_daemon_daemon_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 253 var file_service_daemon_daemon_proto_goTypes = []interface{}{ 254 (*VersionRequest)(nil), // 0: daemon.VersionRequest 255 (*VersionResponse)(nil), // 1: daemon.VersionResponse 256 (*TerminateRequest)(nil), // 2: daemon.TerminateRequest 257 (*TerminateResponse)(nil), // 3: daemon.TerminateResponse 258 } 259 var file_service_daemon_daemon_proto_depIdxs = []int32{ 260 0, // 0: daemon.Daemon.Version:input_type -> daemon.VersionRequest 261 2, // 1: daemon.Daemon.Terminate:input_type -> daemon.TerminateRequest 262 1, // 2: daemon.Daemon.Version:output_type -> daemon.VersionResponse 263 3, // 3: daemon.Daemon.Terminate:output_type -> daemon.TerminateResponse 264 2, // [2:4] is the sub-list for method output_type 265 0, // [0:2] is the sub-list for method input_type 266 0, // [0:0] is the sub-list for extension type_name 267 0, // [0:0] is the sub-list for extension extendee 268 0, // [0:0] is the sub-list for field type_name 269 } 270 271 func init() { file_service_daemon_daemon_proto_init() } 272 func file_service_daemon_daemon_proto_init() { 273 if File_service_daemon_daemon_proto != nil { 274 return 275 } 276 if !protoimpl.UnsafeEnabled { 277 file_service_daemon_daemon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 278 switch v := v.(*VersionRequest); i { 279 case 0: 280 return &v.state 281 case 1: 282 return &v.sizeCache 283 case 2: 284 return &v.unknownFields 285 default: 286 return nil 287 } 288 } 289 file_service_daemon_daemon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 290 switch v := v.(*VersionResponse); i { 291 case 0: 292 return &v.state 293 case 1: 294 return &v.sizeCache 295 case 2: 296 return &v.unknownFields 297 default: 298 return nil 299 } 300 } 301 file_service_daemon_daemon_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 302 switch v := v.(*TerminateRequest); i { 303 case 0: 304 return &v.state 305 case 1: 306 return &v.sizeCache 307 case 2: 308 return &v.unknownFields 309 default: 310 return nil 311 } 312 } 313 file_service_daemon_daemon_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 314 switch v := v.(*TerminateResponse); i { 315 case 0: 316 return &v.state 317 case 1: 318 return &v.sizeCache 319 case 2: 320 return &v.unknownFields 321 default: 322 return nil 323 } 324 } 325 } 326 type x struct{} 327 out := protoimpl.TypeBuilder{ 328 File: protoimpl.DescBuilder{ 329 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 330 RawDescriptor: file_service_daemon_daemon_proto_rawDesc, 331 NumEnums: 0, 332 NumMessages: 4, 333 NumExtensions: 0, 334 NumServices: 1, 335 }, 336 GoTypes: file_service_daemon_daemon_proto_goTypes, 337 DependencyIndexes: file_service_daemon_daemon_proto_depIdxs, 338 MessageInfos: file_service_daemon_daemon_proto_msgTypes, 339 }.Build() 340 File_service_daemon_daemon_proto = out.File 341 file_service_daemon_daemon_proto_rawDesc = nil 342 file_service_daemon_daemon_proto_goTypes = nil 343 file_service_daemon_daemon_proto_depIdxs = nil 344 }