| 1 |
// Copyright 2021 Google LLC |
| 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.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/devtools/resultstore/v2/file.proto |
| 20 |
|
| 21 |
package resultstore |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" |
| 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 |
// If known, the hash function used to compute this digest. |
| 40 |
type File_HashType int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Unknown |
| 44 |
File_HASH_TYPE_UNSPECIFIED File_HashType = 0 |
| 45 |
// MD5 |
| 46 |
File_MD5 File_HashType = 1 |
| 47 |
// SHA-1 |
| 48 |
File_SHA1 File_HashType = 2 |
| 49 |
// SHA-256 |
| 50 |
File_SHA256 File_HashType = 3 |
| 51 |
) |
| 52 |
|
| 53 |
// Enum value maps for File_HashType. |
| 54 |
var ( |
| 55 |
File_HashType_name = map[int32]string{ |
| 56 |
0: "HASH_TYPE_UNSPECIFIED", |
| 57 |
1: "MD5", |
| 58 |
2: "SHA1", |
| 59 |
3: "SHA256", |
| 60 |
} |
| 61 |
File_HashType_value = map[string]int32{ |
| 62 |
"HASH_TYPE_UNSPECIFIED": 0, |
| 63 |
"MD5": 1, |
| 64 |
"SHA1": 2, |
| 65 |
"SHA256": 3, |
| 66 |
} |
| 67 |
) |
| 68 |
|
| 69 |
func (x File_HashType) Enum() *File_HashType { |
| 70 |
p := new(File_HashType) |
| 71 |
*p = x |
| 72 |
return p |
| 73 |
} |
| 74 |
|
| 75 |
func (x File_HashType) String() string { |
| 76 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 77 |
} |
| 78 |
|
| 79 |
func (File_HashType) Descriptor() protoreflect.EnumDescriptor { |
| 80 |
return file_google_devtools_resultstore_v2_file_proto_enumTypes[0].Descriptor() |
| 81 |
} |
| 82 |
|
| 83 |
func (File_HashType) Type() protoreflect.EnumType { |
| 84 |
return &file_google_devtools_resultstore_v2_file_proto_enumTypes[0] |
| 85 |
} |
| 86 |
|
| 87 |
func (x File_HashType) Number() protoreflect.EnumNumber { |
| 88 |
return protoreflect.EnumNumber(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use File_HashType.Descriptor instead. |
| 92 |
func (File_HashType) EnumDescriptor() ([]byte, []int) { |
| 93 |
return file_google_devtools_resultstore_v2_file_proto_rawDescGZIP(), []int{0, 0} |
| 94 |
} |
| 95 |
|
| 96 |
// The metadata for a file or an archive file entry. |
| 97 |
type File struct { |
| 98 |
state protoimpl.MessageState |
| 99 |
sizeCache protoimpl.SizeCache |
| 100 |
unknownFields protoimpl.UnknownFields |
| 101 |
|
| 102 |
// The identifier of the file or archive entry. |
| 103 |
// User-provided, must be unique for the repeated field it is in. When an |
| 104 |
// Append RPC is called with a Files field populated, if a File already exists |
| 105 |
// with this ID, that File will be overwritten with the new File proto. |
| 106 |
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` |
| 107 |
// The URI of a file. |
| 108 |
// This could also be the URI of an entire archive. |
| 109 |
// Most log data doesn't need to be stored forever, so a ttl is suggested. |
| 110 |
// Note that if you ever move or delete the file at this URI, the link from |
| 111 |
// the server will be broken. |
| 112 |
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` |
| 113 |
// The length of the file in bytes. Allows the filesize to be shown in the |
| 114 |
// UI. Omit if file is still being written or length is not known. This |
| 115 |
// could also be the length of an entire archive. |
| 116 |
Length *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=length,proto3" json:"length,omitempty"` |
| 117 |
// The content-type (aka MIME-type) of the file. This is sent to the web |
| 118 |
// browser so it knows how to handle the file. (e.g. text/plain, image/jpeg, |
| 119 |
// text/html, etc). For zip archives, use "application/zip". |
| 120 |
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` |
| 121 |
// If the above path, length, and content_type are referring to an archive, |
| 122 |
// and you wish to refer to a particular entry within that archive, put the |
| 123 |
// particular archive entry data here. |
| 124 |
ArchiveEntry *ArchiveEntry `protobuf:"bytes,5,opt,name=archive_entry,json=archiveEntry,proto3" json:"archive_entry,omitempty"` |
| 125 |
// A url to a content display app/site for this file or archive entry. |
| 126 |
ContentViewer string `protobuf:"bytes,6,opt,name=content_viewer,json=contentViewer,proto3" json:"content_viewer,omitempty"` |
| 127 |
// Whether to hide this file or archive entry in the UI. Defaults to false. |
| 128 |
// A checkbox lets users see hidden files, but they're hidden by default. |
| 129 |
Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"` |
| 130 |
// A short description of what this file or archive entry contains. This |
| 131 |
// description should help someone viewing the list of these files to |
| 132 |
// understand the purpose of this file and what they would want to view it |
| 133 |
// for. |
| 134 |
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` |
| 135 |
// The digest of this file in hexadecimal-like string if known. |
| 136 |
Digest string `protobuf:"bytes,9,opt,name=digest,proto3" json:"digest,omitempty"` |
| 137 |
// The algorithm corresponding to the digest if known. |
| 138 |
HashType File_HashType `protobuf:"varint,10,opt,name=hash_type,json=hashType,proto3,enum=google.devtools.resultstore.v2.File_HashType" json:"hash_type,omitempty"` |
| 139 |
} |
| 140 |
|
| 141 |
func (x *File) Reset() { |
| 142 |
*x = File{} |
| 143 |
if protoimpl.UnsafeEnabled { |
| 144 |
mi := &file_google_devtools_resultstore_v2_file_proto_msgTypes[0] |
| 145 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 146 |
ms.StoreMessageInfo(mi) |
| 147 |
} |
| 148 |
} |
| 149 |
|
| 150 |
func (x *File) String() string { |
| 151 |
return protoimpl.X.MessageStringOf(x) |
| 152 |
} |
| 153 |
|
| 154 |
func (*File) ProtoMessage() {} |
| 155 |
|
| 156 |
func (x *File) ProtoReflect() protoreflect.Message { |
| 157 |
mi := &file_google_devtools_resultstore_v2_file_proto_msgTypes[0] |
| 158 |
if protoimpl.UnsafeEnabled && x != nil { |
| 159 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 160 |
if ms.LoadMessageInfo() == nil { |
| 161 |
ms.StoreMessageInfo(mi) |
| 162 |
} |
| 163 |
return ms |
| 164 |
} |
| 165 |
return mi.MessageOf(x) |
| 166 |
} |
| 167 |
|
| 168 |
// Deprecated: Use File.ProtoReflect.Descriptor instead. |
| 169 |
func (*File) Descriptor() ([]byte, []int) { |
| 170 |
return file_google_devtools_resultstore_v2_file_proto_rawDescGZIP(), []int{0} |
| 171 |
} |
| 172 |
|
| 173 |
func (x *File) GetUid() string { |
| 174 |
if x != nil { |
| 175 |
return x.Uid |
| 176 |
} |
| 177 |
return "" |
| 178 |
} |
| 179 |
|
| 180 |
func (x *File) GetUri() string { |
| 181 |
if x != nil { |
| 182 |
return x.Uri |
| 183 |
} |
| 184 |
return "" |
| 185 |
} |
| 186 |
|
| 187 |
func (x *File) GetLength() *wrapperspb.Int64Value { |
| 188 |
if x != nil { |
| 189 |
return x.Length |
| 190 |
} |
| 191 |
return nil |
| 192 |
} |
| 193 |
|
| 194 |
func (x *File) GetContentType() string { |
| 195 |
if x != nil { |
| 196 |
return x.ContentType |
| 197 |
} |
| 198 |
return "" |
| 199 |
} |
| 200 |
|
| 201 |
func (x *File) GetArchiveEntry() *ArchiveEntry { |
| 202 |
if x != nil { |
| 203 |
return x.ArchiveEntry |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *File) GetContentViewer() string { |
| 209 |
if x != nil { |
| 210 |
return x.ContentViewer |
| 211 |
} |
| 212 |
return "" |
| 213 |
} |
| 214 |
|
| 215 |
func (x *File) GetHidden() bool { |
| 216 |
if x != nil { |
| 217 |
return x.Hidden |
| 218 |
} |
| 219 |
return false |
| 220 |
} |
| 221 |
|
| 222 |
func (x *File) GetDescription() string { |
| 223 |
if x != nil { |
| 224 |
return x.Description |
| 225 |
} |
| 226 |
return "" |
| 227 |
} |
| 228 |
|
| 229 |
func (x *File) GetDigest() string { |
| 230 |
if x != nil { |
| 231 |
return x.Digest |
| 232 |
} |
| 233 |
return "" |
| 234 |
} |
| 235 |
|
| 236 |
func (x *File) GetHashType() File_HashType { |
| 237 |
if x != nil { |
| 238 |
return x.HashType |
| 239 |
} |
| 240 |
return File_HASH_TYPE_UNSPECIFIED |
| 241 |
} |
| 242 |
|
| 243 |
// Information specific to an entry in an archive. |
| 244 |
type ArchiveEntry struct { |
| 245 |
state protoimpl.MessageState |
| 246 |
sizeCache protoimpl.SizeCache |
| 247 |
unknownFields protoimpl.UnknownFields |
| 248 |
|
| 249 |
// The relative path of the entry within the archive. |
| 250 |
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| 251 |
// The uncompressed length of the archive entry in bytes. Allows the entry |
| 252 |
// size to be shown in the UI. Omit if the length is not known. |
| 253 |
Length *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=length,proto3" json:"length,omitempty"` |
| 254 |
// The content-type (aka MIME-type) of the archive entry. (e.g. text/plain, |
| 255 |
// image/jpeg, text/html, etc). This is sent to the web browser so it knows |
| 256 |
// how to handle the entry. |
| 257 |
ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` |
| 258 |
} |
| 259 |
|
| 260 |
func (x *ArchiveEntry) Reset() { |
| 261 |
*x = ArchiveEntry{} |
| 262 |
if protoimpl.UnsafeEnabled { |
| 263 |
mi := &file_google_devtools_resultstore_v2_file_proto_msgTypes[1] |
| 264 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 265 |
ms.StoreMessageInfo(mi) |
| 266 |
} |
| 267 |
} |
| 268 |
|
| 269 |
func (x *ArchiveEntry) String() string { |
| 270 |
return protoimpl.X.MessageStringOf(x) |
| 271 |
} |
| 272 |
|
| 273 |
func (*ArchiveEntry) ProtoMessage() {} |
| 274 |
|
| 275 |
func (x *ArchiveEntry) ProtoReflect() protoreflect.Message { |
| 276 |
mi := &file_google_devtools_resultstore_v2_file_proto_msgTypes[1] |
| 277 |
if protoimpl.UnsafeEnabled && x != nil { |
| 278 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 279 |
if ms.LoadMessageInfo() == nil { |
| 280 |
ms.StoreMessageInfo(mi) |
| 281 |
} |
| 282 |
return ms |
| 283 |
} |
| 284 |
return mi.MessageOf(x) |
| 285 |
} |
| 286 |
|
| 287 |
// Deprecated: Use ArchiveEntry.ProtoReflect.Descriptor instead. |
| 288 |
func (*ArchiveEntry) Descriptor() ([]byte, []int) { |
| 289 |
return file_google_devtools_resultstore_v2_file_proto_rawDescGZIP(), []int{1} |
| 290 |
} |
| 291 |
|
| 292 |
func (x *ArchiveEntry) GetPath() string { |
| 293 |
if x != nil { |
| 294 |
return x.Path |
| 295 |
} |
| 296 |
return "" |
| 297 |
} |
| 298 |
|
| 299 |
func (x *ArchiveEntry) GetLength() *wrapperspb.Int64Value { |
| 300 |
if x != nil { |
| 301 |
return x.Length |
| 302 |
} |
| 303 |
return nil |
| 304 |
} |
| 305 |
|
| 306 |
func (x *ArchiveEntry) GetContentType() string { |
| 307 |
if x != nil { |
| 308 |
return x.ContentType |
| 309 |
} |
| 310 |
return "" |
| 311 |
} |
| 312 |
|
| 313 |
var File_google_devtools_resultstore_v2_file_proto protoreflect.FileDescriptor |
| 314 |
|
| 315 |
var file_google_devtools_resultstore_v2_file_proto_rawDesc = []byte{ |
| 316 |
0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 317 |
0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, |
| 318 |
0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, |
| 319 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, |
| 320 |
0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, |
| 321 |
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, |
| 322 |
0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x03, 0x0a, 0x04, |
| 323 |
0x46, 0x69, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 324 |
0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, |
| 325 |
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, |
| 326 |
0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 327 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, |
| 328 |
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x21, 0x0a, |
| 329 |
0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, |
| 330 |
0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, |
| 331 |
0x12, 0x51, 0x0a, 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, |
| 332 |
0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 333 |
0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 334 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, |
| 335 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x45, 0x6e, |
| 336 |
0x74, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x76, |
| 337 |
0x69, 0x65, 0x77, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, |
| 338 |
0x74, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x65, 0x77, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x69, |
| 339 |
0x64, 0x64, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, |
| 340 |
0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, |
| 341 |
0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 342 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x09, |
| 343 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x09, |
| 344 |
0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 345 |
0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 346 |
0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, |
| 347 |
0x2e, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, |
| 348 |
0x68, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x22, 0x44, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, |
| 349 |
0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x54, 0x59, 0x50, |
| 350 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 351 |
0x07, 0x0a, 0x03, 0x4d, 0x44, 0x35, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x48, 0x41, 0x31, |
| 352 |
0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x03, 0x22, 0x7a, |
| 353 |
0x0a, 0x0c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, |
| 354 |
0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, |
| 355 |
0x74, 0x68, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, |
| 356 |
0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 357 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, |
| 358 |
0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 359 |
0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, |
| 360 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x7c, 0x0a, 0x22, 0x63, 0x6f, |
| 361 |
0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 362 |
0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, |
| 363 |
0x42, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, |
| 364 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, |
| 365 |
0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 366 |
0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, |
| 367 |
0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, |
| 368 |
0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 369 |
} |
| 370 |
|
| 371 |
var ( |
| 372 |
file_google_devtools_resultstore_v2_file_proto_rawDescOnce sync.Once |
| 373 |
file_google_devtools_resultstore_v2_file_proto_rawDescData = file_google_devtools_resultstore_v2_file_proto_rawDesc |
| 374 |
) |
| 375 |
|
| 376 |
func file_google_devtools_resultstore_v2_file_proto_rawDescGZIP() []byte { |
| 377 |
file_google_devtools_resultstore_v2_file_proto_rawDescOnce.Do(func() { |
| 378 |
file_google_devtools_resultstore_v2_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_file_proto_rawDescData) |
| 379 |
}) |
| 380 |
return file_google_devtools_resultstore_v2_file_proto_rawDescData |
| 381 |
} |
| 382 |
|
| 383 |
var file_google_devtools_resultstore_v2_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 384 |
var file_google_devtools_resultstore_v2_file_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 385 |
var file_google_devtools_resultstore_v2_file_proto_goTypes = []interface{}{ |
| 386 |
(File_HashType)(0), // 0: google.devtools.resultstore.v2.File.HashType |
| 387 |
(*File)(nil), // 1: google.devtools.resultstore.v2.File |
| 388 |
(*ArchiveEntry)(nil), // 2: google.devtools.resultstore.v2.ArchiveEntry |
| 389 |
(*wrapperspb.Int64Value)(nil), // 3: google.protobuf.Int64Value |
| 390 |
} |
| 391 |
var file_google_devtools_resultstore_v2_file_proto_depIdxs = []int32{ |
| 392 |
3, // 0: google.devtools.resultstore.v2.File.length:type_name -> google.protobuf.Int64Value |
| 393 |
2, // 1: google.devtools.resultstore.v2.File.archive_entry:type_name -> google.devtools.resultstore.v2.ArchiveEntry |
| 394 |
0, // 2: google.devtools.resultstore.v2.File.hash_type:type_name -> google.devtools.resultstore.v2.File.HashType |
| 395 |
3, // 3: google.devtools.resultstore.v2.ArchiveEntry.length:type_name -> google.protobuf.Int64Value |
| 396 |
4, // [4:4] is the sub-list for method output_type |
| 397 |
4, // [4:4] is the sub-list for method input_type |
| 398 |
4, // [4:4] is the sub-list for extension type_name |
| 399 |
4, // [4:4] is the sub-list for extension extendee |
| 400 |
0, // [0:4] is the sub-list for field type_name |
| 401 |
} |
| 402 |
|
| 403 |
func init() { file_google_devtools_resultstore_v2_file_proto_init() } |
| 404 |
func file_google_devtools_resultstore_v2_file_proto_init() { |
| 405 |
if File_google_devtools_resultstore_v2_file_proto != nil { |
| 406 |
return |
| 407 |
} |
| 408 |
if !protoimpl.UnsafeEnabled { |
| 409 |
file_google_devtools_resultstore_v2_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 410 |
switch v := v.(*File); i { |
| 411 |
case 0: |
| 412 |
return &v.state |
| 413 |
case 1: |
| 414 |
return &v.sizeCache |
| 415 |
case 2: |
| 416 |
return &v.unknownFields |
| 417 |
default: |
| 418 |
return nil |
| 419 |
} |
| 420 |
} |
| 421 |
file_google_devtools_resultstore_v2_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 422 |
switch v := v.(*ArchiveEntry); i { |
| 423 |
case 0: |
| 424 |
return &v.state |
| 425 |
case 1: |
| 426 |
return &v.sizeCache |
| 427 |
case 2: |
| 428 |
return &v.unknownFields |
| 429 |
default: |
| 430 |
return nil |
| 431 |
} |
| 432 |
} |
| 433 |
} |
| 434 |
type x struct{} |
| 435 |
out := protoimpl.TypeBuilder{ |
| 436 |
File: protoimpl.DescBuilder{ |
| 437 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 438 |
RawDescriptor: file_google_devtools_resultstore_v2_file_proto_rawDesc, |
| 439 |
NumEnums: 1, |
| 440 |
NumMessages: 2, |
| 441 |
NumExtensions: 0, |
| 442 |
NumServices: 0, |
| 443 |
}, |
| 444 |
GoTypes: file_google_devtools_resultstore_v2_file_proto_goTypes, |
| 445 |
DependencyIndexes: file_google_devtools_resultstore_v2_file_proto_depIdxs, |
| 446 |
EnumInfos: file_google_devtools_resultstore_v2_file_proto_enumTypes, |
| 447 |
MessageInfos: file_google_devtools_resultstore_v2_file_proto_msgTypes, |
| 448 |
}.Build() |
| 449 |
File_google_devtools_resultstore_v2_file_proto = out.File |
| 450 |
file_google_devtools_resultstore_v2_file_proto_rawDesc = nil |
| 451 |
file_google_devtools_resultstore_v2_file_proto_goTypes = nil |
| 452 |
file_google_devtools_resultstore_v2_file_proto_depIdxs = nil |
| 453 |
} |