Path: blob/main/components/content-service-api/go/headless-log.pb.go
2498 views
// Copyright (c) 2021 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 (unknown)8// source: headless-log.proto910package api1112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15reflect "reflect"16sync "sync"17)1819const (20// Verify that this generated code is sufficiently up-to-date.21_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)22// Verify that runtime/protoimpl is sufficiently up-to-date.23_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)24)2526type LogDownloadURLRequest struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields3031OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`32WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`33InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`34TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`35}3637func (x *LogDownloadURLRequest) Reset() {38*x = LogDownloadURLRequest{}39if protoimpl.UnsafeEnabled {40mi := &file_headless_log_proto_msgTypes[0]41ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))42ms.StoreMessageInfo(mi)43}44}4546func (x *LogDownloadURLRequest) String() string {47return protoimpl.X.MessageStringOf(x)48}4950func (*LogDownloadURLRequest) ProtoMessage() {}5152func (x *LogDownloadURLRequest) ProtoReflect() protoreflect.Message {53mi := &file_headless_log_proto_msgTypes[0]54if protoimpl.UnsafeEnabled && x != nil {55ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))56if ms.LoadMessageInfo() == nil {57ms.StoreMessageInfo(mi)58}59return ms60}61return mi.MessageOf(x)62}6364// Deprecated: Use LogDownloadURLRequest.ProtoReflect.Descriptor instead.65func (*LogDownloadURLRequest) Descriptor() ([]byte, []int) {66return file_headless_log_proto_rawDescGZIP(), []int{0}67}6869func (x *LogDownloadURLRequest) GetOwnerId() string {70if x != nil {71return x.OwnerId72}73return ""74}7576func (x *LogDownloadURLRequest) GetWorkspaceId() string {77if x != nil {78return x.WorkspaceId79}80return ""81}8283func (x *LogDownloadURLRequest) GetInstanceId() string {84if x != nil {85return x.InstanceId86}87return ""88}8990func (x *LogDownloadURLRequest) GetTaskId() string {91if x != nil {92return x.TaskId93}94return ""95}9697type LogDownloadURLResponse struct {98state protoimpl.MessageState99sizeCache protoimpl.SizeCache100unknownFields protoimpl.UnknownFields101102Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`103}104105func (x *LogDownloadURLResponse) Reset() {106*x = LogDownloadURLResponse{}107if protoimpl.UnsafeEnabled {108mi := &file_headless_log_proto_msgTypes[1]109ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))110ms.StoreMessageInfo(mi)111}112}113114func (x *LogDownloadURLResponse) String() string {115return protoimpl.X.MessageStringOf(x)116}117118func (*LogDownloadURLResponse) ProtoMessage() {}119120func (x *LogDownloadURLResponse) ProtoReflect() protoreflect.Message {121mi := &file_headless_log_proto_msgTypes[1]122if protoimpl.UnsafeEnabled && x != nil {123ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))124if ms.LoadMessageInfo() == nil {125ms.StoreMessageInfo(mi)126}127return ms128}129return mi.MessageOf(x)130}131132// Deprecated: Use LogDownloadURLResponse.ProtoReflect.Descriptor instead.133func (*LogDownloadURLResponse) Descriptor() ([]byte, []int) {134return file_headless_log_proto_rawDescGZIP(), []int{1}135}136137func (x *LogDownloadURLResponse) GetUrl() string {138if x != nil {139return x.Url140}141return ""142}143144type ListLogsRequest struct {145state protoimpl.MessageState146sizeCache protoimpl.SizeCache147unknownFields protoimpl.UnknownFields148149OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`150WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`151InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`152}153154func (x *ListLogsRequest) Reset() {155*x = ListLogsRequest{}156if protoimpl.UnsafeEnabled {157mi := &file_headless_log_proto_msgTypes[2]158ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))159ms.StoreMessageInfo(mi)160}161}162163func (x *ListLogsRequest) String() string {164return protoimpl.X.MessageStringOf(x)165}166167func (*ListLogsRequest) ProtoMessage() {}168169func (x *ListLogsRequest) ProtoReflect() protoreflect.Message {170mi := &file_headless_log_proto_msgTypes[2]171if protoimpl.UnsafeEnabled && x != nil {172ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))173if ms.LoadMessageInfo() == nil {174ms.StoreMessageInfo(mi)175}176return ms177}178return mi.MessageOf(x)179}180181// Deprecated: Use ListLogsRequest.ProtoReflect.Descriptor instead.182func (*ListLogsRequest) Descriptor() ([]byte, []int) {183return file_headless_log_proto_rawDescGZIP(), []int{2}184}185186func (x *ListLogsRequest) GetOwnerId() string {187if x != nil {188return x.OwnerId189}190return ""191}192193func (x *ListLogsRequest) GetWorkspaceId() string {194if x != nil {195return x.WorkspaceId196}197return ""198}199200func (x *ListLogsRequest) GetInstanceId() string {201if x != nil {202return x.InstanceId203}204return ""205}206207type ListLogsResponse struct {208state protoimpl.MessageState209sizeCache protoimpl.SizeCache210unknownFields protoimpl.UnknownFields211212TaskId []string `protobuf:"bytes,1,rep,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`213}214215func (x *ListLogsResponse) Reset() {216*x = ListLogsResponse{}217if protoimpl.UnsafeEnabled {218mi := &file_headless_log_proto_msgTypes[3]219ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))220ms.StoreMessageInfo(mi)221}222}223224func (x *ListLogsResponse) String() string {225return protoimpl.X.MessageStringOf(x)226}227228func (*ListLogsResponse) ProtoMessage() {}229230func (x *ListLogsResponse) ProtoReflect() protoreflect.Message {231mi := &file_headless_log_proto_msgTypes[3]232if protoimpl.UnsafeEnabled && x != nil {233ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))234if ms.LoadMessageInfo() == nil {235ms.StoreMessageInfo(mi)236}237return ms238}239return mi.MessageOf(x)240}241242// Deprecated: Use ListLogsResponse.ProtoReflect.Descriptor instead.243func (*ListLogsResponse) Descriptor() ([]byte, []int) {244return file_headless_log_proto_rawDescGZIP(), []int{3}245}246247func (x *ListLogsResponse) GetTaskId() []string {248if x != nil {249return x.TaskId250}251return nil252}253254var File_headless_log_proto protoreflect.FileDescriptor255256var file_headless_log_proto_rawDesc = []byte{2570x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x2d, 0x6c, 0x6f, 0x67, 0x2e, 0x70,2580x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72,2590x76, 0x69, 0x63, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x77, 0x6e,2600x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19,2610x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,2620x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72,2630x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,2640x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b,2650x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,2660x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a,2670x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,2680x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x16, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x77,2690x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,2700x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,2710x72, 0x6c, 0x22, 0x70, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,2720x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69,2730x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64,2740x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64,2750x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,2760x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f,2770x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,2780x63, 0x65, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73,2790x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b,2800x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49,2810x64, 0x32, 0xc8, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x64, 0x6c, 0x65, 0x73, 0x73, 0x4c, 0x6f,2820x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x44,2830x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x6e,2840x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x44,2850x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,2860x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69,2870x63, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52,2880x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x08, 0x4c,2890x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,2900x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67,2910x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65,2920x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f,2930x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x31, 0x5a, 0x2f,2940x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,2950x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74,2960x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62,2970x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,298}299300var (301file_headless_log_proto_rawDescOnce sync.Once302file_headless_log_proto_rawDescData = file_headless_log_proto_rawDesc303)304305func file_headless_log_proto_rawDescGZIP() []byte {306file_headless_log_proto_rawDescOnce.Do(func() {307file_headless_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_headless_log_proto_rawDescData)308})309return file_headless_log_proto_rawDescData310}311312var file_headless_log_proto_msgTypes = make([]protoimpl.MessageInfo, 4)313var file_headless_log_proto_goTypes = []interface{}{314(*LogDownloadURLRequest)(nil), // 0: contentservice.LogDownloadURLRequest315(*LogDownloadURLResponse)(nil), // 1: contentservice.LogDownloadURLResponse316(*ListLogsRequest)(nil), // 2: contentservice.ListLogsRequest317(*ListLogsResponse)(nil), // 3: contentservice.ListLogsResponse318}319var file_headless_log_proto_depIdxs = []int32{3200, // 0: contentservice.HeadlessLogService.LogDownloadURL:input_type -> contentservice.LogDownloadURLRequest3212, // 1: contentservice.HeadlessLogService.ListLogs:input_type -> contentservice.ListLogsRequest3221, // 2: contentservice.HeadlessLogService.LogDownloadURL:output_type -> contentservice.LogDownloadURLResponse3233, // 3: contentservice.HeadlessLogService.ListLogs:output_type -> contentservice.ListLogsResponse3242, // [2:4] is the sub-list for method output_type3250, // [0:2] is the sub-list for method input_type3260, // [0:0] is the sub-list for extension type_name3270, // [0:0] is the sub-list for extension extendee3280, // [0:0] is the sub-list for field type_name329}330331func init() { file_headless_log_proto_init() }332func file_headless_log_proto_init() {333if File_headless_log_proto != nil {334return335}336if !protoimpl.UnsafeEnabled {337file_headless_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {338switch v := v.(*LogDownloadURLRequest); i {339case 0:340return &v.state341case 1:342return &v.sizeCache343case 2:344return &v.unknownFields345default:346return nil347}348}349file_headless_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {350switch v := v.(*LogDownloadURLResponse); i {351case 0:352return &v.state353case 1:354return &v.sizeCache355case 2:356return &v.unknownFields357default:358return nil359}360}361file_headless_log_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {362switch v := v.(*ListLogsRequest); i {363case 0:364return &v.state365case 1:366return &v.sizeCache367case 2:368return &v.unknownFields369default:370return nil371}372}373file_headless_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {374switch v := v.(*ListLogsResponse); i {375case 0:376return &v.state377case 1:378return &v.sizeCache379case 2:380return &v.unknownFields381default:382return nil383}384}385}386type x struct{}387out := protoimpl.TypeBuilder{388File: protoimpl.DescBuilder{389GoPackagePath: reflect.TypeOf(x{}).PkgPath(),390RawDescriptor: file_headless_log_proto_rawDesc,391NumEnums: 0,392NumMessages: 4,393NumExtensions: 0,394NumServices: 1,395},396GoTypes: file_headless_log_proto_goTypes,397DependencyIndexes: file_headless_log_proto_depIdxs,398MessageInfos: file_headless_log_proto_msgTypes,399}.Build()400File_headless_log_proto = out.File401file_headless_log_proto_rawDesc = nil402file_headless_log_proto_goTypes = nil403file_headless_log_proto_depIdxs = nil404}405406407