go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/provenance/api/spikepb/ids/inspect.pb.go (about) 1 // Copyright 2022 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/provenance/api/spikepb/ids/inspect.proto 20 21 package idspb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 emptypb "google.golang.org/protobuf/types/known/emptypb" 27 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 28 reflect "reflect" 29 sync "sync" 30 ) 31 32 const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37 ) 38 39 // InspectionReportRequest encapsulates a policies inspect report to Spike. 40 type InspectionReportRequest struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // An identifier for Spike to use to associate a report to a policy. 46 // Since there might be multiple policies running at the same time, 47 // Spike needs to know which policy is reporting what. 48 PolicySignature string `protobuf:"bytes,1,opt,name=policy_signature,json=policySignature,proto3" json:"policy_signature,omitempty"` 49 // Details will have the information policy wants to export. It will 50 // have unique information depending upon the policy. 51 // 52 // For example, network proxy will have `NetworkActivityLog `information 53 // from google3/security/bcid/proto/software/network_proxy.proto. 54 // Processing of this information will be at Spike, i.e. Spike will 55 // learn how to interpret a particular type of report. 56 Details *Details `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` 57 // Identifier of a build. 58 BuildId string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` 59 Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 60 // Provenance critical dictates whether this inspection report needs is 61 // needed for generating provenance. 62 ProvenanceCritical bool `protobuf:"varint,5,opt,name=provenance_critical,json=provenanceCritical,proto3" json:"provenance_critical,omitempty"` 63 } 64 65 func (x *InspectionReportRequest) Reset() { 66 *x = InspectionReportRequest{} 67 if protoimpl.UnsafeEnabled { 68 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[0] 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 70 ms.StoreMessageInfo(mi) 71 } 72 } 73 74 func (x *InspectionReportRequest) String() string { 75 return protoimpl.X.MessageStringOf(x) 76 } 77 78 func (*InspectionReportRequest) ProtoMessage() {} 79 80 func (x *InspectionReportRequest) ProtoReflect() protoreflect.Message { 81 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[0] 82 if protoimpl.UnsafeEnabled && x != nil { 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 if ms.LoadMessageInfo() == nil { 85 ms.StoreMessageInfo(mi) 86 } 87 return ms 88 } 89 return mi.MessageOf(x) 90 } 91 92 // Deprecated: Use InspectionReportRequest.ProtoReflect.Descriptor instead. 93 func (*InspectionReportRequest) Descriptor() ([]byte, []int) { 94 return file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescGZIP(), []int{0} 95 } 96 97 func (x *InspectionReportRequest) GetPolicySignature() string { 98 if x != nil { 99 return x.PolicySignature 100 } 101 return "" 102 } 103 104 func (x *InspectionReportRequest) GetDetails() *Details { 105 if x != nil { 106 return x.Details 107 } 108 return nil 109 } 110 111 func (x *InspectionReportRequest) GetBuildId() string { 112 if x != nil { 113 return x.BuildId 114 } 115 return "" 116 } 117 118 func (x *InspectionReportRequest) GetTimestamp() *timestamppb.Timestamp { 119 if x != nil { 120 return x.Timestamp 121 } 122 return nil 123 } 124 125 func (x *InspectionReportRequest) GetProvenanceCritical() bool { 126 if x != nil { 127 return x.ProvenanceCritical 128 } 129 return false 130 } 131 132 // Details will have the information policy wants to export. It will have unique 133 // information depending upon the policy. 134 type Details struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 // Types that are assignable to Material: 140 // 141 // *Details_Sample 142 // *Details_NetworkProxy 143 Material isDetails_Material `protobuf_oneof:"material"` 144 } 145 146 func (x *Details) Reset() { 147 *x = Details{} 148 if protoimpl.UnsafeEnabled { 149 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[1] 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 151 ms.StoreMessageInfo(mi) 152 } 153 } 154 155 func (x *Details) String() string { 156 return protoimpl.X.MessageStringOf(x) 157 } 158 159 func (*Details) ProtoMessage() {} 160 161 func (x *Details) ProtoReflect() protoreflect.Message { 162 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[1] 163 if protoimpl.UnsafeEnabled && x != nil { 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 if ms.LoadMessageInfo() == nil { 166 ms.StoreMessageInfo(mi) 167 } 168 return ms 169 } 170 return mi.MessageOf(x) 171 } 172 173 // Deprecated: Use Details.ProtoReflect.Descriptor instead. 174 func (*Details) Descriptor() ([]byte, []int) { 175 return file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescGZIP(), []int{1} 176 } 177 178 func (m *Details) GetMaterial() isDetails_Material { 179 if m != nil { 180 return m.Material 181 } 182 return nil 183 } 184 185 func (x *Details) GetSample() *Sample { 186 if x, ok := x.GetMaterial().(*Details_Sample); ok { 187 return x.Sample 188 } 189 return nil 190 } 191 192 func (x *Details) GetNetworkProxy() *NetworkProxy { 193 if x, ok := x.GetMaterial().(*Details_NetworkProxy); ok { 194 return x.NetworkProxy 195 } 196 return nil 197 } 198 199 type isDetails_Material interface { 200 isDetails_Material() 201 } 202 203 type Details_Sample struct { 204 // Sample is an example policy for SPEE demonstration. 205 Sample *Sample `protobuf:"bytes,1,opt,name=sample,proto3,oneof"` 206 } 207 208 type Details_NetworkProxy struct { 209 // NetworkProxy is BCID owned network proxy tool capable of enforcing 210 // network isolation policies. 211 NetworkProxy *NetworkProxy `protobuf:"bytes,2,opt,name=network_proxy,json=networkProxy,proto3,oneof"` 212 } 213 214 func (*Details_Sample) isDetails_Material() {} 215 216 func (*Details_NetworkProxy) isDetails_Material() {} 217 218 // NetworkProxy provides a transparent proxy between build process and the 219 // internet. Read more at: go/luci-network-proxy (Google-internal). 220 // 221 // Information received from this policy will be included in SLSA provenance. 222 type NetworkProxy struct { 223 state protoimpl.MessageState 224 sizeCache protoimpl.SizeCache 225 unknownFields protoimpl.UnknownFields 226 227 // URI of the request observed at the proxy. 228 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 229 // Optional digest of a material downloaded with the network request. 230 Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` 231 } 232 233 func (x *NetworkProxy) Reset() { 234 *x = NetworkProxy{} 235 if protoimpl.UnsafeEnabled { 236 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[2] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 ms.StoreMessageInfo(mi) 239 } 240 } 241 242 func (x *NetworkProxy) String() string { 243 return protoimpl.X.MessageStringOf(x) 244 } 245 246 func (*NetworkProxy) ProtoMessage() {} 247 248 func (x *NetworkProxy) ProtoReflect() protoreflect.Message { 249 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[2] 250 if protoimpl.UnsafeEnabled && x != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(x) 258 } 259 260 // Deprecated: Use NetworkProxy.ProtoReflect.Descriptor instead. 261 func (*NetworkProxy) Descriptor() ([]byte, []int) { 262 return file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescGZIP(), []int{2} 263 } 264 265 func (x *NetworkProxy) GetUri() string { 266 if x != nil { 267 return x.Uri 268 } 269 return "" 270 } 271 272 func (x *NetworkProxy) GetDigest() string { 273 if x != nil { 274 return x.Digest 275 } 276 return "" 277 } 278 279 type Sample struct { 280 state protoimpl.MessageState 281 sizeCache protoimpl.SizeCache 282 unknownFields protoimpl.UnknownFields 283 284 Ping bool `protobuf:"varint,1,opt,name=ping,proto3" json:"ping,omitempty"` 285 } 286 287 func (x *Sample) Reset() { 288 *x = Sample{} 289 if protoimpl.UnsafeEnabled { 290 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[3] 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 ms.StoreMessageInfo(mi) 293 } 294 } 295 296 func (x *Sample) String() string { 297 return protoimpl.X.MessageStringOf(x) 298 } 299 300 func (*Sample) ProtoMessage() {} 301 302 func (x *Sample) ProtoReflect() protoreflect.Message { 303 mi := &file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[3] 304 if protoimpl.UnsafeEnabled && x != nil { 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 if ms.LoadMessageInfo() == nil { 307 ms.StoreMessageInfo(mi) 308 } 309 return ms 310 } 311 return mi.MessageOf(x) 312 } 313 314 // Deprecated: Use Sample.ProtoReflect.Descriptor instead. 315 func (*Sample) Descriptor() ([]byte, []int) { 316 return file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescGZIP(), []int{3} 317 } 318 319 func (x *Sample) GetPing() bool { 320 if x != nil { 321 return x.Ping 322 } 323 return false 324 } 325 326 var File_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto protoreflect.FileDescriptor 327 328 var file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDesc = []byte{ 329 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 330 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 331 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x70, 0x62, 0x2f, 0x69, 0x64, 332 0x73, 0x2f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 333 0x09, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x2e, 0x69, 0x64, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 334 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 335 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 336 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 337 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x73, 338 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 339 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x73, 340 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 341 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 342 0x2c, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 343 0x32, 0x12, 0x2e, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x2e, 0x69, 0x64, 0x73, 0x2e, 0x44, 0x65, 0x74, 344 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x19, 0x0a, 345 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 346 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 347 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 348 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 349 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 350 0x6d, 0x70, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 351 0x5f, 0x63, 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 352 0x12, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x72, 0x69, 0x74, 0x69, 353 0x63, 0x61, 0x6c, 0x22, 0x82, 0x01, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 354 0x2b, 0x0a, 0x06, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 355 0x11, 0x2e, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x2e, 0x69, 0x64, 0x73, 0x2e, 0x53, 0x61, 0x6d, 0x70, 356 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 357 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x02, 0x20, 358 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x2e, 0x69, 0x64, 0x73, 0x2e, 359 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x48, 0x00, 0x52, 0x0c, 360 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x0a, 0x0a, 0x08, 361 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x38, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x77, 362 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 363 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 364 0x67, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 365 0x73, 0x74, 0x22, 0x1c, 0x0a, 0x06, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 366 0x70, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x69, 0x6e, 0x67, 367 0x32, 0x59, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x4e, 0x0a, 0x10, 0x49, 368 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 369 0x22, 0x2e, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x2e, 0x69, 0x64, 0x73, 0x2e, 0x49, 0x6e, 0x73, 0x70, 370 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 371 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 372 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x37, 0x5a, 0x35, 0x67, 373 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 374 0x75, 0x63, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x61, 375 0x70, 0x69, 0x2f, 0x73, 0x70, 0x69, 0x6b, 0x65, 0x70, 0x62, 0x2f, 0x69, 0x64, 0x73, 0x3b, 0x69, 376 0x64, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 377 } 378 379 var ( 380 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescOnce sync.Once 381 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescData = file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDesc 382 ) 383 384 func file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescGZIP() []byte { 385 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescOnce.Do(func() { 386 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescData) 387 }) 388 return file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDescData 389 } 390 391 var file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 392 var file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_goTypes = []interface{}{ 393 (*InspectionReportRequest)(nil), // 0: spike.ids.InspectionReportRequest 394 (*Details)(nil), // 1: spike.ids.Details 395 (*NetworkProxy)(nil), // 2: spike.ids.NetworkProxy 396 (*Sample)(nil), // 3: spike.ids.Sample 397 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp 398 (*emptypb.Empty)(nil), // 5: google.protobuf.Empty 399 } 400 var file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_depIdxs = []int32{ 401 1, // 0: spike.ids.InspectionReportRequest.details:type_name -> spike.ids.Details 402 4, // 1: spike.ids.InspectionReportRequest.timestamp:type_name -> google.protobuf.Timestamp 403 3, // 2: spike.ids.Details.sample:type_name -> spike.ids.Sample 404 2, // 3: spike.ids.Details.network_proxy:type_name -> spike.ids.NetworkProxy 405 0, // 4: spike.ids.Inspect.InspectionReport:input_type -> spike.ids.InspectionReportRequest 406 5, // 5: spike.ids.Inspect.InspectionReport:output_type -> google.protobuf.Empty 407 5, // [5:6] is the sub-list for method output_type 408 4, // [4:5] is the sub-list for method input_type 409 4, // [4:4] is the sub-list for extension type_name 410 4, // [4:4] is the sub-list for extension extendee 411 0, // [0:4] is the sub-list for field type_name 412 } 413 414 func init() { file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_init() } 415 func file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_init() { 416 if File_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto != nil { 417 return 418 } 419 if !protoimpl.UnsafeEnabled { 420 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 421 switch v := v.(*InspectionReportRequest); i { 422 case 0: 423 return &v.state 424 case 1: 425 return &v.sizeCache 426 case 2: 427 return &v.unknownFields 428 default: 429 return nil 430 } 431 } 432 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 433 switch v := v.(*Details); i { 434 case 0: 435 return &v.state 436 case 1: 437 return &v.sizeCache 438 case 2: 439 return &v.unknownFields 440 default: 441 return nil 442 } 443 } 444 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 445 switch v := v.(*NetworkProxy); i { 446 case 0: 447 return &v.state 448 case 1: 449 return &v.sizeCache 450 case 2: 451 return &v.unknownFields 452 default: 453 return nil 454 } 455 } 456 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 457 switch v := v.(*Sample); i { 458 case 0: 459 return &v.state 460 case 1: 461 return &v.sizeCache 462 case 2: 463 return &v.unknownFields 464 default: 465 return nil 466 } 467 } 468 } 469 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes[1].OneofWrappers = []interface{}{ 470 (*Details_Sample)(nil), 471 (*Details_NetworkProxy)(nil), 472 } 473 type x struct{} 474 out := protoimpl.TypeBuilder{ 475 File: protoimpl.DescBuilder{ 476 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 477 RawDescriptor: file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDesc, 478 NumEnums: 0, 479 NumMessages: 4, 480 NumExtensions: 0, 481 NumServices: 1, 482 }, 483 GoTypes: file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_goTypes, 484 DependencyIndexes: file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_depIdxs, 485 MessageInfos: file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_msgTypes, 486 }.Build() 487 File_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto = out.File 488 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_rawDesc = nil 489 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_goTypes = nil 490 file_go_chromium_org_luci_provenance_api_spikepb_ids_inspect_proto_depIdxs = nil 491 }