github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/engine/enginepb/resources.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.20.1 5 // source: engine/proto/resources.proto 6 7 package enginepb 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 CreateResourceRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 ProjectInfo *ProjectInfo `protobuf:"bytes,1,opt,name=project_info,json=projectInfo,proto3" json:"project_info,omitempty"` 29 ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` 30 CreatorExecutor string `protobuf:"bytes,3,opt,name=creator_executor,json=creatorExecutor,proto3" json:"creator_executor,omitempty"` 31 JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 32 CreatorWorkerId string `protobuf:"bytes,5,opt,name=creator_worker_id,json=creatorWorkerId,proto3" json:"creator_worker_id,omitempty"` 33 } 34 35 func (x *CreateResourceRequest) Reset() { 36 *x = CreateResourceRequest{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_engine_proto_resources_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *CreateResourceRequest) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*CreateResourceRequest) ProtoMessage() {} 49 50 func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message { 51 mi := &file_engine_proto_resources_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead. 63 func (*CreateResourceRequest) Descriptor() ([]byte, []int) { 64 return file_engine_proto_resources_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *CreateResourceRequest) GetProjectInfo() *ProjectInfo { 68 if x != nil { 69 return x.ProjectInfo 70 } 71 return nil 72 } 73 74 func (x *CreateResourceRequest) GetResourceId() string { 75 if x != nil { 76 return x.ResourceId 77 } 78 return "" 79 } 80 81 func (x *CreateResourceRequest) GetCreatorExecutor() string { 82 if x != nil { 83 return x.CreatorExecutor 84 } 85 return "" 86 } 87 88 func (x *CreateResourceRequest) GetJobId() string { 89 if x != nil { 90 return x.JobId 91 } 92 return "" 93 } 94 95 func (x *CreateResourceRequest) GetCreatorWorkerId() string { 96 if x != nil { 97 return x.CreatorWorkerId 98 } 99 return "" 100 } 101 102 type CreateResourceResponse struct { 103 state protoimpl.MessageState 104 sizeCache protoimpl.SizeCache 105 unknownFields protoimpl.UnknownFields 106 } 107 108 func (x *CreateResourceResponse) Reset() { 109 *x = CreateResourceResponse{} 110 if protoimpl.UnsafeEnabled { 111 mi := &file_engine_proto_resources_proto_msgTypes[1] 112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 113 ms.StoreMessageInfo(mi) 114 } 115 } 116 117 func (x *CreateResourceResponse) String() string { 118 return protoimpl.X.MessageStringOf(x) 119 } 120 121 func (*CreateResourceResponse) ProtoMessage() {} 122 123 func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message { 124 mi := &file_engine_proto_resources_proto_msgTypes[1] 125 if protoimpl.UnsafeEnabled && x != nil { 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 if ms.LoadMessageInfo() == nil { 128 ms.StoreMessageInfo(mi) 129 } 130 return ms 131 } 132 return mi.MessageOf(x) 133 } 134 135 // Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead. 136 func (*CreateResourceResponse) Descriptor() ([]byte, []int) { 137 return file_engine_proto_resources_proto_rawDescGZIP(), []int{1} 138 } 139 140 type ResourceKey struct { 141 state protoimpl.MessageState 142 sizeCache protoimpl.SizeCache 143 unknownFields protoimpl.UnknownFields 144 145 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 146 ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` 147 } 148 149 func (x *ResourceKey) Reset() { 150 *x = ResourceKey{} 151 if protoimpl.UnsafeEnabled { 152 mi := &file_engine_proto_resources_proto_msgTypes[2] 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 ms.StoreMessageInfo(mi) 155 } 156 } 157 158 func (x *ResourceKey) String() string { 159 return protoimpl.X.MessageStringOf(x) 160 } 161 162 func (*ResourceKey) ProtoMessage() {} 163 164 func (x *ResourceKey) ProtoReflect() protoreflect.Message { 165 mi := &file_engine_proto_resources_proto_msgTypes[2] 166 if protoimpl.UnsafeEnabled && x != nil { 167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 168 if ms.LoadMessageInfo() == nil { 169 ms.StoreMessageInfo(mi) 170 } 171 return ms 172 } 173 return mi.MessageOf(x) 174 } 175 176 // Deprecated: Use ResourceKey.ProtoReflect.Descriptor instead. 177 func (*ResourceKey) Descriptor() ([]byte, []int) { 178 return file_engine_proto_resources_proto_rawDescGZIP(), []int{2} 179 } 180 181 func (x *ResourceKey) GetJobId() string { 182 if x != nil { 183 return x.JobId 184 } 185 return "" 186 } 187 188 func (x *ResourceKey) GetResourceId() string { 189 if x != nil { 190 return x.ResourceId 191 } 192 return "" 193 } 194 195 type QueryResourceRequest struct { 196 state protoimpl.MessageState 197 sizeCache protoimpl.SizeCache 198 unknownFields protoimpl.UnknownFields 199 200 ResourceKey *ResourceKey `protobuf:"bytes,1,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"` 201 } 202 203 func (x *QueryResourceRequest) Reset() { 204 *x = QueryResourceRequest{} 205 if protoimpl.UnsafeEnabled { 206 mi := &file_engine_proto_resources_proto_msgTypes[3] 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 ms.StoreMessageInfo(mi) 209 } 210 } 211 212 func (x *QueryResourceRequest) String() string { 213 return protoimpl.X.MessageStringOf(x) 214 } 215 216 func (*QueryResourceRequest) ProtoMessage() {} 217 218 func (x *QueryResourceRequest) ProtoReflect() protoreflect.Message { 219 mi := &file_engine_proto_resources_proto_msgTypes[3] 220 if protoimpl.UnsafeEnabled && x != nil { 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 if ms.LoadMessageInfo() == nil { 223 ms.StoreMessageInfo(mi) 224 } 225 return ms 226 } 227 return mi.MessageOf(x) 228 } 229 230 // Deprecated: Use QueryResourceRequest.ProtoReflect.Descriptor instead. 231 func (*QueryResourceRequest) Descriptor() ([]byte, []int) { 232 return file_engine_proto_resources_proto_rawDescGZIP(), []int{3} 233 } 234 235 func (x *QueryResourceRequest) GetResourceKey() *ResourceKey { 236 if x != nil { 237 return x.ResourceKey 238 } 239 return nil 240 } 241 242 type QueryResourceResponse struct { 243 state protoimpl.MessageState 244 sizeCache protoimpl.SizeCache 245 unknownFields protoimpl.UnknownFields 246 247 CreatorExecutor string `protobuf:"bytes,1,opt,name=creator_executor,json=creatorExecutor,proto3" json:"creator_executor,omitempty"` 248 JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` 249 CreatorWorkerId string `protobuf:"bytes,3,opt,name=creator_worker_id,json=creatorWorkerId,proto3" json:"creator_worker_id,omitempty"` 250 } 251 252 func (x *QueryResourceResponse) Reset() { 253 *x = QueryResourceResponse{} 254 if protoimpl.UnsafeEnabled { 255 mi := &file_engine_proto_resources_proto_msgTypes[4] 256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 257 ms.StoreMessageInfo(mi) 258 } 259 } 260 261 func (x *QueryResourceResponse) String() string { 262 return protoimpl.X.MessageStringOf(x) 263 } 264 265 func (*QueryResourceResponse) ProtoMessage() {} 266 267 func (x *QueryResourceResponse) ProtoReflect() protoreflect.Message { 268 mi := &file_engine_proto_resources_proto_msgTypes[4] 269 if protoimpl.UnsafeEnabled && x != nil { 270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 271 if ms.LoadMessageInfo() == nil { 272 ms.StoreMessageInfo(mi) 273 } 274 return ms 275 } 276 return mi.MessageOf(x) 277 } 278 279 // Deprecated: Use QueryResourceResponse.ProtoReflect.Descriptor instead. 280 func (*QueryResourceResponse) Descriptor() ([]byte, []int) { 281 return file_engine_proto_resources_proto_rawDescGZIP(), []int{4} 282 } 283 284 func (x *QueryResourceResponse) GetCreatorExecutor() string { 285 if x != nil { 286 return x.CreatorExecutor 287 } 288 return "" 289 } 290 291 func (x *QueryResourceResponse) GetJobId() string { 292 if x != nil { 293 return x.JobId 294 } 295 return "" 296 } 297 298 func (x *QueryResourceResponse) GetCreatorWorkerId() string { 299 if x != nil { 300 return x.CreatorWorkerId 301 } 302 return "" 303 } 304 305 type RemoveResourceRequest struct { 306 state protoimpl.MessageState 307 sizeCache protoimpl.SizeCache 308 unknownFields protoimpl.UnknownFields 309 310 ResourceKey *ResourceKey `protobuf:"bytes,1,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"` 311 } 312 313 func (x *RemoveResourceRequest) Reset() { 314 *x = RemoveResourceRequest{} 315 if protoimpl.UnsafeEnabled { 316 mi := &file_engine_proto_resources_proto_msgTypes[5] 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 ms.StoreMessageInfo(mi) 319 } 320 } 321 322 func (x *RemoveResourceRequest) String() string { 323 return protoimpl.X.MessageStringOf(x) 324 } 325 326 func (*RemoveResourceRequest) ProtoMessage() {} 327 328 func (x *RemoveResourceRequest) ProtoReflect() protoreflect.Message { 329 mi := &file_engine_proto_resources_proto_msgTypes[5] 330 if protoimpl.UnsafeEnabled && x != nil { 331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 332 if ms.LoadMessageInfo() == nil { 333 ms.StoreMessageInfo(mi) 334 } 335 return ms 336 } 337 return mi.MessageOf(x) 338 } 339 340 // Deprecated: Use RemoveResourceRequest.ProtoReflect.Descriptor instead. 341 func (*RemoveResourceRequest) Descriptor() ([]byte, []int) { 342 return file_engine_proto_resources_proto_rawDescGZIP(), []int{5} 343 } 344 345 func (x *RemoveResourceRequest) GetResourceKey() *ResourceKey { 346 if x != nil { 347 return x.ResourceKey 348 } 349 return nil 350 } 351 352 type RemoveResourceResponse struct { 353 state protoimpl.MessageState 354 sizeCache protoimpl.SizeCache 355 unknownFields protoimpl.UnknownFields 356 } 357 358 func (x *RemoveResourceResponse) Reset() { 359 *x = RemoveResourceResponse{} 360 if protoimpl.UnsafeEnabled { 361 mi := &file_engine_proto_resources_proto_msgTypes[6] 362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 363 ms.StoreMessageInfo(mi) 364 } 365 } 366 367 func (x *RemoveResourceResponse) String() string { 368 return protoimpl.X.MessageStringOf(x) 369 } 370 371 func (*RemoveResourceResponse) ProtoMessage() {} 372 373 func (x *RemoveResourceResponse) ProtoReflect() protoreflect.Message { 374 mi := &file_engine_proto_resources_proto_msgTypes[6] 375 if protoimpl.UnsafeEnabled && x != nil { 376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 377 if ms.LoadMessageInfo() == nil { 378 ms.StoreMessageInfo(mi) 379 } 380 return ms 381 } 382 return mi.MessageOf(x) 383 } 384 385 // Deprecated: Use RemoveResourceResponse.ProtoReflect.Descriptor instead. 386 func (*RemoveResourceResponse) Descriptor() ([]byte, []int) { 387 return file_engine_proto_resources_proto_rawDescGZIP(), []int{6} 388 } 389 390 var File_engine_proto_resources_proto protoreflect.FileDescriptor 391 392 var file_engine_proto_resources_proto_rawDesc = []byte{ 393 0x0a, 0x1c, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 394 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 395 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x1a, 0x1b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 396 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 397 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 398 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 399 0x38, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 400 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 401 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x70, 0x72, 402 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 403 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 404 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x72, 405 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x18, 0x03, 406 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x78, 0x65, 407 0x63, 0x75, 0x74, 0x6f, 0x72, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 408 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 409 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 410 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 411 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 412 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 413 0x73, 0x65, 0x22, 0x45, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 414 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 415 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 416 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 417 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x22, 0x50, 0x0a, 0x14, 0x51, 0x75, 0x65, 418 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 419 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 420 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 421 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x0b, 422 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x85, 0x01, 0x0a, 0x15, 423 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 424 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 425 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 426 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 427 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 428 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 429 0x6f, 0x72, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 430 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x65, 431 0x72, 0x49, 0x64, 0x22, 0x51, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 432 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c, 433 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 434 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 435 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 436 0x72, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 437 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 438 0x32, 0x93, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x6e, 439 0x61, 0x67, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 440 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 441 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 442 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 443 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 444 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x51, 445 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x65, 446 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 447 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65, 448 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 449 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 450 0x55, 0x0a, 0x0e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 451 0x65, 0x12, 0x1f, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6d, 452 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 453 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 454 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 455 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 456 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x63, 0x61, 0x70, 0x2f, 0x74, 0x69, 0x66, 457 0x6c, 0x6f, 0x77, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 458 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 459 } 460 461 var ( 462 file_engine_proto_resources_proto_rawDescOnce sync.Once 463 file_engine_proto_resources_proto_rawDescData = file_engine_proto_resources_proto_rawDesc 464 ) 465 466 func file_engine_proto_resources_proto_rawDescGZIP() []byte { 467 file_engine_proto_resources_proto_rawDescOnce.Do(func() { 468 file_engine_proto_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_engine_proto_resources_proto_rawDescData) 469 }) 470 return file_engine_proto_resources_proto_rawDescData 471 } 472 473 var file_engine_proto_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 474 var file_engine_proto_resources_proto_goTypes = []interface{}{ 475 (*CreateResourceRequest)(nil), // 0: enginepb.CreateResourceRequest 476 (*CreateResourceResponse)(nil), // 1: enginepb.CreateResourceResponse 477 (*ResourceKey)(nil), // 2: enginepb.ResourceKey 478 (*QueryResourceRequest)(nil), // 3: enginepb.QueryResourceRequest 479 (*QueryResourceResponse)(nil), // 4: enginepb.QueryResourceResponse 480 (*RemoveResourceRequest)(nil), // 5: enginepb.RemoveResourceRequest 481 (*RemoveResourceResponse)(nil), // 6: enginepb.RemoveResourceResponse 482 (*ProjectInfo)(nil), // 7: enginepb.ProjectInfo 483 } 484 var file_engine_proto_resources_proto_depIdxs = []int32{ 485 7, // 0: enginepb.CreateResourceRequest.project_info:type_name -> enginepb.ProjectInfo 486 2, // 1: enginepb.QueryResourceRequest.resource_key:type_name -> enginepb.ResourceKey 487 2, // 2: enginepb.RemoveResourceRequest.resource_key:type_name -> enginepb.ResourceKey 488 0, // 3: enginepb.ResourceManager.CreateResource:input_type -> enginepb.CreateResourceRequest 489 3, // 4: enginepb.ResourceManager.QueryResource:input_type -> enginepb.QueryResourceRequest 490 5, // 5: enginepb.ResourceManager.RemoveResource:input_type -> enginepb.RemoveResourceRequest 491 1, // 6: enginepb.ResourceManager.CreateResource:output_type -> enginepb.CreateResourceResponse 492 4, // 7: enginepb.ResourceManager.QueryResource:output_type -> enginepb.QueryResourceResponse 493 6, // 8: enginepb.ResourceManager.RemoveResource:output_type -> enginepb.RemoveResourceResponse 494 6, // [6:9] is the sub-list for method output_type 495 3, // [3:6] is the sub-list for method input_type 496 3, // [3:3] is the sub-list for extension type_name 497 3, // [3:3] is the sub-list for extension extendee 498 0, // [0:3] is the sub-list for field type_name 499 } 500 501 func init() { file_engine_proto_resources_proto_init() } 502 func file_engine_proto_resources_proto_init() { 503 if File_engine_proto_resources_proto != nil { 504 return 505 } 506 file_engine_proto_projects_proto_init() 507 if !protoimpl.UnsafeEnabled { 508 file_engine_proto_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 509 switch v := v.(*CreateResourceRequest); i { 510 case 0: 511 return &v.state 512 case 1: 513 return &v.sizeCache 514 case 2: 515 return &v.unknownFields 516 default: 517 return nil 518 } 519 } 520 file_engine_proto_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 521 switch v := v.(*CreateResourceResponse); i { 522 case 0: 523 return &v.state 524 case 1: 525 return &v.sizeCache 526 case 2: 527 return &v.unknownFields 528 default: 529 return nil 530 } 531 } 532 file_engine_proto_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 533 switch v := v.(*ResourceKey); i { 534 case 0: 535 return &v.state 536 case 1: 537 return &v.sizeCache 538 case 2: 539 return &v.unknownFields 540 default: 541 return nil 542 } 543 } 544 file_engine_proto_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 545 switch v := v.(*QueryResourceRequest); i { 546 case 0: 547 return &v.state 548 case 1: 549 return &v.sizeCache 550 case 2: 551 return &v.unknownFields 552 default: 553 return nil 554 } 555 } 556 file_engine_proto_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 557 switch v := v.(*QueryResourceResponse); i { 558 case 0: 559 return &v.state 560 case 1: 561 return &v.sizeCache 562 case 2: 563 return &v.unknownFields 564 default: 565 return nil 566 } 567 } 568 file_engine_proto_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 569 switch v := v.(*RemoveResourceRequest); i { 570 case 0: 571 return &v.state 572 case 1: 573 return &v.sizeCache 574 case 2: 575 return &v.unknownFields 576 default: 577 return nil 578 } 579 } 580 file_engine_proto_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 581 switch v := v.(*RemoveResourceResponse); i { 582 case 0: 583 return &v.state 584 case 1: 585 return &v.sizeCache 586 case 2: 587 return &v.unknownFields 588 default: 589 return nil 590 } 591 } 592 } 593 type x struct{} 594 out := protoimpl.TypeBuilder{ 595 File: protoimpl.DescBuilder{ 596 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 597 RawDescriptor: file_engine_proto_resources_proto_rawDesc, 598 NumEnums: 0, 599 NumMessages: 7, 600 NumExtensions: 0, 601 NumServices: 1, 602 }, 603 GoTypes: file_engine_proto_resources_proto_goTypes, 604 DependencyIndexes: file_engine_proto_resources_proto_depIdxs, 605 MessageInfos: file_engine_proto_resources_proto_msgTypes, 606 }.Build() 607 File_engine_proto_resources_proto = out.File 608 file_engine_proto_resources_proto_rawDesc = nil 609 file_engine_proto_resources_proto_goTypes = nil 610 file_engine_proto_resources_proto_depIdxs = nil 611 }