Path: blob/main/components/supervisor-api/go/task.pb.go
2498 views
// Copyright (c) 2024 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc v3.20.18// source: task.proto910package api1112import (13_ "google.golang.org/genproto/googleapis/api/annotations"14protoreflect "google.golang.org/protobuf/reflect/protoreflect"15protoimpl "google.golang.org/protobuf/runtime/protoimpl"16reflect "reflect"17sync "sync"18)1920const (21// Verify that this generated code is sufficiently up-to-date.22_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)23// Verify that runtime/protoimpl is sufficiently up-to-date.24_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)25)2627type ListenToOutputRequest struct {28state protoimpl.MessageState29sizeCache protoimpl.SizeCache30unknownFields protoimpl.UnknownFields3132TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`33}3435func (x *ListenToOutputRequest) Reset() {36*x = ListenToOutputRequest{}37if protoimpl.UnsafeEnabled {38mi := &file_task_proto_msgTypes[0]39ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))40ms.StoreMessageInfo(mi)41}42}4344func (x *ListenToOutputRequest) String() string {45return protoimpl.X.MessageStringOf(x)46}4748func (*ListenToOutputRequest) ProtoMessage() {}4950func (x *ListenToOutputRequest) ProtoReflect() protoreflect.Message {51mi := &file_task_proto_msgTypes[0]52if protoimpl.UnsafeEnabled && x != nil {53ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))54if ms.LoadMessageInfo() == nil {55ms.StoreMessageInfo(mi)56}57return ms58}59return mi.MessageOf(x)60}6162// Deprecated: Use ListenToOutputRequest.ProtoReflect.Descriptor instead.63func (*ListenToOutputRequest) Descriptor() ([]byte, []int) {64return file_task_proto_rawDescGZIP(), []int{0}65}6667func (x *ListenToOutputRequest) GetTaskId() string {68if x != nil {69return x.TaskId70}71return ""72}7374type ListenToOutputResponse struct {75state protoimpl.MessageState76sizeCache protoimpl.SizeCache77unknownFields protoimpl.UnknownFields7879Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`80}8182func (x *ListenToOutputResponse) Reset() {83*x = ListenToOutputResponse{}84if protoimpl.UnsafeEnabled {85mi := &file_task_proto_msgTypes[1]86ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))87ms.StoreMessageInfo(mi)88}89}9091func (x *ListenToOutputResponse) String() string {92return protoimpl.X.MessageStringOf(x)93}9495func (*ListenToOutputResponse) ProtoMessage() {}9697func (x *ListenToOutputResponse) ProtoReflect() protoreflect.Message {98mi := &file_task_proto_msgTypes[1]99if protoimpl.UnsafeEnabled && x != nil {100ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))101if ms.LoadMessageInfo() == nil {102ms.StoreMessageInfo(mi)103}104return ms105}106return mi.MessageOf(x)107}108109// Deprecated: Use ListenToOutputResponse.ProtoReflect.Descriptor instead.110func (*ListenToOutputResponse) Descriptor() ([]byte, []int) {111return file_task_proto_rawDescGZIP(), []int{1}112}113114func (x *ListenToOutputResponse) GetData() []byte {115if x != nil {116return x.Data117}118return nil119}120121var File_task_proto protoreflect.FileDescriptor122123var file_task_proto_rawDesc = []byte{1240x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x75,1250x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,1260x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,1270x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,1280x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,1290x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,1300x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74,1310x65, 0x6e, 0x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,1320x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,1330x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x93, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x53,1340x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x65,1350x6e, 0x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x73, 0x75, 0x70, 0x65,1360x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x4f,1370x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73,1380x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,1390x54, 0x6f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,1400x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61,1410x73, 0x6b, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x5f,1420x69, 0x64, 0x7d, 0x2f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x30, 0x01, 0x42, 0x46, 0x0a, 0x18,1430x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,1440x69, 0x73, 0x6f, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,1450x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67,1460x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72,1470x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,148}149150var (151file_task_proto_rawDescOnce sync.Once152file_task_proto_rawDescData = file_task_proto_rawDesc153)154155func file_task_proto_rawDescGZIP() []byte {156file_task_proto_rawDescOnce.Do(func() {157file_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_task_proto_rawDescData)158})159return file_task_proto_rawDescData160}161162var file_task_proto_msgTypes = make([]protoimpl.MessageInfo, 2)163var file_task_proto_goTypes = []interface{}{164(*ListenToOutputRequest)(nil), // 0: supervisor.ListenToOutputRequest165(*ListenToOutputResponse)(nil), // 1: supervisor.ListenToOutputResponse166}167var file_task_proto_depIdxs = []int32{1680, // 0: supervisor.TaskService.ListenToOutput:input_type -> supervisor.ListenToOutputRequest1691, // 1: supervisor.TaskService.ListenToOutput:output_type -> supervisor.ListenToOutputResponse1701, // [1:2] is the sub-list for method output_type1710, // [0:1] is the sub-list for method input_type1720, // [0:0] is the sub-list for extension type_name1730, // [0:0] is the sub-list for extension extendee1740, // [0:0] is the sub-list for field type_name175}176177func init() { file_task_proto_init() }178func file_task_proto_init() {179if File_task_proto != nil {180return181}182if !protoimpl.UnsafeEnabled {183file_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {184switch v := v.(*ListenToOutputRequest); i {185case 0:186return &v.state187case 1:188return &v.sizeCache189case 2:190return &v.unknownFields191default:192return nil193}194}195file_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {196switch v := v.(*ListenToOutputResponse); i {197case 0:198return &v.state199case 1:200return &v.sizeCache201case 2:202return &v.unknownFields203default:204return nil205}206}207}208type x struct{}209out := protoimpl.TypeBuilder{210File: protoimpl.DescBuilder{211GoPackagePath: reflect.TypeOf(x{}).PkgPath(),212RawDescriptor: file_task_proto_rawDesc,213NumEnums: 0,214NumMessages: 2,215NumExtensions: 0,216NumServices: 1,217},218GoTypes: file_task_proto_goTypes,219DependencyIndexes: file_task_proto_depIdxs,220MessageInfos: file_task_proto_msgTypes,221}.Build()222File_task_proto = out.File223file_task_proto_rawDesc = nil224file_task_proto_goTypes = nil225file_task_proto_depIdxs = nil226}227228229