fork of whitequark.org/git-pages with mods for tangled
at main 20 kB view raw
1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.36.10 4// protoc v6.30.2 5// source: schema.proto 6 7package git_pages 8 9import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 unsafe "unsafe" 15) 16 17const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22) 23 24type Type int32 25 26const ( 27 // Invalid entry. 28 Type_Invalid Type = 0 29 // Directory. 30 Type_Directory Type = 1 31 // Inline file. `Blob.Data` contains file contents. 32 Type_InlineFile Type = 2 33 // External file. `Blob.Data` contains object reference. 34 Type_ExternalFile Type = 3 35 // Symlink. `Blob.Data` contains relative path. 36 Type_Symlink Type = 4 37) 38 39// Enum value maps for Type. 40var ( 41 Type_name = map[int32]string{ 42 0: "Invalid", 43 1: "Directory", 44 2: "InlineFile", 45 3: "ExternalFile", 46 4: "Symlink", 47 } 48 Type_value = map[string]int32{ 49 "Invalid": 0, 50 "Directory": 1, 51 "InlineFile": 2, 52 "ExternalFile": 3, 53 "Symlink": 4, 54 } 55) 56 57func (x Type) Enum() *Type { 58 p := new(Type) 59 *p = x 60 return p 61} 62 63func (x Type) String() string { 64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 65} 66 67func (Type) Descriptor() protoreflect.EnumDescriptor { 68 return file_schema_proto_enumTypes[0].Descriptor() 69} 70 71func (Type) Type() protoreflect.EnumType { 72 return &file_schema_proto_enumTypes[0] 73} 74 75func (x Type) Number() protoreflect.EnumNumber { 76 return protoreflect.EnumNumber(x) 77} 78 79// Deprecated: Use Type.Descriptor instead. 80func (Type) EnumDescriptor() ([]byte, []int) { 81 return file_schema_proto_rawDescGZIP(), []int{0} 82} 83 84// Transformation names should match HTTP `Accept-Encoding:` header. 85type Transform int32 86 87const ( 88 // No transformation. 89 Transform_Identity Transform = 0 90 // Zstandard compression. 91 Transform_Zstd Transform = 1 92) 93 94// Enum value maps for Transform. 95var ( 96 Transform_name = map[int32]string{ 97 0: "Identity", 98 1: "Zstd", 99 } 100 Transform_value = map[string]int32{ 101 "Identity": 0, 102 "Zstd": 1, 103 } 104) 105 106func (x Transform) Enum() *Transform { 107 p := new(Transform) 108 *p = x 109 return p 110} 111 112func (x Transform) String() string { 113 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 114} 115 116func (Transform) Descriptor() protoreflect.EnumDescriptor { 117 return file_schema_proto_enumTypes[1].Descriptor() 118} 119 120func (Transform) Type() protoreflect.EnumType { 121 return &file_schema_proto_enumTypes[1] 122} 123 124func (x Transform) Number() protoreflect.EnumNumber { 125 return protoreflect.EnumNumber(x) 126} 127 128// Deprecated: Use Transform.Descriptor instead. 129func (Transform) EnumDescriptor() ([]byte, []int) { 130 return file_schema_proto_rawDescGZIP(), []int{1} 131} 132 133type Entry struct { 134 state protoimpl.MessageState `protogen:"open.v1"` 135 Type *Type `protobuf:"varint,1,opt,name=type,enum=Type" json:"type,omitempty"` 136 // Only present for `type == InlineFile` and `type == ExternalFile`. 137 // For transformed entries, refers to the pre-transformation (decompressed) size; otherwise 138 // equal to `compressed_size`. 139 OriginalSize *int64 `protobuf:"varint,7,opt,name=original_size,json=originalSize" json:"original_size,omitempty"` 140 // Only present for `type == InlineFile` and `type == ExternalFile`. 141 // For transformed entries, refers to the post-transformation (compressed) size; otherwise 142 // equal to `original_size`. 143 CompressedSize *int64 `protobuf:"varint,2,opt,name=compressed_size,json=compressedSize" json:"compressed_size,omitempty"` 144 // Meaning depends on `type`: 145 // - If `type == InlineFile`, contains file data. 146 // - If `type == ExternalFile`, contains blob name (an otherwise unspecified 147 // cryptographically secure content hash). 148 // - If `type == Symlink`, contains link target. 149 // - Otherwise not present. 150 Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` 151 // Only present for `type == InlineFile` and `type == ExternalFile` that 152 // have been transformed. 153 Transform *Transform `protobuf:"varint,4,opt,name=transform,enum=Transform" json:"transform,omitempty"` 154 // Only present for `type == InlineFile` and `type == ExternalFile`. 155 // Currently, optional (not present on certain legacy manifests). 156 ContentType *string `protobuf:"bytes,5,opt,name=content_type,json=contentType" json:"content_type,omitempty"` 157 // May be present for `type == InlineFile` and `type == ExternalFile`. 158 // Used to reduce the amount of work being done during git checkouts. 159 // The type of hash used is determined by the length: 160 // - 40 bytes: SHA1DC (as hex) 161 // - 64 bytes: SHA256 (as hex) 162 GitHash *string `protobuf:"bytes,6,opt,name=git_hash,json=gitHash" json:"git_hash,omitempty"` 163 unknownFields protoimpl.UnknownFields 164 sizeCache protoimpl.SizeCache 165} 166 167func (x *Entry) Reset() { 168 *x = Entry{} 169 mi := &file_schema_proto_msgTypes[0] 170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 171 ms.StoreMessageInfo(mi) 172} 173 174func (x *Entry) String() string { 175 return protoimpl.X.MessageStringOf(x) 176} 177 178func (*Entry) ProtoMessage() {} 179 180func (x *Entry) ProtoReflect() protoreflect.Message { 181 mi := &file_schema_proto_msgTypes[0] 182 if x != nil { 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 if ms.LoadMessageInfo() == nil { 185 ms.StoreMessageInfo(mi) 186 } 187 return ms 188 } 189 return mi.MessageOf(x) 190} 191 192// Deprecated: Use Entry.ProtoReflect.Descriptor instead. 193func (*Entry) Descriptor() ([]byte, []int) { 194 return file_schema_proto_rawDescGZIP(), []int{0} 195} 196 197func (x *Entry) GetType() Type { 198 if x != nil && x.Type != nil { 199 return *x.Type 200 } 201 return Type_Invalid 202} 203 204func (x *Entry) GetOriginalSize() int64 { 205 if x != nil && x.OriginalSize != nil { 206 return *x.OriginalSize 207 } 208 return 0 209} 210 211func (x *Entry) GetCompressedSize() int64 { 212 if x != nil && x.CompressedSize != nil { 213 return *x.CompressedSize 214 } 215 return 0 216} 217 218func (x *Entry) GetData() []byte { 219 if x != nil { 220 return x.Data 221 } 222 return nil 223} 224 225func (x *Entry) GetTransform() Transform { 226 if x != nil && x.Transform != nil { 227 return *x.Transform 228 } 229 return Transform_Identity 230} 231 232func (x *Entry) GetContentType() string { 233 if x != nil && x.ContentType != nil { 234 return *x.ContentType 235 } 236 return "" 237} 238 239func (x *Entry) GetGitHash() string { 240 if x != nil && x.GitHash != nil { 241 return *x.GitHash 242 } 243 return "" 244} 245 246// See https://docs.netlify.com/manage/routing/redirects/overview/ for details. 247// Only a subset of the Netlify specification is representable here. 248type RedirectRule struct { 249 state protoimpl.MessageState `protogen:"open.v1"` 250 From *string `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"` 251 To *string `protobuf:"bytes,2,opt,name=to" json:"to,omitempty"` 252 Status *uint32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` 253 Force *bool `protobuf:"varint,4,opt,name=force" json:"force,omitempty"` 254 unknownFields protoimpl.UnknownFields 255 sizeCache protoimpl.SizeCache 256} 257 258func (x *RedirectRule) Reset() { 259 *x = RedirectRule{} 260 mi := &file_schema_proto_msgTypes[1] 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 ms.StoreMessageInfo(mi) 263} 264 265func (x *RedirectRule) String() string { 266 return protoimpl.X.MessageStringOf(x) 267} 268 269func (*RedirectRule) ProtoMessage() {} 270 271func (x *RedirectRule) ProtoReflect() protoreflect.Message { 272 mi := &file_schema_proto_msgTypes[1] 273 if x != nil { 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 if ms.LoadMessageInfo() == nil { 276 ms.StoreMessageInfo(mi) 277 } 278 return ms 279 } 280 return mi.MessageOf(x) 281} 282 283// Deprecated: Use RedirectRule.ProtoReflect.Descriptor instead. 284func (*RedirectRule) Descriptor() ([]byte, []int) { 285 return file_schema_proto_rawDescGZIP(), []int{1} 286} 287 288func (x *RedirectRule) GetFrom() string { 289 if x != nil && x.From != nil { 290 return *x.From 291 } 292 return "" 293} 294 295func (x *RedirectRule) GetTo() string { 296 if x != nil && x.To != nil { 297 return *x.To 298 } 299 return "" 300} 301 302func (x *RedirectRule) GetStatus() uint32 { 303 if x != nil && x.Status != nil { 304 return *x.Status 305 } 306 return 0 307} 308 309func (x *RedirectRule) GetForce() bool { 310 if x != nil && x.Force != nil { 311 return *x.Force 312 } 313 return false 314} 315 316// See https://docs.netlify.com/manage/routing/headers/ for details. 317type Header struct { 318 state protoimpl.MessageState `protogen:"open.v1"` 319 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 320 Values []string `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"` 321 unknownFields protoimpl.UnknownFields 322 sizeCache protoimpl.SizeCache 323} 324 325func (x *Header) Reset() { 326 *x = Header{} 327 mi := &file_schema_proto_msgTypes[2] 328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 329 ms.StoreMessageInfo(mi) 330} 331 332func (x *Header) String() string { 333 return protoimpl.X.MessageStringOf(x) 334} 335 336func (*Header) ProtoMessage() {} 337 338func (x *Header) ProtoReflect() protoreflect.Message { 339 mi := &file_schema_proto_msgTypes[2] 340 if x != nil { 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 if ms.LoadMessageInfo() == nil { 343 ms.StoreMessageInfo(mi) 344 } 345 return ms 346 } 347 return mi.MessageOf(x) 348} 349 350// Deprecated: Use Header.ProtoReflect.Descriptor instead. 351func (*Header) Descriptor() ([]byte, []int) { 352 return file_schema_proto_rawDescGZIP(), []int{2} 353} 354 355func (x *Header) GetName() string { 356 if x != nil && x.Name != nil { 357 return *x.Name 358 } 359 return "" 360} 361 362func (x *Header) GetValues() []string { 363 if x != nil { 364 return x.Values 365 } 366 return nil 367} 368 369type HeaderRule struct { 370 state protoimpl.MessageState `protogen:"open.v1"` 371 Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` 372 HeaderMap []*Header `protobuf:"bytes,2,rep,name=header_map,json=headerMap" json:"header_map,omitempty"` 373 unknownFields protoimpl.UnknownFields 374 sizeCache protoimpl.SizeCache 375} 376 377func (x *HeaderRule) Reset() { 378 *x = HeaderRule{} 379 mi := &file_schema_proto_msgTypes[3] 380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 381 ms.StoreMessageInfo(mi) 382} 383 384func (x *HeaderRule) String() string { 385 return protoimpl.X.MessageStringOf(x) 386} 387 388func (*HeaderRule) ProtoMessage() {} 389 390func (x *HeaderRule) ProtoReflect() protoreflect.Message { 391 mi := &file_schema_proto_msgTypes[3] 392 if x != nil { 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 if ms.LoadMessageInfo() == nil { 395 ms.StoreMessageInfo(mi) 396 } 397 return ms 398 } 399 return mi.MessageOf(x) 400} 401 402// Deprecated: Use HeaderRule.ProtoReflect.Descriptor instead. 403func (*HeaderRule) Descriptor() ([]byte, []int) { 404 return file_schema_proto_rawDescGZIP(), []int{3} 405} 406 407func (x *HeaderRule) GetPath() string { 408 if x != nil && x.Path != nil { 409 return *x.Path 410 } 411 return "" 412} 413 414func (x *HeaderRule) GetHeaderMap() []*Header { 415 if x != nil { 416 return x.HeaderMap 417 } 418 return nil 419} 420 421type Problem struct { 422 state protoimpl.MessageState `protogen:"open.v1"` 423 Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` 424 Cause *string `protobuf:"bytes,2,opt,name=cause" json:"cause,omitempty"` 425 unknownFields protoimpl.UnknownFields 426 sizeCache protoimpl.SizeCache 427} 428 429func (x *Problem) Reset() { 430 *x = Problem{} 431 mi := &file_schema_proto_msgTypes[4] 432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 433 ms.StoreMessageInfo(mi) 434} 435 436func (x *Problem) String() string { 437 return protoimpl.X.MessageStringOf(x) 438} 439 440func (*Problem) ProtoMessage() {} 441 442func (x *Problem) ProtoReflect() protoreflect.Message { 443 mi := &file_schema_proto_msgTypes[4] 444 if x != nil { 445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 446 if ms.LoadMessageInfo() == nil { 447 ms.StoreMessageInfo(mi) 448 } 449 return ms 450 } 451 return mi.MessageOf(x) 452} 453 454// Deprecated: Use Problem.ProtoReflect.Descriptor instead. 455func (*Problem) Descriptor() ([]byte, []int) { 456 return file_schema_proto_rawDescGZIP(), []int{4} 457} 458 459func (x *Problem) GetPath() string { 460 if x != nil && x.Path != nil { 461 return *x.Path 462 } 463 return "" 464} 465 466func (x *Problem) GetCause() string { 467 if x != nil && x.Cause != nil { 468 return *x.Cause 469 } 470 return "" 471} 472 473type Manifest struct { 474 state protoimpl.MessageState `protogen:"open.v1"` 475 // Source metadata 476 RepoUrl *string `protobuf:"bytes,1,opt,name=repo_url,json=repoUrl" json:"repo_url,omitempty"` 477 Branch *string `protobuf:"bytes,2,opt,name=branch" json:"branch,omitempty"` 478 Commit *string `protobuf:"bytes,3,opt,name=commit" json:"commit,omitempty"` 479 // Contents 480 Contents map[string]*Entry `protobuf:"bytes,4,rep,name=contents" json:"contents,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 481 OriginalSize *int64 `protobuf:"varint,10,opt,name=original_size,json=originalSize" json:"original_size,omitempty"` // total size of entries before compression 482 CompressedSize *int64 `protobuf:"varint,5,opt,name=compressed_size,json=compressedSize" json:"compressed_size,omitempty"` // simple sum of each `entry.size` 483 StoredSize *int64 `protobuf:"varint,8,opt,name=stored_size,json=storedSize" json:"stored_size,omitempty"` // total size of (deduplicated) external objects 484 // Netlify-style `_redirects` and `_headers` 485 Redirects []*RedirectRule `protobuf:"bytes,6,rep,name=redirects" json:"redirects,omitempty"` 486 Headers []*HeaderRule `protobuf:"bytes,9,rep,name=headers" json:"headers,omitempty"` 487 // Diagnostics for non-fatal errors 488 Problems []*Problem `protobuf:"bytes,7,rep,name=problems" json:"problems,omitempty"` 489 unknownFields protoimpl.UnknownFields 490 sizeCache protoimpl.SizeCache 491} 492 493func (x *Manifest) Reset() { 494 *x = Manifest{} 495 mi := &file_schema_proto_msgTypes[5] 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 ms.StoreMessageInfo(mi) 498} 499 500func (x *Manifest) String() string { 501 return protoimpl.X.MessageStringOf(x) 502} 503 504func (*Manifest) ProtoMessage() {} 505 506func (x *Manifest) ProtoReflect() protoreflect.Message { 507 mi := &file_schema_proto_msgTypes[5] 508 if x != nil { 509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 510 if ms.LoadMessageInfo() == nil { 511 ms.StoreMessageInfo(mi) 512 } 513 return ms 514 } 515 return mi.MessageOf(x) 516} 517 518// Deprecated: Use Manifest.ProtoReflect.Descriptor instead. 519func (*Manifest) Descriptor() ([]byte, []int) { 520 return file_schema_proto_rawDescGZIP(), []int{5} 521} 522 523func (x *Manifest) GetRepoUrl() string { 524 if x != nil && x.RepoUrl != nil { 525 return *x.RepoUrl 526 } 527 return "" 528} 529 530func (x *Manifest) GetBranch() string { 531 if x != nil && x.Branch != nil { 532 return *x.Branch 533 } 534 return "" 535} 536 537func (x *Manifest) GetCommit() string { 538 if x != nil && x.Commit != nil { 539 return *x.Commit 540 } 541 return "" 542} 543 544func (x *Manifest) GetContents() map[string]*Entry { 545 if x != nil { 546 return x.Contents 547 } 548 return nil 549} 550 551func (x *Manifest) GetOriginalSize() int64 { 552 if x != nil && x.OriginalSize != nil { 553 return *x.OriginalSize 554 } 555 return 0 556} 557 558func (x *Manifest) GetCompressedSize() int64 { 559 if x != nil && x.CompressedSize != nil { 560 return *x.CompressedSize 561 } 562 return 0 563} 564 565func (x *Manifest) GetStoredSize() int64 { 566 if x != nil && x.StoredSize != nil { 567 return *x.StoredSize 568 } 569 return 0 570} 571 572func (x *Manifest) GetRedirects() []*RedirectRule { 573 if x != nil { 574 return x.Redirects 575 } 576 return nil 577} 578 579func (x *Manifest) GetHeaders() []*HeaderRule { 580 if x != nil { 581 return x.Headers 582 } 583 return nil 584} 585 586func (x *Manifest) GetProblems() []*Problem { 587 if x != nil { 588 return x.Problems 589 } 590 return nil 591} 592 593var File_schema_proto protoreflect.FileDescriptor 594 595const file_schema_proto_rawDesc = "" + 596 "\n" + 597 "\fschema.proto\"\xec\x01\n" + 598 "\x05Entry\x12\x19\n" + 599 "\x04type\x18\x01 \x01(\x0e2\x05.TypeR\x04type\x12#\n" + 600 "\roriginal_size\x18\a \x01(\x03R\foriginalSize\x12'\n" + 601 "\x0fcompressed_size\x18\x02 \x01(\x03R\x0ecompressedSize\x12\x12\n" + 602 "\x04data\x18\x03 \x01(\fR\x04data\x12(\n" + 603 "\ttransform\x18\x04 \x01(\x0e2\n" + 604 ".TransformR\ttransform\x12!\n" + 605 "\fcontent_type\x18\x05 \x01(\tR\vcontentType\x12\x19\n" + 606 "\bgit_hash\x18\x06 \x01(\tR\agitHash\"`\n" + 607 "\fRedirectRule\x12\x12\n" + 608 "\x04from\x18\x01 \x01(\tR\x04from\x12\x0e\n" + 609 "\x02to\x18\x02 \x01(\tR\x02to\x12\x16\n" + 610 "\x06status\x18\x03 \x01(\rR\x06status\x12\x14\n" + 611 "\x05force\x18\x04 \x01(\bR\x05force\"4\n" + 612 "\x06Header\x12\x12\n" + 613 "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" + 614 "\x06values\x18\x02 \x03(\tR\x06values\"H\n" + 615 "\n" + 616 "HeaderRule\x12\x12\n" + 617 "\x04path\x18\x01 \x01(\tR\x04path\x12&\n" + 618 "\n" + 619 "header_map\x18\x02 \x03(\v2\a.HeaderR\theaderMap\"3\n" + 620 "\aProblem\x12\x12\n" + 621 "\x04path\x18\x01 \x01(\tR\x04path\x12\x14\n" + 622 "\x05cause\x18\x02 \x01(\tR\x05cause\"\xb8\x03\n" + 623 "\bManifest\x12\x19\n" + 624 "\brepo_url\x18\x01 \x01(\tR\arepoUrl\x12\x16\n" + 625 "\x06branch\x18\x02 \x01(\tR\x06branch\x12\x16\n" + 626 "\x06commit\x18\x03 \x01(\tR\x06commit\x123\n" + 627 "\bcontents\x18\x04 \x03(\v2\x17.Manifest.ContentsEntryR\bcontents\x12#\n" + 628 "\roriginal_size\x18\n" + 629 " \x01(\x03R\foriginalSize\x12'\n" + 630 "\x0fcompressed_size\x18\x05 \x01(\x03R\x0ecompressedSize\x12\x1f\n" + 631 "\vstored_size\x18\b \x01(\x03R\n" + 632 "storedSize\x12+\n" + 633 "\tredirects\x18\x06 \x03(\v2\r.RedirectRuleR\tredirects\x12%\n" + 634 "\aheaders\x18\t \x03(\v2\v.HeaderRuleR\aheaders\x12$\n" + 635 "\bproblems\x18\a \x03(\v2\b.ProblemR\bproblems\x1aC\n" + 636 "\rContentsEntry\x12\x10\n" + 637 "\x03key\x18\x01 \x01(\tR\x03key\x12\x1c\n" + 638 "\x05value\x18\x02 \x01(\v2\x06.EntryR\x05value:\x028\x01*Q\n" + 639 "\x04Type\x12\v\n" + 640 "\aInvalid\x10\x00\x12\r\n" + 641 "\tDirectory\x10\x01\x12\x0e\n" + 642 "\n" + 643 "InlineFile\x10\x02\x12\x10\n" + 644 "\fExternalFile\x10\x03\x12\v\n" + 645 "\aSymlink\x10\x04*#\n" + 646 "\tTransform\x12\f\n" + 647 "\bIdentity\x10\x00\x12\b\n" + 648 "\x04Zstd\x10\x01B,Z*codeberg.org/git-pages/git-pages/git_pagesb\beditionsp\xe8\a" 649 650var ( 651 file_schema_proto_rawDescOnce sync.Once 652 file_schema_proto_rawDescData []byte 653) 654 655func file_schema_proto_rawDescGZIP() []byte { 656 file_schema_proto_rawDescOnce.Do(func() { 657 file_schema_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_schema_proto_rawDesc), len(file_schema_proto_rawDesc))) 658 }) 659 return file_schema_proto_rawDescData 660} 661 662var file_schema_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 663var file_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 664var file_schema_proto_goTypes = []any{ 665 (Type)(0), // 0: Type 666 (Transform)(0), // 1: Transform 667 (*Entry)(nil), // 2: Entry 668 (*RedirectRule)(nil), // 3: RedirectRule 669 (*Header)(nil), // 4: Header 670 (*HeaderRule)(nil), // 5: HeaderRule 671 (*Problem)(nil), // 6: Problem 672 (*Manifest)(nil), // 7: Manifest 673 nil, // 8: Manifest.ContentsEntry 674} 675var file_schema_proto_depIdxs = []int32{ 676 0, // 0: Entry.type:type_name -> Type 677 1, // 1: Entry.transform:type_name -> Transform 678 4, // 2: HeaderRule.header_map:type_name -> Header 679 8, // 3: Manifest.contents:type_name -> Manifest.ContentsEntry 680 3, // 4: Manifest.redirects:type_name -> RedirectRule 681 5, // 5: Manifest.headers:type_name -> HeaderRule 682 6, // 6: Manifest.problems:type_name -> Problem 683 2, // 7: Manifest.ContentsEntry.value:type_name -> Entry 684 8, // [8:8] is the sub-list for method output_type 685 8, // [8:8] is the sub-list for method input_type 686 8, // [8:8] is the sub-list for extension type_name 687 8, // [8:8] is the sub-list for extension extendee 688 0, // [0:8] is the sub-list for field type_name 689} 690 691func init() { file_schema_proto_init() } 692func file_schema_proto_init() { 693 if File_schema_proto != nil { 694 return 695 } 696 type x struct{} 697 out := protoimpl.TypeBuilder{ 698 File: protoimpl.DescBuilder{ 699 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 700 RawDescriptor: unsafe.Slice(unsafe.StringData(file_schema_proto_rawDesc), len(file_schema_proto_rawDesc)), 701 NumEnums: 2, 702 NumMessages: 7, 703 NumExtensions: 0, 704 NumServices: 0, 705 }, 706 GoTypes: file_schema_proto_goTypes, 707 DependencyIndexes: file_schema_proto_depIdxs, 708 EnumInfos: file_schema_proto_enumTypes, 709 MessageInfos: file_schema_proto_msgTypes, 710 }.Build() 711 File_schema_proto = out.File 712 file_schema_proto_goTypes = nil 713 file_schema_proto_depIdxs = nil 714}