go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/swarming/server/bq/taskspb/bq.pb.go (about) 1 // Copyright 2023 The LUCI Authors. All rights reserved. 2 // Use of this source code is governed under the Apache License, Version 2.0 3 // that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/swarming/server/bq/taskspb/bq.proto 10 11 package taskspb 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 durationpb "google.golang.org/protobuf/types/known/durationpb" 17 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 type CreateExportTask struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` 35 Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` 36 CloudProject string `protobuf:"bytes,3,opt,name=cloud_project,json=cloudProject,proto3" json:"cloud_project,omitempty"` 37 Dataset string `protobuf:"bytes,4,opt,name=dataset,proto3" json:"dataset,omitempty"` 38 TableName string `protobuf:"bytes,5,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 39 } 40 41 func (x *CreateExportTask) Reset() { 42 *x = CreateExportTask{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *CreateExportTask) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*CreateExportTask) ProtoMessage() {} 55 56 func (x *CreateExportTask) ProtoReflect() protoreflect.Message { 57 mi := &file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use CreateExportTask.ProtoReflect.Descriptor instead. 69 func (*CreateExportTask) Descriptor() ([]byte, []int) { 70 return file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *CreateExportTask) GetStart() *timestamppb.Timestamp { 74 if x != nil { 75 return x.Start 76 } 77 return nil 78 } 79 80 func (x *CreateExportTask) GetDuration() *durationpb.Duration { 81 if x != nil { 82 return x.Duration 83 } 84 return nil 85 } 86 87 func (x *CreateExportTask) GetCloudProject() string { 88 if x != nil { 89 return x.CloudProject 90 } 91 return "" 92 } 93 94 func (x *CreateExportTask) GetDataset() string { 95 if x != nil { 96 return x.Dataset 97 } 98 return "" 99 } 100 101 func (x *CreateExportTask) GetTableName() string { 102 if x != nil { 103 return x.TableName 104 } 105 return "" 106 } 107 108 var File_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto protoreflect.FileDescriptor 109 110 var file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDesc = []byte{ 111 0x0a, 0x38, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 112 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2f, 113 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x62, 0x71, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x70, 114 0x62, 0x2f, 0x62, 0x71, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x73, 0x77, 0x61, 0x72, 115 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x62, 0x71, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x1f, 0x67, 116 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 117 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 118 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 119 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 120 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 121 0x61, 0x73, 0x6b, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 122 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 123 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 124 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 125 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 126 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 127 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 128 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 129 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 130 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 131 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 132 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 133 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 134 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 135 0x63, 0x69, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 136 0x65, 0x72, 0x2f, 0x62, 0x71, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x3b, 0x74, 0x61, 137 0x73, 0x6b, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 138 } 139 140 var ( 141 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescOnce sync.Once 142 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescData = file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDesc 143 ) 144 145 func file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescGZIP() []byte { 146 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescOnce.Do(func() { 147 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescData) 148 }) 149 return file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDescData 150 } 151 152 var file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 153 var file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_goTypes = []interface{}{ 154 (*CreateExportTask)(nil), // 0: swarming.bq.tasks.CreateExportTask 155 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp 156 (*durationpb.Duration)(nil), // 2: google.protobuf.Duration 157 } 158 var file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_depIdxs = []int32{ 159 1, // 0: swarming.bq.tasks.CreateExportTask.start:type_name -> google.protobuf.Timestamp 160 2, // 1: swarming.bq.tasks.CreateExportTask.duration:type_name -> google.protobuf.Duration 161 2, // [2:2] is the sub-list for method output_type 162 2, // [2:2] is the sub-list for method input_type 163 2, // [2:2] is the sub-list for extension type_name 164 2, // [2:2] is the sub-list for extension extendee 165 0, // [0:2] is the sub-list for field type_name 166 } 167 168 func init() { file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_init() } 169 func file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_init() { 170 if File_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto != nil { 171 return 172 } 173 if !protoimpl.UnsafeEnabled { 174 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 175 switch v := v.(*CreateExportTask); i { 176 case 0: 177 return &v.state 178 case 1: 179 return &v.sizeCache 180 case 2: 181 return &v.unknownFields 182 default: 183 return nil 184 } 185 } 186 } 187 type x struct{} 188 out := protoimpl.TypeBuilder{ 189 File: protoimpl.DescBuilder{ 190 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 191 RawDescriptor: file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDesc, 192 NumEnums: 0, 193 NumMessages: 1, 194 NumExtensions: 0, 195 NumServices: 0, 196 }, 197 GoTypes: file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_goTypes, 198 DependencyIndexes: file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_depIdxs, 199 MessageInfos: file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_msgTypes, 200 }.Build() 201 File_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto = out.File 202 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_rawDesc = nil 203 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_goTypes = nil 204 file_go_chromium_org_luci_swarming_server_bq_taskspb_bq_proto_depIdxs = nil 205 }