go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/examples/appengine/tq/taskspb/tasks.pb.go (about) 1 // Copyright 2020 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/examples/appengine/tq/taskspb/tasks.proto 20 21 package taskspb 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 type CountDownTask struct { 38 state protoimpl.MessageState 39 sizeCache protoimpl.SizeCache 40 unknownFields protoimpl.UnknownFields 41 42 Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` 43 } 44 45 func (x *CountDownTask) Reset() { 46 *x = CountDownTask{} 47 if protoimpl.UnsafeEnabled { 48 mi := &file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_msgTypes[0] 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 ms.StoreMessageInfo(mi) 51 } 52 } 53 54 func (x *CountDownTask) String() string { 55 return protoimpl.X.MessageStringOf(x) 56 } 57 58 func (*CountDownTask) ProtoMessage() {} 59 60 func (x *CountDownTask) ProtoReflect() protoreflect.Message { 61 mi := &file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_msgTypes[0] 62 if protoimpl.UnsafeEnabled && x != nil { 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 64 if ms.LoadMessageInfo() == nil { 65 ms.StoreMessageInfo(mi) 66 } 67 return ms 68 } 69 return mi.MessageOf(x) 70 } 71 72 // Deprecated: Use CountDownTask.ProtoReflect.Descriptor instead. 73 func (*CountDownTask) Descriptor() ([]byte, []int) { 74 return file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescGZIP(), []int{0} 75 } 76 77 func (x *CountDownTask) GetNumber() int64 { 78 if x != nil { 79 return x.Number 80 } 81 return 0 82 } 83 84 var File_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto protoreflect.FileDescriptor 85 86 var file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDesc = []byte{ 87 0x0a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 88 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 89 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x74, 0x71, 0x2f, 0x74, 0x61, 0x73, 90 0x6b, 0x73, 0x70, 0x62, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 91 0x12, 0x22, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 92 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x74, 0x71, 0x2e, 0x74, 0x61, 0x73, 93 0x6b, 0x73, 0x70, 0x62, 0x22, 0x27, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 94 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 95 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x34, 0x5a, 96 0x32, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 97 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x61, 98 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x74, 0x71, 0x2f, 0x74, 0x61, 0x73, 0x6b, 99 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 100 } 101 102 var ( 103 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescOnce sync.Once 104 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescData = file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDesc 105 ) 106 107 func file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescGZIP() []byte { 108 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescOnce.Do(func() { 109 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescData) 110 }) 111 return file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDescData 112 } 113 114 var file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 115 var file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_goTypes = []interface{}{ 116 (*CountDownTask)(nil), // 0: luci.examples.appengine.tq.taskspb.CountDownTask 117 } 118 var file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_depIdxs = []int32{ 119 0, // [0:0] is the sub-list for method output_type 120 0, // [0:0] is the sub-list for method input_type 121 0, // [0:0] is the sub-list for extension type_name 122 0, // [0:0] is the sub-list for extension extendee 123 0, // [0:0] is the sub-list for field type_name 124 } 125 126 func init() { file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_init() } 127 func file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_init() { 128 if File_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto != nil { 129 return 130 } 131 if !protoimpl.UnsafeEnabled { 132 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 133 switch v := v.(*CountDownTask); i { 134 case 0: 135 return &v.state 136 case 1: 137 return &v.sizeCache 138 case 2: 139 return &v.unknownFields 140 default: 141 return nil 142 } 143 } 144 } 145 type x struct{} 146 out := protoimpl.TypeBuilder{ 147 File: protoimpl.DescBuilder{ 148 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 149 RawDescriptor: file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDesc, 150 NumEnums: 0, 151 NumMessages: 1, 152 NumExtensions: 0, 153 NumServices: 0, 154 }, 155 GoTypes: file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_goTypes, 156 DependencyIndexes: file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_depIdxs, 157 MessageInfos: file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_msgTypes, 158 }.Build() 159 File_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto = out.File 160 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_rawDesc = nil 161 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_goTypes = nil 162 file_go_chromium_org_luci_examples_appengine_tq_taskspb_tasks_proto_depIdxs = nil 163 }