go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/resultdb/proto/bq/common.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/resultdb/proto/bq/common.proto 20 21 package resultpb 22 23 import ( 24 _ "go.chromium.org/luci/common/bq/pb" 25 v1 "go.chromium.org/luci/resultdb/proto/v1" 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 structpb "google.golang.org/protobuf/types/known/structpb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 type InvocationRecord struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // The ID of the invocation. 46 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 47 // Tags represents Invocation-level string key-value pairs. 48 // A key can be repeated. 49 Tags []*v1.StringPair `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` 50 // The LUCI Realm the invocation exists under. 51 Realm string `protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"` 52 // Arbitrary JSON object that contains structured, domain-specific properties 53 // of the invocation. 54 Properties *structpb.Struct `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` 55 } 56 57 func (x *InvocationRecord) Reset() { 58 *x = InvocationRecord{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_go_chromium_org_luci_resultdb_proto_bq_common_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64 } 65 66 func (x *InvocationRecord) String() string { 67 return protoimpl.X.MessageStringOf(x) 68 } 69 70 func (*InvocationRecord) ProtoMessage() {} 71 72 func (x *InvocationRecord) ProtoReflect() protoreflect.Message { 73 mi := &file_go_chromium_org_luci_resultdb_proto_bq_common_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82 } 83 84 // Deprecated: Use InvocationRecord.ProtoReflect.Descriptor instead. 85 func (*InvocationRecord) Descriptor() ([]byte, []int) { 86 return file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescGZIP(), []int{0} 87 } 88 89 func (x *InvocationRecord) GetId() string { 90 if x != nil { 91 return x.Id 92 } 93 return "" 94 } 95 96 func (x *InvocationRecord) GetTags() []*v1.StringPair { 97 if x != nil { 98 return x.Tags 99 } 100 return nil 101 } 102 103 func (x *InvocationRecord) GetRealm() string { 104 if x != nil { 105 return x.Realm 106 } 107 return "" 108 } 109 110 func (x *InvocationRecord) GetProperties() *structpb.Struct { 111 if x != nil { 112 return x.Properties 113 } 114 return nil 115 } 116 117 var File_go_chromium_org_luci_resultdb_proto_bq_common_proto protoreflect.FileDescriptor 118 119 var file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDesc = []byte{ 120 0x0a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 121 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x64, 0x62, 0x2f, 122 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x71, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 123 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x75, 124 0x6c, 0x74, 0x64, 0x62, 0x2e, 0x62, 0x71, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 125 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 126 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 127 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 128 0x6f, 0x6e, 0x2f, 0x62, 0x71, 0x2f, 0x70, 0x62, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 129 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 130 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x72, 0x65, 0x73, 131 0x75, 0x6c, 0x74, 0x64, 0x62, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 132 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x10, 133 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 134 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 135 0x12, 0x30, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 136 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x64, 0x62, 0x2e, 0x76, 137 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x04, 0x74, 0x61, 138 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 139 0x09, 0x52, 0x05, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 140 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 141 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 142 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x0a, 0xe2, 0xbc, 0x24, 0x06, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 143 0x4e, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x31, 0x5a, 144 0x2f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 145 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x64, 0x62, 0x2f, 0x70, 146 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x71, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x70, 0x62, 147 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 148 } 149 150 var ( 151 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescOnce sync.Once 152 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescData = file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDesc 153 ) 154 155 func file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescGZIP() []byte { 156 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescOnce.Do(func() { 157 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescData) 158 }) 159 return file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDescData 160 } 161 162 var file_go_chromium_org_luci_resultdb_proto_bq_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 163 var file_go_chromium_org_luci_resultdb_proto_bq_common_proto_goTypes = []interface{}{ 164 (*InvocationRecord)(nil), // 0: luci.resultdb.bq.InvocationRecord 165 (*v1.StringPair)(nil), // 1: luci.resultdb.v1.StringPair 166 (*structpb.Struct)(nil), // 2: google.protobuf.Struct 167 } 168 var file_go_chromium_org_luci_resultdb_proto_bq_common_proto_depIdxs = []int32{ 169 1, // 0: luci.resultdb.bq.InvocationRecord.tags:type_name -> luci.resultdb.v1.StringPair 170 2, // 1: luci.resultdb.bq.InvocationRecord.properties:type_name -> google.protobuf.Struct 171 2, // [2:2] is the sub-list for method output_type 172 2, // [2:2] is the sub-list for method input_type 173 2, // [2:2] is the sub-list for extension type_name 174 2, // [2:2] is the sub-list for extension extendee 175 0, // [0:2] is the sub-list for field type_name 176 } 177 178 func init() { file_go_chromium_org_luci_resultdb_proto_bq_common_proto_init() } 179 func file_go_chromium_org_luci_resultdb_proto_bq_common_proto_init() { 180 if File_go_chromium_org_luci_resultdb_proto_bq_common_proto != nil { 181 return 182 } 183 if !protoimpl.UnsafeEnabled { 184 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 185 switch v := v.(*InvocationRecord); i { 186 case 0: 187 return &v.state 188 case 1: 189 return &v.sizeCache 190 case 2: 191 return &v.unknownFields 192 default: 193 return nil 194 } 195 } 196 } 197 type x struct{} 198 out := protoimpl.TypeBuilder{ 199 File: protoimpl.DescBuilder{ 200 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 201 RawDescriptor: file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDesc, 202 NumEnums: 0, 203 NumMessages: 1, 204 NumExtensions: 0, 205 NumServices: 0, 206 }, 207 GoTypes: file_go_chromium_org_luci_resultdb_proto_bq_common_proto_goTypes, 208 DependencyIndexes: file_go_chromium_org_luci_resultdb_proto_bq_common_proto_depIdxs, 209 MessageInfos: file_go_chromium_org_luci_resultdb_proto_bq_common_proto_msgTypes, 210 }.Build() 211 File_go_chromium_org_luci_resultdb_proto_bq_common_proto = out.File 212 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_rawDesc = nil 213 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_goTypes = nil 214 file_go_chromium_org_luci_resultdb_proto_bq_common_proto_depIdxs = nil 215 }