| // Copyright 2018 The LUCI Authors. All rights reserved. |
| // Use of this source code is governed under the Apache License, Version 2.0 |
| // that can be found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.31.0 |
| // protoc v3.21.7 |
| // source: go.chromium.org/luci/buildbucket/appengine/tasks/defs/tasks.proto |
| |
| package taskdefs |
| |
| import ( |
| proto "go.chromium.org/luci/buildbucket/proto" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // A task to cancel a Swarming task in Python. |
| type CancelSwarmingTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Hostname (e.g. "chromium-swarm.appspot.com") where the task should be |
| // cancelled. |
| Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| // Swarming task ID to cancel. |
| TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` |
| // LUCI realm the task belongs to. |
| Realm string `protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"` |
| } |
| |
| func (x *CancelSwarmingTask) Reset() { |
| *x = CancelSwarmingTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CancelSwarmingTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CancelSwarmingTask) ProtoMessage() {} |
| |
| func (x *CancelSwarmingTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CancelSwarmingTask.ProtoReflect.Descriptor instead. |
| func (*CancelSwarmingTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *CancelSwarmingTask) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *CancelSwarmingTask) GetTaskId() string { |
| if x != nil { |
| return x.TaskId |
| } |
| return "" |
| } |
| |
| func (x *CancelSwarmingTask) GetRealm() string { |
| if x != nil { |
| return x.Realm |
| } |
| return "" |
| } |
| |
| // A task to cancel a Swarming task in Go. |
| type CancelSwarmingTaskGo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Hostname (e.g. "chromium-swarm.appspot.com") where the task should be |
| // cancelled. |
| Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` |
| // Swarming task ID to cancel. |
| TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` |
| // LUCI realm the task belongs to. |
| Realm string `protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"` |
| } |
| |
| func (x *CancelSwarmingTaskGo) Reset() { |
| *x = CancelSwarmingTaskGo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CancelSwarmingTaskGo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CancelSwarmingTaskGo) ProtoMessage() {} |
| |
| func (x *CancelSwarmingTaskGo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CancelSwarmingTaskGo.ProtoReflect.Descriptor instead. |
| func (*CancelSwarmingTaskGo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *CancelSwarmingTaskGo) GetHostname() string { |
| if x != nil { |
| return x.Hostname |
| } |
| return "" |
| } |
| |
| func (x *CancelSwarmingTaskGo) GetTaskId() string { |
| if x != nil { |
| return x.TaskId |
| } |
| return "" |
| } |
| |
| func (x *CancelSwarmingTaskGo) GetRealm() string { |
| if x != nil { |
| return x.Realm |
| } |
| return "" |
| } |
| |
| // A task to create a Swarming task. |
| // TODO(crbug.com/1328646): Delete it after swarming-build-create migration is done. |
| type CreateSwarmingTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *CreateSwarmingTask) Reset() { |
| *x = CreateSwarmingTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateSwarmingTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateSwarmingTask) ProtoMessage() {} |
| |
| func (x *CreateSwarmingTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateSwarmingTask.ProtoReflect.Descriptor instead. |
| func (*CreateSwarmingTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *CreateSwarmingTask) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // A task to create a Swarming task. |
| type CreateSwarmingBuildTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *CreateSwarmingBuildTask) Reset() { |
| *x = CreateSwarmingBuildTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateSwarmingBuildTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateSwarmingBuildTask) ProtoMessage() {} |
| |
| func (x *CreateSwarmingBuildTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateSwarmingBuildTask.ProtoReflect.Descriptor instead. |
| func (*CreateSwarmingBuildTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *CreateSwarmingBuildTask) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // A task to create a backend task |
| type CreateBackendBuildTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // The request ID to be sent to TaskBackend RunTask for idempotency. |
| RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| } |
| |
| func (x *CreateBackendBuildTask) Reset() { |
| *x = CreateBackendBuildTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateBackendBuildTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateBackendBuildTask) ProtoMessage() {} |
| |
| func (x *CreateBackendBuildTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[4] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateBackendBuildTask.ProtoReflect.Descriptor instead. |
| func (*CreateBackendBuildTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *CreateBackendBuildTask) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *CreateBackendBuildTask) GetRequestId() string { |
| if x != nil { |
| return x.RequestId |
| } |
| return "" |
| } |
| |
| // A task to create a Swarming task. |
| type SyncSwarmingBuildTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // Generation indicates how many times this build has been put back into the |
| // swarming sync queue. |
| Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` |
| } |
| |
| func (x *SyncSwarmingBuildTask) Reset() { |
| *x = SyncSwarmingBuildTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *SyncSwarmingBuildTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SyncSwarmingBuildTask) ProtoMessage() {} |
| |
| func (x *SyncSwarmingBuildTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SyncSwarmingBuildTask.ProtoReflect.Descriptor instead. |
| func (*SyncSwarmingBuildTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *SyncSwarmingBuildTask) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *SyncSwarmingBuildTask) GetGeneration() int64 { |
| if x != nil { |
| return x.Generation |
| } |
| return 0 |
| } |
| |
| // A task to export a build to BigQuery. |
| // TODO(crbug.com/1356766): remove it after bq-exporter runs in Go. |
| type ExportBigQuery struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *ExportBigQuery) Reset() { |
| *x = ExportBigQuery{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ExportBigQuery) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ExportBigQuery) ProtoMessage() {} |
| |
| func (x *ExportBigQuery) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[6] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ExportBigQuery.ProtoReflect.Descriptor instead. |
| func (*ExportBigQuery) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *ExportBigQuery) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // A task to export a build to BigQuery. |
| type ExportBigQueryGo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *ExportBigQueryGo) Reset() { |
| *x = ExportBigQueryGo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ExportBigQueryGo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ExportBigQueryGo) ProtoMessage() {} |
| |
| func (x *ExportBigQueryGo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[7] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ExportBigQueryGo.ProtoReflect.Descriptor instead. |
| func (*ExportBigQueryGo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *ExportBigQueryGo) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // A task to finalize an invocation in ResultDB. |
| type FinalizeResultDB struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *FinalizeResultDB) Reset() { |
| *x = FinalizeResultDB{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FinalizeResultDB) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FinalizeResultDB) ProtoMessage() {} |
| |
| func (x *FinalizeResultDB) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[8] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FinalizeResultDB.ProtoReflect.Descriptor instead. |
| func (*FinalizeResultDB) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{8} |
| } |
| |
| func (x *FinalizeResultDB) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // A task to finalize an invocation in ResultDB. |
| type FinalizeResultDBGo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *FinalizeResultDBGo) Reset() { |
| *x = FinalizeResultDBGo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *FinalizeResultDBGo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*FinalizeResultDBGo) ProtoMessage() {} |
| |
| func (x *FinalizeResultDBGo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[9] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use FinalizeResultDBGo.ProtoReflect.Descriptor instead. |
| func (*FinalizeResultDBGo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *FinalizeResultDBGo) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // A task to send a build notification on `builds` Pub/Sub. |
| type NotifyPubSub struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // Whether to use the global or build-specific callback Pub/Sub topic. |
| Callback bool `protobuf:"varint,2,opt,name=callback,proto3" json:"callback,omitempty"` |
| } |
| |
| func (x *NotifyPubSub) Reset() { |
| *x = NotifyPubSub{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *NotifyPubSub) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*NotifyPubSub) ProtoMessage() {} |
| |
| func (x *NotifyPubSub) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[10] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use NotifyPubSub.ProtoReflect.Descriptor instead. |
| func (*NotifyPubSub) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{10} |
| } |
| |
| func (x *NotifyPubSub) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *NotifyPubSub) GetCallback() bool { |
| if x != nil { |
| return x.Callback |
| } |
| return false |
| } |
| |
| // A task to send a build notification when a build status changes. |
| type NotifyPubSubGo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // An external topic which a build notification should be sent to. |
| // If nil or empty, will send to the internal `builds_v2` topic. |
| Topic *proto.BuildbucketCfg_Topic `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` |
| // Whether to use the global or build-specific callback Pub/Sub topic. |
| Callback bool `protobuf:"varint,3,opt,name=callback,proto3" json:"callback,omitempty"` |
| } |
| |
| func (x *NotifyPubSubGo) Reset() { |
| *x = NotifyPubSubGo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *NotifyPubSubGo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*NotifyPubSubGo) ProtoMessage() {} |
| |
| func (x *NotifyPubSubGo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[11] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use NotifyPubSubGo.ProtoReflect.Descriptor instead. |
| func (*NotifyPubSubGo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (x *NotifyPubSubGo) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *NotifyPubSubGo) GetTopic() *proto.BuildbucketCfg_Topic { |
| if x != nil { |
| return x.Topic |
| } |
| return nil |
| } |
| |
| func (x *NotifyPubSubGo) GetCallback() bool { |
| if x != nil { |
| return x.Callback |
| } |
| return false |
| } |
| |
| // A task to cancel a build. |
| // |
| // Besides canceling the build, the task also enqueues CancelBuildTask tasks for |
| // each of the build's children that cannot outlive it. |
| type CancelBuildTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| } |
| |
| func (x *CancelBuildTask) Reset() { |
| *x = CancelBuildTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CancelBuildTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CancelBuildTask) ProtoMessage() {} |
| |
| func (x *CancelBuildTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[12] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CancelBuildTask.ProtoReflect.Descriptor instead. |
| func (*CancelBuildTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *CancelBuildTask) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| // NotifyPubSubGoProxy tasks dispatch NotifyPubSubGo tasks to send builds_v2 |
| // notifications. |
| type NotifyPubSubGoProxy struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // The project that the build belongs to. |
| Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| } |
| |
| func (x *NotifyPubSubGoProxy) Reset() { |
| *x = NotifyPubSubGoProxy{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[13] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *NotifyPubSubGoProxy) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*NotifyPubSubGoProxy) ProtoMessage() {} |
| |
| func (x *NotifyPubSubGoProxy) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[13] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use NotifyPubSubGoProxy.ProtoReflect.Descriptor instead. |
| func (*NotifyPubSubGoProxy) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{13} |
| } |
| |
| func (x *NotifyPubSubGoProxy) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *NotifyPubSubGoProxy) GetProject() string { |
| if x != nil { |
| return x.Project |
| } |
| return "" |
| } |
| |
| // SyncBuildsWithBackendTasks finds builds that have exceeded their next sync |
| // time, then updates the builds. The builds should belong to the same project |
| // and run on the same backend. |
| type SyncBuildsWithBackendTasks struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Target of the backend. |
| Backend string `protobuf:"bytes,1,opt,name=backend,proto3" json:"backend,omitempty"` |
| // LUCI project . |
| Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| } |
| |
| func (x *SyncBuildsWithBackendTasks) Reset() { |
| *x = SyncBuildsWithBackendTasks{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[14] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *SyncBuildsWithBackendTasks) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SyncBuildsWithBackendTasks) ProtoMessage() {} |
| |
| func (x *SyncBuildsWithBackendTasks) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[14] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SyncBuildsWithBackendTasks.ProtoReflect.Descriptor instead. |
| func (*SyncBuildsWithBackendTasks) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{14} |
| } |
| |
| func (x *SyncBuildsWithBackendTasks) GetBackend() string { |
| if x != nil { |
| return x.Backend |
| } |
| return "" |
| } |
| |
| func (x *SyncBuildsWithBackendTasks) GetProject() string { |
| if x != nil { |
| return x.Project |
| } |
| return "" |
| } |
| |
| // A cloud task to cancel a backend task |
| type CancelBackendTask struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // LUCI project the task belongs to. |
| Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` |
| // Target for the backend. |
| Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` |
| // Task ID. |
| TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` |
| } |
| |
| func (x *CancelBackendTask) Reset() { |
| *x = CancelBackendTask{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CancelBackendTask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CancelBackendTask) ProtoMessage() {} |
| |
| func (x *CancelBackendTask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[15] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CancelBackendTask.ProtoReflect.Descriptor instead. |
| func (*CancelBackendTask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{15} |
| } |
| |
| func (x *CancelBackendTask) GetProject() string { |
| if x != nil { |
| return x.Project |
| } |
| return "" |
| } |
| |
| func (x *CancelBackendTask) GetTarget() string { |
| if x != nil { |
| return x.Target |
| } |
| return "" |
| } |
| |
| func (x *CancelBackendTask) GetTaskId() string { |
| if x != nil { |
| return x.TaskId |
| } |
| return "" |
| } |
| |
| // CheckBuildLiveness is a task to check if any build updates are received for |
| // the given build during the give time period. |
| type CheckBuildLiveness struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // ID of a build in the datastore. See model.Build. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // The maximum amount of seconds for not hearing any build heartbeats before |
| // failing the build. |
| HeartbeatTimeout uint32 `protobuf:"varint,2,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` |
| } |
| |
| func (x *CheckBuildLiveness) Reset() { |
| *x = CheckBuildLiveness{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[16] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CheckBuildLiveness) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CheckBuildLiveness) ProtoMessage() {} |
| |
| func (x *CheckBuildLiveness) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[16] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CheckBuildLiveness.ProtoReflect.Descriptor instead. |
| func (*CheckBuildLiveness) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP(), []int{16} |
| } |
| |
| func (x *CheckBuildLiveness) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *CheckBuildLiveness) GetHeartbeatTimeout() uint32 { |
| if x != nil { |
| return x.HeartbeatTimeout |
| } |
| return 0 |
| } |
| |
| var File_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto protoreflect.FileDescriptor |
| |
| var file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDesc = []byte{ |
| 0x0a, 0x41, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, |
| 0x65, 0x74, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x74, 0x61, 0x73, |
| 0x6b, 0x73, 0x2f, 0x64, 0x65, 0x66, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, |
| 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x64, 0x65, 0x66, 0x73, 0x1a, 0x3b, 0x67, |
| 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, |
| 0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2f, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, |
| 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x12, 0x43, 0x61, |
| 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, 0x6b, |
| 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, |
| 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, |
| 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18, 0x03, |
| 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x22, 0x61, 0x0a, 0x14, 0x43, |
| 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x73, |
| 0x6b, 0x47, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x6c, |
| 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x22, 0x2f, |
| 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, |
| 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, |
| 0x34, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, |
| 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, |
| 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, |
| 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, |
| 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x12, |
| 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x15, 0x53, 0x79, 0x6e, |
| 0x63, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, |
| 0x73, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1e, 0x0a, |
| 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, |
| 0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, |
| 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x10, 0x45, 0x78, |
| 0x70, 0x6f, 0x72, 0x74, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x6f, 0x12, 0x19, |
| 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, |
| 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x10, 0x46, 0x69, 0x6e, |
| 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 0x42, 0x12, 0x19, 0x0a, |
| 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, |
| 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x61, |
| 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 0x42, 0x47, 0x6f, 0x12, 0x19, |
| 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, |
| 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, |
| 0x69, 0x66, 0x79, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, |
| 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, |
| 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, |
| 0x22, 0x80, 0x01, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50, 0x75, 0x62, 0x53, 0x75, |
| 0x62, 0x47, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x37, |
| 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, |
| 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x42, 0x75, 0x69, 0x6c, |
| 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x66, 0x67, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, |
| 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x62, |
| 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x62, |
| 0x61, 0x63, 0x6b, 0x22, 0x2c, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x42, 0x75, 0x69, |
| 0x6c, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, |
| 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, |
| 0x64, 0x22, 0x4a, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50, 0x75, 0x62, 0x53, 0x75, |
| 0x62, 0x47, 0x6f, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, |
| 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, |
| 0x64, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, |
| 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x50, 0x0a, |
| 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, |
| 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, |
| 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, |
| 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, |
| 0x5e, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, |
| 0x54, 0x61, 0x73, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, |
| 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, |
| 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, |
| 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, |
| 0x5c, 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x76, |
| 0x65, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, |
| 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, |
| 0x12, 0x2b, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x74, 0x69, |
| 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x68, 0x65, 0x61, |
| 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x42, 0x40, 0x5a, |
| 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, |
| 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, |
| 0x74, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x74, 0x61, 0x73, 0x6b, |
| 0x73, 0x2f, 0x64, 0x65, 0x66, 0x73, 0x3b, 0x74, 0x61, 0x73, 0x6b, 0x64, 0x65, 0x66, 0x73, 0x62, |
| 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescOnce sync.Once |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescData = file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDesc |
| ) |
| |
| func file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescData) |
| }) |
| return file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 17) |
| var file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_goTypes = []interface{}{ |
| (*CancelSwarmingTask)(nil), // 0: taskdefs.CancelSwarmingTask |
| (*CancelSwarmingTaskGo)(nil), // 1: taskdefs.CancelSwarmingTaskGo |
| (*CreateSwarmingTask)(nil), // 2: taskdefs.CreateSwarmingTask |
| (*CreateSwarmingBuildTask)(nil), // 3: taskdefs.CreateSwarmingBuildTask |
| (*CreateBackendBuildTask)(nil), // 4: taskdefs.CreateBackendBuildTask |
| (*SyncSwarmingBuildTask)(nil), // 5: taskdefs.SyncSwarmingBuildTask |
| (*ExportBigQuery)(nil), // 6: taskdefs.ExportBigQuery |
| (*ExportBigQueryGo)(nil), // 7: taskdefs.ExportBigQueryGo |
| (*FinalizeResultDB)(nil), // 8: taskdefs.FinalizeResultDB |
| (*FinalizeResultDBGo)(nil), // 9: taskdefs.FinalizeResultDBGo |
| (*NotifyPubSub)(nil), // 10: taskdefs.NotifyPubSub |
| (*NotifyPubSubGo)(nil), // 11: taskdefs.NotifyPubSubGo |
| (*CancelBuildTask)(nil), // 12: taskdefs.CancelBuildTask |
| (*NotifyPubSubGoProxy)(nil), // 13: taskdefs.NotifyPubSubGoProxy |
| (*SyncBuildsWithBackendTasks)(nil), // 14: taskdefs.SyncBuildsWithBackendTasks |
| (*CancelBackendTask)(nil), // 15: taskdefs.CancelBackendTask |
| (*CheckBuildLiveness)(nil), // 16: taskdefs.CheckBuildLiveness |
| (*proto.BuildbucketCfg_Topic)(nil), // 17: buildbucket.BuildbucketCfg.Topic |
| } |
| var file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_depIdxs = []int32{ |
| 17, // 0: taskdefs.NotifyPubSubGo.topic:type_name -> buildbucket.BuildbucketCfg.Topic |
| 1, // [1:1] is the sub-list for method output_type |
| 1, // [1:1] is the sub-list for method input_type |
| 1, // [1:1] is the sub-list for extension type_name |
| 1, // [1:1] is the sub-list for extension extendee |
| 0, // [0:1] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_init() } |
| func file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_init() { |
| if File_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CancelSwarmingTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CancelSwarmingTaskGo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateSwarmingTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateSwarmingBuildTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateBackendBuildTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*SyncSwarmingBuildTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ExportBigQuery); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ExportBigQueryGo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FinalizeResultDB); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*FinalizeResultDBGo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*NotifyPubSub); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*NotifyPubSubGo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CancelBuildTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*NotifyPubSubGoProxy); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*SyncBuildsWithBackendTasks); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CancelBackendTask); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CheckBuildLiveness); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 17, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_depIdxs, |
| MessageInfos: file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto = out.File |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_rawDesc = nil |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_goTypes = nil |
| file_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto_depIdxs = nil |
| } |