go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/swarming/internal/remoteworkers/bots.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v3.21.7 5 // source: go.chromium.org/luci/swarming/internal/remoteworkers/bots.proto 6 7 package remoteworkers 8 9 import ( 10 _ "google.golang.org/genproto/googleapis/api/annotations" 11 status "google.golang.org/genproto/googleapis/rpc/status" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 anypb "google.golang.org/protobuf/types/known/anypb" 15 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 16 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // A coarse description of the status of the bot that the server uses to 29 // determine whether to assign the bot new leases. 30 type BotStatus int32 31 32 const ( 33 // Default value; do not use. 34 BotStatus_BOT_STATUS_UNSPECIFIED BotStatus = 0 35 // The bot is healthy, and will accept leases as normal. 36 BotStatus_OK BotStatus = 1 37 // The bot is unhealthy and will not accept new leases. For example, the bot 38 // may have detected that available disk space is too low. This situation may 39 // resolve itself, but will typically require human intervention. 40 BotStatus_UNHEALTHY BotStatus = 2 41 // The bot has been asked to reboot the host. The bot will not accept new 42 // leases; once all leases are complete, this session will no longer be 43 // updated but the bot will be expected to establish a new session after the 44 // reboot completes. 45 BotStatus_HOST_REBOOTING BotStatus = 3 46 // The bot has been asked to shut down. As with HOST_REBOOTING, once all 47 // leases are completed, the session will no longer be updated and the bot 48 // will not be expected to establish a new session. 49 // 50 // Bots are typically only asked to shut down if its host computer will be 51 // modified in some way, such as deleting a VM. 52 BotStatus_BOT_TERMINATING BotStatus = 4 53 // The bot is initializing and is not ready to accept leases. 54 BotStatus_INITIALIZING BotStatus = 5 55 // The bot is in maintenance status. In this state, the bot will continue to 56 // be treated as online, but will not accept new leases. 57 BotStatus_MAINTENANCE BotStatus = 6 58 ) 59 60 // Enum value maps for BotStatus. 61 var ( 62 BotStatus_name = map[int32]string{ 63 0: "BOT_STATUS_UNSPECIFIED", 64 1: "OK", 65 2: "UNHEALTHY", 66 3: "HOST_REBOOTING", 67 4: "BOT_TERMINATING", 68 5: "INITIALIZING", 69 6: "MAINTENANCE", 70 } 71 BotStatus_value = map[string]int32{ 72 "BOT_STATUS_UNSPECIFIED": 0, 73 "OK": 1, 74 "UNHEALTHY": 2, 75 "HOST_REBOOTING": 3, 76 "BOT_TERMINATING": 4, 77 "INITIALIZING": 5, 78 "MAINTENANCE": 6, 79 } 80 ) 81 82 func (x BotStatus) Enum() *BotStatus { 83 p := new(BotStatus) 84 *p = x 85 return p 86 } 87 88 func (x BotStatus) String() string { 89 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 90 } 91 92 func (BotStatus) Descriptor() protoreflect.EnumDescriptor { 93 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes[0].Descriptor() 94 } 95 96 func (BotStatus) Type() protoreflect.EnumType { 97 return &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes[0] 98 } 99 100 func (x BotStatus) Number() protoreflect.EnumNumber { 101 return protoreflect.EnumNumber(x) 102 } 103 104 // Deprecated: Use BotStatus.Descriptor instead. 105 func (BotStatus) EnumDescriptor() ([]byte, []int) { 106 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{0} 107 } 108 109 // The state of the lease. All leases start in the PENDING state. A bot can 110 // change PENDING to ACTIVE or (in the case of an error) COMPLETED, or from 111 // ACTIVE to COMPLETED. The server can change PENDING or ACTIVE to CANCELLED if 112 // it wants the bot to release its resources - for example, if the bot needs to 113 // be quarantined (it's producing bad output) or a cell needs to be drained. 114 type LeaseState int32 115 116 const ( 117 // Default value; do not use. 118 LeaseState_LEASE_STATE_UNSPECIFIED LeaseState = 0 119 // Pending: the server expects the bot to accept this lease. This may only be 120 // set by the server. 121 LeaseState_PENDING LeaseState = 1 122 // Active: the bot has accepted this lease. This may only be set by the bot. 123 LeaseState_ACTIVE LeaseState = 2 124 // Completed: the bot is no longer leased. This may only be set by the bot, 125 // and the status field must be populated iff the state is COMPLETED. 126 LeaseState_COMPLETED LeaseState = 4 127 // Cancelled: The bot should immediately release all resources associated with 128 // the lease. This may only be set by the server. 129 LeaseState_CANCELLED LeaseState = 5 130 ) 131 132 // Enum value maps for LeaseState. 133 var ( 134 LeaseState_name = map[int32]string{ 135 0: "LEASE_STATE_UNSPECIFIED", 136 1: "PENDING", 137 2: "ACTIVE", 138 4: "COMPLETED", 139 5: "CANCELLED", 140 } 141 LeaseState_value = map[string]int32{ 142 "LEASE_STATE_UNSPECIFIED": 0, 143 "PENDING": 1, 144 "ACTIVE": 2, 145 "COMPLETED": 4, 146 "CANCELLED": 5, 147 } 148 ) 149 150 func (x LeaseState) Enum() *LeaseState { 151 p := new(LeaseState) 152 *p = x 153 return p 154 } 155 156 func (x LeaseState) String() string { 157 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 158 } 159 160 func (LeaseState) Descriptor() protoreflect.EnumDescriptor { 161 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes[1].Descriptor() 162 } 163 164 func (LeaseState) Type() protoreflect.EnumType { 165 return &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes[1] 166 } 167 168 func (x LeaseState) Number() protoreflect.EnumNumber { 169 return protoreflect.EnumNumber(x) 170 } 171 172 // Deprecated: Use LeaseState.Descriptor instead. 173 func (LeaseState) EnumDescriptor() ([]byte, []int) { 174 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{1} 175 } 176 177 // Possible administration actions. 178 type AdminTemp_Command int32 179 180 const ( 181 // Illegal value. 182 AdminTemp_UNSPECIFIED AdminTemp_Command = 0 183 // Download and run a new version of the bot. `arg` will be a resource 184 // accessible via `ByteStream.Read` to obtain the new bot code. 185 AdminTemp_BOT_UPDATE AdminTemp_Command = 1 186 // Restart the bot without downloading a new version. `arg` will be a 187 // message to log. 188 AdminTemp_BOT_RESTART AdminTemp_Command = 2 189 // Shut down the bot. `arg` will be a task resource name (similar to those 190 // in tasks.proto) that the bot can use to tell the server that it is 191 // terminating. 192 AdminTemp_BOT_TERMINATE AdminTemp_Command = 3 193 // Restart the host computer. `arg` will be a message to log. 194 AdminTemp_HOST_RESTART AdminTemp_Command = 4 195 ) 196 197 // Enum value maps for AdminTemp_Command. 198 var ( 199 AdminTemp_Command_name = map[int32]string{ 200 0: "UNSPECIFIED", 201 1: "BOT_UPDATE", 202 2: "BOT_RESTART", 203 3: "BOT_TERMINATE", 204 4: "HOST_RESTART", 205 } 206 AdminTemp_Command_value = map[string]int32{ 207 "UNSPECIFIED": 0, 208 "BOT_UPDATE": 1, 209 "BOT_RESTART": 2, 210 "BOT_TERMINATE": 3, 211 "HOST_RESTART": 4, 212 } 213 ) 214 215 func (x AdminTemp_Command) Enum() *AdminTemp_Command { 216 p := new(AdminTemp_Command) 217 *p = x 218 return p 219 } 220 221 func (x AdminTemp_Command) String() string { 222 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 223 } 224 225 func (AdminTemp_Command) Descriptor() protoreflect.EnumDescriptor { 226 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes[2].Descriptor() 227 } 228 229 func (AdminTemp_Command) Type() protoreflect.EnumType { 230 return &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes[2] 231 } 232 233 func (x AdminTemp_Command) Number() protoreflect.EnumNumber { 234 return protoreflect.EnumNumber(x) 235 } 236 237 // Deprecated: Use AdminTemp_Command.Descriptor instead. 238 func (AdminTemp_Command) EnumDescriptor() ([]byte, []int) { 239 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{2, 0} 240 } 241 242 // A bot session represents the state of a bot while in continuous contact with 243 // the server for a period of time. The session includes information about the 244 // worker - that is, the *worker* (the physical or virtual hardware) is 245 // considered to be a property of the bot (the software agent running on that 246 // hardware), which is the reverse of real life, but more natural from the point 247 // of the view of this API, which communicates solely with the bot and not 248 // directly with the underlying worker. 249 type BotSession struct { 250 state protoimpl.MessageState 251 sizeCache protoimpl.SizeCache 252 unknownFields protoimpl.UnknownFields 253 254 // The bot session name, as selected by the server. Output only during a call 255 // to CreateBotSession. 256 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 257 // A unique bot ID within the farm used to persistently identify this bot over 258 // time (i.e., over multiple sessions). This ID must be unique within a 259 // farm. Typically, the bot ID will be the same as the name of the primary 260 // device in the worker (e.g., what you'd get from typing `uname -n` on *nix), 261 // but this is not required since a single device may allow multiple bots to 262 // run on it, each with access to different resources. What is important is 263 // that this ID is meaningful to humans, who might need to hunt a physical 264 // machine down to fix it. 265 // 266 // When CreateBotSession is successfully called with a bot_id, all prior 267 // sessions with the same ID are invalidated. If a bot attempts to update an 268 // invalid session, the server must reject that request, and may also 269 // quarantine the other bot with the same bot IDs (ie, stop sending it new 270 // leases and alert an admin). 271 BotId string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` 272 // The status of the bot. This must be populated in every call to 273 // UpdateBotSession. 274 Status BotStatus `protobuf:"varint,3,opt,name=status,proto3,enum=google.devtools.remoteworkers.v1test2.BotStatus" json:"status,omitempty"` 275 // A description of the worker hosting this bot. The Worker message is used 276 // here in the Status context (see Worker for more information). If multiple 277 // bots are running on the worker, this field should only describe the 278 // resources accessible from this bot. 279 // 280 // During the call to CreateBotSession, the server may make arbitrary changes 281 // to the worker's `server_properties` field (see that field for more 282 // information). Otherwise, this field is input-only. 283 Worker *Worker `protobuf:"bytes,4,opt,name=worker,proto3" json:"worker,omitempty"` 284 // A list of all leases that are a part of this session. See the Lease message 285 // for details. 286 Leases []*Lease `protobuf:"bytes,5,rep,name=leases,proto3" json:"leases,omitempty"` 287 // The time at which this bot session will expire, unless the bot calls 288 // UpdateBotSession again. Output only. 289 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` 290 // The version of the bot code currently running. The server may use this 291 // information to issue an admin action to tell the bot to update itself. 292 Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` 293 } 294 295 func (x *BotSession) Reset() { 296 *x = BotSession{} 297 if protoimpl.UnsafeEnabled { 298 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[0] 299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 300 ms.StoreMessageInfo(mi) 301 } 302 } 303 304 func (x *BotSession) String() string { 305 return protoimpl.X.MessageStringOf(x) 306 } 307 308 func (*BotSession) ProtoMessage() {} 309 310 func (x *BotSession) ProtoReflect() protoreflect.Message { 311 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[0] 312 if protoimpl.UnsafeEnabled && x != nil { 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 if ms.LoadMessageInfo() == nil { 315 ms.StoreMessageInfo(mi) 316 } 317 return ms 318 } 319 return mi.MessageOf(x) 320 } 321 322 // Deprecated: Use BotSession.ProtoReflect.Descriptor instead. 323 func (*BotSession) Descriptor() ([]byte, []int) { 324 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{0} 325 } 326 327 func (x *BotSession) GetName() string { 328 if x != nil { 329 return x.Name 330 } 331 return "" 332 } 333 334 func (x *BotSession) GetBotId() string { 335 if x != nil { 336 return x.BotId 337 } 338 return "" 339 } 340 341 func (x *BotSession) GetStatus() BotStatus { 342 if x != nil { 343 return x.Status 344 } 345 return BotStatus_BOT_STATUS_UNSPECIFIED 346 } 347 348 func (x *BotSession) GetWorker() *Worker { 349 if x != nil { 350 return x.Worker 351 } 352 return nil 353 } 354 355 func (x *BotSession) GetLeases() []*Lease { 356 if x != nil { 357 return x.Leases 358 } 359 return nil 360 } 361 362 func (x *BotSession) GetExpireTime() *timestamppb.Timestamp { 363 if x != nil { 364 return x.ExpireTime 365 } 366 return nil 367 } 368 369 func (x *BotSession) GetVersion() string { 370 if x != nil { 371 return x.Version 372 } 373 return "" 374 } 375 376 // A Lease is a lease that the scheduler has assigned to this bot. If the bot 377 // notices (by UpdateBotSession) that it has any leases in the PENDING state, it 378 // should call UpdateBotSession to put the leases into the ACTIVE state and 379 // start executing their assignments. 380 // 381 // All fields in this message are output-only, *except* the `state` and `status` 382 // fields. Note that repeated fields can only be updated as a unit, so on every 383 // update the bot must provide an update for *all* the leases the server expects 384 // it to report on. 385 // 386 // The scheduler *should* ensure that all leases scheduled to a bot can actually 387 // be accepted, but race conditions may occur. In such cases, the bot should 388 // attempt to accept the leases in the order they are listed by the server, to 389 // allow the server to control priorities. 390 // 391 // The server will remove COMPLETED leases from time to time, after which the 392 // bot shouldn't report on them any more (the server will ignore superfluous 393 // COMPLETED records). 394 type Lease struct { 395 state protoimpl.MessageState 396 sizeCache protoimpl.SizeCache 397 unknownFields protoimpl.UnknownFields 398 399 // A short string uniquely identifing the lease within this bot session. 400 Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` 401 // The actual work to be performed, if any. May be omitted by the server if 402 // the lease is not in the `PENDING` state. The message must be meaningful to 403 // the bot. Output only (must only be set by the server). 404 Payload *anypb.Any `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` 405 // Any result the bot wishes to provide about the lease. Must not be changed 406 // after the first call with the lease in the `COMPLETED` or `CANCELLED` 407 // state. Input only (must only be set by the bot, will not be echoed by the 408 // server). 409 Result *anypb.Any `protobuf:"bytes,9,opt,name=result,proto3" json:"result,omitempty"` 410 // The state of the lease. See LeaseState for more information. 411 State LeaseState `protobuf:"varint,2,opt,name=state,proto3,enum=google.devtools.remoteworkers.v1test2.LeaseState" json:"state,omitempty"` 412 // The final status of the lease (should be populated by the bot if the state 413 // is completed). This is the status of the lease, not of any task represented 414 // by the lease. For example, if the bot could not accept the lease because it 415 // asked for some resource the bot didn't have, this status will be 416 // FAILED_PRECONDITION. But if the assignment in the lease didn't execute 417 // correctly, this field will be `OK` while the failure of the assignment must 418 // communicated via the `result` field. 419 Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` 420 // The requirements that are being claimed by this lease. This field may be 421 // omitted by the server if the lease is not pending. 422 Requirements *Worker `protobuf:"bytes,4,opt,name=requirements,proto3" json:"requirements,omitempty"` 423 // The time at which this lease expires. The server *may* extend this over 424 // time, but due to race conditions, the bot is not *required* to respect any 425 // expiry date except the first one. 426 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` 427 // DEPRECATED. The assignment should be provided to the bot via the `payload` 428 // field. Clients that wish to use a simple name (such as a queue of work 429 // provided elsewhere) should define a custom message type and encode it into 430 // `payload`. 431 // 432 // Deprecated: Marked as deprecated in go.chromium.org/luci/swarming/internal/remoteworkers/bots.proto. 433 Assignment string `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` 434 // DEPRECATED. Use `payload` instead. 435 // 436 // Deprecated: Marked as deprecated in go.chromium.org/luci/swarming/internal/remoteworkers/bots.proto. 437 InlineAssignment *anypb.Any `protobuf:"bytes,6,opt,name=inline_assignment,json=inlineAssignment,proto3" json:"inline_assignment,omitempty"` 438 } 439 440 func (x *Lease) Reset() { 441 *x = Lease{} 442 if protoimpl.UnsafeEnabled { 443 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[1] 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 ms.StoreMessageInfo(mi) 446 } 447 } 448 449 func (x *Lease) String() string { 450 return protoimpl.X.MessageStringOf(x) 451 } 452 453 func (*Lease) ProtoMessage() {} 454 455 func (x *Lease) ProtoReflect() protoreflect.Message { 456 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[1] 457 if protoimpl.UnsafeEnabled && x != nil { 458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 459 if ms.LoadMessageInfo() == nil { 460 ms.StoreMessageInfo(mi) 461 } 462 return ms 463 } 464 return mi.MessageOf(x) 465 } 466 467 // Deprecated: Use Lease.ProtoReflect.Descriptor instead. 468 func (*Lease) Descriptor() ([]byte, []int) { 469 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{1} 470 } 471 472 func (x *Lease) GetId() string { 473 if x != nil { 474 return x.Id 475 } 476 return "" 477 } 478 479 func (x *Lease) GetPayload() *anypb.Any { 480 if x != nil { 481 return x.Payload 482 } 483 return nil 484 } 485 486 func (x *Lease) GetResult() *anypb.Any { 487 if x != nil { 488 return x.Result 489 } 490 return nil 491 } 492 493 func (x *Lease) GetState() LeaseState { 494 if x != nil { 495 return x.State 496 } 497 return LeaseState_LEASE_STATE_UNSPECIFIED 498 } 499 500 func (x *Lease) GetStatus() *status.Status { 501 if x != nil { 502 return x.Status 503 } 504 return nil 505 } 506 507 func (x *Lease) GetRequirements() *Worker { 508 if x != nil { 509 return x.Requirements 510 } 511 return nil 512 } 513 514 func (x *Lease) GetExpireTime() *timestamppb.Timestamp { 515 if x != nil { 516 return x.ExpireTime 517 } 518 return nil 519 } 520 521 // Deprecated: Marked as deprecated in go.chromium.org/luci/swarming/internal/remoteworkers/bots.proto. 522 func (x *Lease) GetAssignment() string { 523 if x != nil { 524 return x.Assignment 525 } 526 return "" 527 } 528 529 // Deprecated: Marked as deprecated in go.chromium.org/luci/swarming/internal/remoteworkers/bots.proto. 530 func (x *Lease) GetInlineAssignment() *anypb.Any { 531 if x != nil { 532 return x.InlineAssignment 533 } 534 return nil 535 } 536 537 // AdminTemp is a prelimiary set of administration tasks. It's called "Temp" 538 // because we do not yet know the best way to represent admin tasks; it's 539 // possible that this will be entirely replaced in later versions of this API. 540 // If this message proves to be sufficient, it will be renamed in the alpha or 541 // beta release of this API. 542 // 543 // This message (suitably marshalled into a protobuf.Any) can be used as the 544 // inline_assignment field in a lease; the lease assignment field should simply 545 // be `"admin"` in these cases. 546 // 547 // This message is heavily based on Swarming administration tasks from the LUCI 548 // project (http://github.com/luci/luci-py/appengine/swarming). 549 type AdminTemp struct { 550 state protoimpl.MessageState 551 sizeCache protoimpl.SizeCache 552 unknownFields protoimpl.UnknownFields 553 554 // The admin action; see `Command` for legal values. 555 Command AdminTemp_Command `protobuf:"varint,1,opt,name=command,proto3,enum=google.devtools.remoteworkers.v1test2.AdminTemp_Command" json:"command,omitempty"` 556 // The argument to the admin action; see `Command` for semantics. 557 Arg string `protobuf:"bytes,2,opt,name=arg,proto3" json:"arg,omitempty"` 558 } 559 560 func (x *AdminTemp) Reset() { 561 *x = AdminTemp{} 562 if protoimpl.UnsafeEnabled { 563 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[2] 564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 565 ms.StoreMessageInfo(mi) 566 } 567 } 568 569 func (x *AdminTemp) String() string { 570 return protoimpl.X.MessageStringOf(x) 571 } 572 573 func (*AdminTemp) ProtoMessage() {} 574 575 func (x *AdminTemp) ProtoReflect() protoreflect.Message { 576 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[2] 577 if protoimpl.UnsafeEnabled && x != nil { 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 if ms.LoadMessageInfo() == nil { 580 ms.StoreMessageInfo(mi) 581 } 582 return ms 583 } 584 return mi.MessageOf(x) 585 } 586 587 // Deprecated: Use AdminTemp.ProtoReflect.Descriptor instead. 588 func (*AdminTemp) Descriptor() ([]byte, []int) { 589 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{2} 590 } 591 592 func (x *AdminTemp) GetCommand() AdminTemp_Command { 593 if x != nil { 594 return x.Command 595 } 596 return AdminTemp_UNSPECIFIED 597 } 598 599 func (x *AdminTemp) GetArg() string { 600 if x != nil { 601 return x.Arg 602 } 603 return "" 604 } 605 606 // Request message for CreateBotSession. 607 type CreateBotSessionRequest struct { 608 state protoimpl.MessageState 609 sizeCache protoimpl.SizeCache 610 unknownFields protoimpl.UnknownFields 611 612 // The farm resource. 613 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 614 // The bot session to create. Server-assigned fields like name must be unset. 615 BotSession *BotSession `protobuf:"bytes,2,opt,name=bot_session,json=botSession,proto3" json:"bot_session,omitempty"` 616 } 617 618 func (x *CreateBotSessionRequest) Reset() { 619 *x = CreateBotSessionRequest{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[3] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625 } 626 627 func (x *CreateBotSessionRequest) String() string { 628 return protoimpl.X.MessageStringOf(x) 629 } 630 631 func (*CreateBotSessionRequest) ProtoMessage() {} 632 633 func (x *CreateBotSessionRequest) ProtoReflect() protoreflect.Message { 634 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[3] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643 } 644 645 // Deprecated: Use CreateBotSessionRequest.ProtoReflect.Descriptor instead. 646 func (*CreateBotSessionRequest) Descriptor() ([]byte, []int) { 647 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{3} 648 } 649 650 func (x *CreateBotSessionRequest) GetParent() string { 651 if x != nil { 652 return x.Parent 653 } 654 return "" 655 } 656 657 func (x *CreateBotSessionRequest) GetBotSession() *BotSession { 658 if x != nil { 659 return x.BotSession 660 } 661 return nil 662 } 663 664 // Request message for UpdateBotSession. 665 type UpdateBotSessionRequest struct { 666 state protoimpl.MessageState 667 sizeCache protoimpl.SizeCache 668 unknownFields protoimpl.UnknownFields 669 670 // The bot session name. Must match bot_session.name. 671 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 672 // The bot session resource to update. 673 BotSession *BotSession `protobuf:"bytes,2,opt,name=bot_session,json=botSession,proto3" json:"bot_session,omitempty"` 674 // The fields on the bot that should be updated. See the BotSession resource 675 // for which fields are updatable by which caller. 676 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 677 } 678 679 func (x *UpdateBotSessionRequest) Reset() { 680 *x = UpdateBotSessionRequest{} 681 if protoimpl.UnsafeEnabled { 682 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[4] 683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 684 ms.StoreMessageInfo(mi) 685 } 686 } 687 688 func (x *UpdateBotSessionRequest) String() string { 689 return protoimpl.X.MessageStringOf(x) 690 } 691 692 func (*UpdateBotSessionRequest) ProtoMessage() {} 693 694 func (x *UpdateBotSessionRequest) ProtoReflect() protoreflect.Message { 695 mi := &file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[4] 696 if protoimpl.UnsafeEnabled && x != nil { 697 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 698 if ms.LoadMessageInfo() == nil { 699 ms.StoreMessageInfo(mi) 700 } 701 return ms 702 } 703 return mi.MessageOf(x) 704 } 705 706 // Deprecated: Use UpdateBotSessionRequest.ProtoReflect.Descriptor instead. 707 func (*UpdateBotSessionRequest) Descriptor() ([]byte, []int) { 708 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP(), []int{4} 709 } 710 711 func (x *UpdateBotSessionRequest) GetName() string { 712 if x != nil { 713 return x.Name 714 } 715 return "" 716 } 717 718 func (x *UpdateBotSessionRequest) GetBotSession() *BotSession { 719 if x != nil { 720 return x.BotSession 721 } 722 return nil 723 } 724 725 func (x *UpdateBotSessionRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 726 if x != nil { 727 return x.UpdateMask 728 } 729 return nil 730 } 731 732 var File_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto protoreflect.FileDescriptor 733 734 var file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDesc = []byte{ 735 0x0a, 0x3f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 736 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2f, 737 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 738 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 739 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 740 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 741 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 742 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 743 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 744 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 745 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 746 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 747 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 748 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 749 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 750 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 751 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 752 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 753 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 754 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 755 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 756 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 757 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 758 0x67, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 759 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 760 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x03, 0x0a, 0x0a, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 761 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 762 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x62, 0x6f, 0x74, 0x5f, 763 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 764 0x48, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 765 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 766 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 767 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 0x42, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 768 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x45, 0x0a, 0x06, 0x77, 0x6f, 0x72, 769 0x6b, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 770 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 771 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 772 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x06, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 773 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 774 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 775 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 776 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x06, 777 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 778 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 779 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 780 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 781 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 782 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3a, 0x56, 0xea, 783 0x41, 0x53, 0x0a, 0x27, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 784 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 785 0x2f, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x7b, 0x75, 0x6e, 786 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x7d, 0x2f, 0x62, 0x6f, 0x74, 0x53, 787 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 788 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xe5, 0x03, 0x0a, 0x05, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x12, 789 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 790 0x2e, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 791 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 792 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 793 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 794 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 795 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x47, 0x0a, 796 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 797 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 798 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 799 0x65, 0x73, 0x74, 0x32, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 800 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 801 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 802 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 803 0x75, 0x73, 0x12, 0x51, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 804 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 805 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 806 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 807 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 808 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 809 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 810 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 811 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 812 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 813 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x69, 814 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x11, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 815 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 816 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 817 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x69, 0x6e, 0x6c, 818 0x69, 0x6e, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xd3, 0x01, 819 0x0a, 0x09, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x12, 0x52, 0x0a, 0x07, 0x63, 820 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 821 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 822 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 823 0x65, 0x73, 0x74, 0x32, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x2e, 0x43, 824 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 825 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 826 0x67, 0x22, 0x60, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0f, 0x0a, 0x0b, 827 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 828 0x0a, 0x42, 0x4f, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 829 0x0b, 0x42, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x11, 830 0x0a, 0x0d, 0x42, 0x4f, 0x54, 0x5f, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x10, 831 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, 832 0x54, 0x10, 0x04, 0x22, 0x8f, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 833 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 834 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 835 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x57, 0x0a, 0x0b, 836 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 837 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 838 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 839 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 840 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x62, 0x6f, 0x74, 0x53, 0x65, 841 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf9, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 842 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 843 0x74, 0x12, 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 844 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 845 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 846 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 847 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0b, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 848 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 849 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 850 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 851 0x73, 0x74, 0x32, 0x2e, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x03, 852 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x62, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 853 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 854 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 855 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 856 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 857 0x6b, 0x2a, 0x8a, 0x01, 0x0a, 0x09, 0x42, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 858 0x1a, 0x0a, 0x16, 0x42, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 859 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 860 0x4b, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 861 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x52, 0x45, 0x42, 0x4f, 0x4f, 862 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x4f, 0x54, 0x5f, 0x54, 0x45, 863 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x49, 864 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0f, 0x0a, 865 0x0b, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x06, 0x2a, 0x60, 866 0x0a, 0x0a, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x17, 867 0x4c, 0x45, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 868 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 869 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 870 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 871 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x05, 872 0x32, 0xec, 0x03, 0x0a, 0x04, 0x42, 0x6f, 0x74, 0x73, 0x12, 0xe6, 0x01, 0x0a, 0x10, 0x43, 0x72, 873 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 874 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 875 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 876 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x74, 877 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 878 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 879 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 880 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 881 0x6e, 0x22, 0x5f, 0xda, 0x41, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x62, 0x6f, 0x74, 882 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 883 0x74, 0x2c, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 884 0x93, 0x02, 0x2f, 0x3a, 0x0b, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 885 0x22, 0x20, 0x2f, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 886 0x6e, 0x74, 0x3d, 0x2a, 0x2a, 0x7d, 0x2f, 0x62, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 887 0x6e, 0x73, 0x12, 0xfa, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x74, 888 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 889 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 890 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 891 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 892 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 893 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 894 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 895 0x42, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0xda, 0x41, 0x1c, 0x6e, 896 0x61, 0x6d, 0x65, 0x2c, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 897 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xda, 0x41, 0x1c, 0x6e, 0x61, 898 0x6d, 0x65, 0x2c, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x75, 899 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 900 0x3a, 0x0b, 0x62, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x20, 0x2f, 901 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x2a, 0x2a, 902 0x2f, 0x62, 0x6f, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 903 0xa3, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 904 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x77, 0x6f, 905 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x74, 0x65, 0x73, 0x74, 0x32, 0x42, 0x11, 0x52, 906 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x42, 0x6f, 0x74, 0x73, 907 0x50, 0x01, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 908 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 909 0x67, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 910 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0xa2, 0x02, 0x02, 0x52, 0x57, 0xaa, 0x02, 0x25, 911 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x44, 0x65, 0x76, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 912 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x56, 0x31, 913 0x54, 0x65, 0x73, 0x74, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 914 } 915 916 var ( 917 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescOnce sync.Once 918 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescData = file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDesc 919 ) 920 921 func file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescGZIP() []byte { 922 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescOnce.Do(func() { 923 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescData) 924 }) 925 return file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDescData 926 } 927 928 var file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 929 var file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 930 var file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_goTypes = []interface{}{ 931 (BotStatus)(0), // 0: google.devtools.remoteworkers.v1test2.BotStatus 932 (LeaseState)(0), // 1: google.devtools.remoteworkers.v1test2.LeaseState 933 (AdminTemp_Command)(0), // 2: google.devtools.remoteworkers.v1test2.AdminTemp.Command 934 (*BotSession)(nil), // 3: google.devtools.remoteworkers.v1test2.BotSession 935 (*Lease)(nil), // 4: google.devtools.remoteworkers.v1test2.Lease 936 (*AdminTemp)(nil), // 5: google.devtools.remoteworkers.v1test2.AdminTemp 937 (*CreateBotSessionRequest)(nil), // 6: google.devtools.remoteworkers.v1test2.CreateBotSessionRequest 938 (*UpdateBotSessionRequest)(nil), // 7: google.devtools.remoteworkers.v1test2.UpdateBotSessionRequest 939 (*Worker)(nil), // 8: google.devtools.remoteworkers.v1test2.Worker 940 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp 941 (*anypb.Any)(nil), // 10: google.protobuf.Any 942 (*status.Status)(nil), // 11: google.rpc.Status 943 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask 944 } 945 var file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_depIdxs = []int32{ 946 0, // 0: google.devtools.remoteworkers.v1test2.BotSession.status:type_name -> google.devtools.remoteworkers.v1test2.BotStatus 947 8, // 1: google.devtools.remoteworkers.v1test2.BotSession.worker:type_name -> google.devtools.remoteworkers.v1test2.Worker 948 4, // 2: google.devtools.remoteworkers.v1test2.BotSession.leases:type_name -> google.devtools.remoteworkers.v1test2.Lease 949 9, // 3: google.devtools.remoteworkers.v1test2.BotSession.expire_time:type_name -> google.protobuf.Timestamp 950 10, // 4: google.devtools.remoteworkers.v1test2.Lease.payload:type_name -> google.protobuf.Any 951 10, // 5: google.devtools.remoteworkers.v1test2.Lease.result:type_name -> google.protobuf.Any 952 1, // 6: google.devtools.remoteworkers.v1test2.Lease.state:type_name -> google.devtools.remoteworkers.v1test2.LeaseState 953 11, // 7: google.devtools.remoteworkers.v1test2.Lease.status:type_name -> google.rpc.Status 954 8, // 8: google.devtools.remoteworkers.v1test2.Lease.requirements:type_name -> google.devtools.remoteworkers.v1test2.Worker 955 9, // 9: google.devtools.remoteworkers.v1test2.Lease.expire_time:type_name -> google.protobuf.Timestamp 956 10, // 10: google.devtools.remoteworkers.v1test2.Lease.inline_assignment:type_name -> google.protobuf.Any 957 2, // 11: google.devtools.remoteworkers.v1test2.AdminTemp.command:type_name -> google.devtools.remoteworkers.v1test2.AdminTemp.Command 958 3, // 12: google.devtools.remoteworkers.v1test2.CreateBotSessionRequest.bot_session:type_name -> google.devtools.remoteworkers.v1test2.BotSession 959 3, // 13: google.devtools.remoteworkers.v1test2.UpdateBotSessionRequest.bot_session:type_name -> google.devtools.remoteworkers.v1test2.BotSession 960 12, // 14: google.devtools.remoteworkers.v1test2.UpdateBotSessionRequest.update_mask:type_name -> google.protobuf.FieldMask 961 6, // 15: google.devtools.remoteworkers.v1test2.Bots.CreateBotSession:input_type -> google.devtools.remoteworkers.v1test2.CreateBotSessionRequest 962 7, // 16: google.devtools.remoteworkers.v1test2.Bots.UpdateBotSession:input_type -> google.devtools.remoteworkers.v1test2.UpdateBotSessionRequest 963 3, // 17: google.devtools.remoteworkers.v1test2.Bots.CreateBotSession:output_type -> google.devtools.remoteworkers.v1test2.BotSession 964 3, // 18: google.devtools.remoteworkers.v1test2.Bots.UpdateBotSession:output_type -> google.devtools.remoteworkers.v1test2.BotSession 965 17, // [17:19] is the sub-list for method output_type 966 15, // [15:17] is the sub-list for method input_type 967 15, // [15:15] is the sub-list for extension type_name 968 15, // [15:15] is the sub-list for extension extendee 969 0, // [0:15] is the sub-list for field type_name 970 } 971 972 func init() { file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_init() } 973 func file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_init() { 974 if File_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto != nil { 975 return 976 } 977 file_go_chromium_org_luci_swarming_internal_remoteworkers_worker_proto_init() 978 if !protoimpl.UnsafeEnabled { 979 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 980 switch v := v.(*BotSession); i { 981 case 0: 982 return &v.state 983 case 1: 984 return &v.sizeCache 985 case 2: 986 return &v.unknownFields 987 default: 988 return nil 989 } 990 } 991 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 992 switch v := v.(*Lease); i { 993 case 0: 994 return &v.state 995 case 1: 996 return &v.sizeCache 997 case 2: 998 return &v.unknownFields 999 default: 1000 return nil 1001 } 1002 } 1003 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1004 switch v := v.(*AdminTemp); i { 1005 case 0: 1006 return &v.state 1007 case 1: 1008 return &v.sizeCache 1009 case 2: 1010 return &v.unknownFields 1011 default: 1012 return nil 1013 } 1014 } 1015 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1016 switch v := v.(*CreateBotSessionRequest); i { 1017 case 0: 1018 return &v.state 1019 case 1: 1020 return &v.sizeCache 1021 case 2: 1022 return &v.unknownFields 1023 default: 1024 return nil 1025 } 1026 } 1027 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1028 switch v := v.(*UpdateBotSessionRequest); i { 1029 case 0: 1030 return &v.state 1031 case 1: 1032 return &v.sizeCache 1033 case 2: 1034 return &v.unknownFields 1035 default: 1036 return nil 1037 } 1038 } 1039 } 1040 type x struct{} 1041 out := protoimpl.TypeBuilder{ 1042 File: protoimpl.DescBuilder{ 1043 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1044 RawDescriptor: file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDesc, 1045 NumEnums: 3, 1046 NumMessages: 5, 1047 NumExtensions: 0, 1048 NumServices: 1, 1049 }, 1050 GoTypes: file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_goTypes, 1051 DependencyIndexes: file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_depIdxs, 1052 EnumInfos: file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_enumTypes, 1053 MessageInfos: file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_msgTypes, 1054 }.Build() 1055 File_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto = out.File 1056 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_rawDesc = nil 1057 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_goTypes = nil 1058 file_go_chromium_org_luci_swarming_internal_remoteworkers_bots_proto_depIdxs = nil 1059 }