go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/run/bq/tasks.pb.go (about)

     1  // Copyright 2021 The LUCI Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/cv/internal/run/bq/tasks.proto
    20  
    21  package bq
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  // SendRunRowTask sends a row for a completed Run to a BQ table.
    38  //
    39  // Queue: "bq-export".
    40  type ExportRunToBQTask struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
    46  }
    47  
    48  func (x *ExportRunToBQTask) Reset() {
    49  	*x = ExportRunToBQTask{}
    50  	if protoimpl.UnsafeEnabled {
    51  		mi := &file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_msgTypes[0]
    52  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    53  		ms.StoreMessageInfo(mi)
    54  	}
    55  }
    56  
    57  func (x *ExportRunToBQTask) String() string {
    58  	return protoimpl.X.MessageStringOf(x)
    59  }
    60  
    61  func (*ExportRunToBQTask) ProtoMessage() {}
    62  
    63  func (x *ExportRunToBQTask) ProtoReflect() protoreflect.Message {
    64  	mi := &file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_msgTypes[0]
    65  	if protoimpl.UnsafeEnabled && x != nil {
    66  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    67  		if ms.LoadMessageInfo() == nil {
    68  			ms.StoreMessageInfo(mi)
    69  		}
    70  		return ms
    71  	}
    72  	return mi.MessageOf(x)
    73  }
    74  
    75  // Deprecated: Use ExportRunToBQTask.ProtoReflect.Descriptor instead.
    76  func (*ExportRunToBQTask) Descriptor() ([]byte, []int) {
    77  	return file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescGZIP(), []int{0}
    78  }
    79  
    80  func (x *ExportRunToBQTask) GetRunId() string {
    81  	if x != nil {
    82  		return x.RunId
    83  	}
    84  	return ""
    85  }
    86  
    87  var File_go_chromium_org_luci_cv_internal_run_bq_tasks_proto protoreflect.FileDescriptor
    88  
    89  var file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDesc = []byte{
    90  	0x0a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
    91  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
    92  	0x61, 0x6c, 0x2f, 0x72, 0x75, 0x6e, 0x2f, 0x62, 0x71, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e,
    93  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
    94  	0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x62, 0x71, 0x22, 0x2a, 0x0a, 0x11, 0x45, 0x78, 0x70,
    95  	0x6f, 0x72, 0x74, 0x52, 0x75, 0x6e, 0x54, 0x6f, 0x42, 0x51, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x15,
    96  	0x0a, 0x06, 0x72, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
    97  	0x72, 0x75, 0x6e, 0x49, 0x64, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f,
    98  	0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76,
    99  	0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x75, 0x6e, 0x2f, 0x62, 0x71,
   100  	0x3b, 0x62, 0x71, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   101  }
   102  
   103  var (
   104  	file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescOnce sync.Once
   105  	file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescData = file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDesc
   106  )
   107  
   108  func file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescGZIP() []byte {
   109  	file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescOnce.Do(func() {
   110  		file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescData)
   111  	})
   112  	return file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDescData
   113  }
   114  
   115  var file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   116  var file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_goTypes = []interface{}{
   117  	(*ExportRunToBQTask)(nil), // 0: cv.internal.run.bq.ExportRunToBQTask
   118  }
   119  var file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_depIdxs = []int32{
   120  	0, // [0:0] is the sub-list for method output_type
   121  	0, // [0:0] is the sub-list for method input_type
   122  	0, // [0:0] is the sub-list for extension type_name
   123  	0, // [0:0] is the sub-list for extension extendee
   124  	0, // [0:0] is the sub-list for field type_name
   125  }
   126  
   127  func init() { file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_init() }
   128  func file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_init() {
   129  	if File_go_chromium_org_luci_cv_internal_run_bq_tasks_proto != nil {
   130  		return
   131  	}
   132  	if !protoimpl.UnsafeEnabled {
   133  		file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   134  			switch v := v.(*ExportRunToBQTask); i {
   135  			case 0:
   136  				return &v.state
   137  			case 1:
   138  				return &v.sizeCache
   139  			case 2:
   140  				return &v.unknownFields
   141  			default:
   142  				return nil
   143  			}
   144  		}
   145  	}
   146  	type x struct{}
   147  	out := protoimpl.TypeBuilder{
   148  		File: protoimpl.DescBuilder{
   149  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   150  			RawDescriptor: file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDesc,
   151  			NumEnums:      0,
   152  			NumMessages:   1,
   153  			NumExtensions: 0,
   154  			NumServices:   0,
   155  		},
   156  		GoTypes:           file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_goTypes,
   157  		DependencyIndexes: file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_depIdxs,
   158  		MessageInfos:      file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_msgTypes,
   159  	}.Build()
   160  	File_go_chromium_org_luci_cv_internal_run_bq_tasks_proto = out.File
   161  	file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_rawDesc = nil
   162  	file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_goTypes = nil
   163  	file_go_chromium_org_luci_cv_internal_run_bq_tasks_proto_depIdxs = nil
   164  }