github.com/argoproj/argo-cd/v3@v3.2.1/pkg/apiclient/application/application.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: server/application/application.proto 3 4 // Application Service 5 // 6 // Application Service API performs CRUD actions against application resources 7 8 package application 9 10 import ( 11 context "context" 12 fmt "fmt" 13 v1alpha1 "github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1" 14 apiclient "github.com/argoproj/argo-cd/v3/reposerver/apiclient" 15 github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" 16 proto "github.com/gogo/protobuf/proto" 17 _ "google.golang.org/genproto/googleapis/api/annotations" 18 grpc "google.golang.org/grpc" 19 codes "google.golang.org/grpc/codes" 20 status "google.golang.org/grpc/status" 21 io "io" 22 v11 "k8s.io/api/core/v1" 23 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 24 math "math" 25 math_bits "math/bits" 26 ) 27 28 // Reference imports to suppress errors if they are not otherwise used. 29 var _ = proto.Marshal 30 var _ = fmt.Errorf 31 var _ = math.Inf 32 33 // This is a compile-time assertion to ensure that this generated file 34 // is compatible with the proto package it is being compiled against. 35 // A compilation error at this line likely means your copy of the 36 // proto package needs to be updated. 37 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 38 39 // ApplicationQuery is a query for application resources. When getting multiple applications, the "projects" field acts 40 // as a filter. When getting a single application, you may specify either zero or one project. If you specify zero 41 // projects, the application will be returned regardless of which project it belongs to (assuming you have access). If 42 // you specify one project, the application will only be returned if it exists and belongs to the specified project. 43 // Otherwise you will receive a 404. 44 type ApplicationQuery struct { 45 // the application's name 46 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 47 // forces application reconciliation if set to 'hard' 48 Refresh *string `protobuf:"bytes,2,opt,name=refresh" json:"refresh,omitempty"` 49 // the project names to restrict returned list applications 50 Projects []string `protobuf:"bytes,3,rep,name=projects" json:"projects,omitempty"` 51 // when specified with a watch call, shows changes that occur after that particular version of a resource. 52 ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"` 53 // the selector to restrict returned list to applications only with matched labels 54 Selector *string `protobuf:"bytes,5,opt,name=selector" json:"selector,omitempty"` 55 // the repoURL to restrict returned list applications 56 Repo *string `protobuf:"bytes,6,opt,name=repo" json:"repo,omitempty"` 57 // the application's namespace 58 AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` 59 // the project names to restrict returned list applications (legacy name for backwards-compatibility) 60 Project []string `protobuf:"bytes,8,rep,name=project" json:"project,omitempty"` 61 XXX_NoUnkeyedLiteral struct{} `json:"-"` 62 XXX_unrecognized []byte `json:"-"` 63 XXX_sizecache int32 `json:"-"` 64 } 65 66 func (m *ApplicationQuery) Reset() { *m = ApplicationQuery{} } 67 func (m *ApplicationQuery) String() string { return proto.CompactTextString(m) } 68 func (*ApplicationQuery) ProtoMessage() {} 69 func (*ApplicationQuery) Descriptor() ([]byte, []int) { 70 return fileDescriptor_df6e82b174b5eaec, []int{0} 71 } 72 func (m *ApplicationQuery) XXX_Unmarshal(b []byte) error { 73 return m.Unmarshal(b) 74 } 75 func (m *ApplicationQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 76 if deterministic { 77 return xxx_messageInfo_ApplicationQuery.Marshal(b, m, deterministic) 78 } else { 79 b = b[:cap(b)] 80 n, err := m.MarshalToSizedBuffer(b) 81 if err != nil { 82 return nil, err 83 } 84 return b[:n], nil 85 } 86 } 87 func (m *ApplicationQuery) XXX_Merge(src proto.Message) { 88 xxx_messageInfo_ApplicationQuery.Merge(m, src) 89 } 90 func (m *ApplicationQuery) XXX_Size() int { 91 return m.Size() 92 } 93 func (m *ApplicationQuery) XXX_DiscardUnknown() { 94 xxx_messageInfo_ApplicationQuery.DiscardUnknown(m) 95 } 96 97 var xxx_messageInfo_ApplicationQuery proto.InternalMessageInfo 98 99 func (m *ApplicationQuery) GetName() string { 100 if m != nil && m.Name != nil { 101 return *m.Name 102 } 103 return "" 104 } 105 106 func (m *ApplicationQuery) GetRefresh() string { 107 if m != nil && m.Refresh != nil { 108 return *m.Refresh 109 } 110 return "" 111 } 112 113 func (m *ApplicationQuery) GetProjects() []string { 114 if m != nil { 115 return m.Projects 116 } 117 return nil 118 } 119 120 func (m *ApplicationQuery) GetResourceVersion() string { 121 if m != nil && m.ResourceVersion != nil { 122 return *m.ResourceVersion 123 } 124 return "" 125 } 126 127 func (m *ApplicationQuery) GetSelector() string { 128 if m != nil && m.Selector != nil { 129 return *m.Selector 130 } 131 return "" 132 } 133 134 func (m *ApplicationQuery) GetRepo() string { 135 if m != nil && m.Repo != nil { 136 return *m.Repo 137 } 138 return "" 139 } 140 141 func (m *ApplicationQuery) GetAppNamespace() string { 142 if m != nil && m.AppNamespace != nil { 143 return *m.AppNamespace 144 } 145 return "" 146 } 147 148 func (m *ApplicationQuery) GetProject() []string { 149 if m != nil { 150 return m.Project 151 } 152 return nil 153 } 154 155 type NodeQuery struct { 156 // the application's name 157 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 158 AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` 159 XXX_NoUnkeyedLiteral struct{} `json:"-"` 160 XXX_unrecognized []byte `json:"-"` 161 XXX_sizecache int32 `json:"-"` 162 } 163 164 func (m *NodeQuery) Reset() { *m = NodeQuery{} } 165 func (m *NodeQuery) String() string { return proto.CompactTextString(m) } 166 func (*NodeQuery) ProtoMessage() {} 167 func (*NodeQuery) Descriptor() ([]byte, []int) { 168 return fileDescriptor_df6e82b174b5eaec, []int{1} 169 } 170 func (m *NodeQuery) XXX_Unmarshal(b []byte) error { 171 return m.Unmarshal(b) 172 } 173 func (m *NodeQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 174 if deterministic { 175 return xxx_messageInfo_NodeQuery.Marshal(b, m, deterministic) 176 } else { 177 b = b[:cap(b)] 178 n, err := m.MarshalToSizedBuffer(b) 179 if err != nil { 180 return nil, err 181 } 182 return b[:n], nil 183 } 184 } 185 func (m *NodeQuery) XXX_Merge(src proto.Message) { 186 xxx_messageInfo_NodeQuery.Merge(m, src) 187 } 188 func (m *NodeQuery) XXX_Size() int { 189 return m.Size() 190 } 191 func (m *NodeQuery) XXX_DiscardUnknown() { 192 xxx_messageInfo_NodeQuery.DiscardUnknown(m) 193 } 194 195 var xxx_messageInfo_NodeQuery proto.InternalMessageInfo 196 197 func (m *NodeQuery) GetName() string { 198 if m != nil && m.Name != nil { 199 return *m.Name 200 } 201 return "" 202 } 203 204 func (m *NodeQuery) GetAppNamespace() string { 205 if m != nil && m.AppNamespace != nil { 206 return *m.AppNamespace 207 } 208 return "" 209 } 210 211 type RevisionMetadataQuery struct { 212 // the application's name 213 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 214 // the revision of the app 215 Revision *string `protobuf:"bytes,2,req,name=revision" json:"revision,omitempty"` 216 // the application's namespace 217 AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` 218 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 219 // source index (for multi source apps) 220 SourceIndex *int32 `protobuf:"varint,5,opt,name=sourceIndex" json:"sourceIndex,omitempty"` 221 // versionId from historical data (for multi source apps) 222 VersionId *int32 `protobuf:"varint,6,opt,name=versionId" json:"versionId,omitempty"` 223 XXX_NoUnkeyedLiteral struct{} `json:"-"` 224 XXX_unrecognized []byte `json:"-"` 225 XXX_sizecache int32 `json:"-"` 226 } 227 228 func (m *RevisionMetadataQuery) Reset() { *m = RevisionMetadataQuery{} } 229 func (m *RevisionMetadataQuery) String() string { return proto.CompactTextString(m) } 230 func (*RevisionMetadataQuery) ProtoMessage() {} 231 func (*RevisionMetadataQuery) Descriptor() ([]byte, []int) { 232 return fileDescriptor_df6e82b174b5eaec, []int{2} 233 } 234 func (m *RevisionMetadataQuery) XXX_Unmarshal(b []byte) error { 235 return m.Unmarshal(b) 236 } 237 func (m *RevisionMetadataQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 238 if deterministic { 239 return xxx_messageInfo_RevisionMetadataQuery.Marshal(b, m, deterministic) 240 } else { 241 b = b[:cap(b)] 242 n, err := m.MarshalToSizedBuffer(b) 243 if err != nil { 244 return nil, err 245 } 246 return b[:n], nil 247 } 248 } 249 func (m *RevisionMetadataQuery) XXX_Merge(src proto.Message) { 250 xxx_messageInfo_RevisionMetadataQuery.Merge(m, src) 251 } 252 func (m *RevisionMetadataQuery) XXX_Size() int { 253 return m.Size() 254 } 255 func (m *RevisionMetadataQuery) XXX_DiscardUnknown() { 256 xxx_messageInfo_RevisionMetadataQuery.DiscardUnknown(m) 257 } 258 259 var xxx_messageInfo_RevisionMetadataQuery proto.InternalMessageInfo 260 261 func (m *RevisionMetadataQuery) GetName() string { 262 if m != nil && m.Name != nil { 263 return *m.Name 264 } 265 return "" 266 } 267 268 func (m *RevisionMetadataQuery) GetRevision() string { 269 if m != nil && m.Revision != nil { 270 return *m.Revision 271 } 272 return "" 273 } 274 275 func (m *RevisionMetadataQuery) GetAppNamespace() string { 276 if m != nil && m.AppNamespace != nil { 277 return *m.AppNamespace 278 } 279 return "" 280 } 281 282 func (m *RevisionMetadataQuery) GetProject() string { 283 if m != nil && m.Project != nil { 284 return *m.Project 285 } 286 return "" 287 } 288 289 func (m *RevisionMetadataQuery) GetSourceIndex() int32 { 290 if m != nil && m.SourceIndex != nil { 291 return *m.SourceIndex 292 } 293 return 0 294 } 295 296 func (m *RevisionMetadataQuery) GetVersionId() int32 { 297 if m != nil && m.VersionId != nil { 298 return *m.VersionId 299 } 300 return 0 301 } 302 303 // ApplicationEventsQuery is a query for application resource events 304 type ApplicationResourceEventsQuery struct { 305 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 306 ResourceNamespace *string `protobuf:"bytes,2,opt,name=resourceNamespace" json:"resourceNamespace,omitempty"` 307 ResourceName *string `protobuf:"bytes,3,opt,name=resourceName" json:"resourceName,omitempty"` 308 ResourceUID *string `protobuf:"bytes,4,opt,name=resourceUID" json:"resourceUID,omitempty"` 309 AppNamespace *string `protobuf:"bytes,5,opt,name=appNamespace" json:"appNamespace,omitempty"` 310 Project *string `protobuf:"bytes,6,opt,name=project" json:"project,omitempty"` 311 XXX_NoUnkeyedLiteral struct{} `json:"-"` 312 XXX_unrecognized []byte `json:"-"` 313 XXX_sizecache int32 `json:"-"` 314 } 315 316 func (m *ApplicationResourceEventsQuery) Reset() { *m = ApplicationResourceEventsQuery{} } 317 func (m *ApplicationResourceEventsQuery) String() string { return proto.CompactTextString(m) } 318 func (*ApplicationResourceEventsQuery) ProtoMessage() {} 319 func (*ApplicationResourceEventsQuery) Descriptor() ([]byte, []int) { 320 return fileDescriptor_df6e82b174b5eaec, []int{3} 321 } 322 func (m *ApplicationResourceEventsQuery) XXX_Unmarshal(b []byte) error { 323 return m.Unmarshal(b) 324 } 325 func (m *ApplicationResourceEventsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 326 if deterministic { 327 return xxx_messageInfo_ApplicationResourceEventsQuery.Marshal(b, m, deterministic) 328 } else { 329 b = b[:cap(b)] 330 n, err := m.MarshalToSizedBuffer(b) 331 if err != nil { 332 return nil, err 333 } 334 return b[:n], nil 335 } 336 } 337 func (m *ApplicationResourceEventsQuery) XXX_Merge(src proto.Message) { 338 xxx_messageInfo_ApplicationResourceEventsQuery.Merge(m, src) 339 } 340 func (m *ApplicationResourceEventsQuery) XXX_Size() int { 341 return m.Size() 342 } 343 func (m *ApplicationResourceEventsQuery) XXX_DiscardUnknown() { 344 xxx_messageInfo_ApplicationResourceEventsQuery.DiscardUnknown(m) 345 } 346 347 var xxx_messageInfo_ApplicationResourceEventsQuery proto.InternalMessageInfo 348 349 func (m *ApplicationResourceEventsQuery) GetName() string { 350 if m != nil && m.Name != nil { 351 return *m.Name 352 } 353 return "" 354 } 355 356 func (m *ApplicationResourceEventsQuery) GetResourceNamespace() string { 357 if m != nil && m.ResourceNamespace != nil { 358 return *m.ResourceNamespace 359 } 360 return "" 361 } 362 363 func (m *ApplicationResourceEventsQuery) GetResourceName() string { 364 if m != nil && m.ResourceName != nil { 365 return *m.ResourceName 366 } 367 return "" 368 } 369 370 func (m *ApplicationResourceEventsQuery) GetResourceUID() string { 371 if m != nil && m.ResourceUID != nil { 372 return *m.ResourceUID 373 } 374 return "" 375 } 376 377 func (m *ApplicationResourceEventsQuery) GetAppNamespace() string { 378 if m != nil && m.AppNamespace != nil { 379 return *m.AppNamespace 380 } 381 return "" 382 } 383 384 func (m *ApplicationResourceEventsQuery) GetProject() string { 385 if m != nil && m.Project != nil { 386 return *m.Project 387 } 388 return "" 389 } 390 391 // ManifestQuery is a query for manifest resources 392 type ApplicationManifestQuery struct { 393 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 394 Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` 395 AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` 396 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 397 SourcePositions []int64 `protobuf:"varint,5,rep,name=sourcePositions" json:"sourcePositions,omitempty"` 398 Revisions []string `protobuf:"bytes,6,rep,name=revisions" json:"revisions,omitempty"` 399 NoCache *bool `protobuf:"varint,7,opt,name=noCache" json:"noCache,omitempty"` 400 XXX_NoUnkeyedLiteral struct{} `json:"-"` 401 XXX_unrecognized []byte `json:"-"` 402 XXX_sizecache int32 `json:"-"` 403 } 404 405 func (m *ApplicationManifestQuery) Reset() { *m = ApplicationManifestQuery{} } 406 func (m *ApplicationManifestQuery) String() string { return proto.CompactTextString(m) } 407 func (*ApplicationManifestQuery) ProtoMessage() {} 408 func (*ApplicationManifestQuery) Descriptor() ([]byte, []int) { 409 return fileDescriptor_df6e82b174b5eaec, []int{4} 410 } 411 func (m *ApplicationManifestQuery) XXX_Unmarshal(b []byte) error { 412 return m.Unmarshal(b) 413 } 414 func (m *ApplicationManifestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 415 if deterministic { 416 return xxx_messageInfo_ApplicationManifestQuery.Marshal(b, m, deterministic) 417 } else { 418 b = b[:cap(b)] 419 n, err := m.MarshalToSizedBuffer(b) 420 if err != nil { 421 return nil, err 422 } 423 return b[:n], nil 424 } 425 } 426 func (m *ApplicationManifestQuery) XXX_Merge(src proto.Message) { 427 xxx_messageInfo_ApplicationManifestQuery.Merge(m, src) 428 } 429 func (m *ApplicationManifestQuery) XXX_Size() int { 430 return m.Size() 431 } 432 func (m *ApplicationManifestQuery) XXX_DiscardUnknown() { 433 xxx_messageInfo_ApplicationManifestQuery.DiscardUnknown(m) 434 } 435 436 var xxx_messageInfo_ApplicationManifestQuery proto.InternalMessageInfo 437 438 func (m *ApplicationManifestQuery) GetName() string { 439 if m != nil && m.Name != nil { 440 return *m.Name 441 } 442 return "" 443 } 444 445 func (m *ApplicationManifestQuery) GetRevision() string { 446 if m != nil && m.Revision != nil { 447 return *m.Revision 448 } 449 return "" 450 } 451 452 func (m *ApplicationManifestQuery) GetAppNamespace() string { 453 if m != nil && m.AppNamespace != nil { 454 return *m.AppNamespace 455 } 456 return "" 457 } 458 459 func (m *ApplicationManifestQuery) GetProject() string { 460 if m != nil && m.Project != nil { 461 return *m.Project 462 } 463 return "" 464 } 465 466 func (m *ApplicationManifestQuery) GetSourcePositions() []int64 { 467 if m != nil { 468 return m.SourcePositions 469 } 470 return nil 471 } 472 473 func (m *ApplicationManifestQuery) GetRevisions() []string { 474 if m != nil { 475 return m.Revisions 476 } 477 return nil 478 } 479 480 func (m *ApplicationManifestQuery) GetNoCache() bool { 481 if m != nil && m.NoCache != nil { 482 return *m.NoCache 483 } 484 return false 485 } 486 487 type FileChunk struct { 488 Chunk []byte `protobuf:"bytes,1,req,name=chunk" json:"chunk,omitempty"` 489 XXX_NoUnkeyedLiteral struct{} `json:"-"` 490 XXX_unrecognized []byte `json:"-"` 491 XXX_sizecache int32 `json:"-"` 492 } 493 494 func (m *FileChunk) Reset() { *m = FileChunk{} } 495 func (m *FileChunk) String() string { return proto.CompactTextString(m) } 496 func (*FileChunk) ProtoMessage() {} 497 func (*FileChunk) Descriptor() ([]byte, []int) { 498 return fileDescriptor_df6e82b174b5eaec, []int{5} 499 } 500 func (m *FileChunk) XXX_Unmarshal(b []byte) error { 501 return m.Unmarshal(b) 502 } 503 func (m *FileChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 504 if deterministic { 505 return xxx_messageInfo_FileChunk.Marshal(b, m, deterministic) 506 } else { 507 b = b[:cap(b)] 508 n, err := m.MarshalToSizedBuffer(b) 509 if err != nil { 510 return nil, err 511 } 512 return b[:n], nil 513 } 514 } 515 func (m *FileChunk) XXX_Merge(src proto.Message) { 516 xxx_messageInfo_FileChunk.Merge(m, src) 517 } 518 func (m *FileChunk) XXX_Size() int { 519 return m.Size() 520 } 521 func (m *FileChunk) XXX_DiscardUnknown() { 522 xxx_messageInfo_FileChunk.DiscardUnknown(m) 523 } 524 525 var xxx_messageInfo_FileChunk proto.InternalMessageInfo 526 527 func (m *FileChunk) GetChunk() []byte { 528 if m != nil { 529 return m.Chunk 530 } 531 return nil 532 } 533 534 type ApplicationManifestQueryWithFiles struct { 535 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 536 Checksum *string `protobuf:"bytes,2,req,name=checksum" json:"checksum,omitempty"` 537 AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` 538 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 539 XXX_NoUnkeyedLiteral struct{} `json:"-"` 540 XXX_unrecognized []byte `json:"-"` 541 XXX_sizecache int32 `json:"-"` 542 } 543 544 func (m *ApplicationManifestQueryWithFiles) Reset() { *m = ApplicationManifestQueryWithFiles{} } 545 func (m *ApplicationManifestQueryWithFiles) String() string { return proto.CompactTextString(m) } 546 func (*ApplicationManifestQueryWithFiles) ProtoMessage() {} 547 func (*ApplicationManifestQueryWithFiles) Descriptor() ([]byte, []int) { 548 return fileDescriptor_df6e82b174b5eaec, []int{6} 549 } 550 func (m *ApplicationManifestQueryWithFiles) XXX_Unmarshal(b []byte) error { 551 return m.Unmarshal(b) 552 } 553 func (m *ApplicationManifestQueryWithFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 554 if deterministic { 555 return xxx_messageInfo_ApplicationManifestQueryWithFiles.Marshal(b, m, deterministic) 556 } else { 557 b = b[:cap(b)] 558 n, err := m.MarshalToSizedBuffer(b) 559 if err != nil { 560 return nil, err 561 } 562 return b[:n], nil 563 } 564 } 565 func (m *ApplicationManifestQueryWithFiles) XXX_Merge(src proto.Message) { 566 xxx_messageInfo_ApplicationManifestQueryWithFiles.Merge(m, src) 567 } 568 func (m *ApplicationManifestQueryWithFiles) XXX_Size() int { 569 return m.Size() 570 } 571 func (m *ApplicationManifestQueryWithFiles) XXX_DiscardUnknown() { 572 xxx_messageInfo_ApplicationManifestQueryWithFiles.DiscardUnknown(m) 573 } 574 575 var xxx_messageInfo_ApplicationManifestQueryWithFiles proto.InternalMessageInfo 576 577 func (m *ApplicationManifestQueryWithFiles) GetName() string { 578 if m != nil && m.Name != nil { 579 return *m.Name 580 } 581 return "" 582 } 583 584 func (m *ApplicationManifestQueryWithFiles) GetChecksum() string { 585 if m != nil && m.Checksum != nil { 586 return *m.Checksum 587 } 588 return "" 589 } 590 591 func (m *ApplicationManifestQueryWithFiles) GetAppNamespace() string { 592 if m != nil && m.AppNamespace != nil { 593 return *m.AppNamespace 594 } 595 return "" 596 } 597 598 func (m *ApplicationManifestQueryWithFiles) GetProject() string { 599 if m != nil && m.Project != nil { 600 return *m.Project 601 } 602 return "" 603 } 604 605 type ApplicationManifestQueryWithFilesWrapper struct { 606 // Types that are valid to be assigned to Part: 607 // *ApplicationManifestQueryWithFilesWrapper_Query 608 // *ApplicationManifestQueryWithFilesWrapper_Chunk 609 Part isApplicationManifestQueryWithFilesWrapper_Part `protobuf_oneof:"part"` 610 XXX_NoUnkeyedLiteral struct{} `json:"-"` 611 XXX_unrecognized []byte `json:"-"` 612 XXX_sizecache int32 `json:"-"` 613 } 614 615 func (m *ApplicationManifestQueryWithFilesWrapper) Reset() { 616 *m = ApplicationManifestQueryWithFilesWrapper{} 617 } 618 func (m *ApplicationManifestQueryWithFilesWrapper) String() string { return proto.CompactTextString(m) } 619 func (*ApplicationManifestQueryWithFilesWrapper) ProtoMessage() {} 620 func (*ApplicationManifestQueryWithFilesWrapper) Descriptor() ([]byte, []int) { 621 return fileDescriptor_df6e82b174b5eaec, []int{7} 622 } 623 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Unmarshal(b []byte) error { 624 return m.Unmarshal(b) 625 } 626 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 627 if deterministic { 628 return xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper.Marshal(b, m, deterministic) 629 } else { 630 b = b[:cap(b)] 631 n, err := m.MarshalToSizedBuffer(b) 632 if err != nil { 633 return nil, err 634 } 635 return b[:n], nil 636 } 637 } 638 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Merge(src proto.Message) { 639 xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper.Merge(m, src) 640 } 641 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Size() int { 642 return m.Size() 643 } 644 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_DiscardUnknown() { 645 xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper.DiscardUnknown(m) 646 } 647 648 var xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper proto.InternalMessageInfo 649 650 type isApplicationManifestQueryWithFilesWrapper_Part interface { 651 isApplicationManifestQueryWithFilesWrapper_Part() 652 MarshalTo([]byte) (int, error) 653 Size() int 654 } 655 656 type ApplicationManifestQueryWithFilesWrapper_Query struct { 657 Query *ApplicationManifestQueryWithFiles `protobuf:"bytes,1,opt,name=query,oneof" json:"query,omitempty"` 658 } 659 type ApplicationManifestQueryWithFilesWrapper_Chunk struct { 660 Chunk *FileChunk `protobuf:"bytes,2,opt,name=chunk,oneof" json:"chunk,omitempty"` 661 } 662 663 func (*ApplicationManifestQueryWithFilesWrapper_Query) isApplicationManifestQueryWithFilesWrapper_Part() { 664 } 665 func (*ApplicationManifestQueryWithFilesWrapper_Chunk) isApplicationManifestQueryWithFilesWrapper_Part() { 666 } 667 668 func (m *ApplicationManifestQueryWithFilesWrapper) GetPart() isApplicationManifestQueryWithFilesWrapper_Part { 669 if m != nil { 670 return m.Part 671 } 672 return nil 673 } 674 675 func (m *ApplicationManifestQueryWithFilesWrapper) GetQuery() *ApplicationManifestQueryWithFiles { 676 if x, ok := m.GetPart().(*ApplicationManifestQueryWithFilesWrapper_Query); ok { 677 return x.Query 678 } 679 return nil 680 } 681 682 func (m *ApplicationManifestQueryWithFilesWrapper) GetChunk() *FileChunk { 683 if x, ok := m.GetPart().(*ApplicationManifestQueryWithFilesWrapper_Chunk); ok { 684 return x.Chunk 685 } 686 return nil 687 } 688 689 // XXX_OneofWrappers is for the internal use of the proto package. 690 func (*ApplicationManifestQueryWithFilesWrapper) XXX_OneofWrappers() []interface{} { 691 return []interface{}{ 692 (*ApplicationManifestQueryWithFilesWrapper_Query)(nil), 693 (*ApplicationManifestQueryWithFilesWrapper_Chunk)(nil), 694 } 695 } 696 697 type ApplicationResponse struct { 698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 699 XXX_unrecognized []byte `json:"-"` 700 XXX_sizecache int32 `json:"-"` 701 } 702 703 func (m *ApplicationResponse) Reset() { *m = ApplicationResponse{} } 704 func (m *ApplicationResponse) String() string { return proto.CompactTextString(m) } 705 func (*ApplicationResponse) ProtoMessage() {} 706 func (*ApplicationResponse) Descriptor() ([]byte, []int) { 707 return fileDescriptor_df6e82b174b5eaec, []int{8} 708 } 709 func (m *ApplicationResponse) XXX_Unmarshal(b []byte) error { 710 return m.Unmarshal(b) 711 } 712 func (m *ApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 713 if deterministic { 714 return xxx_messageInfo_ApplicationResponse.Marshal(b, m, deterministic) 715 } else { 716 b = b[:cap(b)] 717 n, err := m.MarshalToSizedBuffer(b) 718 if err != nil { 719 return nil, err 720 } 721 return b[:n], nil 722 } 723 } 724 func (m *ApplicationResponse) XXX_Merge(src proto.Message) { 725 xxx_messageInfo_ApplicationResponse.Merge(m, src) 726 } 727 func (m *ApplicationResponse) XXX_Size() int { 728 return m.Size() 729 } 730 func (m *ApplicationResponse) XXX_DiscardUnknown() { 731 xxx_messageInfo_ApplicationResponse.DiscardUnknown(m) 732 } 733 734 var xxx_messageInfo_ApplicationResponse proto.InternalMessageInfo 735 736 type ApplicationCreateRequest struct { 737 Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"` 738 Upsert *bool `protobuf:"varint,2,opt,name=upsert" json:"upsert,omitempty"` 739 Validate *bool `protobuf:"varint,3,opt,name=validate" json:"validate,omitempty"` 740 XXX_NoUnkeyedLiteral struct{} `json:"-"` 741 XXX_unrecognized []byte `json:"-"` 742 XXX_sizecache int32 `json:"-"` 743 } 744 745 func (m *ApplicationCreateRequest) Reset() { *m = ApplicationCreateRequest{} } 746 func (m *ApplicationCreateRequest) String() string { return proto.CompactTextString(m) } 747 func (*ApplicationCreateRequest) ProtoMessage() {} 748 func (*ApplicationCreateRequest) Descriptor() ([]byte, []int) { 749 return fileDescriptor_df6e82b174b5eaec, []int{9} 750 } 751 func (m *ApplicationCreateRequest) XXX_Unmarshal(b []byte) error { 752 return m.Unmarshal(b) 753 } 754 func (m *ApplicationCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 755 if deterministic { 756 return xxx_messageInfo_ApplicationCreateRequest.Marshal(b, m, deterministic) 757 } else { 758 b = b[:cap(b)] 759 n, err := m.MarshalToSizedBuffer(b) 760 if err != nil { 761 return nil, err 762 } 763 return b[:n], nil 764 } 765 } 766 func (m *ApplicationCreateRequest) XXX_Merge(src proto.Message) { 767 xxx_messageInfo_ApplicationCreateRequest.Merge(m, src) 768 } 769 func (m *ApplicationCreateRequest) XXX_Size() int { 770 return m.Size() 771 } 772 func (m *ApplicationCreateRequest) XXX_DiscardUnknown() { 773 xxx_messageInfo_ApplicationCreateRequest.DiscardUnknown(m) 774 } 775 776 var xxx_messageInfo_ApplicationCreateRequest proto.InternalMessageInfo 777 778 func (m *ApplicationCreateRequest) GetApplication() *v1alpha1.Application { 779 if m != nil { 780 return m.Application 781 } 782 return nil 783 } 784 785 func (m *ApplicationCreateRequest) GetUpsert() bool { 786 if m != nil && m.Upsert != nil { 787 return *m.Upsert 788 } 789 return false 790 } 791 792 func (m *ApplicationCreateRequest) GetValidate() bool { 793 if m != nil && m.Validate != nil { 794 return *m.Validate 795 } 796 return false 797 } 798 799 type ApplicationUpdateRequest struct { 800 Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"` 801 Validate *bool `protobuf:"varint,2,opt,name=validate" json:"validate,omitempty"` 802 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 803 XXX_NoUnkeyedLiteral struct{} `json:"-"` 804 XXX_unrecognized []byte `json:"-"` 805 XXX_sizecache int32 `json:"-"` 806 } 807 808 func (m *ApplicationUpdateRequest) Reset() { *m = ApplicationUpdateRequest{} } 809 func (m *ApplicationUpdateRequest) String() string { return proto.CompactTextString(m) } 810 func (*ApplicationUpdateRequest) ProtoMessage() {} 811 func (*ApplicationUpdateRequest) Descriptor() ([]byte, []int) { 812 return fileDescriptor_df6e82b174b5eaec, []int{10} 813 } 814 func (m *ApplicationUpdateRequest) XXX_Unmarshal(b []byte) error { 815 return m.Unmarshal(b) 816 } 817 func (m *ApplicationUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 818 if deterministic { 819 return xxx_messageInfo_ApplicationUpdateRequest.Marshal(b, m, deterministic) 820 } else { 821 b = b[:cap(b)] 822 n, err := m.MarshalToSizedBuffer(b) 823 if err != nil { 824 return nil, err 825 } 826 return b[:n], nil 827 } 828 } 829 func (m *ApplicationUpdateRequest) XXX_Merge(src proto.Message) { 830 xxx_messageInfo_ApplicationUpdateRequest.Merge(m, src) 831 } 832 func (m *ApplicationUpdateRequest) XXX_Size() int { 833 return m.Size() 834 } 835 func (m *ApplicationUpdateRequest) XXX_DiscardUnknown() { 836 xxx_messageInfo_ApplicationUpdateRequest.DiscardUnknown(m) 837 } 838 839 var xxx_messageInfo_ApplicationUpdateRequest proto.InternalMessageInfo 840 841 func (m *ApplicationUpdateRequest) GetApplication() *v1alpha1.Application { 842 if m != nil { 843 return m.Application 844 } 845 return nil 846 } 847 848 func (m *ApplicationUpdateRequest) GetValidate() bool { 849 if m != nil && m.Validate != nil { 850 return *m.Validate 851 } 852 return false 853 } 854 855 func (m *ApplicationUpdateRequest) GetProject() string { 856 if m != nil && m.Project != nil { 857 return *m.Project 858 } 859 return "" 860 } 861 862 type ApplicationDeleteRequest struct { 863 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 864 Cascade *bool `protobuf:"varint,2,opt,name=cascade" json:"cascade,omitempty"` 865 PropagationPolicy *string `protobuf:"bytes,3,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"` 866 AppNamespace *string `protobuf:"bytes,4,opt,name=appNamespace" json:"appNamespace,omitempty"` 867 Project *string `protobuf:"bytes,5,opt,name=project" json:"project,omitempty"` 868 XXX_NoUnkeyedLiteral struct{} `json:"-"` 869 XXX_unrecognized []byte `json:"-"` 870 XXX_sizecache int32 `json:"-"` 871 } 872 873 func (m *ApplicationDeleteRequest) Reset() { *m = ApplicationDeleteRequest{} } 874 func (m *ApplicationDeleteRequest) String() string { return proto.CompactTextString(m) } 875 func (*ApplicationDeleteRequest) ProtoMessage() {} 876 func (*ApplicationDeleteRequest) Descriptor() ([]byte, []int) { 877 return fileDescriptor_df6e82b174b5eaec, []int{11} 878 } 879 func (m *ApplicationDeleteRequest) XXX_Unmarshal(b []byte) error { 880 return m.Unmarshal(b) 881 } 882 func (m *ApplicationDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 883 if deterministic { 884 return xxx_messageInfo_ApplicationDeleteRequest.Marshal(b, m, deterministic) 885 } else { 886 b = b[:cap(b)] 887 n, err := m.MarshalToSizedBuffer(b) 888 if err != nil { 889 return nil, err 890 } 891 return b[:n], nil 892 } 893 } 894 func (m *ApplicationDeleteRequest) XXX_Merge(src proto.Message) { 895 xxx_messageInfo_ApplicationDeleteRequest.Merge(m, src) 896 } 897 func (m *ApplicationDeleteRequest) XXX_Size() int { 898 return m.Size() 899 } 900 func (m *ApplicationDeleteRequest) XXX_DiscardUnknown() { 901 xxx_messageInfo_ApplicationDeleteRequest.DiscardUnknown(m) 902 } 903 904 var xxx_messageInfo_ApplicationDeleteRequest proto.InternalMessageInfo 905 906 func (m *ApplicationDeleteRequest) GetName() string { 907 if m != nil && m.Name != nil { 908 return *m.Name 909 } 910 return "" 911 } 912 913 func (m *ApplicationDeleteRequest) GetCascade() bool { 914 if m != nil && m.Cascade != nil { 915 return *m.Cascade 916 } 917 return false 918 } 919 920 func (m *ApplicationDeleteRequest) GetPropagationPolicy() string { 921 if m != nil && m.PropagationPolicy != nil { 922 return *m.PropagationPolicy 923 } 924 return "" 925 } 926 927 func (m *ApplicationDeleteRequest) GetAppNamespace() string { 928 if m != nil && m.AppNamespace != nil { 929 return *m.AppNamespace 930 } 931 return "" 932 } 933 934 func (m *ApplicationDeleteRequest) GetProject() string { 935 if m != nil && m.Project != nil { 936 return *m.Project 937 } 938 return "" 939 } 940 941 type SyncOptions struct { 942 Items []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 943 XXX_NoUnkeyedLiteral struct{} `json:"-"` 944 XXX_unrecognized []byte `json:"-"` 945 XXX_sizecache int32 `json:"-"` 946 } 947 948 func (m *SyncOptions) Reset() { *m = SyncOptions{} } 949 func (m *SyncOptions) String() string { return proto.CompactTextString(m) } 950 func (*SyncOptions) ProtoMessage() {} 951 func (*SyncOptions) Descriptor() ([]byte, []int) { 952 return fileDescriptor_df6e82b174b5eaec, []int{12} 953 } 954 func (m *SyncOptions) XXX_Unmarshal(b []byte) error { 955 return m.Unmarshal(b) 956 } 957 func (m *SyncOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 958 if deterministic { 959 return xxx_messageInfo_SyncOptions.Marshal(b, m, deterministic) 960 } else { 961 b = b[:cap(b)] 962 n, err := m.MarshalToSizedBuffer(b) 963 if err != nil { 964 return nil, err 965 } 966 return b[:n], nil 967 } 968 } 969 func (m *SyncOptions) XXX_Merge(src proto.Message) { 970 xxx_messageInfo_SyncOptions.Merge(m, src) 971 } 972 func (m *SyncOptions) XXX_Size() int { 973 return m.Size() 974 } 975 func (m *SyncOptions) XXX_DiscardUnknown() { 976 xxx_messageInfo_SyncOptions.DiscardUnknown(m) 977 } 978 979 var xxx_messageInfo_SyncOptions proto.InternalMessageInfo 980 981 func (m *SyncOptions) GetItems() []string { 982 if m != nil { 983 return m.Items 984 } 985 return nil 986 } 987 988 // ApplicationSyncRequest is a request to apply the config state to live state 989 type ApplicationSyncRequest struct { 990 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 991 Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` 992 DryRun *bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun,omitempty"` 993 Prune *bool `protobuf:"varint,4,opt,name=prune" json:"prune,omitempty"` 994 Strategy *v1alpha1.SyncStrategy `protobuf:"bytes,5,opt,name=strategy" json:"strategy,omitempty"` 995 Resources []*v1alpha1.SyncOperationResource `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"` 996 Manifests []string `protobuf:"bytes,8,rep,name=manifests" json:"manifests,omitempty"` 997 Infos []*v1alpha1.Info `protobuf:"bytes,9,rep,name=infos" json:"infos,omitempty"` 998 RetryStrategy *v1alpha1.RetryStrategy `protobuf:"bytes,10,opt,name=retryStrategy" json:"retryStrategy,omitempty"` 999 SyncOptions *SyncOptions `protobuf:"bytes,11,opt,name=syncOptions" json:"syncOptions,omitempty"` 1000 AppNamespace *string `protobuf:"bytes,12,opt,name=appNamespace" json:"appNamespace,omitempty"` 1001 Project *string `protobuf:"bytes,13,opt,name=project" json:"project,omitempty"` 1002 SourcePositions []int64 `protobuf:"varint,14,rep,name=sourcePositions" json:"sourcePositions,omitempty"` 1003 Revisions []string `protobuf:"bytes,15,rep,name=revisions" json:"revisions,omitempty"` 1004 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1005 XXX_unrecognized []byte `json:"-"` 1006 XXX_sizecache int32 `json:"-"` 1007 } 1008 1009 func (m *ApplicationSyncRequest) Reset() { *m = ApplicationSyncRequest{} } 1010 func (m *ApplicationSyncRequest) String() string { return proto.CompactTextString(m) } 1011 func (*ApplicationSyncRequest) ProtoMessage() {} 1012 func (*ApplicationSyncRequest) Descriptor() ([]byte, []int) { 1013 return fileDescriptor_df6e82b174b5eaec, []int{13} 1014 } 1015 func (m *ApplicationSyncRequest) XXX_Unmarshal(b []byte) error { 1016 return m.Unmarshal(b) 1017 } 1018 func (m *ApplicationSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1019 if deterministic { 1020 return xxx_messageInfo_ApplicationSyncRequest.Marshal(b, m, deterministic) 1021 } else { 1022 b = b[:cap(b)] 1023 n, err := m.MarshalToSizedBuffer(b) 1024 if err != nil { 1025 return nil, err 1026 } 1027 return b[:n], nil 1028 } 1029 } 1030 func (m *ApplicationSyncRequest) XXX_Merge(src proto.Message) { 1031 xxx_messageInfo_ApplicationSyncRequest.Merge(m, src) 1032 } 1033 func (m *ApplicationSyncRequest) XXX_Size() int { 1034 return m.Size() 1035 } 1036 func (m *ApplicationSyncRequest) XXX_DiscardUnknown() { 1037 xxx_messageInfo_ApplicationSyncRequest.DiscardUnknown(m) 1038 } 1039 1040 var xxx_messageInfo_ApplicationSyncRequest proto.InternalMessageInfo 1041 1042 func (m *ApplicationSyncRequest) GetName() string { 1043 if m != nil && m.Name != nil { 1044 return *m.Name 1045 } 1046 return "" 1047 } 1048 1049 func (m *ApplicationSyncRequest) GetRevision() string { 1050 if m != nil && m.Revision != nil { 1051 return *m.Revision 1052 } 1053 return "" 1054 } 1055 1056 func (m *ApplicationSyncRequest) GetDryRun() bool { 1057 if m != nil && m.DryRun != nil { 1058 return *m.DryRun 1059 } 1060 return false 1061 } 1062 1063 func (m *ApplicationSyncRequest) GetPrune() bool { 1064 if m != nil && m.Prune != nil { 1065 return *m.Prune 1066 } 1067 return false 1068 } 1069 1070 func (m *ApplicationSyncRequest) GetStrategy() *v1alpha1.SyncStrategy { 1071 if m != nil { 1072 return m.Strategy 1073 } 1074 return nil 1075 } 1076 1077 func (m *ApplicationSyncRequest) GetResources() []*v1alpha1.SyncOperationResource { 1078 if m != nil { 1079 return m.Resources 1080 } 1081 return nil 1082 } 1083 1084 func (m *ApplicationSyncRequest) GetManifests() []string { 1085 if m != nil { 1086 return m.Manifests 1087 } 1088 return nil 1089 } 1090 1091 func (m *ApplicationSyncRequest) GetInfos() []*v1alpha1.Info { 1092 if m != nil { 1093 return m.Infos 1094 } 1095 return nil 1096 } 1097 1098 func (m *ApplicationSyncRequest) GetRetryStrategy() *v1alpha1.RetryStrategy { 1099 if m != nil { 1100 return m.RetryStrategy 1101 } 1102 return nil 1103 } 1104 1105 func (m *ApplicationSyncRequest) GetSyncOptions() *SyncOptions { 1106 if m != nil { 1107 return m.SyncOptions 1108 } 1109 return nil 1110 } 1111 1112 func (m *ApplicationSyncRequest) GetAppNamespace() string { 1113 if m != nil && m.AppNamespace != nil { 1114 return *m.AppNamespace 1115 } 1116 return "" 1117 } 1118 1119 func (m *ApplicationSyncRequest) GetProject() string { 1120 if m != nil && m.Project != nil { 1121 return *m.Project 1122 } 1123 return "" 1124 } 1125 1126 func (m *ApplicationSyncRequest) GetSourcePositions() []int64 { 1127 if m != nil { 1128 return m.SourcePositions 1129 } 1130 return nil 1131 } 1132 1133 func (m *ApplicationSyncRequest) GetRevisions() []string { 1134 if m != nil { 1135 return m.Revisions 1136 } 1137 return nil 1138 } 1139 1140 // ApplicationUpdateSpecRequest is a request to update application spec 1141 type ApplicationUpdateSpecRequest struct { 1142 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1143 Spec *v1alpha1.ApplicationSpec `protobuf:"bytes,2,req,name=spec" json:"spec,omitempty"` 1144 Validate *bool `protobuf:"varint,3,opt,name=validate" json:"validate,omitempty"` 1145 AppNamespace *string `protobuf:"bytes,4,opt,name=appNamespace" json:"appNamespace,omitempty"` 1146 Project *string `protobuf:"bytes,5,opt,name=project" json:"project,omitempty"` 1147 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1148 XXX_unrecognized []byte `json:"-"` 1149 XXX_sizecache int32 `json:"-"` 1150 } 1151 1152 func (m *ApplicationUpdateSpecRequest) Reset() { *m = ApplicationUpdateSpecRequest{} } 1153 func (m *ApplicationUpdateSpecRequest) String() string { return proto.CompactTextString(m) } 1154 func (*ApplicationUpdateSpecRequest) ProtoMessage() {} 1155 func (*ApplicationUpdateSpecRequest) Descriptor() ([]byte, []int) { 1156 return fileDescriptor_df6e82b174b5eaec, []int{14} 1157 } 1158 func (m *ApplicationUpdateSpecRequest) XXX_Unmarshal(b []byte) error { 1159 return m.Unmarshal(b) 1160 } 1161 func (m *ApplicationUpdateSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1162 if deterministic { 1163 return xxx_messageInfo_ApplicationUpdateSpecRequest.Marshal(b, m, deterministic) 1164 } else { 1165 b = b[:cap(b)] 1166 n, err := m.MarshalToSizedBuffer(b) 1167 if err != nil { 1168 return nil, err 1169 } 1170 return b[:n], nil 1171 } 1172 } 1173 func (m *ApplicationUpdateSpecRequest) XXX_Merge(src proto.Message) { 1174 xxx_messageInfo_ApplicationUpdateSpecRequest.Merge(m, src) 1175 } 1176 func (m *ApplicationUpdateSpecRequest) XXX_Size() int { 1177 return m.Size() 1178 } 1179 func (m *ApplicationUpdateSpecRequest) XXX_DiscardUnknown() { 1180 xxx_messageInfo_ApplicationUpdateSpecRequest.DiscardUnknown(m) 1181 } 1182 1183 var xxx_messageInfo_ApplicationUpdateSpecRequest proto.InternalMessageInfo 1184 1185 func (m *ApplicationUpdateSpecRequest) GetName() string { 1186 if m != nil && m.Name != nil { 1187 return *m.Name 1188 } 1189 return "" 1190 } 1191 1192 func (m *ApplicationUpdateSpecRequest) GetSpec() *v1alpha1.ApplicationSpec { 1193 if m != nil { 1194 return m.Spec 1195 } 1196 return nil 1197 } 1198 1199 func (m *ApplicationUpdateSpecRequest) GetValidate() bool { 1200 if m != nil && m.Validate != nil { 1201 return *m.Validate 1202 } 1203 return false 1204 } 1205 1206 func (m *ApplicationUpdateSpecRequest) GetAppNamespace() string { 1207 if m != nil && m.AppNamespace != nil { 1208 return *m.AppNamespace 1209 } 1210 return "" 1211 } 1212 1213 func (m *ApplicationUpdateSpecRequest) GetProject() string { 1214 if m != nil && m.Project != nil { 1215 return *m.Project 1216 } 1217 return "" 1218 } 1219 1220 // ApplicationPatchRequest is a request to patch an application 1221 type ApplicationPatchRequest struct { 1222 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1223 Patch *string `protobuf:"bytes,2,req,name=patch" json:"patch,omitempty"` 1224 PatchType *string `protobuf:"bytes,3,req,name=patchType" json:"patchType,omitempty"` 1225 AppNamespace *string `protobuf:"bytes,5,opt,name=appNamespace" json:"appNamespace,omitempty"` 1226 Project *string `protobuf:"bytes,6,opt,name=project" json:"project,omitempty"` 1227 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1228 XXX_unrecognized []byte `json:"-"` 1229 XXX_sizecache int32 `json:"-"` 1230 } 1231 1232 func (m *ApplicationPatchRequest) Reset() { *m = ApplicationPatchRequest{} } 1233 func (m *ApplicationPatchRequest) String() string { return proto.CompactTextString(m) } 1234 func (*ApplicationPatchRequest) ProtoMessage() {} 1235 func (*ApplicationPatchRequest) Descriptor() ([]byte, []int) { 1236 return fileDescriptor_df6e82b174b5eaec, []int{15} 1237 } 1238 func (m *ApplicationPatchRequest) XXX_Unmarshal(b []byte) error { 1239 return m.Unmarshal(b) 1240 } 1241 func (m *ApplicationPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1242 if deterministic { 1243 return xxx_messageInfo_ApplicationPatchRequest.Marshal(b, m, deterministic) 1244 } else { 1245 b = b[:cap(b)] 1246 n, err := m.MarshalToSizedBuffer(b) 1247 if err != nil { 1248 return nil, err 1249 } 1250 return b[:n], nil 1251 } 1252 } 1253 func (m *ApplicationPatchRequest) XXX_Merge(src proto.Message) { 1254 xxx_messageInfo_ApplicationPatchRequest.Merge(m, src) 1255 } 1256 func (m *ApplicationPatchRequest) XXX_Size() int { 1257 return m.Size() 1258 } 1259 func (m *ApplicationPatchRequest) XXX_DiscardUnknown() { 1260 xxx_messageInfo_ApplicationPatchRequest.DiscardUnknown(m) 1261 } 1262 1263 var xxx_messageInfo_ApplicationPatchRequest proto.InternalMessageInfo 1264 1265 func (m *ApplicationPatchRequest) GetName() string { 1266 if m != nil && m.Name != nil { 1267 return *m.Name 1268 } 1269 return "" 1270 } 1271 1272 func (m *ApplicationPatchRequest) GetPatch() string { 1273 if m != nil && m.Patch != nil { 1274 return *m.Patch 1275 } 1276 return "" 1277 } 1278 1279 func (m *ApplicationPatchRequest) GetPatchType() string { 1280 if m != nil && m.PatchType != nil { 1281 return *m.PatchType 1282 } 1283 return "" 1284 } 1285 1286 func (m *ApplicationPatchRequest) GetAppNamespace() string { 1287 if m != nil && m.AppNamespace != nil { 1288 return *m.AppNamespace 1289 } 1290 return "" 1291 } 1292 1293 func (m *ApplicationPatchRequest) GetProject() string { 1294 if m != nil && m.Project != nil { 1295 return *m.Project 1296 } 1297 return "" 1298 } 1299 1300 type ApplicationRollbackRequest struct { 1301 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1302 Id *int64 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` 1303 DryRun *bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun,omitempty"` 1304 Prune *bool `protobuf:"varint,4,opt,name=prune" json:"prune,omitempty"` 1305 AppNamespace *string `protobuf:"bytes,6,opt,name=appNamespace" json:"appNamespace,omitempty"` 1306 Project *string `protobuf:"bytes,7,opt,name=project" json:"project,omitempty"` 1307 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1308 XXX_unrecognized []byte `json:"-"` 1309 XXX_sizecache int32 `json:"-"` 1310 } 1311 1312 func (m *ApplicationRollbackRequest) Reset() { *m = ApplicationRollbackRequest{} } 1313 func (m *ApplicationRollbackRequest) String() string { return proto.CompactTextString(m) } 1314 func (*ApplicationRollbackRequest) ProtoMessage() {} 1315 func (*ApplicationRollbackRequest) Descriptor() ([]byte, []int) { 1316 return fileDescriptor_df6e82b174b5eaec, []int{16} 1317 } 1318 func (m *ApplicationRollbackRequest) XXX_Unmarshal(b []byte) error { 1319 return m.Unmarshal(b) 1320 } 1321 func (m *ApplicationRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1322 if deterministic { 1323 return xxx_messageInfo_ApplicationRollbackRequest.Marshal(b, m, deterministic) 1324 } else { 1325 b = b[:cap(b)] 1326 n, err := m.MarshalToSizedBuffer(b) 1327 if err != nil { 1328 return nil, err 1329 } 1330 return b[:n], nil 1331 } 1332 } 1333 func (m *ApplicationRollbackRequest) XXX_Merge(src proto.Message) { 1334 xxx_messageInfo_ApplicationRollbackRequest.Merge(m, src) 1335 } 1336 func (m *ApplicationRollbackRequest) XXX_Size() int { 1337 return m.Size() 1338 } 1339 func (m *ApplicationRollbackRequest) XXX_DiscardUnknown() { 1340 xxx_messageInfo_ApplicationRollbackRequest.DiscardUnknown(m) 1341 } 1342 1343 var xxx_messageInfo_ApplicationRollbackRequest proto.InternalMessageInfo 1344 1345 func (m *ApplicationRollbackRequest) GetName() string { 1346 if m != nil && m.Name != nil { 1347 return *m.Name 1348 } 1349 return "" 1350 } 1351 1352 func (m *ApplicationRollbackRequest) GetId() int64 { 1353 if m != nil && m.Id != nil { 1354 return *m.Id 1355 } 1356 return 0 1357 } 1358 1359 func (m *ApplicationRollbackRequest) GetDryRun() bool { 1360 if m != nil && m.DryRun != nil { 1361 return *m.DryRun 1362 } 1363 return false 1364 } 1365 1366 func (m *ApplicationRollbackRequest) GetPrune() bool { 1367 if m != nil && m.Prune != nil { 1368 return *m.Prune 1369 } 1370 return false 1371 } 1372 1373 func (m *ApplicationRollbackRequest) GetAppNamespace() string { 1374 if m != nil && m.AppNamespace != nil { 1375 return *m.AppNamespace 1376 } 1377 return "" 1378 } 1379 1380 func (m *ApplicationRollbackRequest) GetProject() string { 1381 if m != nil && m.Project != nil { 1382 return *m.Project 1383 } 1384 return "" 1385 } 1386 1387 type ApplicationResourceRequest struct { 1388 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1389 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1390 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1391 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1392 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1393 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1394 AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` 1395 Project *string `protobuf:"bytes,8,opt,name=project" json:"project,omitempty"` 1396 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1397 XXX_unrecognized []byte `json:"-"` 1398 XXX_sizecache int32 `json:"-"` 1399 } 1400 1401 func (m *ApplicationResourceRequest) Reset() { *m = ApplicationResourceRequest{} } 1402 func (m *ApplicationResourceRequest) String() string { return proto.CompactTextString(m) } 1403 func (*ApplicationResourceRequest) ProtoMessage() {} 1404 func (*ApplicationResourceRequest) Descriptor() ([]byte, []int) { 1405 return fileDescriptor_df6e82b174b5eaec, []int{17} 1406 } 1407 func (m *ApplicationResourceRequest) XXX_Unmarshal(b []byte) error { 1408 return m.Unmarshal(b) 1409 } 1410 func (m *ApplicationResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1411 if deterministic { 1412 return xxx_messageInfo_ApplicationResourceRequest.Marshal(b, m, deterministic) 1413 } else { 1414 b = b[:cap(b)] 1415 n, err := m.MarshalToSizedBuffer(b) 1416 if err != nil { 1417 return nil, err 1418 } 1419 return b[:n], nil 1420 } 1421 } 1422 func (m *ApplicationResourceRequest) XXX_Merge(src proto.Message) { 1423 xxx_messageInfo_ApplicationResourceRequest.Merge(m, src) 1424 } 1425 func (m *ApplicationResourceRequest) XXX_Size() int { 1426 return m.Size() 1427 } 1428 func (m *ApplicationResourceRequest) XXX_DiscardUnknown() { 1429 xxx_messageInfo_ApplicationResourceRequest.DiscardUnknown(m) 1430 } 1431 1432 var xxx_messageInfo_ApplicationResourceRequest proto.InternalMessageInfo 1433 1434 func (m *ApplicationResourceRequest) GetName() string { 1435 if m != nil && m.Name != nil { 1436 return *m.Name 1437 } 1438 return "" 1439 } 1440 1441 func (m *ApplicationResourceRequest) GetNamespace() string { 1442 if m != nil && m.Namespace != nil { 1443 return *m.Namespace 1444 } 1445 return "" 1446 } 1447 1448 func (m *ApplicationResourceRequest) GetResourceName() string { 1449 if m != nil && m.ResourceName != nil { 1450 return *m.ResourceName 1451 } 1452 return "" 1453 } 1454 1455 func (m *ApplicationResourceRequest) GetVersion() string { 1456 if m != nil && m.Version != nil { 1457 return *m.Version 1458 } 1459 return "" 1460 } 1461 1462 func (m *ApplicationResourceRequest) GetGroup() string { 1463 if m != nil && m.Group != nil { 1464 return *m.Group 1465 } 1466 return "" 1467 } 1468 1469 func (m *ApplicationResourceRequest) GetKind() string { 1470 if m != nil && m.Kind != nil { 1471 return *m.Kind 1472 } 1473 return "" 1474 } 1475 1476 func (m *ApplicationResourceRequest) GetAppNamespace() string { 1477 if m != nil && m.AppNamespace != nil { 1478 return *m.AppNamespace 1479 } 1480 return "" 1481 } 1482 1483 func (m *ApplicationResourceRequest) GetProject() string { 1484 if m != nil && m.Project != nil { 1485 return *m.Project 1486 } 1487 return "" 1488 } 1489 1490 type ApplicationResourcePatchRequest struct { 1491 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1492 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1493 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1494 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1495 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1496 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1497 Patch *string `protobuf:"bytes,7,req,name=patch" json:"patch,omitempty"` 1498 PatchType *string `protobuf:"bytes,8,req,name=patchType" json:"patchType,omitempty"` 1499 AppNamespace *string `protobuf:"bytes,9,opt,name=appNamespace" json:"appNamespace,omitempty"` 1500 Project *string `protobuf:"bytes,10,opt,name=project" json:"project,omitempty"` 1501 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1502 XXX_unrecognized []byte `json:"-"` 1503 XXX_sizecache int32 `json:"-"` 1504 } 1505 1506 func (m *ApplicationResourcePatchRequest) Reset() { *m = ApplicationResourcePatchRequest{} } 1507 func (m *ApplicationResourcePatchRequest) String() string { return proto.CompactTextString(m) } 1508 func (*ApplicationResourcePatchRequest) ProtoMessage() {} 1509 func (*ApplicationResourcePatchRequest) Descriptor() ([]byte, []int) { 1510 return fileDescriptor_df6e82b174b5eaec, []int{18} 1511 } 1512 func (m *ApplicationResourcePatchRequest) XXX_Unmarshal(b []byte) error { 1513 return m.Unmarshal(b) 1514 } 1515 func (m *ApplicationResourcePatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1516 if deterministic { 1517 return xxx_messageInfo_ApplicationResourcePatchRequest.Marshal(b, m, deterministic) 1518 } else { 1519 b = b[:cap(b)] 1520 n, err := m.MarshalToSizedBuffer(b) 1521 if err != nil { 1522 return nil, err 1523 } 1524 return b[:n], nil 1525 } 1526 } 1527 func (m *ApplicationResourcePatchRequest) XXX_Merge(src proto.Message) { 1528 xxx_messageInfo_ApplicationResourcePatchRequest.Merge(m, src) 1529 } 1530 func (m *ApplicationResourcePatchRequest) XXX_Size() int { 1531 return m.Size() 1532 } 1533 func (m *ApplicationResourcePatchRequest) XXX_DiscardUnknown() { 1534 xxx_messageInfo_ApplicationResourcePatchRequest.DiscardUnknown(m) 1535 } 1536 1537 var xxx_messageInfo_ApplicationResourcePatchRequest proto.InternalMessageInfo 1538 1539 func (m *ApplicationResourcePatchRequest) GetName() string { 1540 if m != nil && m.Name != nil { 1541 return *m.Name 1542 } 1543 return "" 1544 } 1545 1546 func (m *ApplicationResourcePatchRequest) GetNamespace() string { 1547 if m != nil && m.Namespace != nil { 1548 return *m.Namespace 1549 } 1550 return "" 1551 } 1552 1553 func (m *ApplicationResourcePatchRequest) GetResourceName() string { 1554 if m != nil && m.ResourceName != nil { 1555 return *m.ResourceName 1556 } 1557 return "" 1558 } 1559 1560 func (m *ApplicationResourcePatchRequest) GetVersion() string { 1561 if m != nil && m.Version != nil { 1562 return *m.Version 1563 } 1564 return "" 1565 } 1566 1567 func (m *ApplicationResourcePatchRequest) GetGroup() string { 1568 if m != nil && m.Group != nil { 1569 return *m.Group 1570 } 1571 return "" 1572 } 1573 1574 func (m *ApplicationResourcePatchRequest) GetKind() string { 1575 if m != nil && m.Kind != nil { 1576 return *m.Kind 1577 } 1578 return "" 1579 } 1580 1581 func (m *ApplicationResourcePatchRequest) GetPatch() string { 1582 if m != nil && m.Patch != nil { 1583 return *m.Patch 1584 } 1585 return "" 1586 } 1587 1588 func (m *ApplicationResourcePatchRequest) GetPatchType() string { 1589 if m != nil && m.PatchType != nil { 1590 return *m.PatchType 1591 } 1592 return "" 1593 } 1594 1595 func (m *ApplicationResourcePatchRequest) GetAppNamespace() string { 1596 if m != nil && m.AppNamespace != nil { 1597 return *m.AppNamespace 1598 } 1599 return "" 1600 } 1601 1602 func (m *ApplicationResourcePatchRequest) GetProject() string { 1603 if m != nil && m.Project != nil { 1604 return *m.Project 1605 } 1606 return "" 1607 } 1608 1609 type ApplicationResourceDeleteRequest struct { 1610 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1611 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1612 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1613 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1614 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1615 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1616 Force *bool `protobuf:"varint,7,opt,name=force" json:"force,omitempty"` 1617 Orphan *bool `protobuf:"varint,8,opt,name=orphan" json:"orphan,omitempty"` 1618 AppNamespace *string `protobuf:"bytes,9,opt,name=appNamespace" json:"appNamespace,omitempty"` 1619 Project *string `protobuf:"bytes,10,opt,name=project" json:"project,omitempty"` 1620 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1621 XXX_unrecognized []byte `json:"-"` 1622 XXX_sizecache int32 `json:"-"` 1623 } 1624 1625 func (m *ApplicationResourceDeleteRequest) Reset() { *m = ApplicationResourceDeleteRequest{} } 1626 func (m *ApplicationResourceDeleteRequest) String() string { return proto.CompactTextString(m) } 1627 func (*ApplicationResourceDeleteRequest) ProtoMessage() {} 1628 func (*ApplicationResourceDeleteRequest) Descriptor() ([]byte, []int) { 1629 return fileDescriptor_df6e82b174b5eaec, []int{19} 1630 } 1631 func (m *ApplicationResourceDeleteRequest) XXX_Unmarshal(b []byte) error { 1632 return m.Unmarshal(b) 1633 } 1634 func (m *ApplicationResourceDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1635 if deterministic { 1636 return xxx_messageInfo_ApplicationResourceDeleteRequest.Marshal(b, m, deterministic) 1637 } else { 1638 b = b[:cap(b)] 1639 n, err := m.MarshalToSizedBuffer(b) 1640 if err != nil { 1641 return nil, err 1642 } 1643 return b[:n], nil 1644 } 1645 } 1646 func (m *ApplicationResourceDeleteRequest) XXX_Merge(src proto.Message) { 1647 xxx_messageInfo_ApplicationResourceDeleteRequest.Merge(m, src) 1648 } 1649 func (m *ApplicationResourceDeleteRequest) XXX_Size() int { 1650 return m.Size() 1651 } 1652 func (m *ApplicationResourceDeleteRequest) XXX_DiscardUnknown() { 1653 xxx_messageInfo_ApplicationResourceDeleteRequest.DiscardUnknown(m) 1654 } 1655 1656 var xxx_messageInfo_ApplicationResourceDeleteRequest proto.InternalMessageInfo 1657 1658 func (m *ApplicationResourceDeleteRequest) GetName() string { 1659 if m != nil && m.Name != nil { 1660 return *m.Name 1661 } 1662 return "" 1663 } 1664 1665 func (m *ApplicationResourceDeleteRequest) GetNamespace() string { 1666 if m != nil && m.Namespace != nil { 1667 return *m.Namespace 1668 } 1669 return "" 1670 } 1671 1672 func (m *ApplicationResourceDeleteRequest) GetResourceName() string { 1673 if m != nil && m.ResourceName != nil { 1674 return *m.ResourceName 1675 } 1676 return "" 1677 } 1678 1679 func (m *ApplicationResourceDeleteRequest) GetVersion() string { 1680 if m != nil && m.Version != nil { 1681 return *m.Version 1682 } 1683 return "" 1684 } 1685 1686 func (m *ApplicationResourceDeleteRequest) GetGroup() string { 1687 if m != nil && m.Group != nil { 1688 return *m.Group 1689 } 1690 return "" 1691 } 1692 1693 func (m *ApplicationResourceDeleteRequest) GetKind() string { 1694 if m != nil && m.Kind != nil { 1695 return *m.Kind 1696 } 1697 return "" 1698 } 1699 1700 func (m *ApplicationResourceDeleteRequest) GetForce() bool { 1701 if m != nil && m.Force != nil { 1702 return *m.Force 1703 } 1704 return false 1705 } 1706 1707 func (m *ApplicationResourceDeleteRequest) GetOrphan() bool { 1708 if m != nil && m.Orphan != nil { 1709 return *m.Orphan 1710 } 1711 return false 1712 } 1713 1714 func (m *ApplicationResourceDeleteRequest) GetAppNamespace() string { 1715 if m != nil && m.AppNamespace != nil { 1716 return *m.AppNamespace 1717 } 1718 return "" 1719 } 1720 1721 func (m *ApplicationResourceDeleteRequest) GetProject() string { 1722 if m != nil && m.Project != nil { 1723 return *m.Project 1724 } 1725 return "" 1726 } 1727 1728 type ResourceActionParameters struct { 1729 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1730 Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` 1731 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1732 XXX_unrecognized []byte `json:"-"` 1733 XXX_sizecache int32 `json:"-"` 1734 } 1735 1736 func (m *ResourceActionParameters) Reset() { *m = ResourceActionParameters{} } 1737 func (m *ResourceActionParameters) String() string { return proto.CompactTextString(m) } 1738 func (*ResourceActionParameters) ProtoMessage() {} 1739 func (*ResourceActionParameters) Descriptor() ([]byte, []int) { 1740 return fileDescriptor_df6e82b174b5eaec, []int{20} 1741 } 1742 func (m *ResourceActionParameters) XXX_Unmarshal(b []byte) error { 1743 return m.Unmarshal(b) 1744 } 1745 func (m *ResourceActionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1746 if deterministic { 1747 return xxx_messageInfo_ResourceActionParameters.Marshal(b, m, deterministic) 1748 } else { 1749 b = b[:cap(b)] 1750 n, err := m.MarshalToSizedBuffer(b) 1751 if err != nil { 1752 return nil, err 1753 } 1754 return b[:n], nil 1755 } 1756 } 1757 func (m *ResourceActionParameters) XXX_Merge(src proto.Message) { 1758 xxx_messageInfo_ResourceActionParameters.Merge(m, src) 1759 } 1760 func (m *ResourceActionParameters) XXX_Size() int { 1761 return m.Size() 1762 } 1763 func (m *ResourceActionParameters) XXX_DiscardUnknown() { 1764 xxx_messageInfo_ResourceActionParameters.DiscardUnknown(m) 1765 } 1766 1767 var xxx_messageInfo_ResourceActionParameters proto.InternalMessageInfo 1768 1769 func (m *ResourceActionParameters) GetName() string { 1770 if m != nil && m.Name != nil { 1771 return *m.Name 1772 } 1773 return "" 1774 } 1775 1776 func (m *ResourceActionParameters) GetValue() string { 1777 if m != nil && m.Value != nil { 1778 return *m.Value 1779 } 1780 return "" 1781 } 1782 1783 // ResourceActionRunRequest is a request to run a resource action. 1784 // This message is deprecated and replaced by ResourceActionRunRequestV2. 1785 // 1786 // Deprecated: Do not use. 1787 type ResourceActionRunRequest struct { 1788 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1789 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1790 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1791 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1792 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1793 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1794 Action *string `protobuf:"bytes,7,req,name=action" json:"action,omitempty"` 1795 AppNamespace *string `protobuf:"bytes,8,opt,name=appNamespace" json:"appNamespace,omitempty"` 1796 Project *string `protobuf:"bytes,9,opt,name=project" json:"project,omitempty"` 1797 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1798 XXX_unrecognized []byte `json:"-"` 1799 XXX_sizecache int32 `json:"-"` 1800 } 1801 1802 func (m *ResourceActionRunRequest) Reset() { *m = ResourceActionRunRequest{} } 1803 func (m *ResourceActionRunRequest) String() string { return proto.CompactTextString(m) } 1804 func (*ResourceActionRunRequest) ProtoMessage() {} 1805 func (*ResourceActionRunRequest) Descriptor() ([]byte, []int) { 1806 return fileDescriptor_df6e82b174b5eaec, []int{21} 1807 } 1808 func (m *ResourceActionRunRequest) XXX_Unmarshal(b []byte) error { 1809 return m.Unmarshal(b) 1810 } 1811 func (m *ResourceActionRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1812 if deterministic { 1813 return xxx_messageInfo_ResourceActionRunRequest.Marshal(b, m, deterministic) 1814 } else { 1815 b = b[:cap(b)] 1816 n, err := m.MarshalToSizedBuffer(b) 1817 if err != nil { 1818 return nil, err 1819 } 1820 return b[:n], nil 1821 } 1822 } 1823 func (m *ResourceActionRunRequest) XXX_Merge(src proto.Message) { 1824 xxx_messageInfo_ResourceActionRunRequest.Merge(m, src) 1825 } 1826 func (m *ResourceActionRunRequest) XXX_Size() int { 1827 return m.Size() 1828 } 1829 func (m *ResourceActionRunRequest) XXX_DiscardUnknown() { 1830 xxx_messageInfo_ResourceActionRunRequest.DiscardUnknown(m) 1831 } 1832 1833 var xxx_messageInfo_ResourceActionRunRequest proto.InternalMessageInfo 1834 1835 func (m *ResourceActionRunRequest) GetName() string { 1836 if m != nil && m.Name != nil { 1837 return *m.Name 1838 } 1839 return "" 1840 } 1841 1842 func (m *ResourceActionRunRequest) GetNamespace() string { 1843 if m != nil && m.Namespace != nil { 1844 return *m.Namespace 1845 } 1846 return "" 1847 } 1848 1849 func (m *ResourceActionRunRequest) GetResourceName() string { 1850 if m != nil && m.ResourceName != nil { 1851 return *m.ResourceName 1852 } 1853 return "" 1854 } 1855 1856 func (m *ResourceActionRunRequest) GetVersion() string { 1857 if m != nil && m.Version != nil { 1858 return *m.Version 1859 } 1860 return "" 1861 } 1862 1863 func (m *ResourceActionRunRequest) GetGroup() string { 1864 if m != nil && m.Group != nil { 1865 return *m.Group 1866 } 1867 return "" 1868 } 1869 1870 func (m *ResourceActionRunRequest) GetKind() string { 1871 if m != nil && m.Kind != nil { 1872 return *m.Kind 1873 } 1874 return "" 1875 } 1876 1877 func (m *ResourceActionRunRequest) GetAction() string { 1878 if m != nil && m.Action != nil { 1879 return *m.Action 1880 } 1881 return "" 1882 } 1883 1884 func (m *ResourceActionRunRequest) GetAppNamespace() string { 1885 if m != nil && m.AppNamespace != nil { 1886 return *m.AppNamespace 1887 } 1888 return "" 1889 } 1890 1891 func (m *ResourceActionRunRequest) GetProject() string { 1892 if m != nil && m.Project != nil { 1893 return *m.Project 1894 } 1895 return "" 1896 } 1897 1898 type ResourceActionRunRequestV2 struct { 1899 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1900 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1901 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1902 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1903 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1904 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1905 Action *string `protobuf:"bytes,7,req,name=action" json:"action,omitempty"` 1906 AppNamespace *string `protobuf:"bytes,8,opt,name=appNamespace" json:"appNamespace,omitempty"` 1907 Project *string `protobuf:"bytes,9,opt,name=project" json:"project,omitempty"` 1908 ResourceActionParameters []*ResourceActionParameters `protobuf:"bytes,10,rep,name=resourceActionParameters" json:"resourceActionParameters,omitempty"` 1909 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1910 XXX_unrecognized []byte `json:"-"` 1911 XXX_sizecache int32 `json:"-"` 1912 } 1913 1914 func (m *ResourceActionRunRequestV2) Reset() { *m = ResourceActionRunRequestV2{} } 1915 func (m *ResourceActionRunRequestV2) String() string { return proto.CompactTextString(m) } 1916 func (*ResourceActionRunRequestV2) ProtoMessage() {} 1917 func (*ResourceActionRunRequestV2) Descriptor() ([]byte, []int) { 1918 return fileDescriptor_df6e82b174b5eaec, []int{22} 1919 } 1920 func (m *ResourceActionRunRequestV2) XXX_Unmarshal(b []byte) error { 1921 return m.Unmarshal(b) 1922 } 1923 func (m *ResourceActionRunRequestV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1924 if deterministic { 1925 return xxx_messageInfo_ResourceActionRunRequestV2.Marshal(b, m, deterministic) 1926 } else { 1927 b = b[:cap(b)] 1928 n, err := m.MarshalToSizedBuffer(b) 1929 if err != nil { 1930 return nil, err 1931 } 1932 return b[:n], nil 1933 } 1934 } 1935 func (m *ResourceActionRunRequestV2) XXX_Merge(src proto.Message) { 1936 xxx_messageInfo_ResourceActionRunRequestV2.Merge(m, src) 1937 } 1938 func (m *ResourceActionRunRequestV2) XXX_Size() int { 1939 return m.Size() 1940 } 1941 func (m *ResourceActionRunRequestV2) XXX_DiscardUnknown() { 1942 xxx_messageInfo_ResourceActionRunRequestV2.DiscardUnknown(m) 1943 } 1944 1945 var xxx_messageInfo_ResourceActionRunRequestV2 proto.InternalMessageInfo 1946 1947 func (m *ResourceActionRunRequestV2) GetName() string { 1948 if m != nil && m.Name != nil { 1949 return *m.Name 1950 } 1951 return "" 1952 } 1953 1954 func (m *ResourceActionRunRequestV2) GetNamespace() string { 1955 if m != nil && m.Namespace != nil { 1956 return *m.Namespace 1957 } 1958 return "" 1959 } 1960 1961 func (m *ResourceActionRunRequestV2) GetResourceName() string { 1962 if m != nil && m.ResourceName != nil { 1963 return *m.ResourceName 1964 } 1965 return "" 1966 } 1967 1968 func (m *ResourceActionRunRequestV2) GetVersion() string { 1969 if m != nil && m.Version != nil { 1970 return *m.Version 1971 } 1972 return "" 1973 } 1974 1975 func (m *ResourceActionRunRequestV2) GetGroup() string { 1976 if m != nil && m.Group != nil { 1977 return *m.Group 1978 } 1979 return "" 1980 } 1981 1982 func (m *ResourceActionRunRequestV2) GetKind() string { 1983 if m != nil && m.Kind != nil { 1984 return *m.Kind 1985 } 1986 return "" 1987 } 1988 1989 func (m *ResourceActionRunRequestV2) GetAction() string { 1990 if m != nil && m.Action != nil { 1991 return *m.Action 1992 } 1993 return "" 1994 } 1995 1996 func (m *ResourceActionRunRequestV2) GetAppNamespace() string { 1997 if m != nil && m.AppNamespace != nil { 1998 return *m.AppNamespace 1999 } 2000 return "" 2001 } 2002 2003 func (m *ResourceActionRunRequestV2) GetProject() string { 2004 if m != nil && m.Project != nil { 2005 return *m.Project 2006 } 2007 return "" 2008 } 2009 2010 func (m *ResourceActionRunRequestV2) GetResourceActionParameters() []*ResourceActionParameters { 2011 if m != nil { 2012 return m.ResourceActionParameters 2013 } 2014 return nil 2015 } 2016 2017 type ResourceActionsListResponse struct { 2018 Actions []*v1alpha1.ResourceAction `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"` 2019 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2020 XXX_unrecognized []byte `json:"-"` 2021 XXX_sizecache int32 `json:"-"` 2022 } 2023 2024 func (m *ResourceActionsListResponse) Reset() { *m = ResourceActionsListResponse{} } 2025 func (m *ResourceActionsListResponse) String() string { return proto.CompactTextString(m) } 2026 func (*ResourceActionsListResponse) ProtoMessage() {} 2027 func (*ResourceActionsListResponse) Descriptor() ([]byte, []int) { 2028 return fileDescriptor_df6e82b174b5eaec, []int{23} 2029 } 2030 func (m *ResourceActionsListResponse) XXX_Unmarshal(b []byte) error { 2031 return m.Unmarshal(b) 2032 } 2033 func (m *ResourceActionsListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2034 if deterministic { 2035 return xxx_messageInfo_ResourceActionsListResponse.Marshal(b, m, deterministic) 2036 } else { 2037 b = b[:cap(b)] 2038 n, err := m.MarshalToSizedBuffer(b) 2039 if err != nil { 2040 return nil, err 2041 } 2042 return b[:n], nil 2043 } 2044 } 2045 func (m *ResourceActionsListResponse) XXX_Merge(src proto.Message) { 2046 xxx_messageInfo_ResourceActionsListResponse.Merge(m, src) 2047 } 2048 func (m *ResourceActionsListResponse) XXX_Size() int { 2049 return m.Size() 2050 } 2051 func (m *ResourceActionsListResponse) XXX_DiscardUnknown() { 2052 xxx_messageInfo_ResourceActionsListResponse.DiscardUnknown(m) 2053 } 2054 2055 var xxx_messageInfo_ResourceActionsListResponse proto.InternalMessageInfo 2056 2057 func (m *ResourceActionsListResponse) GetActions() []*v1alpha1.ResourceAction { 2058 if m != nil { 2059 return m.Actions 2060 } 2061 return nil 2062 } 2063 2064 type ApplicationResourceResponse struct { 2065 Manifest *string `protobuf:"bytes,1,req,name=manifest" json:"manifest,omitempty"` 2066 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2067 XXX_unrecognized []byte `json:"-"` 2068 XXX_sizecache int32 `json:"-"` 2069 } 2070 2071 func (m *ApplicationResourceResponse) Reset() { *m = ApplicationResourceResponse{} } 2072 func (m *ApplicationResourceResponse) String() string { return proto.CompactTextString(m) } 2073 func (*ApplicationResourceResponse) ProtoMessage() {} 2074 func (*ApplicationResourceResponse) Descriptor() ([]byte, []int) { 2075 return fileDescriptor_df6e82b174b5eaec, []int{24} 2076 } 2077 func (m *ApplicationResourceResponse) XXX_Unmarshal(b []byte) error { 2078 return m.Unmarshal(b) 2079 } 2080 func (m *ApplicationResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2081 if deterministic { 2082 return xxx_messageInfo_ApplicationResourceResponse.Marshal(b, m, deterministic) 2083 } else { 2084 b = b[:cap(b)] 2085 n, err := m.MarshalToSizedBuffer(b) 2086 if err != nil { 2087 return nil, err 2088 } 2089 return b[:n], nil 2090 } 2091 } 2092 func (m *ApplicationResourceResponse) XXX_Merge(src proto.Message) { 2093 xxx_messageInfo_ApplicationResourceResponse.Merge(m, src) 2094 } 2095 func (m *ApplicationResourceResponse) XXX_Size() int { 2096 return m.Size() 2097 } 2098 func (m *ApplicationResourceResponse) XXX_DiscardUnknown() { 2099 xxx_messageInfo_ApplicationResourceResponse.DiscardUnknown(m) 2100 } 2101 2102 var xxx_messageInfo_ApplicationResourceResponse proto.InternalMessageInfo 2103 2104 func (m *ApplicationResourceResponse) GetManifest() string { 2105 if m != nil && m.Manifest != nil { 2106 return *m.Manifest 2107 } 2108 return "" 2109 } 2110 2111 type ApplicationPodLogsQuery struct { 2112 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 2113 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 2114 PodName *string `protobuf:"bytes,3,opt,name=podName" json:"podName,omitempty"` 2115 Container *string `protobuf:"bytes,4,opt,name=container" json:"container,omitempty"` 2116 SinceSeconds *int64 `protobuf:"varint,5,opt,name=sinceSeconds" json:"sinceSeconds,omitempty"` 2117 SinceTime *v1.Time `protobuf:"bytes,6,opt,name=sinceTime" json:"sinceTime,omitempty"` 2118 TailLines *int64 `protobuf:"varint,7,opt,name=tailLines" json:"tailLines,omitempty"` 2119 Follow *bool `protobuf:"varint,8,opt,name=follow" json:"follow,omitempty"` 2120 UntilTime *string `protobuf:"bytes,9,opt,name=untilTime" json:"untilTime,omitempty"` 2121 Filter *string `protobuf:"bytes,10,opt,name=filter" json:"filter,omitempty"` 2122 Kind *string `protobuf:"bytes,11,opt,name=kind" json:"kind,omitempty"` 2123 Group *string `protobuf:"bytes,12,opt,name=group" json:"group,omitempty"` 2124 ResourceName *string `protobuf:"bytes,13,opt,name=resourceName" json:"resourceName,omitempty"` 2125 Previous *bool `protobuf:"varint,14,opt,name=previous" json:"previous,omitempty"` 2126 AppNamespace *string `protobuf:"bytes,15,opt,name=appNamespace" json:"appNamespace,omitempty"` 2127 Project *string `protobuf:"bytes,16,opt,name=project" json:"project,omitempty"` 2128 MatchCase *bool `protobuf:"varint,17,opt,name=matchCase" json:"matchCase,omitempty"` 2129 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2130 XXX_unrecognized []byte `json:"-"` 2131 XXX_sizecache int32 `json:"-"` 2132 } 2133 2134 func (m *ApplicationPodLogsQuery) Reset() { *m = ApplicationPodLogsQuery{} } 2135 func (m *ApplicationPodLogsQuery) String() string { return proto.CompactTextString(m) } 2136 func (*ApplicationPodLogsQuery) ProtoMessage() {} 2137 func (*ApplicationPodLogsQuery) Descriptor() ([]byte, []int) { 2138 return fileDescriptor_df6e82b174b5eaec, []int{25} 2139 } 2140 func (m *ApplicationPodLogsQuery) XXX_Unmarshal(b []byte) error { 2141 return m.Unmarshal(b) 2142 } 2143 func (m *ApplicationPodLogsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2144 if deterministic { 2145 return xxx_messageInfo_ApplicationPodLogsQuery.Marshal(b, m, deterministic) 2146 } else { 2147 b = b[:cap(b)] 2148 n, err := m.MarshalToSizedBuffer(b) 2149 if err != nil { 2150 return nil, err 2151 } 2152 return b[:n], nil 2153 } 2154 } 2155 func (m *ApplicationPodLogsQuery) XXX_Merge(src proto.Message) { 2156 xxx_messageInfo_ApplicationPodLogsQuery.Merge(m, src) 2157 } 2158 func (m *ApplicationPodLogsQuery) XXX_Size() int { 2159 return m.Size() 2160 } 2161 func (m *ApplicationPodLogsQuery) XXX_DiscardUnknown() { 2162 xxx_messageInfo_ApplicationPodLogsQuery.DiscardUnknown(m) 2163 } 2164 2165 var xxx_messageInfo_ApplicationPodLogsQuery proto.InternalMessageInfo 2166 2167 func (m *ApplicationPodLogsQuery) GetName() string { 2168 if m != nil && m.Name != nil { 2169 return *m.Name 2170 } 2171 return "" 2172 } 2173 2174 func (m *ApplicationPodLogsQuery) GetNamespace() string { 2175 if m != nil && m.Namespace != nil { 2176 return *m.Namespace 2177 } 2178 return "" 2179 } 2180 2181 func (m *ApplicationPodLogsQuery) GetPodName() string { 2182 if m != nil && m.PodName != nil { 2183 return *m.PodName 2184 } 2185 return "" 2186 } 2187 2188 func (m *ApplicationPodLogsQuery) GetContainer() string { 2189 if m != nil && m.Container != nil { 2190 return *m.Container 2191 } 2192 return "" 2193 } 2194 2195 func (m *ApplicationPodLogsQuery) GetSinceSeconds() int64 { 2196 if m != nil && m.SinceSeconds != nil { 2197 return *m.SinceSeconds 2198 } 2199 return 0 2200 } 2201 2202 func (m *ApplicationPodLogsQuery) GetSinceTime() *v1.Time { 2203 if m != nil { 2204 return m.SinceTime 2205 } 2206 return nil 2207 } 2208 2209 func (m *ApplicationPodLogsQuery) GetTailLines() int64 { 2210 if m != nil && m.TailLines != nil { 2211 return *m.TailLines 2212 } 2213 return 0 2214 } 2215 2216 func (m *ApplicationPodLogsQuery) GetFollow() bool { 2217 if m != nil && m.Follow != nil { 2218 return *m.Follow 2219 } 2220 return false 2221 } 2222 2223 func (m *ApplicationPodLogsQuery) GetUntilTime() string { 2224 if m != nil && m.UntilTime != nil { 2225 return *m.UntilTime 2226 } 2227 return "" 2228 } 2229 2230 func (m *ApplicationPodLogsQuery) GetFilter() string { 2231 if m != nil && m.Filter != nil { 2232 return *m.Filter 2233 } 2234 return "" 2235 } 2236 2237 func (m *ApplicationPodLogsQuery) GetKind() string { 2238 if m != nil && m.Kind != nil { 2239 return *m.Kind 2240 } 2241 return "" 2242 } 2243 2244 func (m *ApplicationPodLogsQuery) GetGroup() string { 2245 if m != nil && m.Group != nil { 2246 return *m.Group 2247 } 2248 return "" 2249 } 2250 2251 func (m *ApplicationPodLogsQuery) GetResourceName() string { 2252 if m != nil && m.ResourceName != nil { 2253 return *m.ResourceName 2254 } 2255 return "" 2256 } 2257 2258 func (m *ApplicationPodLogsQuery) GetPrevious() bool { 2259 if m != nil && m.Previous != nil { 2260 return *m.Previous 2261 } 2262 return false 2263 } 2264 2265 func (m *ApplicationPodLogsQuery) GetAppNamespace() string { 2266 if m != nil && m.AppNamespace != nil { 2267 return *m.AppNamespace 2268 } 2269 return "" 2270 } 2271 2272 func (m *ApplicationPodLogsQuery) GetProject() string { 2273 if m != nil && m.Project != nil { 2274 return *m.Project 2275 } 2276 return "" 2277 } 2278 2279 func (m *ApplicationPodLogsQuery) GetMatchCase() bool { 2280 if m != nil && m.MatchCase != nil { 2281 return *m.MatchCase 2282 } 2283 return false 2284 } 2285 2286 type LogEntry struct { 2287 Content *string `protobuf:"bytes,1,req,name=content" json:"content,omitempty"` 2288 // deprecated in favor of timeStampStr since meta.v1.Time don't support nano time 2289 TimeStamp *v1.Time `protobuf:"bytes,2,req,name=timeStamp" json:"timeStamp,omitempty"` 2290 Last *bool `protobuf:"varint,3,req,name=last" json:"last,omitempty"` 2291 TimeStampStr *string `protobuf:"bytes,4,req,name=timeStampStr" json:"timeStampStr,omitempty"` 2292 PodName *string `protobuf:"bytes,5,req,name=podName" json:"podName,omitempty"` 2293 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2294 XXX_unrecognized []byte `json:"-"` 2295 XXX_sizecache int32 `json:"-"` 2296 } 2297 2298 func (m *LogEntry) Reset() { *m = LogEntry{} } 2299 func (m *LogEntry) String() string { return proto.CompactTextString(m) } 2300 func (*LogEntry) ProtoMessage() {} 2301 func (*LogEntry) Descriptor() ([]byte, []int) { 2302 return fileDescriptor_df6e82b174b5eaec, []int{26} 2303 } 2304 func (m *LogEntry) XXX_Unmarshal(b []byte) error { 2305 return m.Unmarshal(b) 2306 } 2307 func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2308 if deterministic { 2309 return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic) 2310 } else { 2311 b = b[:cap(b)] 2312 n, err := m.MarshalToSizedBuffer(b) 2313 if err != nil { 2314 return nil, err 2315 } 2316 return b[:n], nil 2317 } 2318 } 2319 func (m *LogEntry) XXX_Merge(src proto.Message) { 2320 xxx_messageInfo_LogEntry.Merge(m, src) 2321 } 2322 func (m *LogEntry) XXX_Size() int { 2323 return m.Size() 2324 } 2325 func (m *LogEntry) XXX_DiscardUnknown() { 2326 xxx_messageInfo_LogEntry.DiscardUnknown(m) 2327 } 2328 2329 var xxx_messageInfo_LogEntry proto.InternalMessageInfo 2330 2331 func (m *LogEntry) GetContent() string { 2332 if m != nil && m.Content != nil { 2333 return *m.Content 2334 } 2335 return "" 2336 } 2337 2338 func (m *LogEntry) GetTimeStamp() *v1.Time { 2339 if m != nil { 2340 return m.TimeStamp 2341 } 2342 return nil 2343 } 2344 2345 func (m *LogEntry) GetLast() bool { 2346 if m != nil && m.Last != nil { 2347 return *m.Last 2348 } 2349 return false 2350 } 2351 2352 func (m *LogEntry) GetTimeStampStr() string { 2353 if m != nil && m.TimeStampStr != nil { 2354 return *m.TimeStampStr 2355 } 2356 return "" 2357 } 2358 2359 func (m *LogEntry) GetPodName() string { 2360 if m != nil && m.PodName != nil { 2361 return *m.PodName 2362 } 2363 return "" 2364 } 2365 2366 type OperationTerminateRequest struct { 2367 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 2368 AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` 2369 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 2370 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2371 XXX_unrecognized []byte `json:"-"` 2372 XXX_sizecache int32 `json:"-"` 2373 } 2374 2375 func (m *OperationTerminateRequest) Reset() { *m = OperationTerminateRequest{} } 2376 func (m *OperationTerminateRequest) String() string { return proto.CompactTextString(m) } 2377 func (*OperationTerminateRequest) ProtoMessage() {} 2378 func (*OperationTerminateRequest) Descriptor() ([]byte, []int) { 2379 return fileDescriptor_df6e82b174b5eaec, []int{27} 2380 } 2381 func (m *OperationTerminateRequest) XXX_Unmarshal(b []byte) error { 2382 return m.Unmarshal(b) 2383 } 2384 func (m *OperationTerminateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2385 if deterministic { 2386 return xxx_messageInfo_OperationTerminateRequest.Marshal(b, m, deterministic) 2387 } else { 2388 b = b[:cap(b)] 2389 n, err := m.MarshalToSizedBuffer(b) 2390 if err != nil { 2391 return nil, err 2392 } 2393 return b[:n], nil 2394 } 2395 } 2396 func (m *OperationTerminateRequest) XXX_Merge(src proto.Message) { 2397 xxx_messageInfo_OperationTerminateRequest.Merge(m, src) 2398 } 2399 func (m *OperationTerminateRequest) XXX_Size() int { 2400 return m.Size() 2401 } 2402 func (m *OperationTerminateRequest) XXX_DiscardUnknown() { 2403 xxx_messageInfo_OperationTerminateRequest.DiscardUnknown(m) 2404 } 2405 2406 var xxx_messageInfo_OperationTerminateRequest proto.InternalMessageInfo 2407 2408 func (m *OperationTerminateRequest) GetName() string { 2409 if m != nil && m.Name != nil { 2410 return *m.Name 2411 } 2412 return "" 2413 } 2414 2415 func (m *OperationTerminateRequest) GetAppNamespace() string { 2416 if m != nil && m.AppNamespace != nil { 2417 return *m.AppNamespace 2418 } 2419 return "" 2420 } 2421 2422 func (m *OperationTerminateRequest) GetProject() string { 2423 if m != nil && m.Project != nil { 2424 return *m.Project 2425 } 2426 return "" 2427 } 2428 2429 type ApplicationSyncWindowsQuery struct { 2430 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 2431 AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` 2432 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 2433 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2434 XXX_unrecognized []byte `json:"-"` 2435 XXX_sizecache int32 `json:"-"` 2436 } 2437 2438 func (m *ApplicationSyncWindowsQuery) Reset() { *m = ApplicationSyncWindowsQuery{} } 2439 func (m *ApplicationSyncWindowsQuery) String() string { return proto.CompactTextString(m) } 2440 func (*ApplicationSyncWindowsQuery) ProtoMessage() {} 2441 func (*ApplicationSyncWindowsQuery) Descriptor() ([]byte, []int) { 2442 return fileDescriptor_df6e82b174b5eaec, []int{28} 2443 } 2444 func (m *ApplicationSyncWindowsQuery) XXX_Unmarshal(b []byte) error { 2445 return m.Unmarshal(b) 2446 } 2447 func (m *ApplicationSyncWindowsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2448 if deterministic { 2449 return xxx_messageInfo_ApplicationSyncWindowsQuery.Marshal(b, m, deterministic) 2450 } else { 2451 b = b[:cap(b)] 2452 n, err := m.MarshalToSizedBuffer(b) 2453 if err != nil { 2454 return nil, err 2455 } 2456 return b[:n], nil 2457 } 2458 } 2459 func (m *ApplicationSyncWindowsQuery) XXX_Merge(src proto.Message) { 2460 xxx_messageInfo_ApplicationSyncWindowsQuery.Merge(m, src) 2461 } 2462 func (m *ApplicationSyncWindowsQuery) XXX_Size() int { 2463 return m.Size() 2464 } 2465 func (m *ApplicationSyncWindowsQuery) XXX_DiscardUnknown() { 2466 xxx_messageInfo_ApplicationSyncWindowsQuery.DiscardUnknown(m) 2467 } 2468 2469 var xxx_messageInfo_ApplicationSyncWindowsQuery proto.InternalMessageInfo 2470 2471 func (m *ApplicationSyncWindowsQuery) GetName() string { 2472 if m != nil && m.Name != nil { 2473 return *m.Name 2474 } 2475 return "" 2476 } 2477 2478 func (m *ApplicationSyncWindowsQuery) GetAppNamespace() string { 2479 if m != nil && m.AppNamespace != nil { 2480 return *m.AppNamespace 2481 } 2482 return "" 2483 } 2484 2485 func (m *ApplicationSyncWindowsQuery) GetProject() string { 2486 if m != nil && m.Project != nil { 2487 return *m.Project 2488 } 2489 return "" 2490 } 2491 2492 type ApplicationSyncWindowsResponse struct { 2493 ActiveWindows []*ApplicationSyncWindow `protobuf:"bytes,1,rep,name=activeWindows" json:"activeWindows,omitempty"` 2494 AssignedWindows []*ApplicationSyncWindow `protobuf:"bytes,2,rep,name=assignedWindows" json:"assignedWindows,omitempty"` 2495 CanSync *bool `protobuf:"varint,3,req,name=canSync" json:"canSync,omitempty"` 2496 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2497 XXX_unrecognized []byte `json:"-"` 2498 XXX_sizecache int32 `json:"-"` 2499 } 2500 2501 func (m *ApplicationSyncWindowsResponse) Reset() { *m = ApplicationSyncWindowsResponse{} } 2502 func (m *ApplicationSyncWindowsResponse) String() string { return proto.CompactTextString(m) } 2503 func (*ApplicationSyncWindowsResponse) ProtoMessage() {} 2504 func (*ApplicationSyncWindowsResponse) Descriptor() ([]byte, []int) { 2505 return fileDescriptor_df6e82b174b5eaec, []int{29} 2506 } 2507 func (m *ApplicationSyncWindowsResponse) XXX_Unmarshal(b []byte) error { 2508 return m.Unmarshal(b) 2509 } 2510 func (m *ApplicationSyncWindowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2511 if deterministic { 2512 return xxx_messageInfo_ApplicationSyncWindowsResponse.Marshal(b, m, deterministic) 2513 } else { 2514 b = b[:cap(b)] 2515 n, err := m.MarshalToSizedBuffer(b) 2516 if err != nil { 2517 return nil, err 2518 } 2519 return b[:n], nil 2520 } 2521 } 2522 func (m *ApplicationSyncWindowsResponse) XXX_Merge(src proto.Message) { 2523 xxx_messageInfo_ApplicationSyncWindowsResponse.Merge(m, src) 2524 } 2525 func (m *ApplicationSyncWindowsResponse) XXX_Size() int { 2526 return m.Size() 2527 } 2528 func (m *ApplicationSyncWindowsResponse) XXX_DiscardUnknown() { 2529 xxx_messageInfo_ApplicationSyncWindowsResponse.DiscardUnknown(m) 2530 } 2531 2532 var xxx_messageInfo_ApplicationSyncWindowsResponse proto.InternalMessageInfo 2533 2534 func (m *ApplicationSyncWindowsResponse) GetActiveWindows() []*ApplicationSyncWindow { 2535 if m != nil { 2536 return m.ActiveWindows 2537 } 2538 return nil 2539 } 2540 2541 func (m *ApplicationSyncWindowsResponse) GetAssignedWindows() []*ApplicationSyncWindow { 2542 if m != nil { 2543 return m.AssignedWindows 2544 } 2545 return nil 2546 } 2547 2548 func (m *ApplicationSyncWindowsResponse) GetCanSync() bool { 2549 if m != nil && m.CanSync != nil { 2550 return *m.CanSync 2551 } 2552 return false 2553 } 2554 2555 type ApplicationSyncWindow struct { 2556 Kind *string `protobuf:"bytes,1,req,name=kind" json:"kind,omitempty"` 2557 Schedule *string `protobuf:"bytes,2,req,name=schedule" json:"schedule,omitempty"` 2558 Duration *string `protobuf:"bytes,3,req,name=duration" json:"duration,omitempty"` 2559 ManualSync *bool `protobuf:"varint,4,req,name=manualSync" json:"manualSync,omitempty"` 2560 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2561 XXX_unrecognized []byte `json:"-"` 2562 XXX_sizecache int32 `json:"-"` 2563 } 2564 2565 func (m *ApplicationSyncWindow) Reset() { *m = ApplicationSyncWindow{} } 2566 func (m *ApplicationSyncWindow) String() string { return proto.CompactTextString(m) } 2567 func (*ApplicationSyncWindow) ProtoMessage() {} 2568 func (*ApplicationSyncWindow) Descriptor() ([]byte, []int) { 2569 return fileDescriptor_df6e82b174b5eaec, []int{30} 2570 } 2571 func (m *ApplicationSyncWindow) XXX_Unmarshal(b []byte) error { 2572 return m.Unmarshal(b) 2573 } 2574 func (m *ApplicationSyncWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2575 if deterministic { 2576 return xxx_messageInfo_ApplicationSyncWindow.Marshal(b, m, deterministic) 2577 } else { 2578 b = b[:cap(b)] 2579 n, err := m.MarshalToSizedBuffer(b) 2580 if err != nil { 2581 return nil, err 2582 } 2583 return b[:n], nil 2584 } 2585 } 2586 func (m *ApplicationSyncWindow) XXX_Merge(src proto.Message) { 2587 xxx_messageInfo_ApplicationSyncWindow.Merge(m, src) 2588 } 2589 func (m *ApplicationSyncWindow) XXX_Size() int { 2590 return m.Size() 2591 } 2592 func (m *ApplicationSyncWindow) XXX_DiscardUnknown() { 2593 xxx_messageInfo_ApplicationSyncWindow.DiscardUnknown(m) 2594 } 2595 2596 var xxx_messageInfo_ApplicationSyncWindow proto.InternalMessageInfo 2597 2598 func (m *ApplicationSyncWindow) GetKind() string { 2599 if m != nil && m.Kind != nil { 2600 return *m.Kind 2601 } 2602 return "" 2603 } 2604 2605 func (m *ApplicationSyncWindow) GetSchedule() string { 2606 if m != nil && m.Schedule != nil { 2607 return *m.Schedule 2608 } 2609 return "" 2610 } 2611 2612 func (m *ApplicationSyncWindow) GetDuration() string { 2613 if m != nil && m.Duration != nil { 2614 return *m.Duration 2615 } 2616 return "" 2617 } 2618 2619 func (m *ApplicationSyncWindow) GetManualSync() bool { 2620 if m != nil && m.ManualSync != nil { 2621 return *m.ManualSync 2622 } 2623 return false 2624 } 2625 2626 type OperationTerminateResponse struct { 2627 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2628 XXX_unrecognized []byte `json:"-"` 2629 XXX_sizecache int32 `json:"-"` 2630 } 2631 2632 func (m *OperationTerminateResponse) Reset() { *m = OperationTerminateResponse{} } 2633 func (m *OperationTerminateResponse) String() string { return proto.CompactTextString(m) } 2634 func (*OperationTerminateResponse) ProtoMessage() {} 2635 func (*OperationTerminateResponse) Descriptor() ([]byte, []int) { 2636 return fileDescriptor_df6e82b174b5eaec, []int{31} 2637 } 2638 func (m *OperationTerminateResponse) XXX_Unmarshal(b []byte) error { 2639 return m.Unmarshal(b) 2640 } 2641 func (m *OperationTerminateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2642 if deterministic { 2643 return xxx_messageInfo_OperationTerminateResponse.Marshal(b, m, deterministic) 2644 } else { 2645 b = b[:cap(b)] 2646 n, err := m.MarshalToSizedBuffer(b) 2647 if err != nil { 2648 return nil, err 2649 } 2650 return b[:n], nil 2651 } 2652 } 2653 func (m *OperationTerminateResponse) XXX_Merge(src proto.Message) { 2654 xxx_messageInfo_OperationTerminateResponse.Merge(m, src) 2655 } 2656 func (m *OperationTerminateResponse) XXX_Size() int { 2657 return m.Size() 2658 } 2659 func (m *OperationTerminateResponse) XXX_DiscardUnknown() { 2660 xxx_messageInfo_OperationTerminateResponse.DiscardUnknown(m) 2661 } 2662 2663 var xxx_messageInfo_OperationTerminateResponse proto.InternalMessageInfo 2664 2665 type ResourcesQuery struct { 2666 ApplicationName *string `protobuf:"bytes,1,req,name=applicationName" json:"applicationName,omitempty"` 2667 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 2668 Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` 2669 Version *string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` 2670 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 2671 Kind *string `protobuf:"bytes,6,opt,name=kind" json:"kind,omitempty"` 2672 AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` 2673 Project *string `protobuf:"bytes,8,opt,name=project" json:"project,omitempty"` 2674 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2675 XXX_unrecognized []byte `json:"-"` 2676 XXX_sizecache int32 `json:"-"` 2677 } 2678 2679 func (m *ResourcesQuery) Reset() { *m = ResourcesQuery{} } 2680 func (m *ResourcesQuery) String() string { return proto.CompactTextString(m) } 2681 func (*ResourcesQuery) ProtoMessage() {} 2682 func (*ResourcesQuery) Descriptor() ([]byte, []int) { 2683 return fileDescriptor_df6e82b174b5eaec, []int{32} 2684 } 2685 func (m *ResourcesQuery) XXX_Unmarshal(b []byte) error { 2686 return m.Unmarshal(b) 2687 } 2688 func (m *ResourcesQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2689 if deterministic { 2690 return xxx_messageInfo_ResourcesQuery.Marshal(b, m, deterministic) 2691 } else { 2692 b = b[:cap(b)] 2693 n, err := m.MarshalToSizedBuffer(b) 2694 if err != nil { 2695 return nil, err 2696 } 2697 return b[:n], nil 2698 } 2699 } 2700 func (m *ResourcesQuery) XXX_Merge(src proto.Message) { 2701 xxx_messageInfo_ResourcesQuery.Merge(m, src) 2702 } 2703 func (m *ResourcesQuery) XXX_Size() int { 2704 return m.Size() 2705 } 2706 func (m *ResourcesQuery) XXX_DiscardUnknown() { 2707 xxx_messageInfo_ResourcesQuery.DiscardUnknown(m) 2708 } 2709 2710 var xxx_messageInfo_ResourcesQuery proto.InternalMessageInfo 2711 2712 func (m *ResourcesQuery) GetApplicationName() string { 2713 if m != nil && m.ApplicationName != nil { 2714 return *m.ApplicationName 2715 } 2716 return "" 2717 } 2718 2719 func (m *ResourcesQuery) GetNamespace() string { 2720 if m != nil && m.Namespace != nil { 2721 return *m.Namespace 2722 } 2723 return "" 2724 } 2725 2726 func (m *ResourcesQuery) GetName() string { 2727 if m != nil && m.Name != nil { 2728 return *m.Name 2729 } 2730 return "" 2731 } 2732 2733 func (m *ResourcesQuery) GetVersion() string { 2734 if m != nil && m.Version != nil { 2735 return *m.Version 2736 } 2737 return "" 2738 } 2739 2740 func (m *ResourcesQuery) GetGroup() string { 2741 if m != nil && m.Group != nil { 2742 return *m.Group 2743 } 2744 return "" 2745 } 2746 2747 func (m *ResourcesQuery) GetKind() string { 2748 if m != nil && m.Kind != nil { 2749 return *m.Kind 2750 } 2751 return "" 2752 } 2753 2754 func (m *ResourcesQuery) GetAppNamespace() string { 2755 if m != nil && m.AppNamespace != nil { 2756 return *m.AppNamespace 2757 } 2758 return "" 2759 } 2760 2761 func (m *ResourcesQuery) GetProject() string { 2762 if m != nil && m.Project != nil { 2763 return *m.Project 2764 } 2765 return "" 2766 } 2767 2768 type ManagedResourcesResponse struct { 2769 Items []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 2770 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2771 XXX_unrecognized []byte `json:"-"` 2772 XXX_sizecache int32 `json:"-"` 2773 } 2774 2775 func (m *ManagedResourcesResponse) Reset() { *m = ManagedResourcesResponse{} } 2776 func (m *ManagedResourcesResponse) String() string { return proto.CompactTextString(m) } 2777 func (*ManagedResourcesResponse) ProtoMessage() {} 2778 func (*ManagedResourcesResponse) Descriptor() ([]byte, []int) { 2779 return fileDescriptor_df6e82b174b5eaec, []int{33} 2780 } 2781 func (m *ManagedResourcesResponse) XXX_Unmarshal(b []byte) error { 2782 return m.Unmarshal(b) 2783 } 2784 func (m *ManagedResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2785 if deterministic { 2786 return xxx_messageInfo_ManagedResourcesResponse.Marshal(b, m, deterministic) 2787 } else { 2788 b = b[:cap(b)] 2789 n, err := m.MarshalToSizedBuffer(b) 2790 if err != nil { 2791 return nil, err 2792 } 2793 return b[:n], nil 2794 } 2795 } 2796 func (m *ManagedResourcesResponse) XXX_Merge(src proto.Message) { 2797 xxx_messageInfo_ManagedResourcesResponse.Merge(m, src) 2798 } 2799 func (m *ManagedResourcesResponse) XXX_Size() int { 2800 return m.Size() 2801 } 2802 func (m *ManagedResourcesResponse) XXX_DiscardUnknown() { 2803 xxx_messageInfo_ManagedResourcesResponse.DiscardUnknown(m) 2804 } 2805 2806 var xxx_messageInfo_ManagedResourcesResponse proto.InternalMessageInfo 2807 2808 func (m *ManagedResourcesResponse) GetItems() []*v1alpha1.ResourceDiff { 2809 if m != nil { 2810 return m.Items 2811 } 2812 return nil 2813 } 2814 2815 type ApplicationServerSideDiffQuery struct { 2816 AppName *string `protobuf:"bytes,1,req,name=appName" json:"appName,omitempty"` 2817 AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` 2818 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 2819 LiveResources []*v1alpha1.ResourceDiff `protobuf:"bytes,4,rep,name=liveResources" json:"liveResources,omitempty"` 2820 TargetManifests []string `protobuf:"bytes,5,rep,name=targetManifests" json:"targetManifests,omitempty"` 2821 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2822 XXX_unrecognized []byte `json:"-"` 2823 XXX_sizecache int32 `json:"-"` 2824 } 2825 2826 func (m *ApplicationServerSideDiffQuery) Reset() { *m = ApplicationServerSideDiffQuery{} } 2827 func (m *ApplicationServerSideDiffQuery) String() string { return proto.CompactTextString(m) } 2828 func (*ApplicationServerSideDiffQuery) ProtoMessage() {} 2829 func (*ApplicationServerSideDiffQuery) Descriptor() ([]byte, []int) { 2830 return fileDescriptor_df6e82b174b5eaec, []int{34} 2831 } 2832 func (m *ApplicationServerSideDiffQuery) XXX_Unmarshal(b []byte) error { 2833 return m.Unmarshal(b) 2834 } 2835 func (m *ApplicationServerSideDiffQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2836 if deterministic { 2837 return xxx_messageInfo_ApplicationServerSideDiffQuery.Marshal(b, m, deterministic) 2838 } else { 2839 b = b[:cap(b)] 2840 n, err := m.MarshalToSizedBuffer(b) 2841 if err != nil { 2842 return nil, err 2843 } 2844 return b[:n], nil 2845 } 2846 } 2847 func (m *ApplicationServerSideDiffQuery) XXX_Merge(src proto.Message) { 2848 xxx_messageInfo_ApplicationServerSideDiffQuery.Merge(m, src) 2849 } 2850 func (m *ApplicationServerSideDiffQuery) XXX_Size() int { 2851 return m.Size() 2852 } 2853 func (m *ApplicationServerSideDiffQuery) XXX_DiscardUnknown() { 2854 xxx_messageInfo_ApplicationServerSideDiffQuery.DiscardUnknown(m) 2855 } 2856 2857 var xxx_messageInfo_ApplicationServerSideDiffQuery proto.InternalMessageInfo 2858 2859 func (m *ApplicationServerSideDiffQuery) GetAppName() string { 2860 if m != nil && m.AppName != nil { 2861 return *m.AppName 2862 } 2863 return "" 2864 } 2865 2866 func (m *ApplicationServerSideDiffQuery) GetAppNamespace() string { 2867 if m != nil && m.AppNamespace != nil { 2868 return *m.AppNamespace 2869 } 2870 return "" 2871 } 2872 2873 func (m *ApplicationServerSideDiffQuery) GetProject() string { 2874 if m != nil && m.Project != nil { 2875 return *m.Project 2876 } 2877 return "" 2878 } 2879 2880 func (m *ApplicationServerSideDiffQuery) GetLiveResources() []*v1alpha1.ResourceDiff { 2881 if m != nil { 2882 return m.LiveResources 2883 } 2884 return nil 2885 } 2886 2887 func (m *ApplicationServerSideDiffQuery) GetTargetManifests() []string { 2888 if m != nil { 2889 return m.TargetManifests 2890 } 2891 return nil 2892 } 2893 2894 type ApplicationServerSideDiffResponse struct { 2895 Items []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 2896 Modified *bool `protobuf:"varint,2,req,name=modified" json:"modified,omitempty"` 2897 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2898 XXX_unrecognized []byte `json:"-"` 2899 XXX_sizecache int32 `json:"-"` 2900 } 2901 2902 func (m *ApplicationServerSideDiffResponse) Reset() { *m = ApplicationServerSideDiffResponse{} } 2903 func (m *ApplicationServerSideDiffResponse) String() string { return proto.CompactTextString(m) } 2904 func (*ApplicationServerSideDiffResponse) ProtoMessage() {} 2905 func (*ApplicationServerSideDiffResponse) Descriptor() ([]byte, []int) { 2906 return fileDescriptor_df6e82b174b5eaec, []int{35} 2907 } 2908 func (m *ApplicationServerSideDiffResponse) XXX_Unmarshal(b []byte) error { 2909 return m.Unmarshal(b) 2910 } 2911 func (m *ApplicationServerSideDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2912 if deterministic { 2913 return xxx_messageInfo_ApplicationServerSideDiffResponse.Marshal(b, m, deterministic) 2914 } else { 2915 b = b[:cap(b)] 2916 n, err := m.MarshalToSizedBuffer(b) 2917 if err != nil { 2918 return nil, err 2919 } 2920 return b[:n], nil 2921 } 2922 } 2923 func (m *ApplicationServerSideDiffResponse) XXX_Merge(src proto.Message) { 2924 xxx_messageInfo_ApplicationServerSideDiffResponse.Merge(m, src) 2925 } 2926 func (m *ApplicationServerSideDiffResponse) XXX_Size() int { 2927 return m.Size() 2928 } 2929 func (m *ApplicationServerSideDiffResponse) XXX_DiscardUnknown() { 2930 xxx_messageInfo_ApplicationServerSideDiffResponse.DiscardUnknown(m) 2931 } 2932 2933 var xxx_messageInfo_ApplicationServerSideDiffResponse proto.InternalMessageInfo 2934 2935 func (m *ApplicationServerSideDiffResponse) GetItems() []*v1alpha1.ResourceDiff { 2936 if m != nil { 2937 return m.Items 2938 } 2939 return nil 2940 } 2941 2942 func (m *ApplicationServerSideDiffResponse) GetModified() bool { 2943 if m != nil && m.Modified != nil { 2944 return *m.Modified 2945 } 2946 return false 2947 } 2948 2949 type LinkInfo struct { 2950 Title *string `protobuf:"bytes,1,req,name=title" json:"title,omitempty"` 2951 Url *string `protobuf:"bytes,2,req,name=url" json:"url,omitempty"` 2952 Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` 2953 IconClass *string `protobuf:"bytes,4,opt,name=iconClass" json:"iconClass,omitempty"` 2954 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2955 XXX_unrecognized []byte `json:"-"` 2956 XXX_sizecache int32 `json:"-"` 2957 } 2958 2959 func (m *LinkInfo) Reset() { *m = LinkInfo{} } 2960 func (m *LinkInfo) String() string { return proto.CompactTextString(m) } 2961 func (*LinkInfo) ProtoMessage() {} 2962 func (*LinkInfo) Descriptor() ([]byte, []int) { 2963 return fileDescriptor_df6e82b174b5eaec, []int{36} 2964 } 2965 func (m *LinkInfo) XXX_Unmarshal(b []byte) error { 2966 return m.Unmarshal(b) 2967 } 2968 func (m *LinkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2969 if deterministic { 2970 return xxx_messageInfo_LinkInfo.Marshal(b, m, deterministic) 2971 } else { 2972 b = b[:cap(b)] 2973 n, err := m.MarshalToSizedBuffer(b) 2974 if err != nil { 2975 return nil, err 2976 } 2977 return b[:n], nil 2978 } 2979 } 2980 func (m *LinkInfo) XXX_Merge(src proto.Message) { 2981 xxx_messageInfo_LinkInfo.Merge(m, src) 2982 } 2983 func (m *LinkInfo) XXX_Size() int { 2984 return m.Size() 2985 } 2986 func (m *LinkInfo) XXX_DiscardUnknown() { 2987 xxx_messageInfo_LinkInfo.DiscardUnknown(m) 2988 } 2989 2990 var xxx_messageInfo_LinkInfo proto.InternalMessageInfo 2991 2992 func (m *LinkInfo) GetTitle() string { 2993 if m != nil && m.Title != nil { 2994 return *m.Title 2995 } 2996 return "" 2997 } 2998 2999 func (m *LinkInfo) GetUrl() string { 3000 if m != nil && m.Url != nil { 3001 return *m.Url 3002 } 3003 return "" 3004 } 3005 3006 func (m *LinkInfo) GetDescription() string { 3007 if m != nil && m.Description != nil { 3008 return *m.Description 3009 } 3010 return "" 3011 } 3012 3013 func (m *LinkInfo) GetIconClass() string { 3014 if m != nil && m.IconClass != nil { 3015 return *m.IconClass 3016 } 3017 return "" 3018 } 3019 3020 type LinksResponse struct { 3021 Items []*LinkInfo `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 3022 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3023 XXX_unrecognized []byte `json:"-"` 3024 XXX_sizecache int32 `json:"-"` 3025 } 3026 3027 func (m *LinksResponse) Reset() { *m = LinksResponse{} } 3028 func (m *LinksResponse) String() string { return proto.CompactTextString(m) } 3029 func (*LinksResponse) ProtoMessage() {} 3030 func (*LinksResponse) Descriptor() ([]byte, []int) { 3031 return fileDescriptor_df6e82b174b5eaec, []int{37} 3032 } 3033 func (m *LinksResponse) XXX_Unmarshal(b []byte) error { 3034 return m.Unmarshal(b) 3035 } 3036 func (m *LinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3037 if deterministic { 3038 return xxx_messageInfo_LinksResponse.Marshal(b, m, deterministic) 3039 } else { 3040 b = b[:cap(b)] 3041 n, err := m.MarshalToSizedBuffer(b) 3042 if err != nil { 3043 return nil, err 3044 } 3045 return b[:n], nil 3046 } 3047 } 3048 func (m *LinksResponse) XXX_Merge(src proto.Message) { 3049 xxx_messageInfo_LinksResponse.Merge(m, src) 3050 } 3051 func (m *LinksResponse) XXX_Size() int { 3052 return m.Size() 3053 } 3054 func (m *LinksResponse) XXX_DiscardUnknown() { 3055 xxx_messageInfo_LinksResponse.DiscardUnknown(m) 3056 } 3057 3058 var xxx_messageInfo_LinksResponse proto.InternalMessageInfo 3059 3060 func (m *LinksResponse) GetItems() []*LinkInfo { 3061 if m != nil { 3062 return m.Items 3063 } 3064 return nil 3065 } 3066 3067 type ListAppLinksRequest struct { 3068 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 3069 Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` 3070 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 3071 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3072 XXX_unrecognized []byte `json:"-"` 3073 XXX_sizecache int32 `json:"-"` 3074 } 3075 3076 func (m *ListAppLinksRequest) Reset() { *m = ListAppLinksRequest{} } 3077 func (m *ListAppLinksRequest) String() string { return proto.CompactTextString(m) } 3078 func (*ListAppLinksRequest) ProtoMessage() {} 3079 func (*ListAppLinksRequest) Descriptor() ([]byte, []int) { 3080 return fileDescriptor_df6e82b174b5eaec, []int{38} 3081 } 3082 func (m *ListAppLinksRequest) XXX_Unmarshal(b []byte) error { 3083 return m.Unmarshal(b) 3084 } 3085 func (m *ListAppLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3086 if deterministic { 3087 return xxx_messageInfo_ListAppLinksRequest.Marshal(b, m, deterministic) 3088 } else { 3089 b = b[:cap(b)] 3090 n, err := m.MarshalToSizedBuffer(b) 3091 if err != nil { 3092 return nil, err 3093 } 3094 return b[:n], nil 3095 } 3096 } 3097 func (m *ListAppLinksRequest) XXX_Merge(src proto.Message) { 3098 xxx_messageInfo_ListAppLinksRequest.Merge(m, src) 3099 } 3100 func (m *ListAppLinksRequest) XXX_Size() int { 3101 return m.Size() 3102 } 3103 func (m *ListAppLinksRequest) XXX_DiscardUnknown() { 3104 xxx_messageInfo_ListAppLinksRequest.DiscardUnknown(m) 3105 } 3106 3107 var xxx_messageInfo_ListAppLinksRequest proto.InternalMessageInfo 3108 3109 func (m *ListAppLinksRequest) GetName() string { 3110 if m != nil && m.Name != nil { 3111 return *m.Name 3112 } 3113 return "" 3114 } 3115 3116 func (m *ListAppLinksRequest) GetNamespace() string { 3117 if m != nil && m.Namespace != nil { 3118 return *m.Namespace 3119 } 3120 return "" 3121 } 3122 3123 func (m *ListAppLinksRequest) GetProject() string { 3124 if m != nil && m.Project != nil { 3125 return *m.Project 3126 } 3127 return "" 3128 } 3129 3130 func init() { 3131 proto.RegisterType((*ApplicationQuery)(nil), "application.ApplicationQuery") 3132 proto.RegisterType((*NodeQuery)(nil), "application.NodeQuery") 3133 proto.RegisterType((*RevisionMetadataQuery)(nil), "application.RevisionMetadataQuery") 3134 proto.RegisterType((*ApplicationResourceEventsQuery)(nil), "application.ApplicationResourceEventsQuery") 3135 proto.RegisterType((*ApplicationManifestQuery)(nil), "application.ApplicationManifestQuery") 3136 proto.RegisterType((*FileChunk)(nil), "application.FileChunk") 3137 proto.RegisterType((*ApplicationManifestQueryWithFiles)(nil), "application.ApplicationManifestQueryWithFiles") 3138 proto.RegisterType((*ApplicationManifestQueryWithFilesWrapper)(nil), "application.ApplicationManifestQueryWithFilesWrapper") 3139 proto.RegisterType((*ApplicationResponse)(nil), "application.ApplicationResponse") 3140 proto.RegisterType((*ApplicationCreateRequest)(nil), "application.ApplicationCreateRequest") 3141 proto.RegisterType((*ApplicationUpdateRequest)(nil), "application.ApplicationUpdateRequest") 3142 proto.RegisterType((*ApplicationDeleteRequest)(nil), "application.ApplicationDeleteRequest") 3143 proto.RegisterType((*SyncOptions)(nil), "application.SyncOptions") 3144 proto.RegisterType((*ApplicationSyncRequest)(nil), "application.ApplicationSyncRequest") 3145 proto.RegisterType((*ApplicationUpdateSpecRequest)(nil), "application.ApplicationUpdateSpecRequest") 3146 proto.RegisterType((*ApplicationPatchRequest)(nil), "application.ApplicationPatchRequest") 3147 proto.RegisterType((*ApplicationRollbackRequest)(nil), "application.ApplicationRollbackRequest") 3148 proto.RegisterType((*ApplicationResourceRequest)(nil), "application.ApplicationResourceRequest") 3149 proto.RegisterType((*ApplicationResourcePatchRequest)(nil), "application.ApplicationResourcePatchRequest") 3150 proto.RegisterType((*ApplicationResourceDeleteRequest)(nil), "application.ApplicationResourceDeleteRequest") 3151 proto.RegisterType((*ResourceActionParameters)(nil), "application.ResourceActionParameters") 3152 proto.RegisterType((*ResourceActionRunRequest)(nil), "application.ResourceActionRunRequest") 3153 proto.RegisterType((*ResourceActionRunRequestV2)(nil), "application.ResourceActionRunRequestV2") 3154 proto.RegisterType((*ResourceActionsListResponse)(nil), "application.ResourceActionsListResponse") 3155 proto.RegisterType((*ApplicationResourceResponse)(nil), "application.ApplicationResourceResponse") 3156 proto.RegisterType((*ApplicationPodLogsQuery)(nil), "application.ApplicationPodLogsQuery") 3157 proto.RegisterType((*LogEntry)(nil), "application.LogEntry") 3158 proto.RegisterType((*OperationTerminateRequest)(nil), "application.OperationTerminateRequest") 3159 proto.RegisterType((*ApplicationSyncWindowsQuery)(nil), "application.ApplicationSyncWindowsQuery") 3160 proto.RegisterType((*ApplicationSyncWindowsResponse)(nil), "application.ApplicationSyncWindowsResponse") 3161 proto.RegisterType((*ApplicationSyncWindow)(nil), "application.ApplicationSyncWindow") 3162 proto.RegisterType((*OperationTerminateResponse)(nil), "application.OperationTerminateResponse") 3163 proto.RegisterType((*ResourcesQuery)(nil), "application.ResourcesQuery") 3164 proto.RegisterType((*ManagedResourcesResponse)(nil), "application.ManagedResourcesResponse") 3165 proto.RegisterType((*ApplicationServerSideDiffQuery)(nil), "application.ApplicationServerSideDiffQuery") 3166 proto.RegisterType((*ApplicationServerSideDiffResponse)(nil), "application.ApplicationServerSideDiffResponse") 3167 proto.RegisterType((*LinkInfo)(nil), "application.LinkInfo") 3168 proto.RegisterType((*LinksResponse)(nil), "application.LinksResponse") 3169 proto.RegisterType((*ListAppLinksRequest)(nil), "application.ListAppLinksRequest") 3170 } 3171 3172 func init() { 3173 proto.RegisterFile("server/application/application.proto", fileDescriptor_df6e82b174b5eaec) 3174 } 3175 3176 var fileDescriptor_df6e82b174b5eaec = []byte{ 3177 // 3017 bytes of a gzipped FileDescriptorProto 3178 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5b, 0xcd, 0x8f, 0x1c, 0x47, 3179 0x15, 0xa7, 0x66, 0x76, 0x76, 0x67, 0xdf, 0x78, 0xfd, 0x51, 0xb1, 0x4d, 0x67, 0xbc, 0x31, 0x9b, 3180 0xb6, 0x1d, 0x6f, 0xd6, 0xde, 0x19, 0x7b, 0x62, 0x20, 0xd9, 0x24, 0x04, 0x67, 0xed, 0x38, 0x0b, 3181 0x6b, 0xc7, 0xf4, 0x3a, 0x31, 0x0a, 0x07, 0xa8, 0x74, 0xd7, 0xcc, 0x34, 0xdb, 0xd3, 0xdd, 0xee, 3182 0xee, 0x99, 0xb0, 0x0a, 0xb9, 0x04, 0x21, 0x71, 0x88, 0x82, 0x80, 0x1c, 0x38, 0xf0, 0x99, 0x28, 3183 0x08, 0x21, 0x10, 0x17, 0x84, 0x90, 0x10, 0x12, 0x1c, 0x82, 0xe0, 0x80, 0x84, 0xe0, 0x1f, 0x40, 3184 0x11, 0xe2, 0xc0, 0x21, 0xb9, 0xe4, 0x8c, 0x50, 0x55, 0x57, 0x75, 0x77, 0xcd, 0x47, 0xcf, 0x2c, 3185 0x33, 0x10, 0x4b, 0xdc, 0xfa, 0xd5, 0x74, 0xbf, 0xf7, 0x7b, 0xaf, 0xde, 0x7b, 0xf5, 0xea, 0xbd, 3186 0x5d, 0x38, 0x1d, 0xd2, 0xa0, 0x47, 0x83, 0x3a, 0xf1, 0x7d, 0xc7, 0x36, 0x49, 0x64, 0x7b, 0x6e, 3187 0xf6, 0xb9, 0xe6, 0x07, 0x5e, 0xe4, 0xe1, 0x4a, 0x66, 0xa9, 0xba, 0xdc, 0xf2, 0xbc, 0x96, 0x43, 3188 0xeb, 0xc4, 0xb7, 0xeb, 0xc4, 0x75, 0xbd, 0x88, 0x2f, 0x87, 0xf1, 0xab, 0x55, 0x7d, 0xf7, 0xe1, 3189 0xb0, 0x66, 0x7b, 0xfc, 0x57, 0xd3, 0x0b, 0x68, 0xbd, 0x77, 0xb1, 0xde, 0xa2, 0x2e, 0x0d, 0x48, 3190 0x44, 0x2d, 0xf1, 0xce, 0xa5, 0xf4, 0x9d, 0x0e, 0x31, 0xdb, 0xb6, 0x4b, 0x83, 0xbd, 0xba, 0xbf, 3191 0xdb, 0x62, 0x0b, 0x61, 0xbd, 0x43, 0x23, 0x32, 0xec, 0xab, 0xed, 0x96, 0x1d, 0xb5, 0xbb, 0x2f, 3192 0xd4, 0x4c, 0xaf, 0x53, 0x27, 0x41, 0xcb, 0xf3, 0x03, 0xef, 0x8b, 0xfc, 0x61, 0xdd, 0xb4, 0xea, 3193 0xbd, 0x87, 0x52, 0x06, 0x59, 0x5d, 0x7a, 0x17, 0x89, 0xe3, 0xb7, 0xc9, 0x20, 0xb7, 0xab, 0x63, 3194 0xb8, 0x05, 0xd4, 0xf7, 0x84, 0x6d, 0xf8, 0xa3, 0x1d, 0x79, 0xc1, 0x5e, 0xe6, 0x31, 0x66, 0xa3, 3195 0xbf, 0x8f, 0xe0, 0xf0, 0xe5, 0x54, 0xde, 0x67, 0xba, 0x34, 0xd8, 0xc3, 0x18, 0xe6, 0x5c, 0xd2, 3196 0xa1, 0x1a, 0x5a, 0x41, 0xab, 0x8b, 0x06, 0x7f, 0xc6, 0x1a, 0x2c, 0x04, 0xb4, 0x19, 0xd0, 0xb0, 3197 0xad, 0x15, 0xf8, 0xb2, 0x24, 0x71, 0x15, 0xca, 0x4c, 0x38, 0x35, 0xa3, 0x50, 0x2b, 0xae, 0x14, 3198 0x57, 0x17, 0x8d, 0x84, 0xc6, 0xab, 0x70, 0x28, 0xa0, 0xa1, 0xd7, 0x0d, 0x4c, 0xfa, 0x1c, 0x0d, 3199 0x42, 0xdb, 0x73, 0xb5, 0x39, 0xfe, 0x75, 0xff, 0x32, 0xe3, 0x12, 0x52, 0x87, 0x9a, 0x91, 0x17, 3200 0x68, 0x25, 0xfe, 0x4a, 0x42, 0x33, 0x3c, 0x0c, 0xb8, 0x36, 0x1f, 0xe3, 0x61, 0xcf, 0x58, 0x87, 3201 0x03, 0xc4, 0xf7, 0x6f, 0x90, 0x0e, 0x0d, 0x7d, 0x62, 0x52, 0x6d, 0x81, 0xff, 0xa6, 0xac, 0x31, 3202 0xcc, 0x02, 0x89, 0x56, 0xe6, 0xc0, 0x24, 0xa9, 0x6f, 0xc2, 0xe2, 0x0d, 0xcf, 0xa2, 0xa3, 0xd5, 3203 0xed, 0x67, 0x5f, 0x18, 0x64, 0xaf, 0xbf, 0x8d, 0xe0, 0x98, 0x41, 0x7b, 0x36, 0xc3, 0x7f, 0x9d, 3204 0x46, 0xc4, 0x22, 0x11, 0xe9, 0xe7, 0x58, 0x48, 0x38, 0x56, 0xa1, 0x1c, 0x88, 0x97, 0xb5, 0x02, 3205 0x5f, 0x4f, 0xe8, 0x01, 0x69, 0xc5, 0x7c, 0x65, 0x62, 0x13, 0x4a, 0x12, 0xaf, 0x40, 0x25, 0xb6, 3206 0xe5, 0x96, 0x6b, 0xd1, 0x2f, 0x71, 0xeb, 0x95, 0x8c, 0xec, 0x12, 0x5e, 0x86, 0xc5, 0x5e, 0x6c, 3207 0xe7, 0x2d, 0x8b, 0x5b, 0xb1, 0x64, 0xa4, 0x0b, 0xfa, 0x3f, 0x10, 0x9c, 0xcc, 0xf8, 0x80, 0x21, 3208 0x76, 0xe6, 0x6a, 0x8f, 0xba, 0x51, 0x38, 0x5a, 0xa1, 0xf3, 0x70, 0x44, 0x6e, 0x62, 0xbf, 0x9d, 3209 0x06, 0x7f, 0x60, 0x2a, 0x66, 0x17, 0xa5, 0x8a, 0xd9, 0x35, 0xa6, 0x88, 0xa4, 0x9f, 0xdd, 0xba, 3210 0x22, 0xd4, 0xcc, 0x2e, 0x0d, 0x18, 0xaa, 0x94, 0x6f, 0xa8, 0x79, 0xc5, 0x50, 0xfa, 0x3f, 0x11, 3211 0x68, 0x19, 0x45, 0xaf, 0x13, 0xd7, 0x6e, 0xd2, 0x30, 0x9a, 0x74, 0xcf, 0xd0, 0x0c, 0xf7, 0x6c, 3212 0x15, 0x0e, 0xc5, 0x5a, 0xdd, 0x64, 0xf1, 0xc8, 0xf2, 0x8f, 0x56, 0x5a, 0x29, 0xae, 0x16, 0x8d, 3213 0xfe, 0x65, 0xb6, 0x77, 0x52, 0x66, 0xa8, 0xcd, 0x73, 0x37, 0x4e, 0x17, 0x98, 0x04, 0xd7, 0xdb, 3214 0x24, 0x66, 0x3b, 0x8e, 0x80, 0xb2, 0x21, 0x49, 0xfd, 0x7e, 0x58, 0x7c, 0xca, 0x76, 0xe8, 0x66, 3215 0xbb, 0xeb, 0xee, 0xe2, 0xa3, 0x50, 0x32, 0xd9, 0x03, 0xd7, 0xee, 0x80, 0x11, 0x13, 0xfa, 0x37, 3216 0x10, 0xdc, 0x3f, 0xca, 0x1e, 0xb7, 0xed, 0xa8, 0xcd, 0xbe, 0x0f, 0x47, 0x19, 0xc6, 0x6c, 0x53, 3217 0x73, 0x37, 0xec, 0x76, 0xa4, 0x33, 0x4b, 0x7a, 0x3a, 0xc3, 0xe8, 0x3f, 0x41, 0xb0, 0x3a, 0x16, 3218 0xd3, 0xed, 0x80, 0xf8, 0x3e, 0x0d, 0xf0, 0x53, 0x50, 0xba, 0xc3, 0x7e, 0xe0, 0xa1, 0x5b, 0x69, 3219 0xd4, 0x6a, 0xd9, 0xd4, 0x3f, 0x96, 0xcb, 0xd3, 0x1f, 0x32, 0xe2, 0xcf, 0x71, 0x4d, 0x9a, 0xa7, 3220 0xc0, 0xf9, 0x1c, 0x57, 0xf8, 0x24, 0x56, 0x64, 0xef, 0xf3, 0xd7, 0x9e, 0x9c, 0x87, 0x39, 0x9f, 3221 0x04, 0x91, 0x7e, 0x0c, 0xee, 0x51, 0x03, 0xc7, 0xf7, 0xdc, 0x90, 0xea, 0xbf, 0x56, 0xfd, 0x6c, 3222 0x33, 0xa0, 0x24, 0xa2, 0x06, 0xbd, 0xd3, 0xa5, 0x61, 0x84, 0x77, 0x21, 0x7b, 0x1a, 0x71, 0xab, 3223 0x56, 0x1a, 0x5b, 0xb5, 0x34, 0x9d, 0xd7, 0x64, 0x3a, 0xe7, 0x0f, 0x9f, 0x37, 0xad, 0x5a, 0xef, 3224 0xa1, 0x9a, 0xbf, 0xdb, 0xaa, 0xb1, 0xc3, 0x41, 0x41, 0x26, 0x0f, 0x87, 0xac, 0xaa, 0x46, 0x96, 3225 0x3b, 0x3e, 0x0e, 0xf3, 0x5d, 0x3f, 0xa4, 0x41, 0xc4, 0x35, 0x2b, 0x1b, 0x82, 0x62, 0xfb, 0xd7, 3226 0x23, 0x8e, 0x6d, 0x91, 0x28, 0xde, 0x9f, 0xb2, 0x91, 0xd0, 0xfa, 0x6f, 0x54, 0xf4, 0xcf, 0xfa, 3227 0xd6, 0x07, 0x85, 0x3e, 0x8b, 0xb2, 0xa0, 0xa2, 0xcc, 0x7a, 0x50, 0x51, 0xf5, 0xa0, 0x5f, 0xa8, 3228 0xf8, 0xaf, 0x50, 0x87, 0xa6, 0xf8, 0x87, 0x39, 0xb3, 0x06, 0x0b, 0x26, 0x09, 0x4d, 0x62, 0x49, 3229 0x29, 0x92, 0x64, 0x29, 0xce, 0x0f, 0x3c, 0x9f, 0xb4, 0x38, 0xa7, 0x9b, 0x9e, 0x63, 0x9b, 0x7b, 3230 0x42, 0xdc, 0xe0, 0x0f, 0x03, 0x8e, 0x3f, 0x97, 0xef, 0xf8, 0x25, 0x15, 0xf6, 0x29, 0xa8, 0xec, 3231 0xec, 0xb9, 0xe6, 0x33, 0x7e, 0x1c, 0xf6, 0x47, 0xa1, 0x64, 0x47, 0xb4, 0x13, 0x6a, 0x88, 0x87, 3232 0x7c, 0x4c, 0xe8, 0xff, 0x2a, 0xc1, 0xf1, 0x8c, 0x6e, 0xec, 0x83, 0x3c, 0xcd, 0xf2, 0xf2, 0xd7, 3233 0x71, 0x98, 0xb7, 0x82, 0x3d, 0xa3, 0xeb, 0x0a, 0x07, 0x10, 0x14, 0x13, 0xec, 0x07, 0x5d, 0x37, 3234 0x86, 0x5f, 0x36, 0x62, 0x02, 0x37, 0xa1, 0x1c, 0x46, 0xac, 0xfe, 0x68, 0xed, 0x71, 0xe0, 0x95, 3235 0xc6, 0xa7, 0xa6, 0xdb, 0x74, 0x06, 0x7d, 0x47, 0x70, 0x34, 0x12, 0xde, 0xf8, 0x0e, 0xcb, 0x76, 3236 0x71, 0x0a, 0x0c, 0xb5, 0x85, 0x95, 0xe2, 0x6a, 0xa5, 0xb1, 0x33, 0xbd, 0xa0, 0x67, 0x7c, 0x56, 3237 0x3b, 0x65, 0xce, 0x36, 0x23, 0x95, 0xc2, 0x12, 0x6c, 0x47, 0xe4, 0x87, 0x50, 0xd4, 0x09, 0xe9, 3238 0x02, 0xfe, 0x2c, 0x94, 0x6c, 0xb7, 0xe9, 0x85, 0xda, 0x22, 0x07, 0xf3, 0xe4, 0x74, 0x60, 0xb6, 3239 0xdc, 0xa6, 0x67, 0xc4, 0x0c, 0xf1, 0x1d, 0x58, 0x0a, 0x68, 0x14, 0xec, 0x49, 0x2b, 0x68, 0xc0, 3240 0xed, 0xfa, 0xe9, 0xe9, 0x24, 0x18, 0x59, 0x96, 0x86, 0x2a, 0x01, 0x6f, 0x40, 0x25, 0x4c, 0x7d, 3241 0x4c, 0xab, 0x70, 0x81, 0x9a, 0xc2, 0x28, 0xe3, 0x83, 0x46, 0xf6, 0xe5, 0x01, 0xef, 0x3e, 0x90, 3242 0xef, 0xdd, 0x4b, 0x63, 0xcf, 0xbb, 0x83, 0x13, 0x9c, 0x77, 0x87, 0xfa, 0xce, 0x3b, 0xfd, 0x3d, 3243 0x04, 0xcb, 0x03, 0xc9, 0x69, 0xc7, 0xa7, 0xb9, 0x61, 0x40, 0x60, 0x2e, 0xf4, 0xa9, 0xc9, 0x4f, 3244 0xaa, 0x4a, 0xe3, 0xfa, 0xcc, 0xb2, 0x15, 0x97, 0xcb, 0x59, 0xe7, 0x25, 0xd4, 0x29, 0xf3, 0xc2, 3245 0xf7, 0x11, 0x7c, 0x38, 0x23, 0xf3, 0x26, 0x89, 0xcc, 0x76, 0x9e, 0xb2, 0x2c, 0x7e, 0xd9, 0x3b, 3246 0xe2, 0x5c, 0x8e, 0x09, 0x66, 0x55, 0xfe, 0x70, 0x6b, 0xcf, 0x67, 0x00, 0xd9, 0x2f, 0xe9, 0xc2, 3247 0x94, 0x65, 0xd5, 0x4f, 0x11, 0x54, 0xb3, 0x39, 0xdc, 0x73, 0x9c, 0x17, 0x88, 0xb9, 0x9b, 0x07, 3248 0xf2, 0x20, 0x14, 0x6c, 0x8b, 0x23, 0x2c, 0x1a, 0x05, 0xdb, 0xda, 0x67, 0x32, 0xea, 0x87, 0x3b, 3249 0x9f, 0x0f, 0x77, 0x41, 0x85, 0xfb, 0x7e, 0x1f, 0x5c, 0x99, 0x12, 0x72, 0xe0, 0x2e, 0xc3, 0xa2, 3250 0xdb, 0x57, 0xe2, 0xa6, 0x0b, 0x43, 0x4a, 0xdb, 0xc2, 0x40, 0x69, 0xab, 0xc1, 0x42, 0x2f, 0xb9, 3251 0x00, 0xb1, 0x9f, 0x25, 0xc9, 0x54, 0x6c, 0x05, 0x5e, 0xd7, 0x17, 0x46, 0x8f, 0x09, 0x86, 0x62, 3252 0xd7, 0x76, 0x59, 0xb1, 0xce, 0x51, 0xb0, 0xe7, 0xfd, 0x5f, 0x79, 0x14, 0xb5, 0x7f, 0x56, 0x80, 3253 0x8f, 0x0c, 0x51, 0x7b, 0xac, 0x3f, 0xdd, 0x1d, 0xba, 0x27, 0x5e, 0xbd, 0x30, 0xd2, 0xab, 0xcb, 3254 0xe3, 0xbc, 0x7a, 0x31, 0xdf, 0x5e, 0xa0, 0xda, 0xeb, 0xc7, 0x05, 0x58, 0x19, 0x62, 0xaf, 0xf1, 3255 0xe5, 0xc4, 0x5d, 0x63, 0xb0, 0xa6, 0x17, 0x98, 0xf2, 0x5a, 0x10, 0x13, 0x2c, 0xce, 0xbc, 0xc0, 3256 0x6f, 0x13, 0x97, 0x7b, 0x47, 0xd9, 0x10, 0xd4, 0x94, 0xa6, 0xba, 0x02, 0x9a, 0x34, 0xcf, 0x65, 3257 0x33, 0x4e, 0x52, 0x01, 0xe9, 0xd0, 0x88, 0x06, 0xe1, 0xa8, 0x14, 0xd5, 0x23, 0x4e, 0x97, 0xca, 3258 0x14, 0xc5, 0x09, 0xfd, 0xb5, 0x42, 0x3f, 0x1b, 0xa3, 0xeb, 0xde, 0xfd, 0x86, 0x3e, 0x0e, 0xf3, 3259 0x84, 0xa3, 0x15, 0xae, 0x29, 0xa8, 0x01, 0x93, 0x96, 0xf3, 0x4d, 0xba, 0xa8, 0x98, 0x74, 0xa3, 3260 0xa0, 0x21, 0xfd, 0xbd, 0x02, 0x54, 0x47, 0x19, 0xe4, 0xb9, 0xc6, 0xff, 0x9b, 0x49, 0x30, 0x01, 3261 0x2d, 0x18, 0xe1, 0x65, 0x1a, 0xf0, 0xe2, 0xec, 0x8c, 0x72, 0x62, 0x8f, 0x72, 0x49, 0x63, 0x24, 3262 0x1b, 0xfd, 0xab, 0x08, 0x4e, 0xa8, 0x9f, 0x85, 0xdb, 0x76, 0x18, 0xc9, 0x8b, 0x1d, 0x6e, 0xc2, 3263 0x42, 0xac, 0x4a, 0x5c, 0x96, 0x57, 0x1a, 0xdb, 0xd3, 0x16, 0x6b, 0xca, 0xee, 0x4a, 0xe6, 0xfa, 3264 0x23, 0x70, 0x62, 0xe8, 0x09, 0x25, 0x60, 0x54, 0xa1, 0x2c, 0x0b, 0x54, 0xb1, 0xfb, 0x09, 0xad, 3265 0xbf, 0x39, 0xa7, 0x96, 0x0b, 0x9e, 0xb5, 0xed, 0xb5, 0x72, 0xba, 0x38, 0xf9, 0x1e, 0xc3, 0x76, 3266 0xc3, 0xb3, 0x32, 0x0d, 0x1b, 0x49, 0xb2, 0xef, 0x4c, 0xcf, 0x8d, 0x88, 0xed, 0xd2, 0x40, 0x54, 3267 0x34, 0xe9, 0x02, 0xdb, 0xe9, 0xd0, 0x76, 0x4d, 0xba, 0x43, 0x4d, 0xcf, 0xb5, 0x42, 0xee, 0x32, 3268 0x45, 0x43, 0x59, 0xc3, 0x4f, 0xc3, 0x22, 0xa7, 0x6f, 0xd9, 0x9d, 0xf8, 0x08, 0xaf, 0x34, 0xd6, 3269 0x6a, 0x71, 0x67, 0xb5, 0x96, 0xed, 0xac, 0xa6, 0x36, 0xec, 0xd0, 0x88, 0xd4, 0x7a, 0x17, 0x6b, 3270 0xec, 0x0b, 0x23, 0xfd, 0x98, 0x61, 0x89, 0x88, 0xed, 0x6c, 0xdb, 0x2e, 0xbf, 0x34, 0x30, 0x51, 3271 0xe9, 0x02, 0xf3, 0xc6, 0xa6, 0xe7, 0x38, 0xde, 0x8b, 0x32, 0xe7, 0xc5, 0x14, 0xfb, 0xaa, 0xeb, 3272 0x46, 0xb6, 0xc3, 0xe5, 0xc7, 0xbe, 0x96, 0x2e, 0xf0, 0xaf, 0x6c, 0x27, 0xa2, 0x81, 0x48, 0x76, 3273 0x82, 0x4a, 0xfc, 0xbd, 0x12, 0x37, 0x0b, 0x65, 0xae, 0x8d, 0x23, 0xe3, 0x40, 0x36, 0x32, 0xfa, 3274 0xa3, 0x6d, 0x69, 0x48, 0xc7, 0x8b, 0xf7, 0x4e, 0x69, 0xcf, 0xf6, 0xba, 0xac, 0x1e, 0xe6, 0x65, 3275 0xa3, 0xa4, 0x07, 0xa2, 0xe5, 0x50, 0x7e, 0xb4, 0x1c, 0x56, 0xa3, 0x85, 0xdf, 0x6a, 0x22, 0xb3, 3276 0xbd, 0x49, 0x42, 0xaa, 0x1d, 0xe1, 0xac, 0xd3, 0x05, 0xfd, 0xb7, 0x08, 0xca, 0xdb, 0x5e, 0xeb, 3277 0xaa, 0x1b, 0x05, 0x7b, 0xfc, 0xfe, 0xeb, 0xb9, 0x11, 0x75, 0xa5, 0x37, 0x49, 0x92, 0x6d, 0x51, 3278 0x64, 0x77, 0xe8, 0x4e, 0x44, 0x3a, 0xbe, 0xa8, 0x9e, 0xf7, 0xb5, 0x45, 0xc9, 0xc7, 0xcc, 0x6c, 3279 0x0e, 0x09, 0x23, 0x9e, 0x72, 0xca, 0x06, 0x7f, 0x66, 0x0a, 0x26, 0x2f, 0xec, 0x44, 0x81, 0xc8, 3280 0x37, 0xca, 0x5a, 0xd6, 0x01, 0x4b, 0x31, 0x36, 0x41, 0xea, 0x1d, 0xb8, 0x37, 0xb9, 0xd6, 0xdd, 3281 0xa2, 0x41, 0xc7, 0x76, 0x49, 0xfe, 0xb9, 0x3c, 0x41, 0x4b, 0x37, 0xa7, 0xab, 0xe0, 0x29, 0x21, 3282 0xc9, 0x6e, 0x49, 0xb7, 0x6d, 0xd7, 0xf2, 0x5e, 0xcc, 0x09, 0xad, 0xe9, 0x04, 0xfe, 0x45, 0xed, 3283 0xca, 0x66, 0x24, 0x26, 0x79, 0xe0, 0x69, 0x58, 0x62, 0x19, 0xa3, 0x47, 0xc5, 0x0f, 0x22, 0x29, 3284 0xe9, 0xa3, 0xda, 0x60, 0x29, 0x0f, 0x43, 0xfd, 0x10, 0x6f, 0xc3, 0x21, 0x12, 0x86, 0x76, 0xcb, 3285 0xa5, 0x96, 0xe4, 0x55, 0x98, 0x98, 0x57, 0xff, 0xa7, 0x71, 0x43, 0x85, 0xbf, 0x21, 0xf6, 0x5b, 3286 0x92, 0xfa, 0x57, 0x10, 0x1c, 0x1b, 0xca, 0x24, 0x89, 0x2b, 0x94, 0x39, 0x47, 0xaa, 0x50, 0x0e, 3287 0xcd, 0x36, 0xb5, 0xba, 0x8e, 0x2c, 0x15, 0x12, 0x9a, 0xfd, 0x66, 0x75, 0xe3, 0xdd, 0x17, 0xe7, 3288 0x58, 0x42, 0xe3, 0x93, 0x00, 0x1d, 0xe2, 0x76, 0x89, 0xc3, 0x21, 0xcc, 0x71, 0x08, 0x99, 0x15, 3289 0x7d, 0x19, 0xaa, 0xc3, 0x5c, 0x47, 0x74, 0xef, 0xde, 0x45, 0x70, 0x50, 0xa6, 0x5c, 0xb1, 0xbb, 3290 0xab, 0x70, 0x28, 0x63, 0x86, 0x1b, 0xe9, 0x46, 0xf7, 0x2f, 0x8f, 0x49, 0xa7, 0xd2, 0x4b, 0x8a, 3291 0xea, 0x60, 0xa5, 0xa7, 0x8c, 0x46, 0x26, 0x3e, 0x70, 0xd1, 0x8c, 0x6e, 0x06, 0x5f, 0x06, 0xed, 3292 0x3a, 0x71, 0x49, 0x8b, 0x5a, 0x89, 0xda, 0x89, 0x8b, 0x7d, 0x21, 0xdb, 0x86, 0x9a, 0xba, 0xe9, 3293 0x93, 0x14, 0xd1, 0x76, 0xb3, 0x29, 0x5b, 0x5a, 0xaf, 0x17, 0x54, 0x3f, 0xe7, 0x33, 0xab, 0x1d, 3294 0xdb, 0xe2, 0x2f, 0xc5, 0xe6, 0xd7, 0x60, 0x41, 0xa8, 0x22, 0x13, 0x94, 0x20, 0xa7, 0x0b, 0x31, 3295 0xec, 0xc3, 0x92, 0x63, 0xf7, 0x68, 0xa2, 0xb5, 0x36, 0x37, 0x73, 0x25, 0x55, 0x01, 0xcc, 0x91, 3296 0x22, 0x12, 0xb4, 0x68, 0x74, 0x3d, 0xe9, 0x38, 0x95, 0x78, 0x8b, 0xa3, 0x7f, 0x59, 0xff, 0xa1, 3297 0xda, 0x9b, 0x57, 0xcd, 0xf2, 0xbf, 0xdb, 0x1e, 0x5e, 0x6b, 0x78, 0x96, 0xdd, 0xb4, 0x69, 0x7c, 3298 0x5f, 0x2f, 0x1b, 0x09, 0xad, 0x07, 0x50, 0xde, 0xb6, 0xdd, 0xdd, 0x2d, 0xb7, 0xe9, 0x31, 0x67, 3299 0x8d, 0xec, 0xc8, 0x91, 0x3b, 0x14, 0x13, 0xf8, 0x30, 0x14, 0xbb, 0x81, 0x23, 0x82, 0x97, 0x3d, 3300 0xe2, 0x15, 0xa8, 0x58, 0x34, 0x34, 0x03, 0xdb, 0x17, 0xa1, 0xcb, 0x67, 0x3c, 0x99, 0x25, 0x16, 3301 0x42, 0xb6, 0xe9, 0xb9, 0x9b, 0x0e, 0x09, 0x43, 0x59, 0x59, 0x24, 0x0b, 0xfa, 0x63, 0xb0, 0xc4, 3302 0x64, 0xa6, 0x1e, 0x7a, 0x4e, 0x35, 0xc1, 0x31, 0x45, 0x35, 0x09, 0x4f, 0x3a, 0x1b, 0x81, 0x7b, 3303 0x58, 0x41, 0x77, 0xd9, 0xf7, 0x05, 0x93, 0x09, 0x6f, 0x17, 0xc5, 0x61, 0x85, 0xd1, 0xd0, 0x01, 3304 0x46, 0xe3, 0xdd, 0xb3, 0x80, 0xfb, 0x36, 0xce, 0x36, 0x29, 0xfe, 0x26, 0x82, 0x39, 0x26, 0x1a, 3305 0xdf, 0x37, 0x2a, 0xa3, 0x72, 0x5f, 0xaf, 0xce, 0xae, 0x3b, 0xc5, 0xa4, 0xe9, 0xcb, 0xaf, 0xfc, 3306 0xf5, 0xef, 0xdf, 0x2a, 0x1c, 0xc7, 0x47, 0xf9, 0x40, 0xbb, 0x77, 0x31, 0x3b, 0x5c, 0x0e, 0xf1, 3307 0xab, 0x08, 0xb0, 0x28, 0x70, 0x33, 0x23, 0x3f, 0x7c, 0x6e, 0x14, 0xc4, 0x21, 0xa3, 0xc1, 0xea, 3308 0x7d, 0x99, 0x82, 0xa0, 0x66, 0x7a, 0x01, 0x65, 0xc7, 0x3f, 0x7f, 0x81, 0x03, 0x58, 0xe3, 0x00, 3309 0x4e, 0x63, 0x7d, 0x18, 0x80, 0xfa, 0x4b, 0xcc, 0xa2, 0x2f, 0xd7, 0x69, 0x2c, 0xf7, 0x0d, 0x04, 3310 0xa5, 0xdb, 0xfc, 0x62, 0x3f, 0xc6, 0x48, 0x3b, 0x33, 0x33, 0x12, 0x17, 0xc7, 0xd1, 0xea, 0xa7, 3311 0x38, 0xd2, 0xfb, 0xf0, 0x09, 0x89, 0x34, 0x8c, 0x02, 0x4a, 0x3a, 0x0a, 0xe0, 0x0b, 0x08, 0xbf, 3312 0x85, 0x60, 0x3e, 0x9e, 0xe8, 0xe0, 0x33, 0xa3, 0x50, 0x2a, 0x13, 0x9f, 0xea, 0xec, 0xc6, 0x23, 3313 0xfa, 0x83, 0x1c, 0xe3, 0x29, 0x7d, 0xe8, 0x76, 0x6e, 0x28, 0xc3, 0x93, 0xd7, 0x11, 0x14, 0xaf, 3314 0xd1, 0xb1, 0xfe, 0x36, 0x43, 0x70, 0x03, 0x06, 0x1c, 0xb2, 0xd5, 0xf8, 0x4d, 0x04, 0xf7, 0x5e, 3315 0xa3, 0xd1, 0xf0, 0xca, 0x06, 0xaf, 0x8e, 0x2f, 0x37, 0x84, 0xdb, 0x9d, 0x9b, 0xe0, 0xcd, 0xe4, 3316 0x48, 0xaf, 0x73, 0x64, 0x0f, 0xe2, 0xb3, 0x79, 0x4e, 0x18, 0xee, 0xb9, 0xe6, 0x8b, 0x02, 0xc7, 3317 0x1f, 0x11, 0x1c, 0xee, 0x1f, 0xed, 0x63, 0xbd, 0xef, 0x7a, 0x39, 0x64, 0xf2, 0x5f, 0xbd, 0x31, 3318 0x6d, 0x06, 0x56, 0x99, 0xea, 0x97, 0x39, 0xf2, 0x47, 0xf1, 0x23, 0x79, 0xc8, 0x93, 0xf6, 0x78, 3319 0xfd, 0x25, 0xf9, 0xf8, 0x32, 0xff, 0x33, 0x14, 0x0e, 0xfb, 0x4f, 0x08, 0x8e, 0x4a, 0xbe, 0x9b, 3320 0x6d, 0x12, 0x44, 0x57, 0x28, 0xbb, 0x1c, 0x85, 0x13, 0xe9, 0x33, 0xe5, 0x89, 0x92, 0x95, 0xa7, 3321 0x5f, 0xe5, 0xba, 0x3c, 0x81, 0x1f, 0xdf, 0xb7, 0x2e, 0x26, 0x63, 0x63, 0x09, 0xd8, 0x6f, 0x23, 3322 0x38, 0x78, 0x8d, 0x46, 0xcf, 0x6c, 0x6e, 0xed, 0x6b, 0x67, 0xa6, 0x74, 0xf4, 0x8c, 0x38, 0xfd, 3323 0x0a, 0x57, 0xe4, 0x13, 0xf8, 0xb1, 0x7d, 0x2b, 0xe2, 0x99, 0x76, 0xb2, 0x2f, 0xaf, 0x20, 0x38, 3324 0x70, 0x2d, 0x73, 0xe4, 0x8f, 0x4e, 0x27, 0xca, 0xf8, 0xba, 0xba, 0x5c, 0xcb, 0xfc, 0x15, 0x8f, 3325 0xfc, 0x29, 0x71, 0xf5, 0x75, 0x8e, 0xed, 0x2c, 0x3e, 0x93, 0x87, 0x2d, 0x1d, 0x6f, 0xbd, 0x81, 3326 0xe0, 0x58, 0x16, 0x44, 0x3a, 0xf6, 0xff, 0xe8, 0xfe, 0x86, 0xe9, 0x62, 0x24, 0x3f, 0x06, 0x5d, 3327 0x83, 0xa3, 0x3b, 0xaf, 0x0f, 0x0f, 0xc4, 0xce, 0x00, 0x8a, 0x0d, 0xb4, 0xb6, 0x8a, 0xf0, 0xef, 3328 0x10, 0xcc, 0xc7, 0x93, 0x9e, 0xd1, 0x36, 0x52, 0xc6, 0xd4, 0xb3, 0xcc, 0x6a, 0xc2, 0x6b, 0xab, 3329 0x17, 0x86, 0x1b, 0x34, 0xfb, 0xbd, 0xdc, 0xda, 0x1a, 0xb7, 0xb2, 0x9a, 0x8e, 0x7f, 0x89, 0x00, 3330 0xd2, 0x69, 0x15, 0x7e, 0x30, 0x5f, 0x8f, 0xcc, 0x44, 0xab, 0x3a, 0xdb, 0x79, 0x95, 0x5e, 0xe3, 3331 0xfa, 0xac, 0x56, 0x57, 0x72, 0x73, 0xa1, 0x4f, 0xcd, 0x8d, 0x78, 0xb2, 0xf5, 0x03, 0x04, 0x25, 3332 0x3e, 0x24, 0xc0, 0xa7, 0x47, 0x61, 0xce, 0xce, 0x10, 0x66, 0x69, 0xfa, 0x07, 0x38, 0xd4, 0x95, 3333 0x46, 0xde, 0x81, 0xb2, 0x81, 0xd6, 0x70, 0x0f, 0xe6, 0xe3, 0xb6, 0xfc, 0x68, 0xf7, 0x50, 0xda, 3334 0xf6, 0xd5, 0x95, 0x9c, 0x02, 0x27, 0x76, 0x54, 0x71, 0x96, 0xad, 0x8d, 0x3b, 0xcb, 0xe6, 0xd8, 3335 0x71, 0x83, 0x4f, 0xe5, 0x1d, 0x46, 0xff, 0x05, 0xc3, 0x9c, 0xe3, 0xe8, 0xce, 0xe8, 0x2b, 0xe3, 3336 0xce, 0x33, 0x66, 0x9d, 0x6f, 0x23, 0x38, 0xdc, 0x7f, 0xbf, 0xc3, 0x27, 0x86, 0xb6, 0x4a, 0xc5, 3337 0xd9, 0xaa, 0x5a, 0x71, 0xd4, 0xdd, 0x50, 0xff, 0x24, 0x47, 0xb1, 0x81, 0x1f, 0x1e, 0x1b, 0x19, 3338 0x37, 0x64, 0xd6, 0x61, 0x8c, 0xd6, 0xd3, 0xd1, 0xfb, 0x8f, 0x10, 0x1c, 0x54, 0x6f, 0x36, 0xa3, 3339 0x6b, 0xcf, 0x21, 0x17, 0xc3, 0x6a, 0x6d, 0xb2, 0x97, 0x13, 0xc4, 0x1f, 0xe7, 0x88, 0x2f, 0xe2, 3340 0xfa, 0x48, 0xc4, 0x31, 0xd2, 0xf8, 0x0f, 0x27, 0xd7, 0x43, 0xdb, 0xa2, 0xeb, 0x16, 0x43, 0xf5, 3341 0x2b, 0x04, 0x07, 0xa4, 0x01, 0x6e, 0x05, 0x94, 0xe6, 0xdb, 0x6f, 0x76, 0x11, 0xcb, 0x64, 0xe9, 3342 0x8f, 0x71, 0xd4, 0x1f, 0xc3, 0x97, 0x26, 0xb4, 0xb3, 0xb4, 0xef, 0x7a, 0xc4, 0x90, 0xfe, 0x1e, 3343 0xc1, 0x91, 0xdb, 0x71, 0x80, 0x7e, 0x40, 0xf8, 0x37, 0x39, 0xfe, 0xc7, 0xf1, 0xa3, 0x39, 0x85, 3344 0xf5, 0x38, 0x35, 0x2e, 0x20, 0xfc, 0x73, 0x04, 0x65, 0x39, 0x5b, 0xc6, 0x67, 0x47, 0x46, 0xb0, 3345 0x3a, 0x7d, 0x9e, 0x65, 0xd4, 0x89, 0x2a, 0x52, 0x3f, 0x9d, 0x7b, 0xec, 0x0b, 0xf9, 0x2c, 0xf2, 3346 0x5e, 0x47, 0x80, 0x93, 0xfe, 0x52, 0xd2, 0x71, 0xc2, 0x0f, 0x28, 0xa2, 0x46, 0x36, 0x31, 0xab, 3347 0x67, 0xc7, 0xbe, 0xa7, 0x9e, 0xf9, 0x6b, 0xb9, 0x67, 0xbe, 0x97, 0xc8, 0x7f, 0x0d, 0x41, 0xe5, 3348 0x1a, 0x4d, 0x2e, 0x7d, 0x39, 0xb6, 0x54, 0x47, 0xe3, 0xd5, 0xd5, 0xf1, 0x2f, 0x0a, 0x44, 0xe7, 3349 0x39, 0xa2, 0x07, 0x70, 0xbe, 0xa9, 0x24, 0x80, 0xef, 0x20, 0x58, 0xba, 0x99, 0x75, 0x51, 0x7c, 3350 0x7e, 0x9c, 0x24, 0xe5, 0xc8, 0x99, 0x1c, 0xd7, 0x43, 0x1c, 0xd7, 0xba, 0x3e, 0x11, 0xae, 0x0d, 3351 0x31, 0x65, 0xfe, 0x1e, 0x8a, 0xbb, 0x06, 0x7d, 0x93, 0xa1, 0xff, 0xd4, 0x6e, 0x39, 0x03, 0x26, 3352 0xfd, 0x12, 0xc7, 0x57, 0xc3, 0xe7, 0x27, 0xc1, 0x57, 0x17, 0xe3, 0x22, 0xfc, 0x5d, 0x04, 0x47, 3353 0xf8, 0x68, 0x30, 0xcb, 0x18, 0xe7, 0x4d, 0xc3, 0xd2, 0x41, 0xe2, 0x04, 0x67, 0xe1, 0x13, 0x71, 3354 0xfe, 0xd1, 0xf7, 0x05, 0x6a, 0x43, 0x0c, 0xfd, 0xbe, 0x56, 0x40, 0x6c, 0x7f, 0xef, 0x19, 0xc0, 3355 0xf7, 0x5c, 0xa3, 0xcf, 0x80, 0xa3, 0x47, 0x9d, 0x13, 0x60, 0xdc, 0xe0, 0x18, 0x2f, 0xe9, 0xf5, 3356 0xfd, 0x60, 0xac, 0xf7, 0x1a, 0x2c, 0x4c, 0xbf, 0x8e, 0xe0, 0xa0, 0xac, 0x0f, 0x84, 0xff, 0xad, 3357 0x8f, 0xdb, 0xda, 0xfd, 0xd6, 0x13, 0x22, 0x20, 0xd6, 0x26, 0x0b, 0x88, 0xb7, 0x10, 0x2c, 0x88, 3358 0xc9, 0x5d, 0x4e, 0xd5, 0x95, 0x19, 0xed, 0x55, 0xfb, 0xda, 0x5e, 0x62, 0xb4, 0xa3, 0x7f, 0x8e, 3359 0x8b, 0x7d, 0x16, 0xe7, 0x9a, 0xc5, 0xf7, 0xac, 0xb0, 0xfe, 0x92, 0x98, 0xab, 0xbc, 0x5c, 0x77, 3360 0xbc, 0x56, 0xf8, 0xbc, 0x8e, 0x73, 0x6b, 0x0b, 0xf6, 0xce, 0x05, 0x84, 0x23, 0x58, 0x64, 0xee, 3361 0xcb, 0x7b, 0x69, 0x78, 0xa5, 0xaf, 0xf3, 0x36, 0xd0, 0x66, 0xab, 0x56, 0x07, 0x7a, 0x73, 0x69, 3362 0x31, 0x21, 0x3a, 0x1b, 0xf8, 0xfe, 0x5c, 0xb1, 0x5c, 0xd0, 0xab, 0x08, 0x8e, 0x64, 0xe3, 0x31, 3363 0x16, 0x3f, 0x71, 0x34, 0xe6, 0xa1, 0x10, 0xf7, 0x13, 0xbc, 0x36, 0x91, 0x1b, 0x71, 0x38, 0x4f, 3364 0x3e, 0xf5, 0x87, 0x77, 0x4e, 0xa2, 0x3f, 0xbf, 0x73, 0x12, 0xfd, 0xed, 0x9d, 0x93, 0xe8, 0xf9, 3365 0x87, 0x27, 0xfb, 0x2f, 0x0f, 0xd3, 0xb1, 0xa9, 0x1b, 0x65, 0xd9, 0xff, 0x3b, 0x00, 0x00, 0xff, 3366 0xff, 0xf3, 0x23, 0xc0, 0x98, 0xcb, 0x32, 0x00, 0x00, 3367 } 3368 3369 // Reference imports to suppress errors if they are not otherwise used. 3370 var _ context.Context 3371 var _ grpc.ClientConn 3372 3373 // This is a compile-time assertion to ensure that this generated file 3374 // is compatible with the grpc package it is being compiled against. 3375 const _ = grpc.SupportPackageIsVersion4 3376 3377 // ApplicationServiceClient is the client API for ApplicationService service. 3378 // 3379 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3380 type ApplicationServiceClient interface { 3381 // List returns list of applications 3382 List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error) 3383 // ListResourceEvents returns a list of event resources 3384 ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*v11.EventList, error) 3385 // Watch returns stream of application change events 3386 Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error) 3387 // Create creates an application 3388 Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3389 // Get returns an application by name 3390 Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3391 // Get returns sync windows of the application 3392 GetApplicationSyncWindows(ctx context.Context, in *ApplicationSyncWindowsQuery, opts ...grpc.CallOption) (*ApplicationSyncWindowsResponse, error) 3393 // Get the meta-data (author, date, tags, message) for a specific revision of the application 3394 RevisionMetadata(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) 3395 // Get the chart metadata (description, maintainers, home) for a specific revision of the application 3396 RevisionChartDetails(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) 3397 // Get the chart metadata (description, maintainers, home) for a specific revision of the application 3398 GetOCIMetadata(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.OCIMetadata, error) 3399 // GetManifests returns application manifests 3400 GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error) 3401 // GetManifestsWithFiles returns application manifests using provided files to generate them 3402 GetManifestsWithFiles(ctx context.Context, opts ...grpc.CallOption) (ApplicationService_GetManifestsWithFilesClient, error) 3403 // Update updates an application 3404 Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3405 // UpdateSpec updates an application spec 3406 UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSpec, error) 3407 // Patch patch an application 3408 Patch(ctx context.Context, in *ApplicationPatchRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3409 // Delete deletes an application 3410 Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) 3411 // Sync syncs an application to its target state 3412 Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3413 // ManagedResources returns list of managed resources 3414 ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error) 3415 // ServerSideDiff performs server-side diff calculation using dry-run apply 3416 ServerSideDiff(ctx context.Context, in *ApplicationServerSideDiffQuery, opts ...grpc.CallOption) (*ApplicationServerSideDiffResponse, error) 3417 // ResourceTree returns resource tree 3418 ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationTree, error) 3419 // Watch returns stream of application resource tree 3420 WatchResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (ApplicationService_WatchResourceTreeClient, error) 3421 // Rollback syncs an application to its target state 3422 Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3423 // TerminateOperation terminates the currently running operation 3424 TerminateOperation(ctx context.Context, in *OperationTerminateRequest, opts ...grpc.CallOption) (*OperationTerminateResponse, error) 3425 // GetResource returns single application resource 3426 GetResource(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) 3427 // PatchResource patch single application resource 3428 PatchResource(ctx context.Context, in *ApplicationResourcePatchRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) 3429 // ListResourceActions returns list of resource actions 3430 ListResourceActions(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ResourceActionsListResponse, error) 3431 // RunResourceAction runs a resource action 3432 // 3433 // Deprecated: use RunResourceActionV2 instead. This version does not support resource action parameters but is 3434 // maintained for backward compatibility. It will be removed in a future release. 3435 RunResourceAction(ctx context.Context, in *ResourceActionRunRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) 3436 // RunResourceActionV2 runs a resource action with parameters 3437 RunResourceActionV2(ctx context.Context, in *ResourceActionRunRequestV2, opts ...grpc.CallOption) (*ApplicationResponse, error) 3438 // DeleteResource deletes a single application resource 3439 DeleteResource(ctx context.Context, in *ApplicationResourceDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) 3440 // PodLogs returns stream of log entries for the specified pod. Pod 3441 PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error) 3442 // ListLinks returns the list of all application deep links 3443 ListLinks(ctx context.Context, in *ListAppLinksRequest, opts ...grpc.CallOption) (*LinksResponse, error) 3444 // ListResourceLinks returns the list of all resource deep links 3445 ListResourceLinks(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*LinksResponse, error) 3446 } 3447 3448 type applicationServiceClient struct { 3449 cc *grpc.ClientConn 3450 } 3451 3452 func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient { 3453 return &applicationServiceClient{cc} 3454 } 3455 3456 func (c *applicationServiceClient) List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error) { 3457 out := new(v1alpha1.ApplicationList) 3458 err := c.cc.Invoke(ctx, "/application.ApplicationService/List", in, out, opts...) 3459 if err != nil { 3460 return nil, err 3461 } 3462 return out, nil 3463 } 3464 3465 func (c *applicationServiceClient) ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*v11.EventList, error) { 3466 out := new(v11.EventList) 3467 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceEvents", in, out, opts...) 3468 if err != nil { 3469 return nil, err 3470 } 3471 return out, nil 3472 } 3473 3474 func (c *applicationServiceClient) Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error) { 3475 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[0], "/application.ApplicationService/Watch", opts...) 3476 if err != nil { 3477 return nil, err 3478 } 3479 x := &applicationServiceWatchClient{stream} 3480 if err := x.ClientStream.SendMsg(in); err != nil { 3481 return nil, err 3482 } 3483 if err := x.ClientStream.CloseSend(); err != nil { 3484 return nil, err 3485 } 3486 return x, nil 3487 } 3488 3489 type ApplicationService_WatchClient interface { 3490 Recv() (*v1alpha1.ApplicationWatchEvent, error) 3491 grpc.ClientStream 3492 } 3493 3494 type applicationServiceWatchClient struct { 3495 grpc.ClientStream 3496 } 3497 3498 func (x *applicationServiceWatchClient) Recv() (*v1alpha1.ApplicationWatchEvent, error) { 3499 m := new(v1alpha1.ApplicationWatchEvent) 3500 if err := x.ClientStream.RecvMsg(m); err != nil { 3501 return nil, err 3502 } 3503 return m, nil 3504 } 3505 3506 func (c *applicationServiceClient) Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3507 out := new(v1alpha1.Application) 3508 err := c.cc.Invoke(ctx, "/application.ApplicationService/Create", in, out, opts...) 3509 if err != nil { 3510 return nil, err 3511 } 3512 return out, nil 3513 } 3514 3515 func (c *applicationServiceClient) Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3516 out := new(v1alpha1.Application) 3517 err := c.cc.Invoke(ctx, "/application.ApplicationService/Get", in, out, opts...) 3518 if err != nil { 3519 return nil, err 3520 } 3521 return out, nil 3522 } 3523 3524 func (c *applicationServiceClient) GetApplicationSyncWindows(ctx context.Context, in *ApplicationSyncWindowsQuery, opts ...grpc.CallOption) (*ApplicationSyncWindowsResponse, error) { 3525 out := new(ApplicationSyncWindowsResponse) 3526 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetApplicationSyncWindows", in, out, opts...) 3527 if err != nil { 3528 return nil, err 3529 } 3530 return out, nil 3531 } 3532 3533 func (c *applicationServiceClient) RevisionMetadata(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) { 3534 out := new(v1alpha1.RevisionMetadata) 3535 err := c.cc.Invoke(ctx, "/application.ApplicationService/RevisionMetadata", in, out, opts...) 3536 if err != nil { 3537 return nil, err 3538 } 3539 return out, nil 3540 } 3541 3542 func (c *applicationServiceClient) RevisionChartDetails(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) { 3543 out := new(v1alpha1.ChartDetails) 3544 err := c.cc.Invoke(ctx, "/application.ApplicationService/RevisionChartDetails", in, out, opts...) 3545 if err != nil { 3546 return nil, err 3547 } 3548 return out, nil 3549 } 3550 3551 func (c *applicationServiceClient) GetOCIMetadata(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.OCIMetadata, error) { 3552 out := new(v1alpha1.OCIMetadata) 3553 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetOCIMetadata", in, out, opts...) 3554 if err != nil { 3555 return nil, err 3556 } 3557 return out, nil 3558 } 3559 3560 func (c *applicationServiceClient) GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error) { 3561 out := new(apiclient.ManifestResponse) 3562 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetManifests", in, out, opts...) 3563 if err != nil { 3564 return nil, err 3565 } 3566 return out, nil 3567 } 3568 3569 func (c *applicationServiceClient) GetManifestsWithFiles(ctx context.Context, opts ...grpc.CallOption) (ApplicationService_GetManifestsWithFilesClient, error) { 3570 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[1], "/application.ApplicationService/GetManifestsWithFiles", opts...) 3571 if err != nil { 3572 return nil, err 3573 } 3574 x := &applicationServiceGetManifestsWithFilesClient{stream} 3575 return x, nil 3576 } 3577 3578 type ApplicationService_GetManifestsWithFilesClient interface { 3579 Send(*ApplicationManifestQueryWithFilesWrapper) error 3580 CloseAndRecv() (*apiclient.ManifestResponse, error) 3581 grpc.ClientStream 3582 } 3583 3584 type applicationServiceGetManifestsWithFilesClient struct { 3585 grpc.ClientStream 3586 } 3587 3588 func (x *applicationServiceGetManifestsWithFilesClient) Send(m *ApplicationManifestQueryWithFilesWrapper) error { 3589 return x.ClientStream.SendMsg(m) 3590 } 3591 3592 func (x *applicationServiceGetManifestsWithFilesClient) CloseAndRecv() (*apiclient.ManifestResponse, error) { 3593 if err := x.ClientStream.CloseSend(); err != nil { 3594 return nil, err 3595 } 3596 m := new(apiclient.ManifestResponse) 3597 if err := x.ClientStream.RecvMsg(m); err != nil { 3598 return nil, err 3599 } 3600 return m, nil 3601 } 3602 3603 func (c *applicationServiceClient) Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3604 out := new(v1alpha1.Application) 3605 err := c.cc.Invoke(ctx, "/application.ApplicationService/Update", in, out, opts...) 3606 if err != nil { 3607 return nil, err 3608 } 3609 return out, nil 3610 } 3611 3612 func (c *applicationServiceClient) UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSpec, error) { 3613 out := new(v1alpha1.ApplicationSpec) 3614 err := c.cc.Invoke(ctx, "/application.ApplicationService/UpdateSpec", in, out, opts...) 3615 if err != nil { 3616 return nil, err 3617 } 3618 return out, nil 3619 } 3620 3621 func (c *applicationServiceClient) Patch(ctx context.Context, in *ApplicationPatchRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3622 out := new(v1alpha1.Application) 3623 err := c.cc.Invoke(ctx, "/application.ApplicationService/Patch", in, out, opts...) 3624 if err != nil { 3625 return nil, err 3626 } 3627 return out, nil 3628 } 3629 3630 func (c *applicationServiceClient) Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3631 out := new(ApplicationResponse) 3632 err := c.cc.Invoke(ctx, "/application.ApplicationService/Delete", in, out, opts...) 3633 if err != nil { 3634 return nil, err 3635 } 3636 return out, nil 3637 } 3638 3639 func (c *applicationServiceClient) Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3640 out := new(v1alpha1.Application) 3641 err := c.cc.Invoke(ctx, "/application.ApplicationService/Sync", in, out, opts...) 3642 if err != nil { 3643 return nil, err 3644 } 3645 return out, nil 3646 } 3647 3648 func (c *applicationServiceClient) ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error) { 3649 out := new(ManagedResourcesResponse) 3650 err := c.cc.Invoke(ctx, "/application.ApplicationService/ManagedResources", in, out, opts...) 3651 if err != nil { 3652 return nil, err 3653 } 3654 return out, nil 3655 } 3656 3657 func (c *applicationServiceClient) ServerSideDiff(ctx context.Context, in *ApplicationServerSideDiffQuery, opts ...grpc.CallOption) (*ApplicationServerSideDiffResponse, error) { 3658 out := new(ApplicationServerSideDiffResponse) 3659 err := c.cc.Invoke(ctx, "/application.ApplicationService/ServerSideDiff", in, out, opts...) 3660 if err != nil { 3661 return nil, err 3662 } 3663 return out, nil 3664 } 3665 3666 func (c *applicationServiceClient) ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationTree, error) { 3667 out := new(v1alpha1.ApplicationTree) 3668 err := c.cc.Invoke(ctx, "/application.ApplicationService/ResourceTree", in, out, opts...) 3669 if err != nil { 3670 return nil, err 3671 } 3672 return out, nil 3673 } 3674 3675 func (c *applicationServiceClient) WatchResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (ApplicationService_WatchResourceTreeClient, error) { 3676 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[2], "/application.ApplicationService/WatchResourceTree", opts...) 3677 if err != nil { 3678 return nil, err 3679 } 3680 x := &applicationServiceWatchResourceTreeClient{stream} 3681 if err := x.ClientStream.SendMsg(in); err != nil { 3682 return nil, err 3683 } 3684 if err := x.ClientStream.CloseSend(); err != nil { 3685 return nil, err 3686 } 3687 return x, nil 3688 } 3689 3690 type ApplicationService_WatchResourceTreeClient interface { 3691 Recv() (*v1alpha1.ApplicationTree, error) 3692 grpc.ClientStream 3693 } 3694 3695 type applicationServiceWatchResourceTreeClient struct { 3696 grpc.ClientStream 3697 } 3698 3699 func (x *applicationServiceWatchResourceTreeClient) Recv() (*v1alpha1.ApplicationTree, error) { 3700 m := new(v1alpha1.ApplicationTree) 3701 if err := x.ClientStream.RecvMsg(m); err != nil { 3702 return nil, err 3703 } 3704 return m, nil 3705 } 3706 3707 func (c *applicationServiceClient) Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3708 out := new(v1alpha1.Application) 3709 err := c.cc.Invoke(ctx, "/application.ApplicationService/Rollback", in, out, opts...) 3710 if err != nil { 3711 return nil, err 3712 } 3713 return out, nil 3714 } 3715 3716 func (c *applicationServiceClient) TerminateOperation(ctx context.Context, in *OperationTerminateRequest, opts ...grpc.CallOption) (*OperationTerminateResponse, error) { 3717 out := new(OperationTerminateResponse) 3718 err := c.cc.Invoke(ctx, "/application.ApplicationService/TerminateOperation", in, out, opts...) 3719 if err != nil { 3720 return nil, err 3721 } 3722 return out, nil 3723 } 3724 3725 func (c *applicationServiceClient) GetResource(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) { 3726 out := new(ApplicationResourceResponse) 3727 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetResource", in, out, opts...) 3728 if err != nil { 3729 return nil, err 3730 } 3731 return out, nil 3732 } 3733 3734 func (c *applicationServiceClient) PatchResource(ctx context.Context, in *ApplicationResourcePatchRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) { 3735 out := new(ApplicationResourceResponse) 3736 err := c.cc.Invoke(ctx, "/application.ApplicationService/PatchResource", in, out, opts...) 3737 if err != nil { 3738 return nil, err 3739 } 3740 return out, nil 3741 } 3742 3743 func (c *applicationServiceClient) ListResourceActions(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ResourceActionsListResponse, error) { 3744 out := new(ResourceActionsListResponse) 3745 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceActions", in, out, opts...) 3746 if err != nil { 3747 return nil, err 3748 } 3749 return out, nil 3750 } 3751 3752 // Deprecated: Do not use. 3753 func (c *applicationServiceClient) RunResourceAction(ctx context.Context, in *ResourceActionRunRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3754 out := new(ApplicationResponse) 3755 err := c.cc.Invoke(ctx, "/application.ApplicationService/RunResourceAction", in, out, opts...) 3756 if err != nil { 3757 return nil, err 3758 } 3759 return out, nil 3760 } 3761 3762 func (c *applicationServiceClient) RunResourceActionV2(ctx context.Context, in *ResourceActionRunRequestV2, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3763 out := new(ApplicationResponse) 3764 err := c.cc.Invoke(ctx, "/application.ApplicationService/RunResourceActionV2", in, out, opts...) 3765 if err != nil { 3766 return nil, err 3767 } 3768 return out, nil 3769 } 3770 3771 func (c *applicationServiceClient) DeleteResource(ctx context.Context, in *ApplicationResourceDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3772 out := new(ApplicationResponse) 3773 err := c.cc.Invoke(ctx, "/application.ApplicationService/DeleteResource", in, out, opts...) 3774 if err != nil { 3775 return nil, err 3776 } 3777 return out, nil 3778 } 3779 3780 func (c *applicationServiceClient) PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error) { 3781 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[3], "/application.ApplicationService/PodLogs", opts...) 3782 if err != nil { 3783 return nil, err 3784 } 3785 x := &applicationServicePodLogsClient{stream} 3786 if err := x.ClientStream.SendMsg(in); err != nil { 3787 return nil, err 3788 } 3789 if err := x.ClientStream.CloseSend(); err != nil { 3790 return nil, err 3791 } 3792 return x, nil 3793 } 3794 3795 type ApplicationService_PodLogsClient interface { 3796 Recv() (*LogEntry, error) 3797 grpc.ClientStream 3798 } 3799 3800 type applicationServicePodLogsClient struct { 3801 grpc.ClientStream 3802 } 3803 3804 func (x *applicationServicePodLogsClient) Recv() (*LogEntry, error) { 3805 m := new(LogEntry) 3806 if err := x.ClientStream.RecvMsg(m); err != nil { 3807 return nil, err 3808 } 3809 return m, nil 3810 } 3811 3812 func (c *applicationServiceClient) ListLinks(ctx context.Context, in *ListAppLinksRequest, opts ...grpc.CallOption) (*LinksResponse, error) { 3813 out := new(LinksResponse) 3814 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListLinks", in, out, opts...) 3815 if err != nil { 3816 return nil, err 3817 } 3818 return out, nil 3819 } 3820 3821 func (c *applicationServiceClient) ListResourceLinks(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*LinksResponse, error) { 3822 out := new(LinksResponse) 3823 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceLinks", in, out, opts...) 3824 if err != nil { 3825 return nil, err 3826 } 3827 return out, nil 3828 } 3829 3830 // ApplicationServiceServer is the server API for ApplicationService service. 3831 type ApplicationServiceServer interface { 3832 // List returns list of applications 3833 List(context.Context, *ApplicationQuery) (*v1alpha1.ApplicationList, error) 3834 // ListResourceEvents returns a list of event resources 3835 ListResourceEvents(context.Context, *ApplicationResourceEventsQuery) (*v11.EventList, error) 3836 // Watch returns stream of application change events 3837 Watch(*ApplicationQuery, ApplicationService_WatchServer) error 3838 // Create creates an application 3839 Create(context.Context, *ApplicationCreateRequest) (*v1alpha1.Application, error) 3840 // Get returns an application by name 3841 Get(context.Context, *ApplicationQuery) (*v1alpha1.Application, error) 3842 // Get returns sync windows of the application 3843 GetApplicationSyncWindows(context.Context, *ApplicationSyncWindowsQuery) (*ApplicationSyncWindowsResponse, error) 3844 // Get the meta-data (author, date, tags, message) for a specific revision of the application 3845 RevisionMetadata(context.Context, *RevisionMetadataQuery) (*v1alpha1.RevisionMetadata, error) 3846 // Get the chart metadata (description, maintainers, home) for a specific revision of the application 3847 RevisionChartDetails(context.Context, *RevisionMetadataQuery) (*v1alpha1.ChartDetails, error) 3848 // Get the chart metadata (description, maintainers, home) for a specific revision of the application 3849 GetOCIMetadata(context.Context, *RevisionMetadataQuery) (*v1alpha1.OCIMetadata, error) 3850 // GetManifests returns application manifests 3851 GetManifests(context.Context, *ApplicationManifestQuery) (*apiclient.ManifestResponse, error) 3852 // GetManifestsWithFiles returns application manifests using provided files to generate them 3853 GetManifestsWithFiles(ApplicationService_GetManifestsWithFilesServer) error 3854 // Update updates an application 3855 Update(context.Context, *ApplicationUpdateRequest) (*v1alpha1.Application, error) 3856 // UpdateSpec updates an application spec 3857 UpdateSpec(context.Context, *ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error) 3858 // Patch patch an application 3859 Patch(context.Context, *ApplicationPatchRequest) (*v1alpha1.Application, error) 3860 // Delete deletes an application 3861 Delete(context.Context, *ApplicationDeleteRequest) (*ApplicationResponse, error) 3862 // Sync syncs an application to its target state 3863 Sync(context.Context, *ApplicationSyncRequest) (*v1alpha1.Application, error) 3864 // ManagedResources returns list of managed resources 3865 ManagedResources(context.Context, *ResourcesQuery) (*ManagedResourcesResponse, error) 3866 // ServerSideDiff performs server-side diff calculation using dry-run apply 3867 ServerSideDiff(context.Context, *ApplicationServerSideDiffQuery) (*ApplicationServerSideDiffResponse, error) 3868 // ResourceTree returns resource tree 3869 ResourceTree(context.Context, *ResourcesQuery) (*v1alpha1.ApplicationTree, error) 3870 // Watch returns stream of application resource tree 3871 WatchResourceTree(*ResourcesQuery, ApplicationService_WatchResourceTreeServer) error 3872 // Rollback syncs an application to its target state 3873 Rollback(context.Context, *ApplicationRollbackRequest) (*v1alpha1.Application, error) 3874 // TerminateOperation terminates the currently running operation 3875 TerminateOperation(context.Context, *OperationTerminateRequest) (*OperationTerminateResponse, error) 3876 // GetResource returns single application resource 3877 GetResource(context.Context, *ApplicationResourceRequest) (*ApplicationResourceResponse, error) 3878 // PatchResource patch single application resource 3879 PatchResource(context.Context, *ApplicationResourcePatchRequest) (*ApplicationResourceResponse, error) 3880 // ListResourceActions returns list of resource actions 3881 ListResourceActions(context.Context, *ApplicationResourceRequest) (*ResourceActionsListResponse, error) 3882 // RunResourceAction runs a resource action 3883 // 3884 // Deprecated: use RunResourceActionV2 instead. This version does not support resource action parameters but is 3885 // maintained for backward compatibility. It will be removed in a future release. 3886 RunResourceAction(context.Context, *ResourceActionRunRequest) (*ApplicationResponse, error) 3887 // RunResourceActionV2 runs a resource action with parameters 3888 RunResourceActionV2(context.Context, *ResourceActionRunRequestV2) (*ApplicationResponse, error) 3889 // DeleteResource deletes a single application resource 3890 DeleteResource(context.Context, *ApplicationResourceDeleteRequest) (*ApplicationResponse, error) 3891 // PodLogs returns stream of log entries for the specified pod. Pod 3892 PodLogs(*ApplicationPodLogsQuery, ApplicationService_PodLogsServer) error 3893 // ListLinks returns the list of all application deep links 3894 ListLinks(context.Context, *ListAppLinksRequest) (*LinksResponse, error) 3895 // ListResourceLinks returns the list of all resource deep links 3896 ListResourceLinks(context.Context, *ApplicationResourceRequest) (*LinksResponse, error) 3897 } 3898 3899 // UnimplementedApplicationServiceServer can be embedded to have forward compatible implementations. 3900 type UnimplementedApplicationServiceServer struct { 3901 } 3902 3903 func (*UnimplementedApplicationServiceServer) List(ctx context.Context, req *ApplicationQuery) (*v1alpha1.ApplicationList, error) { 3904 return nil, status.Errorf(codes.Unimplemented, "method List not implemented") 3905 } 3906 func (*UnimplementedApplicationServiceServer) ListResourceEvents(ctx context.Context, req *ApplicationResourceEventsQuery) (*v11.EventList, error) { 3907 return nil, status.Errorf(codes.Unimplemented, "method ListResourceEvents not implemented") 3908 } 3909 func (*UnimplementedApplicationServiceServer) Watch(req *ApplicationQuery, srv ApplicationService_WatchServer) error { 3910 return status.Errorf(codes.Unimplemented, "method Watch not implemented") 3911 } 3912 func (*UnimplementedApplicationServiceServer) Create(ctx context.Context, req *ApplicationCreateRequest) (*v1alpha1.Application, error) { 3913 return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") 3914 } 3915 func (*UnimplementedApplicationServiceServer) Get(ctx context.Context, req *ApplicationQuery) (*v1alpha1.Application, error) { 3916 return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") 3917 } 3918 func (*UnimplementedApplicationServiceServer) GetApplicationSyncWindows(ctx context.Context, req *ApplicationSyncWindowsQuery) (*ApplicationSyncWindowsResponse, error) { 3919 return nil, status.Errorf(codes.Unimplemented, "method GetApplicationSyncWindows not implemented") 3920 } 3921 func (*UnimplementedApplicationServiceServer) RevisionMetadata(ctx context.Context, req *RevisionMetadataQuery) (*v1alpha1.RevisionMetadata, error) { 3922 return nil, status.Errorf(codes.Unimplemented, "method RevisionMetadata not implemented") 3923 } 3924 func (*UnimplementedApplicationServiceServer) RevisionChartDetails(ctx context.Context, req *RevisionMetadataQuery) (*v1alpha1.ChartDetails, error) { 3925 return nil, status.Errorf(codes.Unimplemented, "method RevisionChartDetails not implemented") 3926 } 3927 func (*UnimplementedApplicationServiceServer) GetOCIMetadata(ctx context.Context, req *RevisionMetadataQuery) (*v1alpha1.OCIMetadata, error) { 3928 return nil, status.Errorf(codes.Unimplemented, "method GetOCIMetadata not implemented") 3929 } 3930 func (*UnimplementedApplicationServiceServer) GetManifests(ctx context.Context, req *ApplicationManifestQuery) (*apiclient.ManifestResponse, error) { 3931 return nil, status.Errorf(codes.Unimplemented, "method GetManifests not implemented") 3932 } 3933 func (*UnimplementedApplicationServiceServer) GetManifestsWithFiles(srv ApplicationService_GetManifestsWithFilesServer) error { 3934 return status.Errorf(codes.Unimplemented, "method GetManifestsWithFiles not implemented") 3935 } 3936 func (*UnimplementedApplicationServiceServer) Update(ctx context.Context, req *ApplicationUpdateRequest) (*v1alpha1.Application, error) { 3937 return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") 3938 } 3939 func (*UnimplementedApplicationServiceServer) UpdateSpec(ctx context.Context, req *ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error) { 3940 return nil, status.Errorf(codes.Unimplemented, "method UpdateSpec not implemented") 3941 } 3942 func (*UnimplementedApplicationServiceServer) Patch(ctx context.Context, req *ApplicationPatchRequest) (*v1alpha1.Application, error) { 3943 return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") 3944 } 3945 func (*UnimplementedApplicationServiceServer) Delete(ctx context.Context, req *ApplicationDeleteRequest) (*ApplicationResponse, error) { 3946 return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") 3947 } 3948 func (*UnimplementedApplicationServiceServer) Sync(ctx context.Context, req *ApplicationSyncRequest) (*v1alpha1.Application, error) { 3949 return nil, status.Errorf(codes.Unimplemented, "method Sync not implemented") 3950 } 3951 func (*UnimplementedApplicationServiceServer) ManagedResources(ctx context.Context, req *ResourcesQuery) (*ManagedResourcesResponse, error) { 3952 return nil, status.Errorf(codes.Unimplemented, "method ManagedResources not implemented") 3953 } 3954 func (*UnimplementedApplicationServiceServer) ServerSideDiff(ctx context.Context, req *ApplicationServerSideDiffQuery) (*ApplicationServerSideDiffResponse, error) { 3955 return nil, status.Errorf(codes.Unimplemented, "method ServerSideDiff not implemented") 3956 } 3957 func (*UnimplementedApplicationServiceServer) ResourceTree(ctx context.Context, req *ResourcesQuery) (*v1alpha1.ApplicationTree, error) { 3958 return nil, status.Errorf(codes.Unimplemented, "method ResourceTree not implemented") 3959 } 3960 func (*UnimplementedApplicationServiceServer) WatchResourceTree(req *ResourcesQuery, srv ApplicationService_WatchResourceTreeServer) error { 3961 return status.Errorf(codes.Unimplemented, "method WatchResourceTree not implemented") 3962 } 3963 func (*UnimplementedApplicationServiceServer) Rollback(ctx context.Context, req *ApplicationRollbackRequest) (*v1alpha1.Application, error) { 3964 return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") 3965 } 3966 func (*UnimplementedApplicationServiceServer) TerminateOperation(ctx context.Context, req *OperationTerminateRequest) (*OperationTerminateResponse, error) { 3967 return nil, status.Errorf(codes.Unimplemented, "method TerminateOperation not implemented") 3968 } 3969 func (*UnimplementedApplicationServiceServer) GetResource(ctx context.Context, req *ApplicationResourceRequest) (*ApplicationResourceResponse, error) { 3970 return nil, status.Errorf(codes.Unimplemented, "method GetResource not implemented") 3971 } 3972 func (*UnimplementedApplicationServiceServer) PatchResource(ctx context.Context, req *ApplicationResourcePatchRequest) (*ApplicationResourceResponse, error) { 3973 return nil, status.Errorf(codes.Unimplemented, "method PatchResource not implemented") 3974 } 3975 func (*UnimplementedApplicationServiceServer) ListResourceActions(ctx context.Context, req *ApplicationResourceRequest) (*ResourceActionsListResponse, error) { 3976 return nil, status.Errorf(codes.Unimplemented, "method ListResourceActions not implemented") 3977 } 3978 func (*UnimplementedApplicationServiceServer) RunResourceAction(ctx context.Context, req *ResourceActionRunRequest) (*ApplicationResponse, error) { 3979 return nil, status.Errorf(codes.Unimplemented, "method RunResourceAction not implemented") 3980 } 3981 func (*UnimplementedApplicationServiceServer) RunResourceActionV2(ctx context.Context, req *ResourceActionRunRequestV2) (*ApplicationResponse, error) { 3982 return nil, status.Errorf(codes.Unimplemented, "method RunResourceActionV2 not implemented") 3983 } 3984 func (*UnimplementedApplicationServiceServer) DeleteResource(ctx context.Context, req *ApplicationResourceDeleteRequest) (*ApplicationResponse, error) { 3985 return nil, status.Errorf(codes.Unimplemented, "method DeleteResource not implemented") 3986 } 3987 func (*UnimplementedApplicationServiceServer) PodLogs(req *ApplicationPodLogsQuery, srv ApplicationService_PodLogsServer) error { 3988 return status.Errorf(codes.Unimplemented, "method PodLogs not implemented") 3989 } 3990 func (*UnimplementedApplicationServiceServer) ListLinks(ctx context.Context, req *ListAppLinksRequest) (*LinksResponse, error) { 3991 return nil, status.Errorf(codes.Unimplemented, "method ListLinks not implemented") 3992 } 3993 func (*UnimplementedApplicationServiceServer) ListResourceLinks(ctx context.Context, req *ApplicationResourceRequest) (*LinksResponse, error) { 3994 return nil, status.Errorf(codes.Unimplemented, "method ListResourceLinks not implemented") 3995 } 3996 3997 func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer) { 3998 s.RegisterService(&_ApplicationService_serviceDesc, srv) 3999 } 4000 4001 func _ApplicationService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4002 in := new(ApplicationQuery) 4003 if err := dec(in); err != nil { 4004 return nil, err 4005 } 4006 if interceptor == nil { 4007 return srv.(ApplicationServiceServer).List(ctx, in) 4008 } 4009 info := &grpc.UnaryServerInfo{ 4010 Server: srv, 4011 FullMethod: "/application.ApplicationService/List", 4012 } 4013 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4014 return srv.(ApplicationServiceServer).List(ctx, req.(*ApplicationQuery)) 4015 } 4016 return interceptor(ctx, in, info, handler) 4017 } 4018 4019 func _ApplicationService_ListResourceEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4020 in := new(ApplicationResourceEventsQuery) 4021 if err := dec(in); err != nil { 4022 return nil, err 4023 } 4024 if interceptor == nil { 4025 return srv.(ApplicationServiceServer).ListResourceEvents(ctx, in) 4026 } 4027 info := &grpc.UnaryServerInfo{ 4028 Server: srv, 4029 FullMethod: "/application.ApplicationService/ListResourceEvents", 4030 } 4031 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4032 return srv.(ApplicationServiceServer).ListResourceEvents(ctx, req.(*ApplicationResourceEventsQuery)) 4033 } 4034 return interceptor(ctx, in, info, handler) 4035 } 4036 4037 func _ApplicationService_Watch_Handler(srv interface{}, stream grpc.ServerStream) error { 4038 m := new(ApplicationQuery) 4039 if err := stream.RecvMsg(m); err != nil { 4040 return err 4041 } 4042 return srv.(ApplicationServiceServer).Watch(m, &applicationServiceWatchServer{stream}) 4043 } 4044 4045 type ApplicationService_WatchServer interface { 4046 Send(*v1alpha1.ApplicationWatchEvent) error 4047 grpc.ServerStream 4048 } 4049 4050 type applicationServiceWatchServer struct { 4051 grpc.ServerStream 4052 } 4053 4054 func (x *applicationServiceWatchServer) Send(m *v1alpha1.ApplicationWatchEvent) error { 4055 return x.ServerStream.SendMsg(m) 4056 } 4057 4058 func _ApplicationService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4059 in := new(ApplicationCreateRequest) 4060 if err := dec(in); err != nil { 4061 return nil, err 4062 } 4063 if interceptor == nil { 4064 return srv.(ApplicationServiceServer).Create(ctx, in) 4065 } 4066 info := &grpc.UnaryServerInfo{ 4067 Server: srv, 4068 FullMethod: "/application.ApplicationService/Create", 4069 } 4070 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4071 return srv.(ApplicationServiceServer).Create(ctx, req.(*ApplicationCreateRequest)) 4072 } 4073 return interceptor(ctx, in, info, handler) 4074 } 4075 4076 func _ApplicationService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4077 in := new(ApplicationQuery) 4078 if err := dec(in); err != nil { 4079 return nil, err 4080 } 4081 if interceptor == nil { 4082 return srv.(ApplicationServiceServer).Get(ctx, in) 4083 } 4084 info := &grpc.UnaryServerInfo{ 4085 Server: srv, 4086 FullMethod: "/application.ApplicationService/Get", 4087 } 4088 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4089 return srv.(ApplicationServiceServer).Get(ctx, req.(*ApplicationQuery)) 4090 } 4091 return interceptor(ctx, in, info, handler) 4092 } 4093 4094 func _ApplicationService_GetApplicationSyncWindows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4095 in := new(ApplicationSyncWindowsQuery) 4096 if err := dec(in); err != nil { 4097 return nil, err 4098 } 4099 if interceptor == nil { 4100 return srv.(ApplicationServiceServer).GetApplicationSyncWindows(ctx, in) 4101 } 4102 info := &grpc.UnaryServerInfo{ 4103 Server: srv, 4104 FullMethod: "/application.ApplicationService/GetApplicationSyncWindows", 4105 } 4106 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4107 return srv.(ApplicationServiceServer).GetApplicationSyncWindows(ctx, req.(*ApplicationSyncWindowsQuery)) 4108 } 4109 return interceptor(ctx, in, info, handler) 4110 } 4111 4112 func _ApplicationService_RevisionMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4113 in := new(RevisionMetadataQuery) 4114 if err := dec(in); err != nil { 4115 return nil, err 4116 } 4117 if interceptor == nil { 4118 return srv.(ApplicationServiceServer).RevisionMetadata(ctx, in) 4119 } 4120 info := &grpc.UnaryServerInfo{ 4121 Server: srv, 4122 FullMethod: "/application.ApplicationService/RevisionMetadata", 4123 } 4124 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4125 return srv.(ApplicationServiceServer).RevisionMetadata(ctx, req.(*RevisionMetadataQuery)) 4126 } 4127 return interceptor(ctx, in, info, handler) 4128 } 4129 4130 func _ApplicationService_RevisionChartDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4131 in := new(RevisionMetadataQuery) 4132 if err := dec(in); err != nil { 4133 return nil, err 4134 } 4135 if interceptor == nil { 4136 return srv.(ApplicationServiceServer).RevisionChartDetails(ctx, in) 4137 } 4138 info := &grpc.UnaryServerInfo{ 4139 Server: srv, 4140 FullMethod: "/application.ApplicationService/RevisionChartDetails", 4141 } 4142 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4143 return srv.(ApplicationServiceServer).RevisionChartDetails(ctx, req.(*RevisionMetadataQuery)) 4144 } 4145 return interceptor(ctx, in, info, handler) 4146 } 4147 4148 func _ApplicationService_GetOCIMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4149 in := new(RevisionMetadataQuery) 4150 if err := dec(in); err != nil { 4151 return nil, err 4152 } 4153 if interceptor == nil { 4154 return srv.(ApplicationServiceServer).GetOCIMetadata(ctx, in) 4155 } 4156 info := &grpc.UnaryServerInfo{ 4157 Server: srv, 4158 FullMethod: "/application.ApplicationService/GetOCIMetadata", 4159 } 4160 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4161 return srv.(ApplicationServiceServer).GetOCIMetadata(ctx, req.(*RevisionMetadataQuery)) 4162 } 4163 return interceptor(ctx, in, info, handler) 4164 } 4165 4166 func _ApplicationService_GetManifests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4167 in := new(ApplicationManifestQuery) 4168 if err := dec(in); err != nil { 4169 return nil, err 4170 } 4171 if interceptor == nil { 4172 return srv.(ApplicationServiceServer).GetManifests(ctx, in) 4173 } 4174 info := &grpc.UnaryServerInfo{ 4175 Server: srv, 4176 FullMethod: "/application.ApplicationService/GetManifests", 4177 } 4178 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4179 return srv.(ApplicationServiceServer).GetManifests(ctx, req.(*ApplicationManifestQuery)) 4180 } 4181 return interceptor(ctx, in, info, handler) 4182 } 4183 4184 func _ApplicationService_GetManifestsWithFiles_Handler(srv interface{}, stream grpc.ServerStream) error { 4185 return srv.(ApplicationServiceServer).GetManifestsWithFiles(&applicationServiceGetManifestsWithFilesServer{stream}) 4186 } 4187 4188 type ApplicationService_GetManifestsWithFilesServer interface { 4189 SendAndClose(*apiclient.ManifestResponse) error 4190 Recv() (*ApplicationManifestQueryWithFilesWrapper, error) 4191 grpc.ServerStream 4192 } 4193 4194 type applicationServiceGetManifestsWithFilesServer struct { 4195 grpc.ServerStream 4196 } 4197 4198 func (x *applicationServiceGetManifestsWithFilesServer) SendAndClose(m *apiclient.ManifestResponse) error { 4199 return x.ServerStream.SendMsg(m) 4200 } 4201 4202 func (x *applicationServiceGetManifestsWithFilesServer) Recv() (*ApplicationManifestQueryWithFilesWrapper, error) { 4203 m := new(ApplicationManifestQueryWithFilesWrapper) 4204 if err := x.ServerStream.RecvMsg(m); err != nil { 4205 return nil, err 4206 } 4207 return m, nil 4208 } 4209 4210 func _ApplicationService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4211 in := new(ApplicationUpdateRequest) 4212 if err := dec(in); err != nil { 4213 return nil, err 4214 } 4215 if interceptor == nil { 4216 return srv.(ApplicationServiceServer).Update(ctx, in) 4217 } 4218 info := &grpc.UnaryServerInfo{ 4219 Server: srv, 4220 FullMethod: "/application.ApplicationService/Update", 4221 } 4222 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4223 return srv.(ApplicationServiceServer).Update(ctx, req.(*ApplicationUpdateRequest)) 4224 } 4225 return interceptor(ctx, in, info, handler) 4226 } 4227 4228 func _ApplicationService_UpdateSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4229 in := new(ApplicationUpdateSpecRequest) 4230 if err := dec(in); err != nil { 4231 return nil, err 4232 } 4233 if interceptor == nil { 4234 return srv.(ApplicationServiceServer).UpdateSpec(ctx, in) 4235 } 4236 info := &grpc.UnaryServerInfo{ 4237 Server: srv, 4238 FullMethod: "/application.ApplicationService/UpdateSpec", 4239 } 4240 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4241 return srv.(ApplicationServiceServer).UpdateSpec(ctx, req.(*ApplicationUpdateSpecRequest)) 4242 } 4243 return interceptor(ctx, in, info, handler) 4244 } 4245 4246 func _ApplicationService_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4247 in := new(ApplicationPatchRequest) 4248 if err := dec(in); err != nil { 4249 return nil, err 4250 } 4251 if interceptor == nil { 4252 return srv.(ApplicationServiceServer).Patch(ctx, in) 4253 } 4254 info := &grpc.UnaryServerInfo{ 4255 Server: srv, 4256 FullMethod: "/application.ApplicationService/Patch", 4257 } 4258 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4259 return srv.(ApplicationServiceServer).Patch(ctx, req.(*ApplicationPatchRequest)) 4260 } 4261 return interceptor(ctx, in, info, handler) 4262 } 4263 4264 func _ApplicationService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4265 in := new(ApplicationDeleteRequest) 4266 if err := dec(in); err != nil { 4267 return nil, err 4268 } 4269 if interceptor == nil { 4270 return srv.(ApplicationServiceServer).Delete(ctx, in) 4271 } 4272 info := &grpc.UnaryServerInfo{ 4273 Server: srv, 4274 FullMethod: "/application.ApplicationService/Delete", 4275 } 4276 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4277 return srv.(ApplicationServiceServer).Delete(ctx, req.(*ApplicationDeleteRequest)) 4278 } 4279 return interceptor(ctx, in, info, handler) 4280 } 4281 4282 func _ApplicationService_Sync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4283 in := new(ApplicationSyncRequest) 4284 if err := dec(in); err != nil { 4285 return nil, err 4286 } 4287 if interceptor == nil { 4288 return srv.(ApplicationServiceServer).Sync(ctx, in) 4289 } 4290 info := &grpc.UnaryServerInfo{ 4291 Server: srv, 4292 FullMethod: "/application.ApplicationService/Sync", 4293 } 4294 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4295 return srv.(ApplicationServiceServer).Sync(ctx, req.(*ApplicationSyncRequest)) 4296 } 4297 return interceptor(ctx, in, info, handler) 4298 } 4299 4300 func _ApplicationService_ManagedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4301 in := new(ResourcesQuery) 4302 if err := dec(in); err != nil { 4303 return nil, err 4304 } 4305 if interceptor == nil { 4306 return srv.(ApplicationServiceServer).ManagedResources(ctx, in) 4307 } 4308 info := &grpc.UnaryServerInfo{ 4309 Server: srv, 4310 FullMethod: "/application.ApplicationService/ManagedResources", 4311 } 4312 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4313 return srv.(ApplicationServiceServer).ManagedResources(ctx, req.(*ResourcesQuery)) 4314 } 4315 return interceptor(ctx, in, info, handler) 4316 } 4317 4318 func _ApplicationService_ServerSideDiff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4319 in := new(ApplicationServerSideDiffQuery) 4320 if err := dec(in); err != nil { 4321 return nil, err 4322 } 4323 if interceptor == nil { 4324 return srv.(ApplicationServiceServer).ServerSideDiff(ctx, in) 4325 } 4326 info := &grpc.UnaryServerInfo{ 4327 Server: srv, 4328 FullMethod: "/application.ApplicationService/ServerSideDiff", 4329 } 4330 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4331 return srv.(ApplicationServiceServer).ServerSideDiff(ctx, req.(*ApplicationServerSideDiffQuery)) 4332 } 4333 return interceptor(ctx, in, info, handler) 4334 } 4335 4336 func _ApplicationService_ResourceTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4337 in := new(ResourcesQuery) 4338 if err := dec(in); err != nil { 4339 return nil, err 4340 } 4341 if interceptor == nil { 4342 return srv.(ApplicationServiceServer).ResourceTree(ctx, in) 4343 } 4344 info := &grpc.UnaryServerInfo{ 4345 Server: srv, 4346 FullMethod: "/application.ApplicationService/ResourceTree", 4347 } 4348 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4349 return srv.(ApplicationServiceServer).ResourceTree(ctx, req.(*ResourcesQuery)) 4350 } 4351 return interceptor(ctx, in, info, handler) 4352 } 4353 4354 func _ApplicationService_WatchResourceTree_Handler(srv interface{}, stream grpc.ServerStream) error { 4355 m := new(ResourcesQuery) 4356 if err := stream.RecvMsg(m); err != nil { 4357 return err 4358 } 4359 return srv.(ApplicationServiceServer).WatchResourceTree(m, &applicationServiceWatchResourceTreeServer{stream}) 4360 } 4361 4362 type ApplicationService_WatchResourceTreeServer interface { 4363 Send(*v1alpha1.ApplicationTree) error 4364 grpc.ServerStream 4365 } 4366 4367 type applicationServiceWatchResourceTreeServer struct { 4368 grpc.ServerStream 4369 } 4370 4371 func (x *applicationServiceWatchResourceTreeServer) Send(m *v1alpha1.ApplicationTree) error { 4372 return x.ServerStream.SendMsg(m) 4373 } 4374 4375 func _ApplicationService_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4376 in := new(ApplicationRollbackRequest) 4377 if err := dec(in); err != nil { 4378 return nil, err 4379 } 4380 if interceptor == nil { 4381 return srv.(ApplicationServiceServer).Rollback(ctx, in) 4382 } 4383 info := &grpc.UnaryServerInfo{ 4384 Server: srv, 4385 FullMethod: "/application.ApplicationService/Rollback", 4386 } 4387 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4388 return srv.(ApplicationServiceServer).Rollback(ctx, req.(*ApplicationRollbackRequest)) 4389 } 4390 return interceptor(ctx, in, info, handler) 4391 } 4392 4393 func _ApplicationService_TerminateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4394 in := new(OperationTerminateRequest) 4395 if err := dec(in); err != nil { 4396 return nil, err 4397 } 4398 if interceptor == nil { 4399 return srv.(ApplicationServiceServer).TerminateOperation(ctx, in) 4400 } 4401 info := &grpc.UnaryServerInfo{ 4402 Server: srv, 4403 FullMethod: "/application.ApplicationService/TerminateOperation", 4404 } 4405 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4406 return srv.(ApplicationServiceServer).TerminateOperation(ctx, req.(*OperationTerminateRequest)) 4407 } 4408 return interceptor(ctx, in, info, handler) 4409 } 4410 4411 func _ApplicationService_GetResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4412 in := new(ApplicationResourceRequest) 4413 if err := dec(in); err != nil { 4414 return nil, err 4415 } 4416 if interceptor == nil { 4417 return srv.(ApplicationServiceServer).GetResource(ctx, in) 4418 } 4419 info := &grpc.UnaryServerInfo{ 4420 Server: srv, 4421 FullMethod: "/application.ApplicationService/GetResource", 4422 } 4423 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4424 return srv.(ApplicationServiceServer).GetResource(ctx, req.(*ApplicationResourceRequest)) 4425 } 4426 return interceptor(ctx, in, info, handler) 4427 } 4428 4429 func _ApplicationService_PatchResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4430 in := new(ApplicationResourcePatchRequest) 4431 if err := dec(in); err != nil { 4432 return nil, err 4433 } 4434 if interceptor == nil { 4435 return srv.(ApplicationServiceServer).PatchResource(ctx, in) 4436 } 4437 info := &grpc.UnaryServerInfo{ 4438 Server: srv, 4439 FullMethod: "/application.ApplicationService/PatchResource", 4440 } 4441 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4442 return srv.(ApplicationServiceServer).PatchResource(ctx, req.(*ApplicationResourcePatchRequest)) 4443 } 4444 return interceptor(ctx, in, info, handler) 4445 } 4446 4447 func _ApplicationService_ListResourceActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4448 in := new(ApplicationResourceRequest) 4449 if err := dec(in); err != nil { 4450 return nil, err 4451 } 4452 if interceptor == nil { 4453 return srv.(ApplicationServiceServer).ListResourceActions(ctx, in) 4454 } 4455 info := &grpc.UnaryServerInfo{ 4456 Server: srv, 4457 FullMethod: "/application.ApplicationService/ListResourceActions", 4458 } 4459 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4460 return srv.(ApplicationServiceServer).ListResourceActions(ctx, req.(*ApplicationResourceRequest)) 4461 } 4462 return interceptor(ctx, in, info, handler) 4463 } 4464 4465 func _ApplicationService_RunResourceAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4466 in := new(ResourceActionRunRequest) 4467 if err := dec(in); err != nil { 4468 return nil, err 4469 } 4470 if interceptor == nil { 4471 return srv.(ApplicationServiceServer).RunResourceAction(ctx, in) 4472 } 4473 info := &grpc.UnaryServerInfo{ 4474 Server: srv, 4475 FullMethod: "/application.ApplicationService/RunResourceAction", 4476 } 4477 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4478 return srv.(ApplicationServiceServer).RunResourceAction(ctx, req.(*ResourceActionRunRequest)) 4479 } 4480 return interceptor(ctx, in, info, handler) 4481 } 4482 4483 func _ApplicationService_RunResourceActionV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4484 in := new(ResourceActionRunRequestV2) 4485 if err := dec(in); err != nil { 4486 return nil, err 4487 } 4488 if interceptor == nil { 4489 return srv.(ApplicationServiceServer).RunResourceActionV2(ctx, in) 4490 } 4491 info := &grpc.UnaryServerInfo{ 4492 Server: srv, 4493 FullMethod: "/application.ApplicationService/RunResourceActionV2", 4494 } 4495 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4496 return srv.(ApplicationServiceServer).RunResourceActionV2(ctx, req.(*ResourceActionRunRequestV2)) 4497 } 4498 return interceptor(ctx, in, info, handler) 4499 } 4500 4501 func _ApplicationService_DeleteResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4502 in := new(ApplicationResourceDeleteRequest) 4503 if err := dec(in); err != nil { 4504 return nil, err 4505 } 4506 if interceptor == nil { 4507 return srv.(ApplicationServiceServer).DeleteResource(ctx, in) 4508 } 4509 info := &grpc.UnaryServerInfo{ 4510 Server: srv, 4511 FullMethod: "/application.ApplicationService/DeleteResource", 4512 } 4513 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4514 return srv.(ApplicationServiceServer).DeleteResource(ctx, req.(*ApplicationResourceDeleteRequest)) 4515 } 4516 return interceptor(ctx, in, info, handler) 4517 } 4518 4519 func _ApplicationService_PodLogs_Handler(srv interface{}, stream grpc.ServerStream) error { 4520 m := new(ApplicationPodLogsQuery) 4521 if err := stream.RecvMsg(m); err != nil { 4522 return err 4523 } 4524 return srv.(ApplicationServiceServer).PodLogs(m, &applicationServicePodLogsServer{stream}) 4525 } 4526 4527 type ApplicationService_PodLogsServer interface { 4528 Send(*LogEntry) error 4529 grpc.ServerStream 4530 } 4531 4532 type applicationServicePodLogsServer struct { 4533 grpc.ServerStream 4534 } 4535 4536 func (x *applicationServicePodLogsServer) Send(m *LogEntry) error { 4537 return x.ServerStream.SendMsg(m) 4538 } 4539 4540 func _ApplicationService_ListLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4541 in := new(ListAppLinksRequest) 4542 if err := dec(in); err != nil { 4543 return nil, err 4544 } 4545 if interceptor == nil { 4546 return srv.(ApplicationServiceServer).ListLinks(ctx, in) 4547 } 4548 info := &grpc.UnaryServerInfo{ 4549 Server: srv, 4550 FullMethod: "/application.ApplicationService/ListLinks", 4551 } 4552 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4553 return srv.(ApplicationServiceServer).ListLinks(ctx, req.(*ListAppLinksRequest)) 4554 } 4555 return interceptor(ctx, in, info, handler) 4556 } 4557 4558 func _ApplicationService_ListResourceLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4559 in := new(ApplicationResourceRequest) 4560 if err := dec(in); err != nil { 4561 return nil, err 4562 } 4563 if interceptor == nil { 4564 return srv.(ApplicationServiceServer).ListResourceLinks(ctx, in) 4565 } 4566 info := &grpc.UnaryServerInfo{ 4567 Server: srv, 4568 FullMethod: "/application.ApplicationService/ListResourceLinks", 4569 } 4570 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4571 return srv.(ApplicationServiceServer).ListResourceLinks(ctx, req.(*ApplicationResourceRequest)) 4572 } 4573 return interceptor(ctx, in, info, handler) 4574 } 4575 4576 var _ApplicationService_serviceDesc = grpc.ServiceDesc{ 4577 ServiceName: "application.ApplicationService", 4578 HandlerType: (*ApplicationServiceServer)(nil), 4579 Methods: []grpc.MethodDesc{ 4580 { 4581 MethodName: "List", 4582 Handler: _ApplicationService_List_Handler, 4583 }, 4584 { 4585 MethodName: "ListResourceEvents", 4586 Handler: _ApplicationService_ListResourceEvents_Handler, 4587 }, 4588 { 4589 MethodName: "Create", 4590 Handler: _ApplicationService_Create_Handler, 4591 }, 4592 { 4593 MethodName: "Get", 4594 Handler: _ApplicationService_Get_Handler, 4595 }, 4596 { 4597 MethodName: "GetApplicationSyncWindows", 4598 Handler: _ApplicationService_GetApplicationSyncWindows_Handler, 4599 }, 4600 { 4601 MethodName: "RevisionMetadata", 4602 Handler: _ApplicationService_RevisionMetadata_Handler, 4603 }, 4604 { 4605 MethodName: "RevisionChartDetails", 4606 Handler: _ApplicationService_RevisionChartDetails_Handler, 4607 }, 4608 { 4609 MethodName: "GetOCIMetadata", 4610 Handler: _ApplicationService_GetOCIMetadata_Handler, 4611 }, 4612 { 4613 MethodName: "GetManifests", 4614 Handler: _ApplicationService_GetManifests_Handler, 4615 }, 4616 { 4617 MethodName: "Update", 4618 Handler: _ApplicationService_Update_Handler, 4619 }, 4620 { 4621 MethodName: "UpdateSpec", 4622 Handler: _ApplicationService_UpdateSpec_Handler, 4623 }, 4624 { 4625 MethodName: "Patch", 4626 Handler: _ApplicationService_Patch_Handler, 4627 }, 4628 { 4629 MethodName: "Delete", 4630 Handler: _ApplicationService_Delete_Handler, 4631 }, 4632 { 4633 MethodName: "Sync", 4634 Handler: _ApplicationService_Sync_Handler, 4635 }, 4636 { 4637 MethodName: "ManagedResources", 4638 Handler: _ApplicationService_ManagedResources_Handler, 4639 }, 4640 { 4641 MethodName: "ServerSideDiff", 4642 Handler: _ApplicationService_ServerSideDiff_Handler, 4643 }, 4644 { 4645 MethodName: "ResourceTree", 4646 Handler: _ApplicationService_ResourceTree_Handler, 4647 }, 4648 { 4649 MethodName: "Rollback", 4650 Handler: _ApplicationService_Rollback_Handler, 4651 }, 4652 { 4653 MethodName: "TerminateOperation", 4654 Handler: _ApplicationService_TerminateOperation_Handler, 4655 }, 4656 { 4657 MethodName: "GetResource", 4658 Handler: _ApplicationService_GetResource_Handler, 4659 }, 4660 { 4661 MethodName: "PatchResource", 4662 Handler: _ApplicationService_PatchResource_Handler, 4663 }, 4664 { 4665 MethodName: "ListResourceActions", 4666 Handler: _ApplicationService_ListResourceActions_Handler, 4667 }, 4668 { 4669 MethodName: "RunResourceAction", 4670 Handler: _ApplicationService_RunResourceAction_Handler, 4671 }, 4672 { 4673 MethodName: "RunResourceActionV2", 4674 Handler: _ApplicationService_RunResourceActionV2_Handler, 4675 }, 4676 { 4677 MethodName: "DeleteResource", 4678 Handler: _ApplicationService_DeleteResource_Handler, 4679 }, 4680 { 4681 MethodName: "ListLinks", 4682 Handler: _ApplicationService_ListLinks_Handler, 4683 }, 4684 { 4685 MethodName: "ListResourceLinks", 4686 Handler: _ApplicationService_ListResourceLinks_Handler, 4687 }, 4688 }, 4689 Streams: []grpc.StreamDesc{ 4690 { 4691 StreamName: "Watch", 4692 Handler: _ApplicationService_Watch_Handler, 4693 ServerStreams: true, 4694 }, 4695 { 4696 StreamName: "GetManifestsWithFiles", 4697 Handler: _ApplicationService_GetManifestsWithFiles_Handler, 4698 ClientStreams: true, 4699 }, 4700 { 4701 StreamName: "WatchResourceTree", 4702 Handler: _ApplicationService_WatchResourceTree_Handler, 4703 ServerStreams: true, 4704 }, 4705 { 4706 StreamName: "PodLogs", 4707 Handler: _ApplicationService_PodLogs_Handler, 4708 ServerStreams: true, 4709 }, 4710 }, 4711 Metadata: "server/application/application.proto", 4712 } 4713 4714 func (m *ApplicationQuery) Marshal() (dAtA []byte, err error) { 4715 size := m.Size() 4716 dAtA = make([]byte, size) 4717 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4718 if err != nil { 4719 return nil, err 4720 } 4721 return dAtA[:n], nil 4722 } 4723 4724 func (m *ApplicationQuery) MarshalTo(dAtA []byte) (int, error) { 4725 size := m.Size() 4726 return m.MarshalToSizedBuffer(dAtA[:size]) 4727 } 4728 4729 func (m *ApplicationQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4730 i := len(dAtA) 4731 _ = i 4732 var l int 4733 _ = l 4734 if m.XXX_unrecognized != nil { 4735 i -= len(m.XXX_unrecognized) 4736 copy(dAtA[i:], m.XXX_unrecognized) 4737 } 4738 if len(m.Project) > 0 { 4739 for iNdEx := len(m.Project) - 1; iNdEx >= 0; iNdEx-- { 4740 i -= len(m.Project[iNdEx]) 4741 copy(dAtA[i:], m.Project[iNdEx]) 4742 i = encodeVarintApplication(dAtA, i, uint64(len(m.Project[iNdEx]))) 4743 i-- 4744 dAtA[i] = 0x42 4745 } 4746 } 4747 if m.AppNamespace != nil { 4748 i -= len(*m.AppNamespace) 4749 copy(dAtA[i:], *m.AppNamespace) 4750 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4751 i-- 4752 dAtA[i] = 0x3a 4753 } 4754 if m.Repo != nil { 4755 i -= len(*m.Repo) 4756 copy(dAtA[i:], *m.Repo) 4757 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Repo))) 4758 i-- 4759 dAtA[i] = 0x32 4760 } 4761 if m.Selector != nil { 4762 i -= len(*m.Selector) 4763 copy(dAtA[i:], *m.Selector) 4764 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Selector))) 4765 i-- 4766 dAtA[i] = 0x2a 4767 } 4768 if m.ResourceVersion != nil { 4769 i -= len(*m.ResourceVersion) 4770 copy(dAtA[i:], *m.ResourceVersion) 4771 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceVersion))) 4772 i-- 4773 dAtA[i] = 0x22 4774 } 4775 if len(m.Projects) > 0 { 4776 for iNdEx := len(m.Projects) - 1; iNdEx >= 0; iNdEx-- { 4777 i -= len(m.Projects[iNdEx]) 4778 copy(dAtA[i:], m.Projects[iNdEx]) 4779 i = encodeVarintApplication(dAtA, i, uint64(len(m.Projects[iNdEx]))) 4780 i-- 4781 dAtA[i] = 0x1a 4782 } 4783 } 4784 if m.Refresh != nil { 4785 i -= len(*m.Refresh) 4786 copy(dAtA[i:], *m.Refresh) 4787 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Refresh))) 4788 i-- 4789 dAtA[i] = 0x12 4790 } 4791 if m.Name != nil { 4792 i -= len(*m.Name) 4793 copy(dAtA[i:], *m.Name) 4794 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4795 i-- 4796 dAtA[i] = 0xa 4797 } 4798 return len(dAtA) - i, nil 4799 } 4800 4801 func (m *NodeQuery) Marshal() (dAtA []byte, err error) { 4802 size := m.Size() 4803 dAtA = make([]byte, size) 4804 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4805 if err != nil { 4806 return nil, err 4807 } 4808 return dAtA[:n], nil 4809 } 4810 4811 func (m *NodeQuery) MarshalTo(dAtA []byte) (int, error) { 4812 size := m.Size() 4813 return m.MarshalToSizedBuffer(dAtA[:size]) 4814 } 4815 4816 func (m *NodeQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4817 i := len(dAtA) 4818 _ = i 4819 var l int 4820 _ = l 4821 if m.XXX_unrecognized != nil { 4822 i -= len(m.XXX_unrecognized) 4823 copy(dAtA[i:], m.XXX_unrecognized) 4824 } 4825 if m.AppNamespace != nil { 4826 i -= len(*m.AppNamespace) 4827 copy(dAtA[i:], *m.AppNamespace) 4828 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4829 i-- 4830 dAtA[i] = 0x12 4831 } 4832 if m.Name != nil { 4833 i -= len(*m.Name) 4834 copy(dAtA[i:], *m.Name) 4835 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4836 i-- 4837 dAtA[i] = 0xa 4838 } 4839 return len(dAtA) - i, nil 4840 } 4841 4842 func (m *RevisionMetadataQuery) Marshal() (dAtA []byte, err error) { 4843 size := m.Size() 4844 dAtA = make([]byte, size) 4845 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4846 if err != nil { 4847 return nil, err 4848 } 4849 return dAtA[:n], nil 4850 } 4851 4852 func (m *RevisionMetadataQuery) MarshalTo(dAtA []byte) (int, error) { 4853 size := m.Size() 4854 return m.MarshalToSizedBuffer(dAtA[:size]) 4855 } 4856 4857 func (m *RevisionMetadataQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4858 i := len(dAtA) 4859 _ = i 4860 var l int 4861 _ = l 4862 if m.XXX_unrecognized != nil { 4863 i -= len(m.XXX_unrecognized) 4864 copy(dAtA[i:], m.XXX_unrecognized) 4865 } 4866 if m.VersionId != nil { 4867 i = encodeVarintApplication(dAtA, i, uint64(*m.VersionId)) 4868 i-- 4869 dAtA[i] = 0x30 4870 } 4871 if m.SourceIndex != nil { 4872 i = encodeVarintApplication(dAtA, i, uint64(*m.SourceIndex)) 4873 i-- 4874 dAtA[i] = 0x28 4875 } 4876 if m.Project != nil { 4877 i -= len(*m.Project) 4878 copy(dAtA[i:], *m.Project) 4879 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4880 i-- 4881 dAtA[i] = 0x22 4882 } 4883 if m.AppNamespace != nil { 4884 i -= len(*m.AppNamespace) 4885 copy(dAtA[i:], *m.AppNamespace) 4886 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4887 i-- 4888 dAtA[i] = 0x1a 4889 } 4890 if m.Revision == nil { 4891 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("revision") 4892 } else { 4893 i -= len(*m.Revision) 4894 copy(dAtA[i:], *m.Revision) 4895 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) 4896 i-- 4897 dAtA[i] = 0x12 4898 } 4899 if m.Name == nil { 4900 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4901 } else { 4902 i -= len(*m.Name) 4903 copy(dAtA[i:], *m.Name) 4904 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4905 i-- 4906 dAtA[i] = 0xa 4907 } 4908 return len(dAtA) - i, nil 4909 } 4910 4911 func (m *ApplicationResourceEventsQuery) Marshal() (dAtA []byte, err error) { 4912 size := m.Size() 4913 dAtA = make([]byte, size) 4914 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4915 if err != nil { 4916 return nil, err 4917 } 4918 return dAtA[:n], nil 4919 } 4920 4921 func (m *ApplicationResourceEventsQuery) MarshalTo(dAtA []byte) (int, error) { 4922 size := m.Size() 4923 return m.MarshalToSizedBuffer(dAtA[:size]) 4924 } 4925 4926 func (m *ApplicationResourceEventsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4927 i := len(dAtA) 4928 _ = i 4929 var l int 4930 _ = l 4931 if m.XXX_unrecognized != nil { 4932 i -= len(m.XXX_unrecognized) 4933 copy(dAtA[i:], m.XXX_unrecognized) 4934 } 4935 if m.Project != nil { 4936 i -= len(*m.Project) 4937 copy(dAtA[i:], *m.Project) 4938 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4939 i-- 4940 dAtA[i] = 0x32 4941 } 4942 if m.AppNamespace != nil { 4943 i -= len(*m.AppNamespace) 4944 copy(dAtA[i:], *m.AppNamespace) 4945 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4946 i-- 4947 dAtA[i] = 0x2a 4948 } 4949 if m.ResourceUID != nil { 4950 i -= len(*m.ResourceUID) 4951 copy(dAtA[i:], *m.ResourceUID) 4952 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceUID))) 4953 i-- 4954 dAtA[i] = 0x22 4955 } 4956 if m.ResourceName != nil { 4957 i -= len(*m.ResourceName) 4958 copy(dAtA[i:], *m.ResourceName) 4959 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 4960 i-- 4961 dAtA[i] = 0x1a 4962 } 4963 if m.ResourceNamespace != nil { 4964 i -= len(*m.ResourceNamespace) 4965 copy(dAtA[i:], *m.ResourceNamespace) 4966 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceNamespace))) 4967 i-- 4968 dAtA[i] = 0x12 4969 } 4970 if m.Name == nil { 4971 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4972 } else { 4973 i -= len(*m.Name) 4974 copy(dAtA[i:], *m.Name) 4975 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4976 i-- 4977 dAtA[i] = 0xa 4978 } 4979 return len(dAtA) - i, nil 4980 } 4981 4982 func (m *ApplicationManifestQuery) Marshal() (dAtA []byte, err error) { 4983 size := m.Size() 4984 dAtA = make([]byte, size) 4985 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4986 if err != nil { 4987 return nil, err 4988 } 4989 return dAtA[:n], nil 4990 } 4991 4992 func (m *ApplicationManifestQuery) MarshalTo(dAtA []byte) (int, error) { 4993 size := m.Size() 4994 return m.MarshalToSizedBuffer(dAtA[:size]) 4995 } 4996 4997 func (m *ApplicationManifestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4998 i := len(dAtA) 4999 _ = i 5000 var l int 5001 _ = l 5002 if m.XXX_unrecognized != nil { 5003 i -= len(m.XXX_unrecognized) 5004 copy(dAtA[i:], m.XXX_unrecognized) 5005 } 5006 if m.NoCache != nil { 5007 i-- 5008 if *m.NoCache { 5009 dAtA[i] = 1 5010 } else { 5011 dAtA[i] = 0 5012 } 5013 i-- 5014 dAtA[i] = 0x38 5015 } 5016 if len(m.Revisions) > 0 { 5017 for iNdEx := len(m.Revisions) - 1; iNdEx >= 0; iNdEx-- { 5018 i -= len(m.Revisions[iNdEx]) 5019 copy(dAtA[i:], m.Revisions[iNdEx]) 5020 i = encodeVarintApplication(dAtA, i, uint64(len(m.Revisions[iNdEx]))) 5021 i-- 5022 dAtA[i] = 0x32 5023 } 5024 } 5025 if len(m.SourcePositions) > 0 { 5026 for iNdEx := len(m.SourcePositions) - 1; iNdEx >= 0; iNdEx-- { 5027 i = encodeVarintApplication(dAtA, i, uint64(m.SourcePositions[iNdEx])) 5028 i-- 5029 dAtA[i] = 0x28 5030 } 5031 } 5032 if m.Project != nil { 5033 i -= len(*m.Project) 5034 copy(dAtA[i:], *m.Project) 5035 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5036 i-- 5037 dAtA[i] = 0x22 5038 } 5039 if m.AppNamespace != nil { 5040 i -= len(*m.AppNamespace) 5041 copy(dAtA[i:], *m.AppNamespace) 5042 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5043 i-- 5044 dAtA[i] = 0x1a 5045 } 5046 if m.Revision != nil { 5047 i -= len(*m.Revision) 5048 copy(dAtA[i:], *m.Revision) 5049 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) 5050 i-- 5051 dAtA[i] = 0x12 5052 } 5053 if m.Name == nil { 5054 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5055 } else { 5056 i -= len(*m.Name) 5057 copy(dAtA[i:], *m.Name) 5058 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5059 i-- 5060 dAtA[i] = 0xa 5061 } 5062 return len(dAtA) - i, nil 5063 } 5064 5065 func (m *FileChunk) Marshal() (dAtA []byte, err error) { 5066 size := m.Size() 5067 dAtA = make([]byte, size) 5068 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5069 if err != nil { 5070 return nil, err 5071 } 5072 return dAtA[:n], nil 5073 } 5074 5075 func (m *FileChunk) MarshalTo(dAtA []byte) (int, error) { 5076 size := m.Size() 5077 return m.MarshalToSizedBuffer(dAtA[:size]) 5078 } 5079 5080 func (m *FileChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5081 i := len(dAtA) 5082 _ = i 5083 var l int 5084 _ = l 5085 if m.XXX_unrecognized != nil { 5086 i -= len(m.XXX_unrecognized) 5087 copy(dAtA[i:], m.XXX_unrecognized) 5088 } 5089 if m.Chunk == nil { 5090 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("chunk") 5091 } else { 5092 i -= len(m.Chunk) 5093 copy(dAtA[i:], m.Chunk) 5094 i = encodeVarintApplication(dAtA, i, uint64(len(m.Chunk))) 5095 i-- 5096 dAtA[i] = 0xa 5097 } 5098 return len(dAtA) - i, nil 5099 } 5100 5101 func (m *ApplicationManifestQueryWithFiles) Marshal() (dAtA []byte, err error) { 5102 size := m.Size() 5103 dAtA = make([]byte, size) 5104 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5105 if err != nil { 5106 return nil, err 5107 } 5108 return dAtA[:n], nil 5109 } 5110 5111 func (m *ApplicationManifestQueryWithFiles) MarshalTo(dAtA []byte) (int, error) { 5112 size := m.Size() 5113 return m.MarshalToSizedBuffer(dAtA[:size]) 5114 } 5115 5116 func (m *ApplicationManifestQueryWithFiles) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5117 i := len(dAtA) 5118 _ = i 5119 var l int 5120 _ = l 5121 if m.XXX_unrecognized != nil { 5122 i -= len(m.XXX_unrecognized) 5123 copy(dAtA[i:], m.XXX_unrecognized) 5124 } 5125 if m.Project != nil { 5126 i -= len(*m.Project) 5127 copy(dAtA[i:], *m.Project) 5128 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5129 i-- 5130 dAtA[i] = 0x22 5131 } 5132 if m.AppNamespace != nil { 5133 i -= len(*m.AppNamespace) 5134 copy(dAtA[i:], *m.AppNamespace) 5135 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5136 i-- 5137 dAtA[i] = 0x1a 5138 } 5139 if m.Checksum == nil { 5140 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("checksum") 5141 } else { 5142 i -= len(*m.Checksum) 5143 copy(dAtA[i:], *m.Checksum) 5144 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Checksum))) 5145 i-- 5146 dAtA[i] = 0x12 5147 } 5148 if m.Name == nil { 5149 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5150 } else { 5151 i -= len(*m.Name) 5152 copy(dAtA[i:], *m.Name) 5153 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5154 i-- 5155 dAtA[i] = 0xa 5156 } 5157 return len(dAtA) - i, nil 5158 } 5159 5160 func (m *ApplicationManifestQueryWithFilesWrapper) Marshal() (dAtA []byte, err error) { 5161 size := m.Size() 5162 dAtA = make([]byte, size) 5163 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5164 if err != nil { 5165 return nil, err 5166 } 5167 return dAtA[:n], nil 5168 } 5169 5170 func (m *ApplicationManifestQueryWithFilesWrapper) MarshalTo(dAtA []byte) (int, error) { 5171 size := m.Size() 5172 return m.MarshalToSizedBuffer(dAtA[:size]) 5173 } 5174 5175 func (m *ApplicationManifestQueryWithFilesWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5176 i := len(dAtA) 5177 _ = i 5178 var l int 5179 _ = l 5180 if m.XXX_unrecognized != nil { 5181 i -= len(m.XXX_unrecognized) 5182 copy(dAtA[i:], m.XXX_unrecognized) 5183 } 5184 if m.Part != nil { 5185 { 5186 size := m.Part.Size() 5187 i -= size 5188 if _, err := m.Part.MarshalTo(dAtA[i:]); err != nil { 5189 return 0, err 5190 } 5191 } 5192 } 5193 return len(dAtA) - i, nil 5194 } 5195 5196 func (m *ApplicationManifestQueryWithFilesWrapper_Query) MarshalTo(dAtA []byte) (int, error) { 5197 size := m.Size() 5198 return m.MarshalToSizedBuffer(dAtA[:size]) 5199 } 5200 5201 func (m *ApplicationManifestQueryWithFilesWrapper_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5202 i := len(dAtA) 5203 if m.Query != nil { 5204 { 5205 size, err := m.Query.MarshalToSizedBuffer(dAtA[:i]) 5206 if err != nil { 5207 return 0, err 5208 } 5209 i -= size 5210 i = encodeVarintApplication(dAtA, i, uint64(size)) 5211 } 5212 i-- 5213 dAtA[i] = 0xa 5214 } 5215 return len(dAtA) - i, nil 5216 } 5217 func (m *ApplicationManifestQueryWithFilesWrapper_Chunk) MarshalTo(dAtA []byte) (int, error) { 5218 size := m.Size() 5219 return m.MarshalToSizedBuffer(dAtA[:size]) 5220 } 5221 5222 func (m *ApplicationManifestQueryWithFilesWrapper_Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5223 i := len(dAtA) 5224 if m.Chunk != nil { 5225 { 5226 size, err := m.Chunk.MarshalToSizedBuffer(dAtA[:i]) 5227 if err != nil { 5228 return 0, err 5229 } 5230 i -= size 5231 i = encodeVarintApplication(dAtA, i, uint64(size)) 5232 } 5233 i-- 5234 dAtA[i] = 0x12 5235 } 5236 return len(dAtA) - i, nil 5237 } 5238 func (m *ApplicationResponse) Marshal() (dAtA []byte, err error) { 5239 size := m.Size() 5240 dAtA = make([]byte, size) 5241 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5242 if err != nil { 5243 return nil, err 5244 } 5245 return dAtA[:n], nil 5246 } 5247 5248 func (m *ApplicationResponse) MarshalTo(dAtA []byte) (int, error) { 5249 size := m.Size() 5250 return m.MarshalToSizedBuffer(dAtA[:size]) 5251 } 5252 5253 func (m *ApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5254 i := len(dAtA) 5255 _ = i 5256 var l int 5257 _ = l 5258 if m.XXX_unrecognized != nil { 5259 i -= len(m.XXX_unrecognized) 5260 copy(dAtA[i:], m.XXX_unrecognized) 5261 } 5262 return len(dAtA) - i, nil 5263 } 5264 5265 func (m *ApplicationCreateRequest) Marshal() (dAtA []byte, err error) { 5266 size := m.Size() 5267 dAtA = make([]byte, size) 5268 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5269 if err != nil { 5270 return nil, err 5271 } 5272 return dAtA[:n], nil 5273 } 5274 5275 func (m *ApplicationCreateRequest) MarshalTo(dAtA []byte) (int, error) { 5276 size := m.Size() 5277 return m.MarshalToSizedBuffer(dAtA[:size]) 5278 } 5279 5280 func (m *ApplicationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5281 i := len(dAtA) 5282 _ = i 5283 var l int 5284 _ = l 5285 if m.XXX_unrecognized != nil { 5286 i -= len(m.XXX_unrecognized) 5287 copy(dAtA[i:], m.XXX_unrecognized) 5288 } 5289 if m.Validate != nil { 5290 i-- 5291 if *m.Validate { 5292 dAtA[i] = 1 5293 } else { 5294 dAtA[i] = 0 5295 } 5296 i-- 5297 dAtA[i] = 0x18 5298 } 5299 if m.Upsert != nil { 5300 i-- 5301 if *m.Upsert { 5302 dAtA[i] = 1 5303 } else { 5304 dAtA[i] = 0 5305 } 5306 i-- 5307 dAtA[i] = 0x10 5308 } 5309 if m.Application == nil { 5310 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 5311 } else { 5312 { 5313 size, err := m.Application.MarshalToSizedBuffer(dAtA[:i]) 5314 if err != nil { 5315 return 0, err 5316 } 5317 i -= size 5318 i = encodeVarintApplication(dAtA, i, uint64(size)) 5319 } 5320 i-- 5321 dAtA[i] = 0xa 5322 } 5323 return len(dAtA) - i, nil 5324 } 5325 5326 func (m *ApplicationUpdateRequest) Marshal() (dAtA []byte, err error) { 5327 size := m.Size() 5328 dAtA = make([]byte, size) 5329 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5330 if err != nil { 5331 return nil, err 5332 } 5333 return dAtA[:n], nil 5334 } 5335 5336 func (m *ApplicationUpdateRequest) MarshalTo(dAtA []byte) (int, error) { 5337 size := m.Size() 5338 return m.MarshalToSizedBuffer(dAtA[:size]) 5339 } 5340 5341 func (m *ApplicationUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5342 i := len(dAtA) 5343 _ = i 5344 var l int 5345 _ = l 5346 if m.XXX_unrecognized != nil { 5347 i -= len(m.XXX_unrecognized) 5348 copy(dAtA[i:], m.XXX_unrecognized) 5349 } 5350 if m.Project != nil { 5351 i -= len(*m.Project) 5352 copy(dAtA[i:], *m.Project) 5353 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5354 i-- 5355 dAtA[i] = 0x1a 5356 } 5357 if m.Validate != nil { 5358 i-- 5359 if *m.Validate { 5360 dAtA[i] = 1 5361 } else { 5362 dAtA[i] = 0 5363 } 5364 i-- 5365 dAtA[i] = 0x10 5366 } 5367 if m.Application == nil { 5368 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 5369 } else { 5370 { 5371 size, err := m.Application.MarshalToSizedBuffer(dAtA[:i]) 5372 if err != nil { 5373 return 0, err 5374 } 5375 i -= size 5376 i = encodeVarintApplication(dAtA, i, uint64(size)) 5377 } 5378 i-- 5379 dAtA[i] = 0xa 5380 } 5381 return len(dAtA) - i, nil 5382 } 5383 5384 func (m *ApplicationDeleteRequest) Marshal() (dAtA []byte, err error) { 5385 size := m.Size() 5386 dAtA = make([]byte, size) 5387 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5388 if err != nil { 5389 return nil, err 5390 } 5391 return dAtA[:n], nil 5392 } 5393 5394 func (m *ApplicationDeleteRequest) MarshalTo(dAtA []byte) (int, error) { 5395 size := m.Size() 5396 return m.MarshalToSizedBuffer(dAtA[:size]) 5397 } 5398 5399 func (m *ApplicationDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5400 i := len(dAtA) 5401 _ = i 5402 var l int 5403 _ = l 5404 if m.XXX_unrecognized != nil { 5405 i -= len(m.XXX_unrecognized) 5406 copy(dAtA[i:], m.XXX_unrecognized) 5407 } 5408 if m.Project != nil { 5409 i -= len(*m.Project) 5410 copy(dAtA[i:], *m.Project) 5411 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5412 i-- 5413 dAtA[i] = 0x2a 5414 } 5415 if m.AppNamespace != nil { 5416 i -= len(*m.AppNamespace) 5417 copy(dAtA[i:], *m.AppNamespace) 5418 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5419 i-- 5420 dAtA[i] = 0x22 5421 } 5422 if m.PropagationPolicy != nil { 5423 i -= len(*m.PropagationPolicy) 5424 copy(dAtA[i:], *m.PropagationPolicy) 5425 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PropagationPolicy))) 5426 i-- 5427 dAtA[i] = 0x1a 5428 } 5429 if m.Cascade != nil { 5430 i-- 5431 if *m.Cascade { 5432 dAtA[i] = 1 5433 } else { 5434 dAtA[i] = 0 5435 } 5436 i-- 5437 dAtA[i] = 0x10 5438 } 5439 if m.Name == nil { 5440 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5441 } else { 5442 i -= len(*m.Name) 5443 copy(dAtA[i:], *m.Name) 5444 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5445 i-- 5446 dAtA[i] = 0xa 5447 } 5448 return len(dAtA) - i, nil 5449 } 5450 5451 func (m *SyncOptions) Marshal() (dAtA []byte, err error) { 5452 size := m.Size() 5453 dAtA = make([]byte, size) 5454 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5455 if err != nil { 5456 return nil, err 5457 } 5458 return dAtA[:n], nil 5459 } 5460 5461 func (m *SyncOptions) MarshalTo(dAtA []byte) (int, error) { 5462 size := m.Size() 5463 return m.MarshalToSizedBuffer(dAtA[:size]) 5464 } 5465 5466 func (m *SyncOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5467 i := len(dAtA) 5468 _ = i 5469 var l int 5470 _ = l 5471 if m.XXX_unrecognized != nil { 5472 i -= len(m.XXX_unrecognized) 5473 copy(dAtA[i:], m.XXX_unrecognized) 5474 } 5475 if len(m.Items) > 0 { 5476 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 5477 i -= len(m.Items[iNdEx]) 5478 copy(dAtA[i:], m.Items[iNdEx]) 5479 i = encodeVarintApplication(dAtA, i, uint64(len(m.Items[iNdEx]))) 5480 i-- 5481 dAtA[i] = 0xa 5482 } 5483 } 5484 return len(dAtA) - i, nil 5485 } 5486 5487 func (m *ApplicationSyncRequest) Marshal() (dAtA []byte, err error) { 5488 size := m.Size() 5489 dAtA = make([]byte, size) 5490 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5491 if err != nil { 5492 return nil, err 5493 } 5494 return dAtA[:n], nil 5495 } 5496 5497 func (m *ApplicationSyncRequest) MarshalTo(dAtA []byte) (int, error) { 5498 size := m.Size() 5499 return m.MarshalToSizedBuffer(dAtA[:size]) 5500 } 5501 5502 func (m *ApplicationSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5503 i := len(dAtA) 5504 _ = i 5505 var l int 5506 _ = l 5507 if m.XXX_unrecognized != nil { 5508 i -= len(m.XXX_unrecognized) 5509 copy(dAtA[i:], m.XXX_unrecognized) 5510 } 5511 if len(m.Revisions) > 0 { 5512 for iNdEx := len(m.Revisions) - 1; iNdEx >= 0; iNdEx-- { 5513 i -= len(m.Revisions[iNdEx]) 5514 copy(dAtA[i:], m.Revisions[iNdEx]) 5515 i = encodeVarintApplication(dAtA, i, uint64(len(m.Revisions[iNdEx]))) 5516 i-- 5517 dAtA[i] = 0x7a 5518 } 5519 } 5520 if len(m.SourcePositions) > 0 { 5521 for iNdEx := len(m.SourcePositions) - 1; iNdEx >= 0; iNdEx-- { 5522 i = encodeVarintApplication(dAtA, i, uint64(m.SourcePositions[iNdEx])) 5523 i-- 5524 dAtA[i] = 0x70 5525 } 5526 } 5527 if m.Project != nil { 5528 i -= len(*m.Project) 5529 copy(dAtA[i:], *m.Project) 5530 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5531 i-- 5532 dAtA[i] = 0x6a 5533 } 5534 if m.AppNamespace != nil { 5535 i -= len(*m.AppNamespace) 5536 copy(dAtA[i:], *m.AppNamespace) 5537 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5538 i-- 5539 dAtA[i] = 0x62 5540 } 5541 if m.SyncOptions != nil { 5542 { 5543 size, err := m.SyncOptions.MarshalToSizedBuffer(dAtA[:i]) 5544 if err != nil { 5545 return 0, err 5546 } 5547 i -= size 5548 i = encodeVarintApplication(dAtA, i, uint64(size)) 5549 } 5550 i-- 5551 dAtA[i] = 0x5a 5552 } 5553 if m.RetryStrategy != nil { 5554 { 5555 size, err := m.RetryStrategy.MarshalToSizedBuffer(dAtA[:i]) 5556 if err != nil { 5557 return 0, err 5558 } 5559 i -= size 5560 i = encodeVarintApplication(dAtA, i, uint64(size)) 5561 } 5562 i-- 5563 dAtA[i] = 0x52 5564 } 5565 if len(m.Infos) > 0 { 5566 for iNdEx := len(m.Infos) - 1; iNdEx >= 0; iNdEx-- { 5567 { 5568 size, err := m.Infos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 5569 if err != nil { 5570 return 0, err 5571 } 5572 i -= size 5573 i = encodeVarintApplication(dAtA, i, uint64(size)) 5574 } 5575 i-- 5576 dAtA[i] = 0x4a 5577 } 5578 } 5579 if len(m.Manifests) > 0 { 5580 for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- { 5581 i -= len(m.Manifests[iNdEx]) 5582 copy(dAtA[i:], m.Manifests[iNdEx]) 5583 i = encodeVarintApplication(dAtA, i, uint64(len(m.Manifests[iNdEx]))) 5584 i-- 5585 dAtA[i] = 0x42 5586 } 5587 } 5588 if len(m.Resources) > 0 { 5589 for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { 5590 { 5591 size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 5592 if err != nil { 5593 return 0, err 5594 } 5595 i -= size 5596 i = encodeVarintApplication(dAtA, i, uint64(size)) 5597 } 5598 i-- 5599 dAtA[i] = 0x3a 5600 } 5601 } 5602 if m.Strategy != nil { 5603 { 5604 size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i]) 5605 if err != nil { 5606 return 0, err 5607 } 5608 i -= size 5609 i = encodeVarintApplication(dAtA, i, uint64(size)) 5610 } 5611 i-- 5612 dAtA[i] = 0x2a 5613 } 5614 if m.Prune != nil { 5615 i-- 5616 if *m.Prune { 5617 dAtA[i] = 1 5618 } else { 5619 dAtA[i] = 0 5620 } 5621 i-- 5622 dAtA[i] = 0x20 5623 } 5624 if m.DryRun != nil { 5625 i-- 5626 if *m.DryRun { 5627 dAtA[i] = 1 5628 } else { 5629 dAtA[i] = 0 5630 } 5631 i-- 5632 dAtA[i] = 0x18 5633 } 5634 if m.Revision != nil { 5635 i -= len(*m.Revision) 5636 copy(dAtA[i:], *m.Revision) 5637 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) 5638 i-- 5639 dAtA[i] = 0x12 5640 } 5641 if m.Name == nil { 5642 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5643 } else { 5644 i -= len(*m.Name) 5645 copy(dAtA[i:], *m.Name) 5646 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5647 i-- 5648 dAtA[i] = 0xa 5649 } 5650 return len(dAtA) - i, nil 5651 } 5652 5653 func (m *ApplicationUpdateSpecRequest) Marshal() (dAtA []byte, err error) { 5654 size := m.Size() 5655 dAtA = make([]byte, size) 5656 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5657 if err != nil { 5658 return nil, err 5659 } 5660 return dAtA[:n], nil 5661 } 5662 5663 func (m *ApplicationUpdateSpecRequest) MarshalTo(dAtA []byte) (int, error) { 5664 size := m.Size() 5665 return m.MarshalToSizedBuffer(dAtA[:size]) 5666 } 5667 5668 func (m *ApplicationUpdateSpecRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5669 i := len(dAtA) 5670 _ = i 5671 var l int 5672 _ = l 5673 if m.XXX_unrecognized != nil { 5674 i -= len(m.XXX_unrecognized) 5675 copy(dAtA[i:], m.XXX_unrecognized) 5676 } 5677 if m.Project != nil { 5678 i -= len(*m.Project) 5679 copy(dAtA[i:], *m.Project) 5680 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5681 i-- 5682 dAtA[i] = 0x2a 5683 } 5684 if m.AppNamespace != nil { 5685 i -= len(*m.AppNamespace) 5686 copy(dAtA[i:], *m.AppNamespace) 5687 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5688 i-- 5689 dAtA[i] = 0x22 5690 } 5691 if m.Validate != nil { 5692 i-- 5693 if *m.Validate { 5694 dAtA[i] = 1 5695 } else { 5696 dAtA[i] = 0 5697 } 5698 i-- 5699 dAtA[i] = 0x18 5700 } 5701 if m.Spec == nil { 5702 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec") 5703 } else { 5704 { 5705 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 5706 if err != nil { 5707 return 0, err 5708 } 5709 i -= size 5710 i = encodeVarintApplication(dAtA, i, uint64(size)) 5711 } 5712 i-- 5713 dAtA[i] = 0x12 5714 } 5715 if m.Name == nil { 5716 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5717 } else { 5718 i -= len(*m.Name) 5719 copy(dAtA[i:], *m.Name) 5720 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5721 i-- 5722 dAtA[i] = 0xa 5723 } 5724 return len(dAtA) - i, nil 5725 } 5726 5727 func (m *ApplicationPatchRequest) Marshal() (dAtA []byte, err error) { 5728 size := m.Size() 5729 dAtA = make([]byte, size) 5730 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5731 if err != nil { 5732 return nil, err 5733 } 5734 return dAtA[:n], nil 5735 } 5736 5737 func (m *ApplicationPatchRequest) MarshalTo(dAtA []byte) (int, error) { 5738 size := m.Size() 5739 return m.MarshalToSizedBuffer(dAtA[:size]) 5740 } 5741 5742 func (m *ApplicationPatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5743 i := len(dAtA) 5744 _ = i 5745 var l int 5746 _ = l 5747 if m.XXX_unrecognized != nil { 5748 i -= len(m.XXX_unrecognized) 5749 copy(dAtA[i:], m.XXX_unrecognized) 5750 } 5751 if m.Project != nil { 5752 i -= len(*m.Project) 5753 copy(dAtA[i:], *m.Project) 5754 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5755 i-- 5756 dAtA[i] = 0x32 5757 } 5758 if m.AppNamespace != nil { 5759 i -= len(*m.AppNamespace) 5760 copy(dAtA[i:], *m.AppNamespace) 5761 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5762 i-- 5763 dAtA[i] = 0x2a 5764 } 5765 if m.PatchType == nil { 5766 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 5767 } else { 5768 i -= len(*m.PatchType) 5769 copy(dAtA[i:], *m.PatchType) 5770 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PatchType))) 5771 i-- 5772 dAtA[i] = 0x1a 5773 } 5774 if m.Patch == nil { 5775 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 5776 } else { 5777 i -= len(*m.Patch) 5778 copy(dAtA[i:], *m.Patch) 5779 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Patch))) 5780 i-- 5781 dAtA[i] = 0x12 5782 } 5783 if m.Name == nil { 5784 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5785 } else { 5786 i -= len(*m.Name) 5787 copy(dAtA[i:], *m.Name) 5788 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5789 i-- 5790 dAtA[i] = 0xa 5791 } 5792 return len(dAtA) - i, nil 5793 } 5794 5795 func (m *ApplicationRollbackRequest) Marshal() (dAtA []byte, err error) { 5796 size := m.Size() 5797 dAtA = make([]byte, size) 5798 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5799 if err != nil { 5800 return nil, err 5801 } 5802 return dAtA[:n], nil 5803 } 5804 5805 func (m *ApplicationRollbackRequest) MarshalTo(dAtA []byte) (int, error) { 5806 size := m.Size() 5807 return m.MarshalToSizedBuffer(dAtA[:size]) 5808 } 5809 5810 func (m *ApplicationRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5811 i := len(dAtA) 5812 _ = i 5813 var l int 5814 _ = l 5815 if m.XXX_unrecognized != nil { 5816 i -= len(m.XXX_unrecognized) 5817 copy(dAtA[i:], m.XXX_unrecognized) 5818 } 5819 if m.Project != nil { 5820 i -= len(*m.Project) 5821 copy(dAtA[i:], *m.Project) 5822 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5823 i-- 5824 dAtA[i] = 0x3a 5825 } 5826 if m.AppNamespace != nil { 5827 i -= len(*m.AppNamespace) 5828 copy(dAtA[i:], *m.AppNamespace) 5829 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5830 i-- 5831 dAtA[i] = 0x32 5832 } 5833 if m.Prune != nil { 5834 i-- 5835 if *m.Prune { 5836 dAtA[i] = 1 5837 } else { 5838 dAtA[i] = 0 5839 } 5840 i-- 5841 dAtA[i] = 0x20 5842 } 5843 if m.DryRun != nil { 5844 i-- 5845 if *m.DryRun { 5846 dAtA[i] = 1 5847 } else { 5848 dAtA[i] = 0 5849 } 5850 i-- 5851 dAtA[i] = 0x18 5852 } 5853 if m.Id == nil { 5854 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") 5855 } else { 5856 i = encodeVarintApplication(dAtA, i, uint64(*m.Id)) 5857 i-- 5858 dAtA[i] = 0x10 5859 } 5860 if m.Name == nil { 5861 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5862 } else { 5863 i -= len(*m.Name) 5864 copy(dAtA[i:], *m.Name) 5865 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5866 i-- 5867 dAtA[i] = 0xa 5868 } 5869 return len(dAtA) - i, nil 5870 } 5871 5872 func (m *ApplicationResourceRequest) Marshal() (dAtA []byte, err error) { 5873 size := m.Size() 5874 dAtA = make([]byte, size) 5875 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5876 if err != nil { 5877 return nil, err 5878 } 5879 return dAtA[:n], nil 5880 } 5881 5882 func (m *ApplicationResourceRequest) MarshalTo(dAtA []byte) (int, error) { 5883 size := m.Size() 5884 return m.MarshalToSizedBuffer(dAtA[:size]) 5885 } 5886 5887 func (m *ApplicationResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5888 i := len(dAtA) 5889 _ = i 5890 var l int 5891 _ = l 5892 if m.XXX_unrecognized != nil { 5893 i -= len(m.XXX_unrecognized) 5894 copy(dAtA[i:], m.XXX_unrecognized) 5895 } 5896 if m.Project != nil { 5897 i -= len(*m.Project) 5898 copy(dAtA[i:], *m.Project) 5899 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5900 i-- 5901 dAtA[i] = 0x42 5902 } 5903 if m.AppNamespace != nil { 5904 i -= len(*m.AppNamespace) 5905 copy(dAtA[i:], *m.AppNamespace) 5906 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5907 i-- 5908 dAtA[i] = 0x3a 5909 } 5910 if m.Kind == nil { 5911 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 5912 } else { 5913 i -= len(*m.Kind) 5914 copy(dAtA[i:], *m.Kind) 5915 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 5916 i-- 5917 dAtA[i] = 0x32 5918 } 5919 if m.Group != nil { 5920 i -= len(*m.Group) 5921 copy(dAtA[i:], *m.Group) 5922 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 5923 i-- 5924 dAtA[i] = 0x2a 5925 } 5926 if m.Version == nil { 5927 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 5928 } else { 5929 i -= len(*m.Version) 5930 copy(dAtA[i:], *m.Version) 5931 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 5932 i-- 5933 dAtA[i] = 0x22 5934 } 5935 if m.ResourceName == nil { 5936 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 5937 } else { 5938 i -= len(*m.ResourceName) 5939 copy(dAtA[i:], *m.ResourceName) 5940 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 5941 i-- 5942 dAtA[i] = 0x1a 5943 } 5944 if m.Namespace != nil { 5945 i -= len(*m.Namespace) 5946 copy(dAtA[i:], *m.Namespace) 5947 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 5948 i-- 5949 dAtA[i] = 0x12 5950 } 5951 if m.Name == nil { 5952 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5953 } else { 5954 i -= len(*m.Name) 5955 copy(dAtA[i:], *m.Name) 5956 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5957 i-- 5958 dAtA[i] = 0xa 5959 } 5960 return len(dAtA) - i, nil 5961 } 5962 5963 func (m *ApplicationResourcePatchRequest) Marshal() (dAtA []byte, err error) { 5964 size := m.Size() 5965 dAtA = make([]byte, size) 5966 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5967 if err != nil { 5968 return nil, err 5969 } 5970 return dAtA[:n], nil 5971 } 5972 5973 func (m *ApplicationResourcePatchRequest) MarshalTo(dAtA []byte) (int, error) { 5974 size := m.Size() 5975 return m.MarshalToSizedBuffer(dAtA[:size]) 5976 } 5977 5978 func (m *ApplicationResourcePatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5979 i := len(dAtA) 5980 _ = i 5981 var l int 5982 _ = l 5983 if m.XXX_unrecognized != nil { 5984 i -= len(m.XXX_unrecognized) 5985 copy(dAtA[i:], m.XXX_unrecognized) 5986 } 5987 if m.Project != nil { 5988 i -= len(*m.Project) 5989 copy(dAtA[i:], *m.Project) 5990 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5991 i-- 5992 dAtA[i] = 0x52 5993 } 5994 if m.AppNamespace != nil { 5995 i -= len(*m.AppNamespace) 5996 copy(dAtA[i:], *m.AppNamespace) 5997 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5998 i-- 5999 dAtA[i] = 0x4a 6000 } 6001 if m.PatchType == nil { 6002 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 6003 } else { 6004 i -= len(*m.PatchType) 6005 copy(dAtA[i:], *m.PatchType) 6006 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PatchType))) 6007 i-- 6008 dAtA[i] = 0x42 6009 } 6010 if m.Patch == nil { 6011 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 6012 } else { 6013 i -= len(*m.Patch) 6014 copy(dAtA[i:], *m.Patch) 6015 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Patch))) 6016 i-- 6017 dAtA[i] = 0x3a 6018 } 6019 if m.Kind == nil { 6020 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 6021 } else { 6022 i -= len(*m.Kind) 6023 copy(dAtA[i:], *m.Kind) 6024 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6025 i-- 6026 dAtA[i] = 0x32 6027 } 6028 if m.Group != nil { 6029 i -= len(*m.Group) 6030 copy(dAtA[i:], *m.Group) 6031 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 6032 i-- 6033 dAtA[i] = 0x2a 6034 } 6035 if m.Version == nil { 6036 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 6037 } else { 6038 i -= len(*m.Version) 6039 copy(dAtA[i:], *m.Version) 6040 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 6041 i-- 6042 dAtA[i] = 0x22 6043 } 6044 if m.ResourceName == nil { 6045 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 6046 } else { 6047 i -= len(*m.ResourceName) 6048 copy(dAtA[i:], *m.ResourceName) 6049 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 6050 i-- 6051 dAtA[i] = 0x1a 6052 } 6053 if m.Namespace != nil { 6054 i -= len(*m.Namespace) 6055 copy(dAtA[i:], *m.Namespace) 6056 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6057 i-- 6058 dAtA[i] = 0x12 6059 } 6060 if m.Name == nil { 6061 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6062 } else { 6063 i -= len(*m.Name) 6064 copy(dAtA[i:], *m.Name) 6065 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6066 i-- 6067 dAtA[i] = 0xa 6068 } 6069 return len(dAtA) - i, nil 6070 } 6071 6072 func (m *ApplicationResourceDeleteRequest) Marshal() (dAtA []byte, err error) { 6073 size := m.Size() 6074 dAtA = make([]byte, size) 6075 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6076 if err != nil { 6077 return nil, err 6078 } 6079 return dAtA[:n], nil 6080 } 6081 6082 func (m *ApplicationResourceDeleteRequest) MarshalTo(dAtA []byte) (int, error) { 6083 size := m.Size() 6084 return m.MarshalToSizedBuffer(dAtA[:size]) 6085 } 6086 6087 func (m *ApplicationResourceDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6088 i := len(dAtA) 6089 _ = i 6090 var l int 6091 _ = l 6092 if m.XXX_unrecognized != nil { 6093 i -= len(m.XXX_unrecognized) 6094 copy(dAtA[i:], m.XXX_unrecognized) 6095 } 6096 if m.Project != nil { 6097 i -= len(*m.Project) 6098 copy(dAtA[i:], *m.Project) 6099 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6100 i-- 6101 dAtA[i] = 0x52 6102 } 6103 if m.AppNamespace != nil { 6104 i -= len(*m.AppNamespace) 6105 copy(dAtA[i:], *m.AppNamespace) 6106 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6107 i-- 6108 dAtA[i] = 0x4a 6109 } 6110 if m.Orphan != nil { 6111 i-- 6112 if *m.Orphan { 6113 dAtA[i] = 1 6114 } else { 6115 dAtA[i] = 0 6116 } 6117 i-- 6118 dAtA[i] = 0x40 6119 } 6120 if m.Force != nil { 6121 i-- 6122 if *m.Force { 6123 dAtA[i] = 1 6124 } else { 6125 dAtA[i] = 0 6126 } 6127 i-- 6128 dAtA[i] = 0x38 6129 } 6130 if m.Kind == nil { 6131 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 6132 } else { 6133 i -= len(*m.Kind) 6134 copy(dAtA[i:], *m.Kind) 6135 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6136 i-- 6137 dAtA[i] = 0x32 6138 } 6139 if m.Group != nil { 6140 i -= len(*m.Group) 6141 copy(dAtA[i:], *m.Group) 6142 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 6143 i-- 6144 dAtA[i] = 0x2a 6145 } 6146 if m.Version == nil { 6147 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 6148 } else { 6149 i -= len(*m.Version) 6150 copy(dAtA[i:], *m.Version) 6151 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 6152 i-- 6153 dAtA[i] = 0x22 6154 } 6155 if m.ResourceName == nil { 6156 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 6157 } else { 6158 i -= len(*m.ResourceName) 6159 copy(dAtA[i:], *m.ResourceName) 6160 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 6161 i-- 6162 dAtA[i] = 0x1a 6163 } 6164 if m.Namespace != nil { 6165 i -= len(*m.Namespace) 6166 copy(dAtA[i:], *m.Namespace) 6167 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6168 i-- 6169 dAtA[i] = 0x12 6170 } 6171 if m.Name == nil { 6172 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6173 } else { 6174 i -= len(*m.Name) 6175 copy(dAtA[i:], *m.Name) 6176 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6177 i-- 6178 dAtA[i] = 0xa 6179 } 6180 return len(dAtA) - i, nil 6181 } 6182 6183 func (m *ResourceActionParameters) Marshal() (dAtA []byte, err error) { 6184 size := m.Size() 6185 dAtA = make([]byte, size) 6186 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6187 if err != nil { 6188 return nil, err 6189 } 6190 return dAtA[:n], nil 6191 } 6192 6193 func (m *ResourceActionParameters) MarshalTo(dAtA []byte) (int, error) { 6194 size := m.Size() 6195 return m.MarshalToSizedBuffer(dAtA[:size]) 6196 } 6197 6198 func (m *ResourceActionParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6199 i := len(dAtA) 6200 _ = i 6201 var l int 6202 _ = l 6203 if m.XXX_unrecognized != nil { 6204 i -= len(m.XXX_unrecognized) 6205 copy(dAtA[i:], m.XXX_unrecognized) 6206 } 6207 if m.Value == nil { 6208 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("value") 6209 } else { 6210 i -= len(*m.Value) 6211 copy(dAtA[i:], *m.Value) 6212 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Value))) 6213 i-- 6214 dAtA[i] = 0x12 6215 } 6216 if m.Name == nil { 6217 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6218 } else { 6219 i -= len(*m.Name) 6220 copy(dAtA[i:], *m.Name) 6221 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6222 i-- 6223 dAtA[i] = 0xa 6224 } 6225 return len(dAtA) - i, nil 6226 } 6227 6228 func (m *ResourceActionRunRequest) Marshal() (dAtA []byte, err error) { 6229 size := m.Size() 6230 dAtA = make([]byte, size) 6231 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6232 if err != nil { 6233 return nil, err 6234 } 6235 return dAtA[:n], nil 6236 } 6237 6238 func (m *ResourceActionRunRequest) MarshalTo(dAtA []byte) (int, error) { 6239 size := m.Size() 6240 return m.MarshalToSizedBuffer(dAtA[:size]) 6241 } 6242 6243 func (m *ResourceActionRunRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6244 i := len(dAtA) 6245 _ = i 6246 var l int 6247 _ = l 6248 if m.XXX_unrecognized != nil { 6249 i -= len(m.XXX_unrecognized) 6250 copy(dAtA[i:], m.XXX_unrecognized) 6251 } 6252 if m.Project != nil { 6253 i -= len(*m.Project) 6254 copy(dAtA[i:], *m.Project) 6255 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6256 i-- 6257 dAtA[i] = 0x4a 6258 } 6259 if m.AppNamespace != nil { 6260 i -= len(*m.AppNamespace) 6261 copy(dAtA[i:], *m.AppNamespace) 6262 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6263 i-- 6264 dAtA[i] = 0x42 6265 } 6266 if m.Action == nil { 6267 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") 6268 } else { 6269 i -= len(*m.Action) 6270 copy(dAtA[i:], *m.Action) 6271 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Action))) 6272 i-- 6273 dAtA[i] = 0x3a 6274 } 6275 if m.Kind == nil { 6276 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 6277 } else { 6278 i -= len(*m.Kind) 6279 copy(dAtA[i:], *m.Kind) 6280 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6281 i-- 6282 dAtA[i] = 0x32 6283 } 6284 if m.Group != nil { 6285 i -= len(*m.Group) 6286 copy(dAtA[i:], *m.Group) 6287 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 6288 i-- 6289 dAtA[i] = 0x2a 6290 } 6291 if m.Version == nil { 6292 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 6293 } else { 6294 i -= len(*m.Version) 6295 copy(dAtA[i:], *m.Version) 6296 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 6297 i-- 6298 dAtA[i] = 0x22 6299 } 6300 if m.ResourceName == nil { 6301 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 6302 } else { 6303 i -= len(*m.ResourceName) 6304 copy(dAtA[i:], *m.ResourceName) 6305 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 6306 i-- 6307 dAtA[i] = 0x1a 6308 } 6309 if m.Namespace != nil { 6310 i -= len(*m.Namespace) 6311 copy(dAtA[i:], *m.Namespace) 6312 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6313 i-- 6314 dAtA[i] = 0x12 6315 } 6316 if m.Name == nil { 6317 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6318 } else { 6319 i -= len(*m.Name) 6320 copy(dAtA[i:], *m.Name) 6321 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6322 i-- 6323 dAtA[i] = 0xa 6324 } 6325 return len(dAtA) - i, nil 6326 } 6327 6328 func (m *ResourceActionRunRequestV2) Marshal() (dAtA []byte, err error) { 6329 size := m.Size() 6330 dAtA = make([]byte, size) 6331 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6332 if err != nil { 6333 return nil, err 6334 } 6335 return dAtA[:n], nil 6336 } 6337 6338 func (m *ResourceActionRunRequestV2) MarshalTo(dAtA []byte) (int, error) { 6339 size := m.Size() 6340 return m.MarshalToSizedBuffer(dAtA[:size]) 6341 } 6342 6343 func (m *ResourceActionRunRequestV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6344 i := len(dAtA) 6345 _ = i 6346 var l int 6347 _ = l 6348 if m.XXX_unrecognized != nil { 6349 i -= len(m.XXX_unrecognized) 6350 copy(dAtA[i:], m.XXX_unrecognized) 6351 } 6352 if len(m.ResourceActionParameters) > 0 { 6353 for iNdEx := len(m.ResourceActionParameters) - 1; iNdEx >= 0; iNdEx-- { 6354 { 6355 size, err := m.ResourceActionParameters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6356 if err != nil { 6357 return 0, err 6358 } 6359 i -= size 6360 i = encodeVarintApplication(dAtA, i, uint64(size)) 6361 } 6362 i-- 6363 dAtA[i] = 0x52 6364 } 6365 } 6366 if m.Project != nil { 6367 i -= len(*m.Project) 6368 copy(dAtA[i:], *m.Project) 6369 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6370 i-- 6371 dAtA[i] = 0x4a 6372 } 6373 if m.AppNamespace != nil { 6374 i -= len(*m.AppNamespace) 6375 copy(dAtA[i:], *m.AppNamespace) 6376 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6377 i-- 6378 dAtA[i] = 0x42 6379 } 6380 if m.Action == nil { 6381 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") 6382 } else { 6383 i -= len(*m.Action) 6384 copy(dAtA[i:], *m.Action) 6385 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Action))) 6386 i-- 6387 dAtA[i] = 0x3a 6388 } 6389 if m.Kind == nil { 6390 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 6391 } else { 6392 i -= len(*m.Kind) 6393 copy(dAtA[i:], *m.Kind) 6394 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6395 i-- 6396 dAtA[i] = 0x32 6397 } 6398 if m.Group != nil { 6399 i -= len(*m.Group) 6400 copy(dAtA[i:], *m.Group) 6401 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 6402 i-- 6403 dAtA[i] = 0x2a 6404 } 6405 if m.Version == nil { 6406 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 6407 } else { 6408 i -= len(*m.Version) 6409 copy(dAtA[i:], *m.Version) 6410 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 6411 i-- 6412 dAtA[i] = 0x22 6413 } 6414 if m.ResourceName == nil { 6415 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 6416 } else { 6417 i -= len(*m.ResourceName) 6418 copy(dAtA[i:], *m.ResourceName) 6419 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 6420 i-- 6421 dAtA[i] = 0x1a 6422 } 6423 if m.Namespace != nil { 6424 i -= len(*m.Namespace) 6425 copy(dAtA[i:], *m.Namespace) 6426 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6427 i-- 6428 dAtA[i] = 0x12 6429 } 6430 if m.Name == nil { 6431 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6432 } else { 6433 i -= len(*m.Name) 6434 copy(dAtA[i:], *m.Name) 6435 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6436 i-- 6437 dAtA[i] = 0xa 6438 } 6439 return len(dAtA) - i, nil 6440 } 6441 6442 func (m *ResourceActionsListResponse) Marshal() (dAtA []byte, err error) { 6443 size := m.Size() 6444 dAtA = make([]byte, size) 6445 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6446 if err != nil { 6447 return nil, err 6448 } 6449 return dAtA[:n], nil 6450 } 6451 6452 func (m *ResourceActionsListResponse) MarshalTo(dAtA []byte) (int, error) { 6453 size := m.Size() 6454 return m.MarshalToSizedBuffer(dAtA[:size]) 6455 } 6456 6457 func (m *ResourceActionsListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6458 i := len(dAtA) 6459 _ = i 6460 var l int 6461 _ = l 6462 if m.XXX_unrecognized != nil { 6463 i -= len(m.XXX_unrecognized) 6464 copy(dAtA[i:], m.XXX_unrecognized) 6465 } 6466 if len(m.Actions) > 0 { 6467 for iNdEx := len(m.Actions) - 1; iNdEx >= 0; iNdEx-- { 6468 { 6469 size, err := m.Actions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6470 if err != nil { 6471 return 0, err 6472 } 6473 i -= size 6474 i = encodeVarintApplication(dAtA, i, uint64(size)) 6475 } 6476 i-- 6477 dAtA[i] = 0xa 6478 } 6479 } 6480 return len(dAtA) - i, nil 6481 } 6482 6483 func (m *ApplicationResourceResponse) Marshal() (dAtA []byte, err error) { 6484 size := m.Size() 6485 dAtA = make([]byte, size) 6486 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6487 if err != nil { 6488 return nil, err 6489 } 6490 return dAtA[:n], nil 6491 } 6492 6493 func (m *ApplicationResourceResponse) MarshalTo(dAtA []byte) (int, error) { 6494 size := m.Size() 6495 return m.MarshalToSizedBuffer(dAtA[:size]) 6496 } 6497 6498 func (m *ApplicationResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6499 i := len(dAtA) 6500 _ = i 6501 var l int 6502 _ = l 6503 if m.XXX_unrecognized != nil { 6504 i -= len(m.XXX_unrecognized) 6505 copy(dAtA[i:], m.XXX_unrecognized) 6506 } 6507 if m.Manifest == nil { 6508 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest") 6509 } else { 6510 i -= len(*m.Manifest) 6511 copy(dAtA[i:], *m.Manifest) 6512 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Manifest))) 6513 i-- 6514 dAtA[i] = 0xa 6515 } 6516 return len(dAtA) - i, nil 6517 } 6518 6519 func (m *ApplicationPodLogsQuery) Marshal() (dAtA []byte, err error) { 6520 size := m.Size() 6521 dAtA = make([]byte, size) 6522 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6523 if err != nil { 6524 return nil, err 6525 } 6526 return dAtA[:n], nil 6527 } 6528 6529 func (m *ApplicationPodLogsQuery) MarshalTo(dAtA []byte) (int, error) { 6530 size := m.Size() 6531 return m.MarshalToSizedBuffer(dAtA[:size]) 6532 } 6533 6534 func (m *ApplicationPodLogsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6535 i := len(dAtA) 6536 _ = i 6537 var l int 6538 _ = l 6539 if m.XXX_unrecognized != nil { 6540 i -= len(m.XXX_unrecognized) 6541 copy(dAtA[i:], m.XXX_unrecognized) 6542 } 6543 if m.MatchCase != nil { 6544 i-- 6545 if *m.MatchCase { 6546 dAtA[i] = 1 6547 } else { 6548 dAtA[i] = 0 6549 } 6550 i-- 6551 dAtA[i] = 0x1 6552 i-- 6553 dAtA[i] = 0x88 6554 } 6555 if m.Project != nil { 6556 i -= len(*m.Project) 6557 copy(dAtA[i:], *m.Project) 6558 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6559 i-- 6560 dAtA[i] = 0x1 6561 i-- 6562 dAtA[i] = 0x82 6563 } 6564 if m.AppNamespace != nil { 6565 i -= len(*m.AppNamespace) 6566 copy(dAtA[i:], *m.AppNamespace) 6567 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6568 i-- 6569 dAtA[i] = 0x7a 6570 } 6571 if m.Previous != nil { 6572 i-- 6573 if *m.Previous { 6574 dAtA[i] = 1 6575 } else { 6576 dAtA[i] = 0 6577 } 6578 i-- 6579 dAtA[i] = 0x70 6580 } 6581 if m.ResourceName != nil { 6582 i -= len(*m.ResourceName) 6583 copy(dAtA[i:], *m.ResourceName) 6584 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 6585 i-- 6586 dAtA[i] = 0x6a 6587 } 6588 if m.Group != nil { 6589 i -= len(*m.Group) 6590 copy(dAtA[i:], *m.Group) 6591 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 6592 i-- 6593 dAtA[i] = 0x62 6594 } 6595 if m.Kind != nil { 6596 i -= len(*m.Kind) 6597 copy(dAtA[i:], *m.Kind) 6598 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6599 i-- 6600 dAtA[i] = 0x5a 6601 } 6602 if m.Filter != nil { 6603 i -= len(*m.Filter) 6604 copy(dAtA[i:], *m.Filter) 6605 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Filter))) 6606 i-- 6607 dAtA[i] = 0x52 6608 } 6609 if m.UntilTime != nil { 6610 i -= len(*m.UntilTime) 6611 copy(dAtA[i:], *m.UntilTime) 6612 i = encodeVarintApplication(dAtA, i, uint64(len(*m.UntilTime))) 6613 i-- 6614 dAtA[i] = 0x4a 6615 } 6616 if m.Follow != nil { 6617 i-- 6618 if *m.Follow { 6619 dAtA[i] = 1 6620 } else { 6621 dAtA[i] = 0 6622 } 6623 i-- 6624 dAtA[i] = 0x40 6625 } 6626 if m.TailLines != nil { 6627 i = encodeVarintApplication(dAtA, i, uint64(*m.TailLines)) 6628 i-- 6629 dAtA[i] = 0x38 6630 } 6631 if m.SinceTime != nil { 6632 { 6633 size, err := m.SinceTime.MarshalToSizedBuffer(dAtA[:i]) 6634 if err != nil { 6635 return 0, err 6636 } 6637 i -= size 6638 i = encodeVarintApplication(dAtA, i, uint64(size)) 6639 } 6640 i-- 6641 dAtA[i] = 0x32 6642 } 6643 if m.SinceSeconds != nil { 6644 i = encodeVarintApplication(dAtA, i, uint64(*m.SinceSeconds)) 6645 i-- 6646 dAtA[i] = 0x28 6647 } 6648 if m.Container != nil { 6649 i -= len(*m.Container) 6650 copy(dAtA[i:], *m.Container) 6651 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Container))) 6652 i-- 6653 dAtA[i] = 0x22 6654 } 6655 if m.PodName != nil { 6656 i -= len(*m.PodName) 6657 copy(dAtA[i:], *m.PodName) 6658 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName))) 6659 i-- 6660 dAtA[i] = 0x1a 6661 } 6662 if m.Namespace != nil { 6663 i -= len(*m.Namespace) 6664 copy(dAtA[i:], *m.Namespace) 6665 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6666 i-- 6667 dAtA[i] = 0x12 6668 } 6669 if m.Name == nil { 6670 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6671 } else { 6672 i -= len(*m.Name) 6673 copy(dAtA[i:], *m.Name) 6674 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6675 i-- 6676 dAtA[i] = 0xa 6677 } 6678 return len(dAtA) - i, nil 6679 } 6680 6681 func (m *LogEntry) Marshal() (dAtA []byte, err error) { 6682 size := m.Size() 6683 dAtA = make([]byte, size) 6684 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6685 if err != nil { 6686 return nil, err 6687 } 6688 return dAtA[:n], nil 6689 } 6690 6691 func (m *LogEntry) MarshalTo(dAtA []byte) (int, error) { 6692 size := m.Size() 6693 return m.MarshalToSizedBuffer(dAtA[:size]) 6694 } 6695 6696 func (m *LogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6697 i := len(dAtA) 6698 _ = i 6699 var l int 6700 _ = l 6701 if m.XXX_unrecognized != nil { 6702 i -= len(m.XXX_unrecognized) 6703 copy(dAtA[i:], m.XXX_unrecognized) 6704 } 6705 if m.PodName == nil { 6706 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName") 6707 } else { 6708 i -= len(*m.PodName) 6709 copy(dAtA[i:], *m.PodName) 6710 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName))) 6711 i-- 6712 dAtA[i] = 0x2a 6713 } 6714 if m.TimeStampStr == nil { 6715 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStampStr") 6716 } else { 6717 i -= len(*m.TimeStampStr) 6718 copy(dAtA[i:], *m.TimeStampStr) 6719 i = encodeVarintApplication(dAtA, i, uint64(len(*m.TimeStampStr))) 6720 i-- 6721 dAtA[i] = 0x22 6722 } 6723 if m.Last == nil { 6724 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("last") 6725 } else { 6726 i-- 6727 if *m.Last { 6728 dAtA[i] = 1 6729 } else { 6730 dAtA[i] = 0 6731 } 6732 i-- 6733 dAtA[i] = 0x18 6734 } 6735 if m.TimeStamp == nil { 6736 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp") 6737 } else { 6738 { 6739 size, err := m.TimeStamp.MarshalToSizedBuffer(dAtA[:i]) 6740 if err != nil { 6741 return 0, err 6742 } 6743 i -= size 6744 i = encodeVarintApplication(dAtA, i, uint64(size)) 6745 } 6746 i-- 6747 dAtA[i] = 0x12 6748 } 6749 if m.Content == nil { 6750 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("content") 6751 } else { 6752 i -= len(*m.Content) 6753 copy(dAtA[i:], *m.Content) 6754 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Content))) 6755 i-- 6756 dAtA[i] = 0xa 6757 } 6758 return len(dAtA) - i, nil 6759 } 6760 6761 func (m *OperationTerminateRequest) Marshal() (dAtA []byte, err error) { 6762 size := m.Size() 6763 dAtA = make([]byte, size) 6764 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6765 if err != nil { 6766 return nil, err 6767 } 6768 return dAtA[:n], nil 6769 } 6770 6771 func (m *OperationTerminateRequest) MarshalTo(dAtA []byte) (int, error) { 6772 size := m.Size() 6773 return m.MarshalToSizedBuffer(dAtA[:size]) 6774 } 6775 6776 func (m *OperationTerminateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6777 i := len(dAtA) 6778 _ = i 6779 var l int 6780 _ = l 6781 if m.XXX_unrecognized != nil { 6782 i -= len(m.XXX_unrecognized) 6783 copy(dAtA[i:], m.XXX_unrecognized) 6784 } 6785 if m.Project != nil { 6786 i -= len(*m.Project) 6787 copy(dAtA[i:], *m.Project) 6788 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6789 i-- 6790 dAtA[i] = 0x1a 6791 } 6792 if m.AppNamespace != nil { 6793 i -= len(*m.AppNamespace) 6794 copy(dAtA[i:], *m.AppNamespace) 6795 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6796 i-- 6797 dAtA[i] = 0x12 6798 } 6799 if m.Name == nil { 6800 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6801 } else { 6802 i -= len(*m.Name) 6803 copy(dAtA[i:], *m.Name) 6804 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6805 i-- 6806 dAtA[i] = 0xa 6807 } 6808 return len(dAtA) - i, nil 6809 } 6810 6811 func (m *ApplicationSyncWindowsQuery) Marshal() (dAtA []byte, err error) { 6812 size := m.Size() 6813 dAtA = make([]byte, size) 6814 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6815 if err != nil { 6816 return nil, err 6817 } 6818 return dAtA[:n], nil 6819 } 6820 6821 func (m *ApplicationSyncWindowsQuery) MarshalTo(dAtA []byte) (int, error) { 6822 size := m.Size() 6823 return m.MarshalToSizedBuffer(dAtA[:size]) 6824 } 6825 6826 func (m *ApplicationSyncWindowsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6827 i := len(dAtA) 6828 _ = i 6829 var l int 6830 _ = l 6831 if m.XXX_unrecognized != nil { 6832 i -= len(m.XXX_unrecognized) 6833 copy(dAtA[i:], m.XXX_unrecognized) 6834 } 6835 if m.Project != nil { 6836 i -= len(*m.Project) 6837 copy(dAtA[i:], *m.Project) 6838 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6839 i-- 6840 dAtA[i] = 0x1a 6841 } 6842 if m.AppNamespace != nil { 6843 i -= len(*m.AppNamespace) 6844 copy(dAtA[i:], *m.AppNamespace) 6845 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6846 i-- 6847 dAtA[i] = 0x12 6848 } 6849 if m.Name == nil { 6850 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6851 } else { 6852 i -= len(*m.Name) 6853 copy(dAtA[i:], *m.Name) 6854 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6855 i-- 6856 dAtA[i] = 0xa 6857 } 6858 return len(dAtA) - i, nil 6859 } 6860 6861 func (m *ApplicationSyncWindowsResponse) Marshal() (dAtA []byte, err error) { 6862 size := m.Size() 6863 dAtA = make([]byte, size) 6864 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6865 if err != nil { 6866 return nil, err 6867 } 6868 return dAtA[:n], nil 6869 } 6870 6871 func (m *ApplicationSyncWindowsResponse) MarshalTo(dAtA []byte) (int, error) { 6872 size := m.Size() 6873 return m.MarshalToSizedBuffer(dAtA[:size]) 6874 } 6875 6876 func (m *ApplicationSyncWindowsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6877 i := len(dAtA) 6878 _ = i 6879 var l int 6880 _ = l 6881 if m.XXX_unrecognized != nil { 6882 i -= len(m.XXX_unrecognized) 6883 copy(dAtA[i:], m.XXX_unrecognized) 6884 } 6885 if m.CanSync == nil { 6886 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("canSync") 6887 } else { 6888 i-- 6889 if *m.CanSync { 6890 dAtA[i] = 1 6891 } else { 6892 dAtA[i] = 0 6893 } 6894 i-- 6895 dAtA[i] = 0x18 6896 } 6897 if len(m.AssignedWindows) > 0 { 6898 for iNdEx := len(m.AssignedWindows) - 1; iNdEx >= 0; iNdEx-- { 6899 { 6900 size, err := m.AssignedWindows[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6901 if err != nil { 6902 return 0, err 6903 } 6904 i -= size 6905 i = encodeVarintApplication(dAtA, i, uint64(size)) 6906 } 6907 i-- 6908 dAtA[i] = 0x12 6909 } 6910 } 6911 if len(m.ActiveWindows) > 0 { 6912 for iNdEx := len(m.ActiveWindows) - 1; iNdEx >= 0; iNdEx-- { 6913 { 6914 size, err := m.ActiveWindows[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6915 if err != nil { 6916 return 0, err 6917 } 6918 i -= size 6919 i = encodeVarintApplication(dAtA, i, uint64(size)) 6920 } 6921 i-- 6922 dAtA[i] = 0xa 6923 } 6924 } 6925 return len(dAtA) - i, nil 6926 } 6927 6928 func (m *ApplicationSyncWindow) Marshal() (dAtA []byte, err error) { 6929 size := m.Size() 6930 dAtA = make([]byte, size) 6931 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6932 if err != nil { 6933 return nil, err 6934 } 6935 return dAtA[:n], nil 6936 } 6937 6938 func (m *ApplicationSyncWindow) MarshalTo(dAtA []byte) (int, error) { 6939 size := m.Size() 6940 return m.MarshalToSizedBuffer(dAtA[:size]) 6941 } 6942 6943 func (m *ApplicationSyncWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6944 i := len(dAtA) 6945 _ = i 6946 var l int 6947 _ = l 6948 if m.XXX_unrecognized != nil { 6949 i -= len(m.XXX_unrecognized) 6950 copy(dAtA[i:], m.XXX_unrecognized) 6951 } 6952 if m.ManualSync == nil { 6953 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("manualSync") 6954 } else { 6955 i-- 6956 if *m.ManualSync { 6957 dAtA[i] = 1 6958 } else { 6959 dAtA[i] = 0 6960 } 6961 i-- 6962 dAtA[i] = 0x20 6963 } 6964 if m.Duration == nil { 6965 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration") 6966 } else { 6967 i -= len(*m.Duration) 6968 copy(dAtA[i:], *m.Duration) 6969 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Duration))) 6970 i-- 6971 dAtA[i] = 0x1a 6972 } 6973 if m.Schedule == nil { 6974 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("schedule") 6975 } else { 6976 i -= len(*m.Schedule) 6977 copy(dAtA[i:], *m.Schedule) 6978 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Schedule))) 6979 i-- 6980 dAtA[i] = 0x12 6981 } 6982 if m.Kind == nil { 6983 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 6984 } else { 6985 i -= len(*m.Kind) 6986 copy(dAtA[i:], *m.Kind) 6987 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6988 i-- 6989 dAtA[i] = 0xa 6990 } 6991 return len(dAtA) - i, nil 6992 } 6993 6994 func (m *OperationTerminateResponse) Marshal() (dAtA []byte, err error) { 6995 size := m.Size() 6996 dAtA = make([]byte, size) 6997 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6998 if err != nil { 6999 return nil, err 7000 } 7001 return dAtA[:n], nil 7002 } 7003 7004 func (m *OperationTerminateResponse) MarshalTo(dAtA []byte) (int, error) { 7005 size := m.Size() 7006 return m.MarshalToSizedBuffer(dAtA[:size]) 7007 } 7008 7009 func (m *OperationTerminateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7010 i := len(dAtA) 7011 _ = i 7012 var l int 7013 _ = l 7014 if m.XXX_unrecognized != nil { 7015 i -= len(m.XXX_unrecognized) 7016 copy(dAtA[i:], m.XXX_unrecognized) 7017 } 7018 return len(dAtA) - i, nil 7019 } 7020 7021 func (m *ResourcesQuery) Marshal() (dAtA []byte, err error) { 7022 size := m.Size() 7023 dAtA = make([]byte, size) 7024 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7025 if err != nil { 7026 return nil, err 7027 } 7028 return dAtA[:n], nil 7029 } 7030 7031 func (m *ResourcesQuery) MarshalTo(dAtA []byte) (int, error) { 7032 size := m.Size() 7033 return m.MarshalToSizedBuffer(dAtA[:size]) 7034 } 7035 7036 func (m *ResourcesQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7037 i := len(dAtA) 7038 _ = i 7039 var l int 7040 _ = l 7041 if m.XXX_unrecognized != nil { 7042 i -= len(m.XXX_unrecognized) 7043 copy(dAtA[i:], m.XXX_unrecognized) 7044 } 7045 if m.Project != nil { 7046 i -= len(*m.Project) 7047 copy(dAtA[i:], *m.Project) 7048 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 7049 i-- 7050 dAtA[i] = 0x42 7051 } 7052 if m.AppNamespace != nil { 7053 i -= len(*m.AppNamespace) 7054 copy(dAtA[i:], *m.AppNamespace) 7055 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 7056 i-- 7057 dAtA[i] = 0x3a 7058 } 7059 if m.Kind != nil { 7060 i -= len(*m.Kind) 7061 copy(dAtA[i:], *m.Kind) 7062 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 7063 i-- 7064 dAtA[i] = 0x32 7065 } 7066 if m.Group != nil { 7067 i -= len(*m.Group) 7068 copy(dAtA[i:], *m.Group) 7069 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 7070 i-- 7071 dAtA[i] = 0x2a 7072 } 7073 if m.Version != nil { 7074 i -= len(*m.Version) 7075 copy(dAtA[i:], *m.Version) 7076 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 7077 i-- 7078 dAtA[i] = 0x22 7079 } 7080 if m.Name != nil { 7081 i -= len(*m.Name) 7082 copy(dAtA[i:], *m.Name) 7083 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 7084 i-- 7085 dAtA[i] = 0x1a 7086 } 7087 if m.Namespace != nil { 7088 i -= len(*m.Namespace) 7089 copy(dAtA[i:], *m.Namespace) 7090 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 7091 i-- 7092 dAtA[i] = 0x12 7093 } 7094 if m.ApplicationName == nil { 7095 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName") 7096 } else { 7097 i -= len(*m.ApplicationName) 7098 copy(dAtA[i:], *m.ApplicationName) 7099 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ApplicationName))) 7100 i-- 7101 dAtA[i] = 0xa 7102 } 7103 return len(dAtA) - i, nil 7104 } 7105 7106 func (m *ManagedResourcesResponse) Marshal() (dAtA []byte, err error) { 7107 size := m.Size() 7108 dAtA = make([]byte, size) 7109 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7110 if err != nil { 7111 return nil, err 7112 } 7113 return dAtA[:n], nil 7114 } 7115 7116 func (m *ManagedResourcesResponse) MarshalTo(dAtA []byte) (int, error) { 7117 size := m.Size() 7118 return m.MarshalToSizedBuffer(dAtA[:size]) 7119 } 7120 7121 func (m *ManagedResourcesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7122 i := len(dAtA) 7123 _ = i 7124 var l int 7125 _ = l 7126 if m.XXX_unrecognized != nil { 7127 i -= len(m.XXX_unrecognized) 7128 copy(dAtA[i:], m.XXX_unrecognized) 7129 } 7130 if len(m.Items) > 0 { 7131 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 7132 { 7133 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 7134 if err != nil { 7135 return 0, err 7136 } 7137 i -= size 7138 i = encodeVarintApplication(dAtA, i, uint64(size)) 7139 } 7140 i-- 7141 dAtA[i] = 0xa 7142 } 7143 } 7144 return len(dAtA) - i, nil 7145 } 7146 7147 func (m *ApplicationServerSideDiffQuery) Marshal() (dAtA []byte, err error) { 7148 size := m.Size() 7149 dAtA = make([]byte, size) 7150 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7151 if err != nil { 7152 return nil, err 7153 } 7154 return dAtA[:n], nil 7155 } 7156 7157 func (m *ApplicationServerSideDiffQuery) MarshalTo(dAtA []byte) (int, error) { 7158 size := m.Size() 7159 return m.MarshalToSizedBuffer(dAtA[:size]) 7160 } 7161 7162 func (m *ApplicationServerSideDiffQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7163 i := len(dAtA) 7164 _ = i 7165 var l int 7166 _ = l 7167 if m.XXX_unrecognized != nil { 7168 i -= len(m.XXX_unrecognized) 7169 copy(dAtA[i:], m.XXX_unrecognized) 7170 } 7171 if len(m.TargetManifests) > 0 { 7172 for iNdEx := len(m.TargetManifests) - 1; iNdEx >= 0; iNdEx-- { 7173 i -= len(m.TargetManifests[iNdEx]) 7174 copy(dAtA[i:], m.TargetManifests[iNdEx]) 7175 i = encodeVarintApplication(dAtA, i, uint64(len(m.TargetManifests[iNdEx]))) 7176 i-- 7177 dAtA[i] = 0x2a 7178 } 7179 } 7180 if len(m.LiveResources) > 0 { 7181 for iNdEx := len(m.LiveResources) - 1; iNdEx >= 0; iNdEx-- { 7182 { 7183 size, err := m.LiveResources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 7184 if err != nil { 7185 return 0, err 7186 } 7187 i -= size 7188 i = encodeVarintApplication(dAtA, i, uint64(size)) 7189 } 7190 i-- 7191 dAtA[i] = 0x22 7192 } 7193 } 7194 if m.Project != nil { 7195 i -= len(*m.Project) 7196 copy(dAtA[i:], *m.Project) 7197 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 7198 i-- 7199 dAtA[i] = 0x1a 7200 } 7201 if m.AppNamespace != nil { 7202 i -= len(*m.AppNamespace) 7203 copy(dAtA[i:], *m.AppNamespace) 7204 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 7205 i-- 7206 dAtA[i] = 0x12 7207 } 7208 if m.AppName == nil { 7209 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("appName") 7210 } else { 7211 i -= len(*m.AppName) 7212 copy(dAtA[i:], *m.AppName) 7213 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppName))) 7214 i-- 7215 dAtA[i] = 0xa 7216 } 7217 return len(dAtA) - i, nil 7218 } 7219 7220 func (m *ApplicationServerSideDiffResponse) Marshal() (dAtA []byte, err error) { 7221 size := m.Size() 7222 dAtA = make([]byte, size) 7223 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7224 if err != nil { 7225 return nil, err 7226 } 7227 return dAtA[:n], nil 7228 } 7229 7230 func (m *ApplicationServerSideDiffResponse) MarshalTo(dAtA []byte) (int, error) { 7231 size := m.Size() 7232 return m.MarshalToSizedBuffer(dAtA[:size]) 7233 } 7234 7235 func (m *ApplicationServerSideDiffResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7236 i := len(dAtA) 7237 _ = i 7238 var l int 7239 _ = l 7240 if m.XXX_unrecognized != nil { 7241 i -= len(m.XXX_unrecognized) 7242 copy(dAtA[i:], m.XXX_unrecognized) 7243 } 7244 if m.Modified == nil { 7245 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("modified") 7246 } else { 7247 i-- 7248 if *m.Modified { 7249 dAtA[i] = 1 7250 } else { 7251 dAtA[i] = 0 7252 } 7253 i-- 7254 dAtA[i] = 0x10 7255 } 7256 if len(m.Items) > 0 { 7257 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 7258 { 7259 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 7260 if err != nil { 7261 return 0, err 7262 } 7263 i -= size 7264 i = encodeVarintApplication(dAtA, i, uint64(size)) 7265 } 7266 i-- 7267 dAtA[i] = 0xa 7268 } 7269 } 7270 return len(dAtA) - i, nil 7271 } 7272 7273 func (m *LinkInfo) Marshal() (dAtA []byte, err error) { 7274 size := m.Size() 7275 dAtA = make([]byte, size) 7276 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7277 if err != nil { 7278 return nil, err 7279 } 7280 return dAtA[:n], nil 7281 } 7282 7283 func (m *LinkInfo) MarshalTo(dAtA []byte) (int, error) { 7284 size := m.Size() 7285 return m.MarshalToSizedBuffer(dAtA[:size]) 7286 } 7287 7288 func (m *LinkInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7289 i := len(dAtA) 7290 _ = i 7291 var l int 7292 _ = l 7293 if m.XXX_unrecognized != nil { 7294 i -= len(m.XXX_unrecognized) 7295 copy(dAtA[i:], m.XXX_unrecognized) 7296 } 7297 if m.IconClass != nil { 7298 i -= len(*m.IconClass) 7299 copy(dAtA[i:], *m.IconClass) 7300 i = encodeVarintApplication(dAtA, i, uint64(len(*m.IconClass))) 7301 i-- 7302 dAtA[i] = 0x22 7303 } 7304 if m.Description != nil { 7305 i -= len(*m.Description) 7306 copy(dAtA[i:], *m.Description) 7307 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Description))) 7308 i-- 7309 dAtA[i] = 0x1a 7310 } 7311 if m.Url == nil { 7312 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("url") 7313 } else { 7314 i -= len(*m.Url) 7315 copy(dAtA[i:], *m.Url) 7316 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Url))) 7317 i-- 7318 dAtA[i] = 0x12 7319 } 7320 if m.Title == nil { 7321 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("title") 7322 } else { 7323 i -= len(*m.Title) 7324 copy(dAtA[i:], *m.Title) 7325 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Title))) 7326 i-- 7327 dAtA[i] = 0xa 7328 } 7329 return len(dAtA) - i, nil 7330 } 7331 7332 func (m *LinksResponse) Marshal() (dAtA []byte, err error) { 7333 size := m.Size() 7334 dAtA = make([]byte, size) 7335 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7336 if err != nil { 7337 return nil, err 7338 } 7339 return dAtA[:n], nil 7340 } 7341 7342 func (m *LinksResponse) MarshalTo(dAtA []byte) (int, error) { 7343 size := m.Size() 7344 return m.MarshalToSizedBuffer(dAtA[:size]) 7345 } 7346 7347 func (m *LinksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7348 i := len(dAtA) 7349 _ = i 7350 var l int 7351 _ = l 7352 if m.XXX_unrecognized != nil { 7353 i -= len(m.XXX_unrecognized) 7354 copy(dAtA[i:], m.XXX_unrecognized) 7355 } 7356 if len(m.Items) > 0 { 7357 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 7358 { 7359 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 7360 if err != nil { 7361 return 0, err 7362 } 7363 i -= size 7364 i = encodeVarintApplication(dAtA, i, uint64(size)) 7365 } 7366 i-- 7367 dAtA[i] = 0xa 7368 } 7369 } 7370 return len(dAtA) - i, nil 7371 } 7372 7373 func (m *ListAppLinksRequest) Marshal() (dAtA []byte, err error) { 7374 size := m.Size() 7375 dAtA = make([]byte, size) 7376 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 7377 if err != nil { 7378 return nil, err 7379 } 7380 return dAtA[:n], nil 7381 } 7382 7383 func (m *ListAppLinksRequest) MarshalTo(dAtA []byte) (int, error) { 7384 size := m.Size() 7385 return m.MarshalToSizedBuffer(dAtA[:size]) 7386 } 7387 7388 func (m *ListAppLinksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 7389 i := len(dAtA) 7390 _ = i 7391 var l int 7392 _ = l 7393 if m.XXX_unrecognized != nil { 7394 i -= len(m.XXX_unrecognized) 7395 copy(dAtA[i:], m.XXX_unrecognized) 7396 } 7397 if m.Project != nil { 7398 i -= len(*m.Project) 7399 copy(dAtA[i:], *m.Project) 7400 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 7401 i-- 7402 dAtA[i] = 0x22 7403 } 7404 if m.Namespace != nil { 7405 i -= len(*m.Namespace) 7406 copy(dAtA[i:], *m.Namespace) 7407 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 7408 i-- 7409 dAtA[i] = 0x1a 7410 } 7411 if m.Name == nil { 7412 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 7413 } else { 7414 i -= len(*m.Name) 7415 copy(dAtA[i:], *m.Name) 7416 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 7417 i-- 7418 dAtA[i] = 0xa 7419 } 7420 return len(dAtA) - i, nil 7421 } 7422 7423 func encodeVarintApplication(dAtA []byte, offset int, v uint64) int { 7424 offset -= sovApplication(v) 7425 base := offset 7426 for v >= 1<<7 { 7427 dAtA[offset] = uint8(v&0x7f | 0x80) 7428 v >>= 7 7429 offset++ 7430 } 7431 dAtA[offset] = uint8(v) 7432 return base 7433 } 7434 func (m *ApplicationQuery) Size() (n int) { 7435 if m == nil { 7436 return 0 7437 } 7438 var l int 7439 _ = l 7440 if m.Name != nil { 7441 l = len(*m.Name) 7442 n += 1 + l + sovApplication(uint64(l)) 7443 } 7444 if m.Refresh != nil { 7445 l = len(*m.Refresh) 7446 n += 1 + l + sovApplication(uint64(l)) 7447 } 7448 if len(m.Projects) > 0 { 7449 for _, s := range m.Projects { 7450 l = len(s) 7451 n += 1 + l + sovApplication(uint64(l)) 7452 } 7453 } 7454 if m.ResourceVersion != nil { 7455 l = len(*m.ResourceVersion) 7456 n += 1 + l + sovApplication(uint64(l)) 7457 } 7458 if m.Selector != nil { 7459 l = len(*m.Selector) 7460 n += 1 + l + sovApplication(uint64(l)) 7461 } 7462 if m.Repo != nil { 7463 l = len(*m.Repo) 7464 n += 1 + l + sovApplication(uint64(l)) 7465 } 7466 if m.AppNamespace != nil { 7467 l = len(*m.AppNamespace) 7468 n += 1 + l + sovApplication(uint64(l)) 7469 } 7470 if len(m.Project) > 0 { 7471 for _, s := range m.Project { 7472 l = len(s) 7473 n += 1 + l + sovApplication(uint64(l)) 7474 } 7475 } 7476 if m.XXX_unrecognized != nil { 7477 n += len(m.XXX_unrecognized) 7478 } 7479 return n 7480 } 7481 7482 func (m *NodeQuery) Size() (n int) { 7483 if m == nil { 7484 return 0 7485 } 7486 var l int 7487 _ = l 7488 if m.Name != nil { 7489 l = len(*m.Name) 7490 n += 1 + l + sovApplication(uint64(l)) 7491 } 7492 if m.AppNamespace != nil { 7493 l = len(*m.AppNamespace) 7494 n += 1 + l + sovApplication(uint64(l)) 7495 } 7496 if m.XXX_unrecognized != nil { 7497 n += len(m.XXX_unrecognized) 7498 } 7499 return n 7500 } 7501 7502 func (m *RevisionMetadataQuery) Size() (n int) { 7503 if m == nil { 7504 return 0 7505 } 7506 var l int 7507 _ = l 7508 if m.Name != nil { 7509 l = len(*m.Name) 7510 n += 1 + l + sovApplication(uint64(l)) 7511 } 7512 if m.Revision != nil { 7513 l = len(*m.Revision) 7514 n += 1 + l + sovApplication(uint64(l)) 7515 } 7516 if m.AppNamespace != nil { 7517 l = len(*m.AppNamespace) 7518 n += 1 + l + sovApplication(uint64(l)) 7519 } 7520 if m.Project != nil { 7521 l = len(*m.Project) 7522 n += 1 + l + sovApplication(uint64(l)) 7523 } 7524 if m.SourceIndex != nil { 7525 n += 1 + sovApplication(uint64(*m.SourceIndex)) 7526 } 7527 if m.VersionId != nil { 7528 n += 1 + sovApplication(uint64(*m.VersionId)) 7529 } 7530 if m.XXX_unrecognized != nil { 7531 n += len(m.XXX_unrecognized) 7532 } 7533 return n 7534 } 7535 7536 func (m *ApplicationResourceEventsQuery) Size() (n int) { 7537 if m == nil { 7538 return 0 7539 } 7540 var l int 7541 _ = l 7542 if m.Name != nil { 7543 l = len(*m.Name) 7544 n += 1 + l + sovApplication(uint64(l)) 7545 } 7546 if m.ResourceNamespace != nil { 7547 l = len(*m.ResourceNamespace) 7548 n += 1 + l + sovApplication(uint64(l)) 7549 } 7550 if m.ResourceName != nil { 7551 l = len(*m.ResourceName) 7552 n += 1 + l + sovApplication(uint64(l)) 7553 } 7554 if m.ResourceUID != nil { 7555 l = len(*m.ResourceUID) 7556 n += 1 + l + sovApplication(uint64(l)) 7557 } 7558 if m.AppNamespace != nil { 7559 l = len(*m.AppNamespace) 7560 n += 1 + l + sovApplication(uint64(l)) 7561 } 7562 if m.Project != nil { 7563 l = len(*m.Project) 7564 n += 1 + l + sovApplication(uint64(l)) 7565 } 7566 if m.XXX_unrecognized != nil { 7567 n += len(m.XXX_unrecognized) 7568 } 7569 return n 7570 } 7571 7572 func (m *ApplicationManifestQuery) Size() (n int) { 7573 if m == nil { 7574 return 0 7575 } 7576 var l int 7577 _ = l 7578 if m.Name != nil { 7579 l = len(*m.Name) 7580 n += 1 + l + sovApplication(uint64(l)) 7581 } 7582 if m.Revision != nil { 7583 l = len(*m.Revision) 7584 n += 1 + l + sovApplication(uint64(l)) 7585 } 7586 if m.AppNamespace != nil { 7587 l = len(*m.AppNamespace) 7588 n += 1 + l + sovApplication(uint64(l)) 7589 } 7590 if m.Project != nil { 7591 l = len(*m.Project) 7592 n += 1 + l + sovApplication(uint64(l)) 7593 } 7594 if len(m.SourcePositions) > 0 { 7595 for _, e := range m.SourcePositions { 7596 n += 1 + sovApplication(uint64(e)) 7597 } 7598 } 7599 if len(m.Revisions) > 0 { 7600 for _, s := range m.Revisions { 7601 l = len(s) 7602 n += 1 + l + sovApplication(uint64(l)) 7603 } 7604 } 7605 if m.NoCache != nil { 7606 n += 2 7607 } 7608 if m.XXX_unrecognized != nil { 7609 n += len(m.XXX_unrecognized) 7610 } 7611 return n 7612 } 7613 7614 func (m *FileChunk) Size() (n int) { 7615 if m == nil { 7616 return 0 7617 } 7618 var l int 7619 _ = l 7620 if m.Chunk != nil { 7621 l = len(m.Chunk) 7622 n += 1 + l + sovApplication(uint64(l)) 7623 } 7624 if m.XXX_unrecognized != nil { 7625 n += len(m.XXX_unrecognized) 7626 } 7627 return n 7628 } 7629 7630 func (m *ApplicationManifestQueryWithFiles) Size() (n int) { 7631 if m == nil { 7632 return 0 7633 } 7634 var l int 7635 _ = l 7636 if m.Name != nil { 7637 l = len(*m.Name) 7638 n += 1 + l + sovApplication(uint64(l)) 7639 } 7640 if m.Checksum != nil { 7641 l = len(*m.Checksum) 7642 n += 1 + l + sovApplication(uint64(l)) 7643 } 7644 if m.AppNamespace != nil { 7645 l = len(*m.AppNamespace) 7646 n += 1 + l + sovApplication(uint64(l)) 7647 } 7648 if m.Project != nil { 7649 l = len(*m.Project) 7650 n += 1 + l + sovApplication(uint64(l)) 7651 } 7652 if m.XXX_unrecognized != nil { 7653 n += len(m.XXX_unrecognized) 7654 } 7655 return n 7656 } 7657 7658 func (m *ApplicationManifestQueryWithFilesWrapper) Size() (n int) { 7659 if m == nil { 7660 return 0 7661 } 7662 var l int 7663 _ = l 7664 if m.Part != nil { 7665 n += m.Part.Size() 7666 } 7667 if m.XXX_unrecognized != nil { 7668 n += len(m.XXX_unrecognized) 7669 } 7670 return n 7671 } 7672 7673 func (m *ApplicationManifestQueryWithFilesWrapper_Query) Size() (n int) { 7674 if m == nil { 7675 return 0 7676 } 7677 var l int 7678 _ = l 7679 if m.Query != nil { 7680 l = m.Query.Size() 7681 n += 1 + l + sovApplication(uint64(l)) 7682 } 7683 return n 7684 } 7685 func (m *ApplicationManifestQueryWithFilesWrapper_Chunk) Size() (n int) { 7686 if m == nil { 7687 return 0 7688 } 7689 var l int 7690 _ = l 7691 if m.Chunk != nil { 7692 l = m.Chunk.Size() 7693 n += 1 + l + sovApplication(uint64(l)) 7694 } 7695 return n 7696 } 7697 func (m *ApplicationResponse) Size() (n int) { 7698 if m == nil { 7699 return 0 7700 } 7701 var l int 7702 _ = l 7703 if m.XXX_unrecognized != nil { 7704 n += len(m.XXX_unrecognized) 7705 } 7706 return n 7707 } 7708 7709 func (m *ApplicationCreateRequest) Size() (n int) { 7710 if m == nil { 7711 return 0 7712 } 7713 var l int 7714 _ = l 7715 if m.Application != nil { 7716 l = m.Application.Size() 7717 n += 1 + l + sovApplication(uint64(l)) 7718 } 7719 if m.Upsert != nil { 7720 n += 2 7721 } 7722 if m.Validate != nil { 7723 n += 2 7724 } 7725 if m.XXX_unrecognized != nil { 7726 n += len(m.XXX_unrecognized) 7727 } 7728 return n 7729 } 7730 7731 func (m *ApplicationUpdateRequest) Size() (n int) { 7732 if m == nil { 7733 return 0 7734 } 7735 var l int 7736 _ = l 7737 if m.Application != nil { 7738 l = m.Application.Size() 7739 n += 1 + l + sovApplication(uint64(l)) 7740 } 7741 if m.Validate != nil { 7742 n += 2 7743 } 7744 if m.Project != nil { 7745 l = len(*m.Project) 7746 n += 1 + l + sovApplication(uint64(l)) 7747 } 7748 if m.XXX_unrecognized != nil { 7749 n += len(m.XXX_unrecognized) 7750 } 7751 return n 7752 } 7753 7754 func (m *ApplicationDeleteRequest) Size() (n int) { 7755 if m == nil { 7756 return 0 7757 } 7758 var l int 7759 _ = l 7760 if m.Name != nil { 7761 l = len(*m.Name) 7762 n += 1 + l + sovApplication(uint64(l)) 7763 } 7764 if m.Cascade != nil { 7765 n += 2 7766 } 7767 if m.PropagationPolicy != nil { 7768 l = len(*m.PropagationPolicy) 7769 n += 1 + l + sovApplication(uint64(l)) 7770 } 7771 if m.AppNamespace != nil { 7772 l = len(*m.AppNamespace) 7773 n += 1 + l + sovApplication(uint64(l)) 7774 } 7775 if m.Project != nil { 7776 l = len(*m.Project) 7777 n += 1 + l + sovApplication(uint64(l)) 7778 } 7779 if m.XXX_unrecognized != nil { 7780 n += len(m.XXX_unrecognized) 7781 } 7782 return n 7783 } 7784 7785 func (m *SyncOptions) Size() (n int) { 7786 if m == nil { 7787 return 0 7788 } 7789 var l int 7790 _ = l 7791 if len(m.Items) > 0 { 7792 for _, s := range m.Items { 7793 l = len(s) 7794 n += 1 + l + sovApplication(uint64(l)) 7795 } 7796 } 7797 if m.XXX_unrecognized != nil { 7798 n += len(m.XXX_unrecognized) 7799 } 7800 return n 7801 } 7802 7803 func (m *ApplicationSyncRequest) Size() (n int) { 7804 if m == nil { 7805 return 0 7806 } 7807 var l int 7808 _ = l 7809 if m.Name != nil { 7810 l = len(*m.Name) 7811 n += 1 + l + sovApplication(uint64(l)) 7812 } 7813 if m.Revision != nil { 7814 l = len(*m.Revision) 7815 n += 1 + l + sovApplication(uint64(l)) 7816 } 7817 if m.DryRun != nil { 7818 n += 2 7819 } 7820 if m.Prune != nil { 7821 n += 2 7822 } 7823 if m.Strategy != nil { 7824 l = m.Strategy.Size() 7825 n += 1 + l + sovApplication(uint64(l)) 7826 } 7827 if len(m.Resources) > 0 { 7828 for _, e := range m.Resources { 7829 l = e.Size() 7830 n += 1 + l + sovApplication(uint64(l)) 7831 } 7832 } 7833 if len(m.Manifests) > 0 { 7834 for _, s := range m.Manifests { 7835 l = len(s) 7836 n += 1 + l + sovApplication(uint64(l)) 7837 } 7838 } 7839 if len(m.Infos) > 0 { 7840 for _, e := range m.Infos { 7841 l = e.Size() 7842 n += 1 + l + sovApplication(uint64(l)) 7843 } 7844 } 7845 if m.RetryStrategy != nil { 7846 l = m.RetryStrategy.Size() 7847 n += 1 + l + sovApplication(uint64(l)) 7848 } 7849 if m.SyncOptions != nil { 7850 l = m.SyncOptions.Size() 7851 n += 1 + l + sovApplication(uint64(l)) 7852 } 7853 if m.AppNamespace != nil { 7854 l = len(*m.AppNamespace) 7855 n += 1 + l + sovApplication(uint64(l)) 7856 } 7857 if m.Project != nil { 7858 l = len(*m.Project) 7859 n += 1 + l + sovApplication(uint64(l)) 7860 } 7861 if len(m.SourcePositions) > 0 { 7862 for _, e := range m.SourcePositions { 7863 n += 1 + sovApplication(uint64(e)) 7864 } 7865 } 7866 if len(m.Revisions) > 0 { 7867 for _, s := range m.Revisions { 7868 l = len(s) 7869 n += 1 + l + sovApplication(uint64(l)) 7870 } 7871 } 7872 if m.XXX_unrecognized != nil { 7873 n += len(m.XXX_unrecognized) 7874 } 7875 return n 7876 } 7877 7878 func (m *ApplicationUpdateSpecRequest) Size() (n int) { 7879 if m == nil { 7880 return 0 7881 } 7882 var l int 7883 _ = l 7884 if m.Name != nil { 7885 l = len(*m.Name) 7886 n += 1 + l + sovApplication(uint64(l)) 7887 } 7888 if m.Spec != nil { 7889 l = m.Spec.Size() 7890 n += 1 + l + sovApplication(uint64(l)) 7891 } 7892 if m.Validate != nil { 7893 n += 2 7894 } 7895 if m.AppNamespace != nil { 7896 l = len(*m.AppNamespace) 7897 n += 1 + l + sovApplication(uint64(l)) 7898 } 7899 if m.Project != nil { 7900 l = len(*m.Project) 7901 n += 1 + l + sovApplication(uint64(l)) 7902 } 7903 if m.XXX_unrecognized != nil { 7904 n += len(m.XXX_unrecognized) 7905 } 7906 return n 7907 } 7908 7909 func (m *ApplicationPatchRequest) Size() (n int) { 7910 if m == nil { 7911 return 0 7912 } 7913 var l int 7914 _ = l 7915 if m.Name != nil { 7916 l = len(*m.Name) 7917 n += 1 + l + sovApplication(uint64(l)) 7918 } 7919 if m.Patch != nil { 7920 l = len(*m.Patch) 7921 n += 1 + l + sovApplication(uint64(l)) 7922 } 7923 if m.PatchType != nil { 7924 l = len(*m.PatchType) 7925 n += 1 + l + sovApplication(uint64(l)) 7926 } 7927 if m.AppNamespace != nil { 7928 l = len(*m.AppNamespace) 7929 n += 1 + l + sovApplication(uint64(l)) 7930 } 7931 if m.Project != nil { 7932 l = len(*m.Project) 7933 n += 1 + l + sovApplication(uint64(l)) 7934 } 7935 if m.XXX_unrecognized != nil { 7936 n += len(m.XXX_unrecognized) 7937 } 7938 return n 7939 } 7940 7941 func (m *ApplicationRollbackRequest) Size() (n int) { 7942 if m == nil { 7943 return 0 7944 } 7945 var l int 7946 _ = l 7947 if m.Name != nil { 7948 l = len(*m.Name) 7949 n += 1 + l + sovApplication(uint64(l)) 7950 } 7951 if m.Id != nil { 7952 n += 1 + sovApplication(uint64(*m.Id)) 7953 } 7954 if m.DryRun != nil { 7955 n += 2 7956 } 7957 if m.Prune != nil { 7958 n += 2 7959 } 7960 if m.AppNamespace != nil { 7961 l = len(*m.AppNamespace) 7962 n += 1 + l + sovApplication(uint64(l)) 7963 } 7964 if m.Project != nil { 7965 l = len(*m.Project) 7966 n += 1 + l + sovApplication(uint64(l)) 7967 } 7968 if m.XXX_unrecognized != nil { 7969 n += len(m.XXX_unrecognized) 7970 } 7971 return n 7972 } 7973 7974 func (m *ApplicationResourceRequest) Size() (n int) { 7975 if m == nil { 7976 return 0 7977 } 7978 var l int 7979 _ = l 7980 if m.Name != nil { 7981 l = len(*m.Name) 7982 n += 1 + l + sovApplication(uint64(l)) 7983 } 7984 if m.Namespace != nil { 7985 l = len(*m.Namespace) 7986 n += 1 + l + sovApplication(uint64(l)) 7987 } 7988 if m.ResourceName != nil { 7989 l = len(*m.ResourceName) 7990 n += 1 + l + sovApplication(uint64(l)) 7991 } 7992 if m.Version != nil { 7993 l = len(*m.Version) 7994 n += 1 + l + sovApplication(uint64(l)) 7995 } 7996 if m.Group != nil { 7997 l = len(*m.Group) 7998 n += 1 + l + sovApplication(uint64(l)) 7999 } 8000 if m.Kind != nil { 8001 l = len(*m.Kind) 8002 n += 1 + l + sovApplication(uint64(l)) 8003 } 8004 if m.AppNamespace != nil { 8005 l = len(*m.AppNamespace) 8006 n += 1 + l + sovApplication(uint64(l)) 8007 } 8008 if m.Project != nil { 8009 l = len(*m.Project) 8010 n += 1 + l + sovApplication(uint64(l)) 8011 } 8012 if m.XXX_unrecognized != nil { 8013 n += len(m.XXX_unrecognized) 8014 } 8015 return n 8016 } 8017 8018 func (m *ApplicationResourcePatchRequest) Size() (n int) { 8019 if m == nil { 8020 return 0 8021 } 8022 var l int 8023 _ = l 8024 if m.Name != nil { 8025 l = len(*m.Name) 8026 n += 1 + l + sovApplication(uint64(l)) 8027 } 8028 if m.Namespace != nil { 8029 l = len(*m.Namespace) 8030 n += 1 + l + sovApplication(uint64(l)) 8031 } 8032 if m.ResourceName != nil { 8033 l = len(*m.ResourceName) 8034 n += 1 + l + sovApplication(uint64(l)) 8035 } 8036 if m.Version != nil { 8037 l = len(*m.Version) 8038 n += 1 + l + sovApplication(uint64(l)) 8039 } 8040 if m.Group != nil { 8041 l = len(*m.Group) 8042 n += 1 + l + sovApplication(uint64(l)) 8043 } 8044 if m.Kind != nil { 8045 l = len(*m.Kind) 8046 n += 1 + l + sovApplication(uint64(l)) 8047 } 8048 if m.Patch != nil { 8049 l = len(*m.Patch) 8050 n += 1 + l + sovApplication(uint64(l)) 8051 } 8052 if m.PatchType != nil { 8053 l = len(*m.PatchType) 8054 n += 1 + l + sovApplication(uint64(l)) 8055 } 8056 if m.AppNamespace != nil { 8057 l = len(*m.AppNamespace) 8058 n += 1 + l + sovApplication(uint64(l)) 8059 } 8060 if m.Project != nil { 8061 l = len(*m.Project) 8062 n += 1 + l + sovApplication(uint64(l)) 8063 } 8064 if m.XXX_unrecognized != nil { 8065 n += len(m.XXX_unrecognized) 8066 } 8067 return n 8068 } 8069 8070 func (m *ApplicationResourceDeleteRequest) Size() (n int) { 8071 if m == nil { 8072 return 0 8073 } 8074 var l int 8075 _ = l 8076 if m.Name != nil { 8077 l = len(*m.Name) 8078 n += 1 + l + sovApplication(uint64(l)) 8079 } 8080 if m.Namespace != nil { 8081 l = len(*m.Namespace) 8082 n += 1 + l + sovApplication(uint64(l)) 8083 } 8084 if m.ResourceName != nil { 8085 l = len(*m.ResourceName) 8086 n += 1 + l + sovApplication(uint64(l)) 8087 } 8088 if m.Version != nil { 8089 l = len(*m.Version) 8090 n += 1 + l + sovApplication(uint64(l)) 8091 } 8092 if m.Group != nil { 8093 l = len(*m.Group) 8094 n += 1 + l + sovApplication(uint64(l)) 8095 } 8096 if m.Kind != nil { 8097 l = len(*m.Kind) 8098 n += 1 + l + sovApplication(uint64(l)) 8099 } 8100 if m.Force != nil { 8101 n += 2 8102 } 8103 if m.Orphan != nil { 8104 n += 2 8105 } 8106 if m.AppNamespace != nil { 8107 l = len(*m.AppNamespace) 8108 n += 1 + l + sovApplication(uint64(l)) 8109 } 8110 if m.Project != nil { 8111 l = len(*m.Project) 8112 n += 1 + l + sovApplication(uint64(l)) 8113 } 8114 if m.XXX_unrecognized != nil { 8115 n += len(m.XXX_unrecognized) 8116 } 8117 return n 8118 } 8119 8120 func (m *ResourceActionParameters) Size() (n int) { 8121 if m == nil { 8122 return 0 8123 } 8124 var l int 8125 _ = l 8126 if m.Name != nil { 8127 l = len(*m.Name) 8128 n += 1 + l + sovApplication(uint64(l)) 8129 } 8130 if m.Value != nil { 8131 l = len(*m.Value) 8132 n += 1 + l + sovApplication(uint64(l)) 8133 } 8134 if m.XXX_unrecognized != nil { 8135 n += len(m.XXX_unrecognized) 8136 } 8137 return n 8138 } 8139 8140 func (m *ResourceActionRunRequest) Size() (n int) { 8141 if m == nil { 8142 return 0 8143 } 8144 var l int 8145 _ = l 8146 if m.Name != nil { 8147 l = len(*m.Name) 8148 n += 1 + l + sovApplication(uint64(l)) 8149 } 8150 if m.Namespace != nil { 8151 l = len(*m.Namespace) 8152 n += 1 + l + sovApplication(uint64(l)) 8153 } 8154 if m.ResourceName != nil { 8155 l = len(*m.ResourceName) 8156 n += 1 + l + sovApplication(uint64(l)) 8157 } 8158 if m.Version != nil { 8159 l = len(*m.Version) 8160 n += 1 + l + sovApplication(uint64(l)) 8161 } 8162 if m.Group != nil { 8163 l = len(*m.Group) 8164 n += 1 + l + sovApplication(uint64(l)) 8165 } 8166 if m.Kind != nil { 8167 l = len(*m.Kind) 8168 n += 1 + l + sovApplication(uint64(l)) 8169 } 8170 if m.Action != nil { 8171 l = len(*m.Action) 8172 n += 1 + l + sovApplication(uint64(l)) 8173 } 8174 if m.AppNamespace != nil { 8175 l = len(*m.AppNamespace) 8176 n += 1 + l + sovApplication(uint64(l)) 8177 } 8178 if m.Project != nil { 8179 l = len(*m.Project) 8180 n += 1 + l + sovApplication(uint64(l)) 8181 } 8182 if m.XXX_unrecognized != nil { 8183 n += len(m.XXX_unrecognized) 8184 } 8185 return n 8186 } 8187 8188 func (m *ResourceActionRunRequestV2) Size() (n int) { 8189 if m == nil { 8190 return 0 8191 } 8192 var l int 8193 _ = l 8194 if m.Name != nil { 8195 l = len(*m.Name) 8196 n += 1 + l + sovApplication(uint64(l)) 8197 } 8198 if m.Namespace != nil { 8199 l = len(*m.Namespace) 8200 n += 1 + l + sovApplication(uint64(l)) 8201 } 8202 if m.ResourceName != nil { 8203 l = len(*m.ResourceName) 8204 n += 1 + l + sovApplication(uint64(l)) 8205 } 8206 if m.Version != nil { 8207 l = len(*m.Version) 8208 n += 1 + l + sovApplication(uint64(l)) 8209 } 8210 if m.Group != nil { 8211 l = len(*m.Group) 8212 n += 1 + l + sovApplication(uint64(l)) 8213 } 8214 if m.Kind != nil { 8215 l = len(*m.Kind) 8216 n += 1 + l + sovApplication(uint64(l)) 8217 } 8218 if m.Action != nil { 8219 l = len(*m.Action) 8220 n += 1 + l + sovApplication(uint64(l)) 8221 } 8222 if m.AppNamespace != nil { 8223 l = len(*m.AppNamespace) 8224 n += 1 + l + sovApplication(uint64(l)) 8225 } 8226 if m.Project != nil { 8227 l = len(*m.Project) 8228 n += 1 + l + sovApplication(uint64(l)) 8229 } 8230 if len(m.ResourceActionParameters) > 0 { 8231 for _, e := range m.ResourceActionParameters { 8232 l = e.Size() 8233 n += 1 + l + sovApplication(uint64(l)) 8234 } 8235 } 8236 if m.XXX_unrecognized != nil { 8237 n += len(m.XXX_unrecognized) 8238 } 8239 return n 8240 } 8241 8242 func (m *ResourceActionsListResponse) Size() (n int) { 8243 if m == nil { 8244 return 0 8245 } 8246 var l int 8247 _ = l 8248 if len(m.Actions) > 0 { 8249 for _, e := range m.Actions { 8250 l = e.Size() 8251 n += 1 + l + sovApplication(uint64(l)) 8252 } 8253 } 8254 if m.XXX_unrecognized != nil { 8255 n += len(m.XXX_unrecognized) 8256 } 8257 return n 8258 } 8259 8260 func (m *ApplicationResourceResponse) Size() (n int) { 8261 if m == nil { 8262 return 0 8263 } 8264 var l int 8265 _ = l 8266 if m.Manifest != nil { 8267 l = len(*m.Manifest) 8268 n += 1 + l + sovApplication(uint64(l)) 8269 } 8270 if m.XXX_unrecognized != nil { 8271 n += len(m.XXX_unrecognized) 8272 } 8273 return n 8274 } 8275 8276 func (m *ApplicationPodLogsQuery) Size() (n int) { 8277 if m == nil { 8278 return 0 8279 } 8280 var l int 8281 _ = l 8282 if m.Name != nil { 8283 l = len(*m.Name) 8284 n += 1 + l + sovApplication(uint64(l)) 8285 } 8286 if m.Namespace != nil { 8287 l = len(*m.Namespace) 8288 n += 1 + l + sovApplication(uint64(l)) 8289 } 8290 if m.PodName != nil { 8291 l = len(*m.PodName) 8292 n += 1 + l + sovApplication(uint64(l)) 8293 } 8294 if m.Container != nil { 8295 l = len(*m.Container) 8296 n += 1 + l + sovApplication(uint64(l)) 8297 } 8298 if m.SinceSeconds != nil { 8299 n += 1 + sovApplication(uint64(*m.SinceSeconds)) 8300 } 8301 if m.SinceTime != nil { 8302 l = m.SinceTime.Size() 8303 n += 1 + l + sovApplication(uint64(l)) 8304 } 8305 if m.TailLines != nil { 8306 n += 1 + sovApplication(uint64(*m.TailLines)) 8307 } 8308 if m.Follow != nil { 8309 n += 2 8310 } 8311 if m.UntilTime != nil { 8312 l = len(*m.UntilTime) 8313 n += 1 + l + sovApplication(uint64(l)) 8314 } 8315 if m.Filter != nil { 8316 l = len(*m.Filter) 8317 n += 1 + l + sovApplication(uint64(l)) 8318 } 8319 if m.Kind != nil { 8320 l = len(*m.Kind) 8321 n += 1 + l + sovApplication(uint64(l)) 8322 } 8323 if m.Group != nil { 8324 l = len(*m.Group) 8325 n += 1 + l + sovApplication(uint64(l)) 8326 } 8327 if m.ResourceName != nil { 8328 l = len(*m.ResourceName) 8329 n += 1 + l + sovApplication(uint64(l)) 8330 } 8331 if m.Previous != nil { 8332 n += 2 8333 } 8334 if m.AppNamespace != nil { 8335 l = len(*m.AppNamespace) 8336 n += 1 + l + sovApplication(uint64(l)) 8337 } 8338 if m.Project != nil { 8339 l = len(*m.Project) 8340 n += 2 + l + sovApplication(uint64(l)) 8341 } 8342 if m.MatchCase != nil { 8343 n += 3 8344 } 8345 if m.XXX_unrecognized != nil { 8346 n += len(m.XXX_unrecognized) 8347 } 8348 return n 8349 } 8350 8351 func (m *LogEntry) Size() (n int) { 8352 if m == nil { 8353 return 0 8354 } 8355 var l int 8356 _ = l 8357 if m.Content != nil { 8358 l = len(*m.Content) 8359 n += 1 + l + sovApplication(uint64(l)) 8360 } 8361 if m.TimeStamp != nil { 8362 l = m.TimeStamp.Size() 8363 n += 1 + l + sovApplication(uint64(l)) 8364 } 8365 if m.Last != nil { 8366 n += 2 8367 } 8368 if m.TimeStampStr != nil { 8369 l = len(*m.TimeStampStr) 8370 n += 1 + l + sovApplication(uint64(l)) 8371 } 8372 if m.PodName != nil { 8373 l = len(*m.PodName) 8374 n += 1 + l + sovApplication(uint64(l)) 8375 } 8376 if m.XXX_unrecognized != nil { 8377 n += len(m.XXX_unrecognized) 8378 } 8379 return n 8380 } 8381 8382 func (m *OperationTerminateRequest) Size() (n int) { 8383 if m == nil { 8384 return 0 8385 } 8386 var l int 8387 _ = l 8388 if m.Name != nil { 8389 l = len(*m.Name) 8390 n += 1 + l + sovApplication(uint64(l)) 8391 } 8392 if m.AppNamespace != nil { 8393 l = len(*m.AppNamespace) 8394 n += 1 + l + sovApplication(uint64(l)) 8395 } 8396 if m.Project != nil { 8397 l = len(*m.Project) 8398 n += 1 + l + sovApplication(uint64(l)) 8399 } 8400 if m.XXX_unrecognized != nil { 8401 n += len(m.XXX_unrecognized) 8402 } 8403 return n 8404 } 8405 8406 func (m *ApplicationSyncWindowsQuery) Size() (n int) { 8407 if m == nil { 8408 return 0 8409 } 8410 var l int 8411 _ = l 8412 if m.Name != nil { 8413 l = len(*m.Name) 8414 n += 1 + l + sovApplication(uint64(l)) 8415 } 8416 if m.AppNamespace != nil { 8417 l = len(*m.AppNamespace) 8418 n += 1 + l + sovApplication(uint64(l)) 8419 } 8420 if m.Project != nil { 8421 l = len(*m.Project) 8422 n += 1 + l + sovApplication(uint64(l)) 8423 } 8424 if m.XXX_unrecognized != nil { 8425 n += len(m.XXX_unrecognized) 8426 } 8427 return n 8428 } 8429 8430 func (m *ApplicationSyncWindowsResponse) Size() (n int) { 8431 if m == nil { 8432 return 0 8433 } 8434 var l int 8435 _ = l 8436 if len(m.ActiveWindows) > 0 { 8437 for _, e := range m.ActiveWindows { 8438 l = e.Size() 8439 n += 1 + l + sovApplication(uint64(l)) 8440 } 8441 } 8442 if len(m.AssignedWindows) > 0 { 8443 for _, e := range m.AssignedWindows { 8444 l = e.Size() 8445 n += 1 + l + sovApplication(uint64(l)) 8446 } 8447 } 8448 if m.CanSync != nil { 8449 n += 2 8450 } 8451 if m.XXX_unrecognized != nil { 8452 n += len(m.XXX_unrecognized) 8453 } 8454 return n 8455 } 8456 8457 func (m *ApplicationSyncWindow) Size() (n int) { 8458 if m == nil { 8459 return 0 8460 } 8461 var l int 8462 _ = l 8463 if m.Kind != nil { 8464 l = len(*m.Kind) 8465 n += 1 + l + sovApplication(uint64(l)) 8466 } 8467 if m.Schedule != nil { 8468 l = len(*m.Schedule) 8469 n += 1 + l + sovApplication(uint64(l)) 8470 } 8471 if m.Duration != nil { 8472 l = len(*m.Duration) 8473 n += 1 + l + sovApplication(uint64(l)) 8474 } 8475 if m.ManualSync != nil { 8476 n += 2 8477 } 8478 if m.XXX_unrecognized != nil { 8479 n += len(m.XXX_unrecognized) 8480 } 8481 return n 8482 } 8483 8484 func (m *OperationTerminateResponse) Size() (n int) { 8485 if m == nil { 8486 return 0 8487 } 8488 var l int 8489 _ = l 8490 if m.XXX_unrecognized != nil { 8491 n += len(m.XXX_unrecognized) 8492 } 8493 return n 8494 } 8495 8496 func (m *ResourcesQuery) Size() (n int) { 8497 if m == nil { 8498 return 0 8499 } 8500 var l int 8501 _ = l 8502 if m.ApplicationName != nil { 8503 l = len(*m.ApplicationName) 8504 n += 1 + l + sovApplication(uint64(l)) 8505 } 8506 if m.Namespace != nil { 8507 l = len(*m.Namespace) 8508 n += 1 + l + sovApplication(uint64(l)) 8509 } 8510 if m.Name != nil { 8511 l = len(*m.Name) 8512 n += 1 + l + sovApplication(uint64(l)) 8513 } 8514 if m.Version != nil { 8515 l = len(*m.Version) 8516 n += 1 + l + sovApplication(uint64(l)) 8517 } 8518 if m.Group != nil { 8519 l = len(*m.Group) 8520 n += 1 + l + sovApplication(uint64(l)) 8521 } 8522 if m.Kind != nil { 8523 l = len(*m.Kind) 8524 n += 1 + l + sovApplication(uint64(l)) 8525 } 8526 if m.AppNamespace != nil { 8527 l = len(*m.AppNamespace) 8528 n += 1 + l + sovApplication(uint64(l)) 8529 } 8530 if m.Project != nil { 8531 l = len(*m.Project) 8532 n += 1 + l + sovApplication(uint64(l)) 8533 } 8534 if m.XXX_unrecognized != nil { 8535 n += len(m.XXX_unrecognized) 8536 } 8537 return n 8538 } 8539 8540 func (m *ManagedResourcesResponse) Size() (n int) { 8541 if m == nil { 8542 return 0 8543 } 8544 var l int 8545 _ = l 8546 if len(m.Items) > 0 { 8547 for _, e := range m.Items { 8548 l = e.Size() 8549 n += 1 + l + sovApplication(uint64(l)) 8550 } 8551 } 8552 if m.XXX_unrecognized != nil { 8553 n += len(m.XXX_unrecognized) 8554 } 8555 return n 8556 } 8557 8558 func (m *ApplicationServerSideDiffQuery) Size() (n int) { 8559 if m == nil { 8560 return 0 8561 } 8562 var l int 8563 _ = l 8564 if m.AppName != nil { 8565 l = len(*m.AppName) 8566 n += 1 + l + sovApplication(uint64(l)) 8567 } 8568 if m.AppNamespace != nil { 8569 l = len(*m.AppNamespace) 8570 n += 1 + l + sovApplication(uint64(l)) 8571 } 8572 if m.Project != nil { 8573 l = len(*m.Project) 8574 n += 1 + l + sovApplication(uint64(l)) 8575 } 8576 if len(m.LiveResources) > 0 { 8577 for _, e := range m.LiveResources { 8578 l = e.Size() 8579 n += 1 + l + sovApplication(uint64(l)) 8580 } 8581 } 8582 if len(m.TargetManifests) > 0 { 8583 for _, s := range m.TargetManifests { 8584 l = len(s) 8585 n += 1 + l + sovApplication(uint64(l)) 8586 } 8587 } 8588 if m.XXX_unrecognized != nil { 8589 n += len(m.XXX_unrecognized) 8590 } 8591 return n 8592 } 8593 8594 func (m *ApplicationServerSideDiffResponse) Size() (n int) { 8595 if m == nil { 8596 return 0 8597 } 8598 var l int 8599 _ = l 8600 if len(m.Items) > 0 { 8601 for _, e := range m.Items { 8602 l = e.Size() 8603 n += 1 + l + sovApplication(uint64(l)) 8604 } 8605 } 8606 if m.Modified != nil { 8607 n += 2 8608 } 8609 if m.XXX_unrecognized != nil { 8610 n += len(m.XXX_unrecognized) 8611 } 8612 return n 8613 } 8614 8615 func (m *LinkInfo) Size() (n int) { 8616 if m == nil { 8617 return 0 8618 } 8619 var l int 8620 _ = l 8621 if m.Title != nil { 8622 l = len(*m.Title) 8623 n += 1 + l + sovApplication(uint64(l)) 8624 } 8625 if m.Url != nil { 8626 l = len(*m.Url) 8627 n += 1 + l + sovApplication(uint64(l)) 8628 } 8629 if m.Description != nil { 8630 l = len(*m.Description) 8631 n += 1 + l + sovApplication(uint64(l)) 8632 } 8633 if m.IconClass != nil { 8634 l = len(*m.IconClass) 8635 n += 1 + l + sovApplication(uint64(l)) 8636 } 8637 if m.XXX_unrecognized != nil { 8638 n += len(m.XXX_unrecognized) 8639 } 8640 return n 8641 } 8642 8643 func (m *LinksResponse) Size() (n int) { 8644 if m == nil { 8645 return 0 8646 } 8647 var l int 8648 _ = l 8649 if len(m.Items) > 0 { 8650 for _, e := range m.Items { 8651 l = e.Size() 8652 n += 1 + l + sovApplication(uint64(l)) 8653 } 8654 } 8655 if m.XXX_unrecognized != nil { 8656 n += len(m.XXX_unrecognized) 8657 } 8658 return n 8659 } 8660 8661 func (m *ListAppLinksRequest) Size() (n int) { 8662 if m == nil { 8663 return 0 8664 } 8665 var l int 8666 _ = l 8667 if m.Name != nil { 8668 l = len(*m.Name) 8669 n += 1 + l + sovApplication(uint64(l)) 8670 } 8671 if m.Namespace != nil { 8672 l = len(*m.Namespace) 8673 n += 1 + l + sovApplication(uint64(l)) 8674 } 8675 if m.Project != nil { 8676 l = len(*m.Project) 8677 n += 1 + l + sovApplication(uint64(l)) 8678 } 8679 if m.XXX_unrecognized != nil { 8680 n += len(m.XXX_unrecognized) 8681 } 8682 return n 8683 } 8684 8685 func sovApplication(x uint64) (n int) { 8686 return (math_bits.Len64(x|1) + 6) / 7 8687 } 8688 func sozApplication(x uint64) (n int) { 8689 return sovApplication(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 8690 } 8691 func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { 8692 l := len(dAtA) 8693 iNdEx := 0 8694 for iNdEx < l { 8695 preIndex := iNdEx 8696 var wire uint64 8697 for shift := uint(0); ; shift += 7 { 8698 if shift >= 64 { 8699 return ErrIntOverflowApplication 8700 } 8701 if iNdEx >= l { 8702 return io.ErrUnexpectedEOF 8703 } 8704 b := dAtA[iNdEx] 8705 iNdEx++ 8706 wire |= uint64(b&0x7F) << shift 8707 if b < 0x80 { 8708 break 8709 } 8710 } 8711 fieldNum := int32(wire >> 3) 8712 wireType := int(wire & 0x7) 8713 if wireType == 4 { 8714 return fmt.Errorf("proto: ApplicationQuery: wiretype end group for non-group") 8715 } 8716 if fieldNum <= 0 { 8717 return fmt.Errorf("proto: ApplicationQuery: illegal tag %d (wire type %d)", fieldNum, wire) 8718 } 8719 switch fieldNum { 8720 case 1: 8721 if wireType != 2 { 8722 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8723 } 8724 var stringLen uint64 8725 for shift := uint(0); ; shift += 7 { 8726 if shift >= 64 { 8727 return ErrIntOverflowApplication 8728 } 8729 if iNdEx >= l { 8730 return io.ErrUnexpectedEOF 8731 } 8732 b := dAtA[iNdEx] 8733 iNdEx++ 8734 stringLen |= uint64(b&0x7F) << shift 8735 if b < 0x80 { 8736 break 8737 } 8738 } 8739 intStringLen := int(stringLen) 8740 if intStringLen < 0 { 8741 return ErrInvalidLengthApplication 8742 } 8743 postIndex := iNdEx + intStringLen 8744 if postIndex < 0 { 8745 return ErrInvalidLengthApplication 8746 } 8747 if postIndex > l { 8748 return io.ErrUnexpectedEOF 8749 } 8750 s := string(dAtA[iNdEx:postIndex]) 8751 m.Name = &s 8752 iNdEx = postIndex 8753 case 2: 8754 if wireType != 2 { 8755 return fmt.Errorf("proto: wrong wireType = %d for field Refresh", wireType) 8756 } 8757 var stringLen uint64 8758 for shift := uint(0); ; shift += 7 { 8759 if shift >= 64 { 8760 return ErrIntOverflowApplication 8761 } 8762 if iNdEx >= l { 8763 return io.ErrUnexpectedEOF 8764 } 8765 b := dAtA[iNdEx] 8766 iNdEx++ 8767 stringLen |= uint64(b&0x7F) << shift 8768 if b < 0x80 { 8769 break 8770 } 8771 } 8772 intStringLen := int(stringLen) 8773 if intStringLen < 0 { 8774 return ErrInvalidLengthApplication 8775 } 8776 postIndex := iNdEx + intStringLen 8777 if postIndex < 0 { 8778 return ErrInvalidLengthApplication 8779 } 8780 if postIndex > l { 8781 return io.ErrUnexpectedEOF 8782 } 8783 s := string(dAtA[iNdEx:postIndex]) 8784 m.Refresh = &s 8785 iNdEx = postIndex 8786 case 3: 8787 if wireType != 2 { 8788 return fmt.Errorf("proto: wrong wireType = %d for field Projects", wireType) 8789 } 8790 var stringLen uint64 8791 for shift := uint(0); ; shift += 7 { 8792 if shift >= 64 { 8793 return ErrIntOverflowApplication 8794 } 8795 if iNdEx >= l { 8796 return io.ErrUnexpectedEOF 8797 } 8798 b := dAtA[iNdEx] 8799 iNdEx++ 8800 stringLen |= uint64(b&0x7F) << shift 8801 if b < 0x80 { 8802 break 8803 } 8804 } 8805 intStringLen := int(stringLen) 8806 if intStringLen < 0 { 8807 return ErrInvalidLengthApplication 8808 } 8809 postIndex := iNdEx + intStringLen 8810 if postIndex < 0 { 8811 return ErrInvalidLengthApplication 8812 } 8813 if postIndex > l { 8814 return io.ErrUnexpectedEOF 8815 } 8816 m.Projects = append(m.Projects, string(dAtA[iNdEx:postIndex])) 8817 iNdEx = postIndex 8818 case 4: 8819 if wireType != 2 { 8820 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 8821 } 8822 var stringLen uint64 8823 for shift := uint(0); ; shift += 7 { 8824 if shift >= 64 { 8825 return ErrIntOverflowApplication 8826 } 8827 if iNdEx >= l { 8828 return io.ErrUnexpectedEOF 8829 } 8830 b := dAtA[iNdEx] 8831 iNdEx++ 8832 stringLen |= uint64(b&0x7F) << shift 8833 if b < 0x80 { 8834 break 8835 } 8836 } 8837 intStringLen := int(stringLen) 8838 if intStringLen < 0 { 8839 return ErrInvalidLengthApplication 8840 } 8841 postIndex := iNdEx + intStringLen 8842 if postIndex < 0 { 8843 return ErrInvalidLengthApplication 8844 } 8845 if postIndex > l { 8846 return io.ErrUnexpectedEOF 8847 } 8848 s := string(dAtA[iNdEx:postIndex]) 8849 m.ResourceVersion = &s 8850 iNdEx = postIndex 8851 case 5: 8852 if wireType != 2 { 8853 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) 8854 } 8855 var stringLen uint64 8856 for shift := uint(0); ; shift += 7 { 8857 if shift >= 64 { 8858 return ErrIntOverflowApplication 8859 } 8860 if iNdEx >= l { 8861 return io.ErrUnexpectedEOF 8862 } 8863 b := dAtA[iNdEx] 8864 iNdEx++ 8865 stringLen |= uint64(b&0x7F) << shift 8866 if b < 0x80 { 8867 break 8868 } 8869 } 8870 intStringLen := int(stringLen) 8871 if intStringLen < 0 { 8872 return ErrInvalidLengthApplication 8873 } 8874 postIndex := iNdEx + intStringLen 8875 if postIndex < 0 { 8876 return ErrInvalidLengthApplication 8877 } 8878 if postIndex > l { 8879 return io.ErrUnexpectedEOF 8880 } 8881 s := string(dAtA[iNdEx:postIndex]) 8882 m.Selector = &s 8883 iNdEx = postIndex 8884 case 6: 8885 if wireType != 2 { 8886 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 8887 } 8888 var stringLen uint64 8889 for shift := uint(0); ; shift += 7 { 8890 if shift >= 64 { 8891 return ErrIntOverflowApplication 8892 } 8893 if iNdEx >= l { 8894 return io.ErrUnexpectedEOF 8895 } 8896 b := dAtA[iNdEx] 8897 iNdEx++ 8898 stringLen |= uint64(b&0x7F) << shift 8899 if b < 0x80 { 8900 break 8901 } 8902 } 8903 intStringLen := int(stringLen) 8904 if intStringLen < 0 { 8905 return ErrInvalidLengthApplication 8906 } 8907 postIndex := iNdEx + intStringLen 8908 if postIndex < 0 { 8909 return ErrInvalidLengthApplication 8910 } 8911 if postIndex > l { 8912 return io.ErrUnexpectedEOF 8913 } 8914 s := string(dAtA[iNdEx:postIndex]) 8915 m.Repo = &s 8916 iNdEx = postIndex 8917 case 7: 8918 if wireType != 2 { 8919 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 8920 } 8921 var stringLen uint64 8922 for shift := uint(0); ; shift += 7 { 8923 if shift >= 64 { 8924 return ErrIntOverflowApplication 8925 } 8926 if iNdEx >= l { 8927 return io.ErrUnexpectedEOF 8928 } 8929 b := dAtA[iNdEx] 8930 iNdEx++ 8931 stringLen |= uint64(b&0x7F) << shift 8932 if b < 0x80 { 8933 break 8934 } 8935 } 8936 intStringLen := int(stringLen) 8937 if intStringLen < 0 { 8938 return ErrInvalidLengthApplication 8939 } 8940 postIndex := iNdEx + intStringLen 8941 if postIndex < 0 { 8942 return ErrInvalidLengthApplication 8943 } 8944 if postIndex > l { 8945 return io.ErrUnexpectedEOF 8946 } 8947 s := string(dAtA[iNdEx:postIndex]) 8948 m.AppNamespace = &s 8949 iNdEx = postIndex 8950 case 8: 8951 if wireType != 2 { 8952 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 8953 } 8954 var stringLen uint64 8955 for shift := uint(0); ; shift += 7 { 8956 if shift >= 64 { 8957 return ErrIntOverflowApplication 8958 } 8959 if iNdEx >= l { 8960 return io.ErrUnexpectedEOF 8961 } 8962 b := dAtA[iNdEx] 8963 iNdEx++ 8964 stringLen |= uint64(b&0x7F) << shift 8965 if b < 0x80 { 8966 break 8967 } 8968 } 8969 intStringLen := int(stringLen) 8970 if intStringLen < 0 { 8971 return ErrInvalidLengthApplication 8972 } 8973 postIndex := iNdEx + intStringLen 8974 if postIndex < 0 { 8975 return ErrInvalidLengthApplication 8976 } 8977 if postIndex > l { 8978 return io.ErrUnexpectedEOF 8979 } 8980 m.Project = append(m.Project, string(dAtA[iNdEx:postIndex])) 8981 iNdEx = postIndex 8982 default: 8983 iNdEx = preIndex 8984 skippy, err := skipApplication(dAtA[iNdEx:]) 8985 if err != nil { 8986 return err 8987 } 8988 if (skippy < 0) || (iNdEx+skippy) < 0 { 8989 return ErrInvalidLengthApplication 8990 } 8991 if (iNdEx + skippy) > l { 8992 return io.ErrUnexpectedEOF 8993 } 8994 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8995 iNdEx += skippy 8996 } 8997 } 8998 8999 if iNdEx > l { 9000 return io.ErrUnexpectedEOF 9001 } 9002 return nil 9003 } 9004 func (m *NodeQuery) Unmarshal(dAtA []byte) error { 9005 l := len(dAtA) 9006 iNdEx := 0 9007 for iNdEx < l { 9008 preIndex := iNdEx 9009 var wire uint64 9010 for shift := uint(0); ; shift += 7 { 9011 if shift >= 64 { 9012 return ErrIntOverflowApplication 9013 } 9014 if iNdEx >= l { 9015 return io.ErrUnexpectedEOF 9016 } 9017 b := dAtA[iNdEx] 9018 iNdEx++ 9019 wire |= uint64(b&0x7F) << shift 9020 if b < 0x80 { 9021 break 9022 } 9023 } 9024 fieldNum := int32(wire >> 3) 9025 wireType := int(wire & 0x7) 9026 if wireType == 4 { 9027 return fmt.Errorf("proto: NodeQuery: wiretype end group for non-group") 9028 } 9029 if fieldNum <= 0 { 9030 return fmt.Errorf("proto: NodeQuery: illegal tag %d (wire type %d)", fieldNum, wire) 9031 } 9032 switch fieldNum { 9033 case 1: 9034 if wireType != 2 { 9035 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9036 } 9037 var stringLen uint64 9038 for shift := uint(0); ; shift += 7 { 9039 if shift >= 64 { 9040 return ErrIntOverflowApplication 9041 } 9042 if iNdEx >= l { 9043 return io.ErrUnexpectedEOF 9044 } 9045 b := dAtA[iNdEx] 9046 iNdEx++ 9047 stringLen |= uint64(b&0x7F) << shift 9048 if b < 0x80 { 9049 break 9050 } 9051 } 9052 intStringLen := int(stringLen) 9053 if intStringLen < 0 { 9054 return ErrInvalidLengthApplication 9055 } 9056 postIndex := iNdEx + intStringLen 9057 if postIndex < 0 { 9058 return ErrInvalidLengthApplication 9059 } 9060 if postIndex > l { 9061 return io.ErrUnexpectedEOF 9062 } 9063 s := string(dAtA[iNdEx:postIndex]) 9064 m.Name = &s 9065 iNdEx = postIndex 9066 case 2: 9067 if wireType != 2 { 9068 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 9069 } 9070 var stringLen uint64 9071 for shift := uint(0); ; shift += 7 { 9072 if shift >= 64 { 9073 return ErrIntOverflowApplication 9074 } 9075 if iNdEx >= l { 9076 return io.ErrUnexpectedEOF 9077 } 9078 b := dAtA[iNdEx] 9079 iNdEx++ 9080 stringLen |= uint64(b&0x7F) << shift 9081 if b < 0x80 { 9082 break 9083 } 9084 } 9085 intStringLen := int(stringLen) 9086 if intStringLen < 0 { 9087 return ErrInvalidLengthApplication 9088 } 9089 postIndex := iNdEx + intStringLen 9090 if postIndex < 0 { 9091 return ErrInvalidLengthApplication 9092 } 9093 if postIndex > l { 9094 return io.ErrUnexpectedEOF 9095 } 9096 s := string(dAtA[iNdEx:postIndex]) 9097 m.AppNamespace = &s 9098 iNdEx = postIndex 9099 default: 9100 iNdEx = preIndex 9101 skippy, err := skipApplication(dAtA[iNdEx:]) 9102 if err != nil { 9103 return err 9104 } 9105 if (skippy < 0) || (iNdEx+skippy) < 0 { 9106 return ErrInvalidLengthApplication 9107 } 9108 if (iNdEx + skippy) > l { 9109 return io.ErrUnexpectedEOF 9110 } 9111 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9112 iNdEx += skippy 9113 } 9114 } 9115 9116 if iNdEx > l { 9117 return io.ErrUnexpectedEOF 9118 } 9119 return nil 9120 } 9121 func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { 9122 var hasFields [1]uint64 9123 l := len(dAtA) 9124 iNdEx := 0 9125 for iNdEx < l { 9126 preIndex := iNdEx 9127 var wire uint64 9128 for shift := uint(0); ; shift += 7 { 9129 if shift >= 64 { 9130 return ErrIntOverflowApplication 9131 } 9132 if iNdEx >= l { 9133 return io.ErrUnexpectedEOF 9134 } 9135 b := dAtA[iNdEx] 9136 iNdEx++ 9137 wire |= uint64(b&0x7F) << shift 9138 if b < 0x80 { 9139 break 9140 } 9141 } 9142 fieldNum := int32(wire >> 3) 9143 wireType := int(wire & 0x7) 9144 if wireType == 4 { 9145 return fmt.Errorf("proto: RevisionMetadataQuery: wiretype end group for non-group") 9146 } 9147 if fieldNum <= 0 { 9148 return fmt.Errorf("proto: RevisionMetadataQuery: illegal tag %d (wire type %d)", fieldNum, wire) 9149 } 9150 switch fieldNum { 9151 case 1: 9152 if wireType != 2 { 9153 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9154 } 9155 var stringLen uint64 9156 for shift := uint(0); ; shift += 7 { 9157 if shift >= 64 { 9158 return ErrIntOverflowApplication 9159 } 9160 if iNdEx >= l { 9161 return io.ErrUnexpectedEOF 9162 } 9163 b := dAtA[iNdEx] 9164 iNdEx++ 9165 stringLen |= uint64(b&0x7F) << shift 9166 if b < 0x80 { 9167 break 9168 } 9169 } 9170 intStringLen := int(stringLen) 9171 if intStringLen < 0 { 9172 return ErrInvalidLengthApplication 9173 } 9174 postIndex := iNdEx + intStringLen 9175 if postIndex < 0 { 9176 return ErrInvalidLengthApplication 9177 } 9178 if postIndex > l { 9179 return io.ErrUnexpectedEOF 9180 } 9181 s := string(dAtA[iNdEx:postIndex]) 9182 m.Name = &s 9183 iNdEx = postIndex 9184 hasFields[0] |= uint64(0x00000001) 9185 case 2: 9186 if wireType != 2 { 9187 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 9188 } 9189 var stringLen uint64 9190 for shift := uint(0); ; shift += 7 { 9191 if shift >= 64 { 9192 return ErrIntOverflowApplication 9193 } 9194 if iNdEx >= l { 9195 return io.ErrUnexpectedEOF 9196 } 9197 b := dAtA[iNdEx] 9198 iNdEx++ 9199 stringLen |= uint64(b&0x7F) << shift 9200 if b < 0x80 { 9201 break 9202 } 9203 } 9204 intStringLen := int(stringLen) 9205 if intStringLen < 0 { 9206 return ErrInvalidLengthApplication 9207 } 9208 postIndex := iNdEx + intStringLen 9209 if postIndex < 0 { 9210 return ErrInvalidLengthApplication 9211 } 9212 if postIndex > l { 9213 return io.ErrUnexpectedEOF 9214 } 9215 s := string(dAtA[iNdEx:postIndex]) 9216 m.Revision = &s 9217 iNdEx = postIndex 9218 hasFields[0] |= uint64(0x00000002) 9219 case 3: 9220 if wireType != 2 { 9221 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 9222 } 9223 var stringLen uint64 9224 for shift := uint(0); ; shift += 7 { 9225 if shift >= 64 { 9226 return ErrIntOverflowApplication 9227 } 9228 if iNdEx >= l { 9229 return io.ErrUnexpectedEOF 9230 } 9231 b := dAtA[iNdEx] 9232 iNdEx++ 9233 stringLen |= uint64(b&0x7F) << shift 9234 if b < 0x80 { 9235 break 9236 } 9237 } 9238 intStringLen := int(stringLen) 9239 if intStringLen < 0 { 9240 return ErrInvalidLengthApplication 9241 } 9242 postIndex := iNdEx + intStringLen 9243 if postIndex < 0 { 9244 return ErrInvalidLengthApplication 9245 } 9246 if postIndex > l { 9247 return io.ErrUnexpectedEOF 9248 } 9249 s := string(dAtA[iNdEx:postIndex]) 9250 m.AppNamespace = &s 9251 iNdEx = postIndex 9252 case 4: 9253 if wireType != 2 { 9254 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 9255 } 9256 var stringLen uint64 9257 for shift := uint(0); ; shift += 7 { 9258 if shift >= 64 { 9259 return ErrIntOverflowApplication 9260 } 9261 if iNdEx >= l { 9262 return io.ErrUnexpectedEOF 9263 } 9264 b := dAtA[iNdEx] 9265 iNdEx++ 9266 stringLen |= uint64(b&0x7F) << shift 9267 if b < 0x80 { 9268 break 9269 } 9270 } 9271 intStringLen := int(stringLen) 9272 if intStringLen < 0 { 9273 return ErrInvalidLengthApplication 9274 } 9275 postIndex := iNdEx + intStringLen 9276 if postIndex < 0 { 9277 return ErrInvalidLengthApplication 9278 } 9279 if postIndex > l { 9280 return io.ErrUnexpectedEOF 9281 } 9282 s := string(dAtA[iNdEx:postIndex]) 9283 m.Project = &s 9284 iNdEx = postIndex 9285 case 5: 9286 if wireType != 0 { 9287 return fmt.Errorf("proto: wrong wireType = %d for field SourceIndex", wireType) 9288 } 9289 var v int32 9290 for shift := uint(0); ; shift += 7 { 9291 if shift >= 64 { 9292 return ErrIntOverflowApplication 9293 } 9294 if iNdEx >= l { 9295 return io.ErrUnexpectedEOF 9296 } 9297 b := dAtA[iNdEx] 9298 iNdEx++ 9299 v |= int32(b&0x7F) << shift 9300 if b < 0x80 { 9301 break 9302 } 9303 } 9304 m.SourceIndex = &v 9305 case 6: 9306 if wireType != 0 { 9307 return fmt.Errorf("proto: wrong wireType = %d for field VersionId", wireType) 9308 } 9309 var v int32 9310 for shift := uint(0); ; shift += 7 { 9311 if shift >= 64 { 9312 return ErrIntOverflowApplication 9313 } 9314 if iNdEx >= l { 9315 return io.ErrUnexpectedEOF 9316 } 9317 b := dAtA[iNdEx] 9318 iNdEx++ 9319 v |= int32(b&0x7F) << shift 9320 if b < 0x80 { 9321 break 9322 } 9323 } 9324 m.VersionId = &v 9325 default: 9326 iNdEx = preIndex 9327 skippy, err := skipApplication(dAtA[iNdEx:]) 9328 if err != nil { 9329 return err 9330 } 9331 if (skippy < 0) || (iNdEx+skippy) < 0 { 9332 return ErrInvalidLengthApplication 9333 } 9334 if (iNdEx + skippy) > l { 9335 return io.ErrUnexpectedEOF 9336 } 9337 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9338 iNdEx += skippy 9339 } 9340 } 9341 if hasFields[0]&uint64(0x00000001) == 0 { 9342 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 9343 } 9344 if hasFields[0]&uint64(0x00000002) == 0 { 9345 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("revision") 9346 } 9347 9348 if iNdEx > l { 9349 return io.ErrUnexpectedEOF 9350 } 9351 return nil 9352 } 9353 func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { 9354 var hasFields [1]uint64 9355 l := len(dAtA) 9356 iNdEx := 0 9357 for iNdEx < l { 9358 preIndex := iNdEx 9359 var wire uint64 9360 for shift := uint(0); ; shift += 7 { 9361 if shift >= 64 { 9362 return ErrIntOverflowApplication 9363 } 9364 if iNdEx >= l { 9365 return io.ErrUnexpectedEOF 9366 } 9367 b := dAtA[iNdEx] 9368 iNdEx++ 9369 wire |= uint64(b&0x7F) << shift 9370 if b < 0x80 { 9371 break 9372 } 9373 } 9374 fieldNum := int32(wire >> 3) 9375 wireType := int(wire & 0x7) 9376 if wireType == 4 { 9377 return fmt.Errorf("proto: ApplicationResourceEventsQuery: wiretype end group for non-group") 9378 } 9379 if fieldNum <= 0 { 9380 return fmt.Errorf("proto: ApplicationResourceEventsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 9381 } 9382 switch fieldNum { 9383 case 1: 9384 if wireType != 2 { 9385 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9386 } 9387 var stringLen uint64 9388 for shift := uint(0); ; shift += 7 { 9389 if shift >= 64 { 9390 return ErrIntOverflowApplication 9391 } 9392 if iNdEx >= l { 9393 return io.ErrUnexpectedEOF 9394 } 9395 b := dAtA[iNdEx] 9396 iNdEx++ 9397 stringLen |= uint64(b&0x7F) << shift 9398 if b < 0x80 { 9399 break 9400 } 9401 } 9402 intStringLen := int(stringLen) 9403 if intStringLen < 0 { 9404 return ErrInvalidLengthApplication 9405 } 9406 postIndex := iNdEx + intStringLen 9407 if postIndex < 0 { 9408 return ErrInvalidLengthApplication 9409 } 9410 if postIndex > l { 9411 return io.ErrUnexpectedEOF 9412 } 9413 s := string(dAtA[iNdEx:postIndex]) 9414 m.Name = &s 9415 iNdEx = postIndex 9416 hasFields[0] |= uint64(0x00000001) 9417 case 2: 9418 if wireType != 2 { 9419 return fmt.Errorf("proto: wrong wireType = %d for field ResourceNamespace", wireType) 9420 } 9421 var stringLen uint64 9422 for shift := uint(0); ; shift += 7 { 9423 if shift >= 64 { 9424 return ErrIntOverflowApplication 9425 } 9426 if iNdEx >= l { 9427 return io.ErrUnexpectedEOF 9428 } 9429 b := dAtA[iNdEx] 9430 iNdEx++ 9431 stringLen |= uint64(b&0x7F) << shift 9432 if b < 0x80 { 9433 break 9434 } 9435 } 9436 intStringLen := int(stringLen) 9437 if intStringLen < 0 { 9438 return ErrInvalidLengthApplication 9439 } 9440 postIndex := iNdEx + intStringLen 9441 if postIndex < 0 { 9442 return ErrInvalidLengthApplication 9443 } 9444 if postIndex > l { 9445 return io.ErrUnexpectedEOF 9446 } 9447 s := string(dAtA[iNdEx:postIndex]) 9448 m.ResourceNamespace = &s 9449 iNdEx = postIndex 9450 case 3: 9451 if wireType != 2 { 9452 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 9453 } 9454 var stringLen uint64 9455 for shift := uint(0); ; shift += 7 { 9456 if shift >= 64 { 9457 return ErrIntOverflowApplication 9458 } 9459 if iNdEx >= l { 9460 return io.ErrUnexpectedEOF 9461 } 9462 b := dAtA[iNdEx] 9463 iNdEx++ 9464 stringLen |= uint64(b&0x7F) << shift 9465 if b < 0x80 { 9466 break 9467 } 9468 } 9469 intStringLen := int(stringLen) 9470 if intStringLen < 0 { 9471 return ErrInvalidLengthApplication 9472 } 9473 postIndex := iNdEx + intStringLen 9474 if postIndex < 0 { 9475 return ErrInvalidLengthApplication 9476 } 9477 if postIndex > l { 9478 return io.ErrUnexpectedEOF 9479 } 9480 s := string(dAtA[iNdEx:postIndex]) 9481 m.ResourceName = &s 9482 iNdEx = postIndex 9483 case 4: 9484 if wireType != 2 { 9485 return fmt.Errorf("proto: wrong wireType = %d for field ResourceUID", wireType) 9486 } 9487 var stringLen uint64 9488 for shift := uint(0); ; shift += 7 { 9489 if shift >= 64 { 9490 return ErrIntOverflowApplication 9491 } 9492 if iNdEx >= l { 9493 return io.ErrUnexpectedEOF 9494 } 9495 b := dAtA[iNdEx] 9496 iNdEx++ 9497 stringLen |= uint64(b&0x7F) << shift 9498 if b < 0x80 { 9499 break 9500 } 9501 } 9502 intStringLen := int(stringLen) 9503 if intStringLen < 0 { 9504 return ErrInvalidLengthApplication 9505 } 9506 postIndex := iNdEx + intStringLen 9507 if postIndex < 0 { 9508 return ErrInvalidLengthApplication 9509 } 9510 if postIndex > l { 9511 return io.ErrUnexpectedEOF 9512 } 9513 s := string(dAtA[iNdEx:postIndex]) 9514 m.ResourceUID = &s 9515 iNdEx = postIndex 9516 case 5: 9517 if wireType != 2 { 9518 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 9519 } 9520 var stringLen uint64 9521 for shift := uint(0); ; shift += 7 { 9522 if shift >= 64 { 9523 return ErrIntOverflowApplication 9524 } 9525 if iNdEx >= l { 9526 return io.ErrUnexpectedEOF 9527 } 9528 b := dAtA[iNdEx] 9529 iNdEx++ 9530 stringLen |= uint64(b&0x7F) << shift 9531 if b < 0x80 { 9532 break 9533 } 9534 } 9535 intStringLen := int(stringLen) 9536 if intStringLen < 0 { 9537 return ErrInvalidLengthApplication 9538 } 9539 postIndex := iNdEx + intStringLen 9540 if postIndex < 0 { 9541 return ErrInvalidLengthApplication 9542 } 9543 if postIndex > l { 9544 return io.ErrUnexpectedEOF 9545 } 9546 s := string(dAtA[iNdEx:postIndex]) 9547 m.AppNamespace = &s 9548 iNdEx = postIndex 9549 case 6: 9550 if wireType != 2 { 9551 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 9552 } 9553 var stringLen uint64 9554 for shift := uint(0); ; shift += 7 { 9555 if shift >= 64 { 9556 return ErrIntOverflowApplication 9557 } 9558 if iNdEx >= l { 9559 return io.ErrUnexpectedEOF 9560 } 9561 b := dAtA[iNdEx] 9562 iNdEx++ 9563 stringLen |= uint64(b&0x7F) << shift 9564 if b < 0x80 { 9565 break 9566 } 9567 } 9568 intStringLen := int(stringLen) 9569 if intStringLen < 0 { 9570 return ErrInvalidLengthApplication 9571 } 9572 postIndex := iNdEx + intStringLen 9573 if postIndex < 0 { 9574 return ErrInvalidLengthApplication 9575 } 9576 if postIndex > l { 9577 return io.ErrUnexpectedEOF 9578 } 9579 s := string(dAtA[iNdEx:postIndex]) 9580 m.Project = &s 9581 iNdEx = postIndex 9582 default: 9583 iNdEx = preIndex 9584 skippy, err := skipApplication(dAtA[iNdEx:]) 9585 if err != nil { 9586 return err 9587 } 9588 if (skippy < 0) || (iNdEx+skippy) < 0 { 9589 return ErrInvalidLengthApplication 9590 } 9591 if (iNdEx + skippy) > l { 9592 return io.ErrUnexpectedEOF 9593 } 9594 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9595 iNdEx += skippy 9596 } 9597 } 9598 if hasFields[0]&uint64(0x00000001) == 0 { 9599 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 9600 } 9601 9602 if iNdEx > l { 9603 return io.ErrUnexpectedEOF 9604 } 9605 return nil 9606 } 9607 func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { 9608 var hasFields [1]uint64 9609 l := len(dAtA) 9610 iNdEx := 0 9611 for iNdEx < l { 9612 preIndex := iNdEx 9613 var wire uint64 9614 for shift := uint(0); ; shift += 7 { 9615 if shift >= 64 { 9616 return ErrIntOverflowApplication 9617 } 9618 if iNdEx >= l { 9619 return io.ErrUnexpectedEOF 9620 } 9621 b := dAtA[iNdEx] 9622 iNdEx++ 9623 wire |= uint64(b&0x7F) << shift 9624 if b < 0x80 { 9625 break 9626 } 9627 } 9628 fieldNum := int32(wire >> 3) 9629 wireType := int(wire & 0x7) 9630 if wireType == 4 { 9631 return fmt.Errorf("proto: ApplicationManifestQuery: wiretype end group for non-group") 9632 } 9633 if fieldNum <= 0 { 9634 return fmt.Errorf("proto: ApplicationManifestQuery: illegal tag %d (wire type %d)", fieldNum, wire) 9635 } 9636 switch fieldNum { 9637 case 1: 9638 if wireType != 2 { 9639 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9640 } 9641 var stringLen uint64 9642 for shift := uint(0); ; shift += 7 { 9643 if shift >= 64 { 9644 return ErrIntOverflowApplication 9645 } 9646 if iNdEx >= l { 9647 return io.ErrUnexpectedEOF 9648 } 9649 b := dAtA[iNdEx] 9650 iNdEx++ 9651 stringLen |= uint64(b&0x7F) << shift 9652 if b < 0x80 { 9653 break 9654 } 9655 } 9656 intStringLen := int(stringLen) 9657 if intStringLen < 0 { 9658 return ErrInvalidLengthApplication 9659 } 9660 postIndex := iNdEx + intStringLen 9661 if postIndex < 0 { 9662 return ErrInvalidLengthApplication 9663 } 9664 if postIndex > l { 9665 return io.ErrUnexpectedEOF 9666 } 9667 s := string(dAtA[iNdEx:postIndex]) 9668 m.Name = &s 9669 iNdEx = postIndex 9670 hasFields[0] |= uint64(0x00000001) 9671 case 2: 9672 if wireType != 2 { 9673 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 9674 } 9675 var stringLen uint64 9676 for shift := uint(0); ; shift += 7 { 9677 if shift >= 64 { 9678 return ErrIntOverflowApplication 9679 } 9680 if iNdEx >= l { 9681 return io.ErrUnexpectedEOF 9682 } 9683 b := dAtA[iNdEx] 9684 iNdEx++ 9685 stringLen |= uint64(b&0x7F) << shift 9686 if b < 0x80 { 9687 break 9688 } 9689 } 9690 intStringLen := int(stringLen) 9691 if intStringLen < 0 { 9692 return ErrInvalidLengthApplication 9693 } 9694 postIndex := iNdEx + intStringLen 9695 if postIndex < 0 { 9696 return ErrInvalidLengthApplication 9697 } 9698 if postIndex > l { 9699 return io.ErrUnexpectedEOF 9700 } 9701 s := string(dAtA[iNdEx:postIndex]) 9702 m.Revision = &s 9703 iNdEx = postIndex 9704 case 3: 9705 if wireType != 2 { 9706 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 9707 } 9708 var stringLen uint64 9709 for shift := uint(0); ; shift += 7 { 9710 if shift >= 64 { 9711 return ErrIntOverflowApplication 9712 } 9713 if iNdEx >= l { 9714 return io.ErrUnexpectedEOF 9715 } 9716 b := dAtA[iNdEx] 9717 iNdEx++ 9718 stringLen |= uint64(b&0x7F) << shift 9719 if b < 0x80 { 9720 break 9721 } 9722 } 9723 intStringLen := int(stringLen) 9724 if intStringLen < 0 { 9725 return ErrInvalidLengthApplication 9726 } 9727 postIndex := iNdEx + intStringLen 9728 if postIndex < 0 { 9729 return ErrInvalidLengthApplication 9730 } 9731 if postIndex > l { 9732 return io.ErrUnexpectedEOF 9733 } 9734 s := string(dAtA[iNdEx:postIndex]) 9735 m.AppNamespace = &s 9736 iNdEx = postIndex 9737 case 4: 9738 if wireType != 2 { 9739 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 9740 } 9741 var stringLen uint64 9742 for shift := uint(0); ; shift += 7 { 9743 if shift >= 64 { 9744 return ErrIntOverflowApplication 9745 } 9746 if iNdEx >= l { 9747 return io.ErrUnexpectedEOF 9748 } 9749 b := dAtA[iNdEx] 9750 iNdEx++ 9751 stringLen |= uint64(b&0x7F) << shift 9752 if b < 0x80 { 9753 break 9754 } 9755 } 9756 intStringLen := int(stringLen) 9757 if intStringLen < 0 { 9758 return ErrInvalidLengthApplication 9759 } 9760 postIndex := iNdEx + intStringLen 9761 if postIndex < 0 { 9762 return ErrInvalidLengthApplication 9763 } 9764 if postIndex > l { 9765 return io.ErrUnexpectedEOF 9766 } 9767 s := string(dAtA[iNdEx:postIndex]) 9768 m.Project = &s 9769 iNdEx = postIndex 9770 case 5: 9771 if wireType == 0 { 9772 var v int64 9773 for shift := uint(0); ; shift += 7 { 9774 if shift >= 64 { 9775 return ErrIntOverflowApplication 9776 } 9777 if iNdEx >= l { 9778 return io.ErrUnexpectedEOF 9779 } 9780 b := dAtA[iNdEx] 9781 iNdEx++ 9782 v |= int64(b&0x7F) << shift 9783 if b < 0x80 { 9784 break 9785 } 9786 } 9787 m.SourcePositions = append(m.SourcePositions, v) 9788 } else if wireType == 2 { 9789 var packedLen int 9790 for shift := uint(0); ; shift += 7 { 9791 if shift >= 64 { 9792 return ErrIntOverflowApplication 9793 } 9794 if iNdEx >= l { 9795 return io.ErrUnexpectedEOF 9796 } 9797 b := dAtA[iNdEx] 9798 iNdEx++ 9799 packedLen |= int(b&0x7F) << shift 9800 if b < 0x80 { 9801 break 9802 } 9803 } 9804 if packedLen < 0 { 9805 return ErrInvalidLengthApplication 9806 } 9807 postIndex := iNdEx + packedLen 9808 if postIndex < 0 { 9809 return ErrInvalidLengthApplication 9810 } 9811 if postIndex > l { 9812 return io.ErrUnexpectedEOF 9813 } 9814 var elementCount int 9815 var count int 9816 for _, integer := range dAtA[iNdEx:postIndex] { 9817 if integer < 128 { 9818 count++ 9819 } 9820 } 9821 elementCount = count 9822 if elementCount != 0 && len(m.SourcePositions) == 0 { 9823 m.SourcePositions = make([]int64, 0, elementCount) 9824 } 9825 for iNdEx < postIndex { 9826 var v int64 9827 for shift := uint(0); ; shift += 7 { 9828 if shift >= 64 { 9829 return ErrIntOverflowApplication 9830 } 9831 if iNdEx >= l { 9832 return io.ErrUnexpectedEOF 9833 } 9834 b := dAtA[iNdEx] 9835 iNdEx++ 9836 v |= int64(b&0x7F) << shift 9837 if b < 0x80 { 9838 break 9839 } 9840 } 9841 m.SourcePositions = append(m.SourcePositions, v) 9842 } 9843 } else { 9844 return fmt.Errorf("proto: wrong wireType = %d for field SourcePositions", wireType) 9845 } 9846 case 6: 9847 if wireType != 2 { 9848 return fmt.Errorf("proto: wrong wireType = %d for field Revisions", wireType) 9849 } 9850 var stringLen uint64 9851 for shift := uint(0); ; shift += 7 { 9852 if shift >= 64 { 9853 return ErrIntOverflowApplication 9854 } 9855 if iNdEx >= l { 9856 return io.ErrUnexpectedEOF 9857 } 9858 b := dAtA[iNdEx] 9859 iNdEx++ 9860 stringLen |= uint64(b&0x7F) << shift 9861 if b < 0x80 { 9862 break 9863 } 9864 } 9865 intStringLen := int(stringLen) 9866 if intStringLen < 0 { 9867 return ErrInvalidLengthApplication 9868 } 9869 postIndex := iNdEx + intStringLen 9870 if postIndex < 0 { 9871 return ErrInvalidLengthApplication 9872 } 9873 if postIndex > l { 9874 return io.ErrUnexpectedEOF 9875 } 9876 m.Revisions = append(m.Revisions, string(dAtA[iNdEx:postIndex])) 9877 iNdEx = postIndex 9878 case 7: 9879 if wireType != 0 { 9880 return fmt.Errorf("proto: wrong wireType = %d for field NoCache", wireType) 9881 } 9882 var v int 9883 for shift := uint(0); ; shift += 7 { 9884 if shift >= 64 { 9885 return ErrIntOverflowApplication 9886 } 9887 if iNdEx >= l { 9888 return io.ErrUnexpectedEOF 9889 } 9890 b := dAtA[iNdEx] 9891 iNdEx++ 9892 v |= int(b&0x7F) << shift 9893 if b < 0x80 { 9894 break 9895 } 9896 } 9897 b := bool(v != 0) 9898 m.NoCache = &b 9899 default: 9900 iNdEx = preIndex 9901 skippy, err := skipApplication(dAtA[iNdEx:]) 9902 if err != nil { 9903 return err 9904 } 9905 if (skippy < 0) || (iNdEx+skippy) < 0 { 9906 return ErrInvalidLengthApplication 9907 } 9908 if (iNdEx + skippy) > l { 9909 return io.ErrUnexpectedEOF 9910 } 9911 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9912 iNdEx += skippy 9913 } 9914 } 9915 if hasFields[0]&uint64(0x00000001) == 0 { 9916 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 9917 } 9918 9919 if iNdEx > l { 9920 return io.ErrUnexpectedEOF 9921 } 9922 return nil 9923 } 9924 func (m *FileChunk) Unmarshal(dAtA []byte) error { 9925 var hasFields [1]uint64 9926 l := len(dAtA) 9927 iNdEx := 0 9928 for iNdEx < l { 9929 preIndex := iNdEx 9930 var wire uint64 9931 for shift := uint(0); ; shift += 7 { 9932 if shift >= 64 { 9933 return ErrIntOverflowApplication 9934 } 9935 if iNdEx >= l { 9936 return io.ErrUnexpectedEOF 9937 } 9938 b := dAtA[iNdEx] 9939 iNdEx++ 9940 wire |= uint64(b&0x7F) << shift 9941 if b < 0x80 { 9942 break 9943 } 9944 } 9945 fieldNum := int32(wire >> 3) 9946 wireType := int(wire & 0x7) 9947 if wireType == 4 { 9948 return fmt.Errorf("proto: FileChunk: wiretype end group for non-group") 9949 } 9950 if fieldNum <= 0 { 9951 return fmt.Errorf("proto: FileChunk: illegal tag %d (wire type %d)", fieldNum, wire) 9952 } 9953 switch fieldNum { 9954 case 1: 9955 if wireType != 2 { 9956 return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) 9957 } 9958 var byteLen int 9959 for shift := uint(0); ; shift += 7 { 9960 if shift >= 64 { 9961 return ErrIntOverflowApplication 9962 } 9963 if iNdEx >= l { 9964 return io.ErrUnexpectedEOF 9965 } 9966 b := dAtA[iNdEx] 9967 iNdEx++ 9968 byteLen |= int(b&0x7F) << shift 9969 if b < 0x80 { 9970 break 9971 } 9972 } 9973 if byteLen < 0 { 9974 return ErrInvalidLengthApplication 9975 } 9976 postIndex := iNdEx + byteLen 9977 if postIndex < 0 { 9978 return ErrInvalidLengthApplication 9979 } 9980 if postIndex > l { 9981 return io.ErrUnexpectedEOF 9982 } 9983 m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...) 9984 if m.Chunk == nil { 9985 m.Chunk = []byte{} 9986 } 9987 iNdEx = postIndex 9988 hasFields[0] |= uint64(0x00000001) 9989 default: 9990 iNdEx = preIndex 9991 skippy, err := skipApplication(dAtA[iNdEx:]) 9992 if err != nil { 9993 return err 9994 } 9995 if (skippy < 0) || (iNdEx+skippy) < 0 { 9996 return ErrInvalidLengthApplication 9997 } 9998 if (iNdEx + skippy) > l { 9999 return io.ErrUnexpectedEOF 10000 } 10001 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10002 iNdEx += skippy 10003 } 10004 } 10005 if hasFields[0]&uint64(0x00000001) == 0 { 10006 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("chunk") 10007 } 10008 10009 if iNdEx > l { 10010 return io.ErrUnexpectedEOF 10011 } 10012 return nil 10013 } 10014 func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { 10015 var hasFields [1]uint64 10016 l := len(dAtA) 10017 iNdEx := 0 10018 for iNdEx < l { 10019 preIndex := iNdEx 10020 var wire uint64 10021 for shift := uint(0); ; shift += 7 { 10022 if shift >= 64 { 10023 return ErrIntOverflowApplication 10024 } 10025 if iNdEx >= l { 10026 return io.ErrUnexpectedEOF 10027 } 10028 b := dAtA[iNdEx] 10029 iNdEx++ 10030 wire |= uint64(b&0x7F) << shift 10031 if b < 0x80 { 10032 break 10033 } 10034 } 10035 fieldNum := int32(wire >> 3) 10036 wireType := int(wire & 0x7) 10037 if wireType == 4 { 10038 return fmt.Errorf("proto: ApplicationManifestQueryWithFiles: wiretype end group for non-group") 10039 } 10040 if fieldNum <= 0 { 10041 return fmt.Errorf("proto: ApplicationManifestQueryWithFiles: illegal tag %d (wire type %d)", fieldNum, wire) 10042 } 10043 switch fieldNum { 10044 case 1: 10045 if wireType != 2 { 10046 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10047 } 10048 var stringLen uint64 10049 for shift := uint(0); ; shift += 7 { 10050 if shift >= 64 { 10051 return ErrIntOverflowApplication 10052 } 10053 if iNdEx >= l { 10054 return io.ErrUnexpectedEOF 10055 } 10056 b := dAtA[iNdEx] 10057 iNdEx++ 10058 stringLen |= uint64(b&0x7F) << shift 10059 if b < 0x80 { 10060 break 10061 } 10062 } 10063 intStringLen := int(stringLen) 10064 if intStringLen < 0 { 10065 return ErrInvalidLengthApplication 10066 } 10067 postIndex := iNdEx + intStringLen 10068 if postIndex < 0 { 10069 return ErrInvalidLengthApplication 10070 } 10071 if postIndex > l { 10072 return io.ErrUnexpectedEOF 10073 } 10074 s := string(dAtA[iNdEx:postIndex]) 10075 m.Name = &s 10076 iNdEx = postIndex 10077 hasFields[0] |= uint64(0x00000001) 10078 case 2: 10079 if wireType != 2 { 10080 return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) 10081 } 10082 var stringLen uint64 10083 for shift := uint(0); ; shift += 7 { 10084 if shift >= 64 { 10085 return ErrIntOverflowApplication 10086 } 10087 if iNdEx >= l { 10088 return io.ErrUnexpectedEOF 10089 } 10090 b := dAtA[iNdEx] 10091 iNdEx++ 10092 stringLen |= uint64(b&0x7F) << shift 10093 if b < 0x80 { 10094 break 10095 } 10096 } 10097 intStringLen := int(stringLen) 10098 if intStringLen < 0 { 10099 return ErrInvalidLengthApplication 10100 } 10101 postIndex := iNdEx + intStringLen 10102 if postIndex < 0 { 10103 return ErrInvalidLengthApplication 10104 } 10105 if postIndex > l { 10106 return io.ErrUnexpectedEOF 10107 } 10108 s := string(dAtA[iNdEx:postIndex]) 10109 m.Checksum = &s 10110 iNdEx = postIndex 10111 hasFields[0] |= uint64(0x00000002) 10112 case 3: 10113 if wireType != 2 { 10114 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 10115 } 10116 var stringLen uint64 10117 for shift := uint(0); ; shift += 7 { 10118 if shift >= 64 { 10119 return ErrIntOverflowApplication 10120 } 10121 if iNdEx >= l { 10122 return io.ErrUnexpectedEOF 10123 } 10124 b := dAtA[iNdEx] 10125 iNdEx++ 10126 stringLen |= uint64(b&0x7F) << shift 10127 if b < 0x80 { 10128 break 10129 } 10130 } 10131 intStringLen := int(stringLen) 10132 if intStringLen < 0 { 10133 return ErrInvalidLengthApplication 10134 } 10135 postIndex := iNdEx + intStringLen 10136 if postIndex < 0 { 10137 return ErrInvalidLengthApplication 10138 } 10139 if postIndex > l { 10140 return io.ErrUnexpectedEOF 10141 } 10142 s := string(dAtA[iNdEx:postIndex]) 10143 m.AppNamespace = &s 10144 iNdEx = postIndex 10145 case 4: 10146 if wireType != 2 { 10147 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10148 } 10149 var stringLen uint64 10150 for shift := uint(0); ; shift += 7 { 10151 if shift >= 64 { 10152 return ErrIntOverflowApplication 10153 } 10154 if iNdEx >= l { 10155 return io.ErrUnexpectedEOF 10156 } 10157 b := dAtA[iNdEx] 10158 iNdEx++ 10159 stringLen |= uint64(b&0x7F) << shift 10160 if b < 0x80 { 10161 break 10162 } 10163 } 10164 intStringLen := int(stringLen) 10165 if intStringLen < 0 { 10166 return ErrInvalidLengthApplication 10167 } 10168 postIndex := iNdEx + intStringLen 10169 if postIndex < 0 { 10170 return ErrInvalidLengthApplication 10171 } 10172 if postIndex > l { 10173 return io.ErrUnexpectedEOF 10174 } 10175 s := string(dAtA[iNdEx:postIndex]) 10176 m.Project = &s 10177 iNdEx = postIndex 10178 default: 10179 iNdEx = preIndex 10180 skippy, err := skipApplication(dAtA[iNdEx:]) 10181 if err != nil { 10182 return err 10183 } 10184 if (skippy < 0) || (iNdEx+skippy) < 0 { 10185 return ErrInvalidLengthApplication 10186 } 10187 if (iNdEx + skippy) > l { 10188 return io.ErrUnexpectedEOF 10189 } 10190 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10191 iNdEx += skippy 10192 } 10193 } 10194 if hasFields[0]&uint64(0x00000001) == 0 { 10195 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 10196 } 10197 if hasFields[0]&uint64(0x00000002) == 0 { 10198 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("checksum") 10199 } 10200 10201 if iNdEx > l { 10202 return io.ErrUnexpectedEOF 10203 } 10204 return nil 10205 } 10206 func (m *ApplicationManifestQueryWithFilesWrapper) Unmarshal(dAtA []byte) error { 10207 l := len(dAtA) 10208 iNdEx := 0 10209 for iNdEx < l { 10210 preIndex := iNdEx 10211 var wire uint64 10212 for shift := uint(0); ; shift += 7 { 10213 if shift >= 64 { 10214 return ErrIntOverflowApplication 10215 } 10216 if iNdEx >= l { 10217 return io.ErrUnexpectedEOF 10218 } 10219 b := dAtA[iNdEx] 10220 iNdEx++ 10221 wire |= uint64(b&0x7F) << shift 10222 if b < 0x80 { 10223 break 10224 } 10225 } 10226 fieldNum := int32(wire >> 3) 10227 wireType := int(wire & 0x7) 10228 if wireType == 4 { 10229 return fmt.Errorf("proto: ApplicationManifestQueryWithFilesWrapper: wiretype end group for non-group") 10230 } 10231 if fieldNum <= 0 { 10232 return fmt.Errorf("proto: ApplicationManifestQueryWithFilesWrapper: illegal tag %d (wire type %d)", fieldNum, wire) 10233 } 10234 switch fieldNum { 10235 case 1: 10236 if wireType != 2 { 10237 return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) 10238 } 10239 var msglen int 10240 for shift := uint(0); ; shift += 7 { 10241 if shift >= 64 { 10242 return ErrIntOverflowApplication 10243 } 10244 if iNdEx >= l { 10245 return io.ErrUnexpectedEOF 10246 } 10247 b := dAtA[iNdEx] 10248 iNdEx++ 10249 msglen |= int(b&0x7F) << shift 10250 if b < 0x80 { 10251 break 10252 } 10253 } 10254 if msglen < 0 { 10255 return ErrInvalidLengthApplication 10256 } 10257 postIndex := iNdEx + msglen 10258 if postIndex < 0 { 10259 return ErrInvalidLengthApplication 10260 } 10261 if postIndex > l { 10262 return io.ErrUnexpectedEOF 10263 } 10264 v := &ApplicationManifestQueryWithFiles{} 10265 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10266 return err 10267 } 10268 m.Part = &ApplicationManifestQueryWithFilesWrapper_Query{v} 10269 iNdEx = postIndex 10270 case 2: 10271 if wireType != 2 { 10272 return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) 10273 } 10274 var msglen int 10275 for shift := uint(0); ; shift += 7 { 10276 if shift >= 64 { 10277 return ErrIntOverflowApplication 10278 } 10279 if iNdEx >= l { 10280 return io.ErrUnexpectedEOF 10281 } 10282 b := dAtA[iNdEx] 10283 iNdEx++ 10284 msglen |= int(b&0x7F) << shift 10285 if b < 0x80 { 10286 break 10287 } 10288 } 10289 if msglen < 0 { 10290 return ErrInvalidLengthApplication 10291 } 10292 postIndex := iNdEx + msglen 10293 if postIndex < 0 { 10294 return ErrInvalidLengthApplication 10295 } 10296 if postIndex > l { 10297 return io.ErrUnexpectedEOF 10298 } 10299 v := &FileChunk{} 10300 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10301 return err 10302 } 10303 m.Part = &ApplicationManifestQueryWithFilesWrapper_Chunk{v} 10304 iNdEx = postIndex 10305 default: 10306 iNdEx = preIndex 10307 skippy, err := skipApplication(dAtA[iNdEx:]) 10308 if err != nil { 10309 return err 10310 } 10311 if (skippy < 0) || (iNdEx+skippy) < 0 { 10312 return ErrInvalidLengthApplication 10313 } 10314 if (iNdEx + skippy) > l { 10315 return io.ErrUnexpectedEOF 10316 } 10317 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10318 iNdEx += skippy 10319 } 10320 } 10321 10322 if iNdEx > l { 10323 return io.ErrUnexpectedEOF 10324 } 10325 return nil 10326 } 10327 func (m *ApplicationResponse) Unmarshal(dAtA []byte) error { 10328 l := len(dAtA) 10329 iNdEx := 0 10330 for iNdEx < l { 10331 preIndex := iNdEx 10332 var wire uint64 10333 for shift := uint(0); ; shift += 7 { 10334 if shift >= 64 { 10335 return ErrIntOverflowApplication 10336 } 10337 if iNdEx >= l { 10338 return io.ErrUnexpectedEOF 10339 } 10340 b := dAtA[iNdEx] 10341 iNdEx++ 10342 wire |= uint64(b&0x7F) << shift 10343 if b < 0x80 { 10344 break 10345 } 10346 } 10347 fieldNum := int32(wire >> 3) 10348 wireType := int(wire & 0x7) 10349 if wireType == 4 { 10350 return fmt.Errorf("proto: ApplicationResponse: wiretype end group for non-group") 10351 } 10352 if fieldNum <= 0 { 10353 return fmt.Errorf("proto: ApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) 10354 } 10355 switch fieldNum { 10356 default: 10357 iNdEx = preIndex 10358 skippy, err := skipApplication(dAtA[iNdEx:]) 10359 if err != nil { 10360 return err 10361 } 10362 if (skippy < 0) || (iNdEx+skippy) < 0 { 10363 return ErrInvalidLengthApplication 10364 } 10365 if (iNdEx + skippy) > l { 10366 return io.ErrUnexpectedEOF 10367 } 10368 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10369 iNdEx += skippy 10370 } 10371 } 10372 10373 if iNdEx > l { 10374 return io.ErrUnexpectedEOF 10375 } 10376 return nil 10377 } 10378 func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { 10379 var hasFields [1]uint64 10380 l := len(dAtA) 10381 iNdEx := 0 10382 for iNdEx < l { 10383 preIndex := iNdEx 10384 var wire uint64 10385 for shift := uint(0); ; shift += 7 { 10386 if shift >= 64 { 10387 return ErrIntOverflowApplication 10388 } 10389 if iNdEx >= l { 10390 return io.ErrUnexpectedEOF 10391 } 10392 b := dAtA[iNdEx] 10393 iNdEx++ 10394 wire |= uint64(b&0x7F) << shift 10395 if b < 0x80 { 10396 break 10397 } 10398 } 10399 fieldNum := int32(wire >> 3) 10400 wireType := int(wire & 0x7) 10401 if wireType == 4 { 10402 return fmt.Errorf("proto: ApplicationCreateRequest: wiretype end group for non-group") 10403 } 10404 if fieldNum <= 0 { 10405 return fmt.Errorf("proto: ApplicationCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10406 } 10407 switch fieldNum { 10408 case 1: 10409 if wireType != 2 { 10410 return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType) 10411 } 10412 var msglen int 10413 for shift := uint(0); ; shift += 7 { 10414 if shift >= 64 { 10415 return ErrIntOverflowApplication 10416 } 10417 if iNdEx >= l { 10418 return io.ErrUnexpectedEOF 10419 } 10420 b := dAtA[iNdEx] 10421 iNdEx++ 10422 msglen |= int(b&0x7F) << shift 10423 if b < 0x80 { 10424 break 10425 } 10426 } 10427 if msglen < 0 { 10428 return ErrInvalidLengthApplication 10429 } 10430 postIndex := iNdEx + msglen 10431 if postIndex < 0 { 10432 return ErrInvalidLengthApplication 10433 } 10434 if postIndex > l { 10435 return io.ErrUnexpectedEOF 10436 } 10437 if m.Application == nil { 10438 m.Application = &v1alpha1.Application{} 10439 } 10440 if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10441 return err 10442 } 10443 iNdEx = postIndex 10444 hasFields[0] |= uint64(0x00000001) 10445 case 2: 10446 if wireType != 0 { 10447 return fmt.Errorf("proto: wrong wireType = %d for field Upsert", wireType) 10448 } 10449 var v int 10450 for shift := uint(0); ; shift += 7 { 10451 if shift >= 64 { 10452 return ErrIntOverflowApplication 10453 } 10454 if iNdEx >= l { 10455 return io.ErrUnexpectedEOF 10456 } 10457 b := dAtA[iNdEx] 10458 iNdEx++ 10459 v |= int(b&0x7F) << shift 10460 if b < 0x80 { 10461 break 10462 } 10463 } 10464 b := bool(v != 0) 10465 m.Upsert = &b 10466 case 3: 10467 if wireType != 0 { 10468 return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) 10469 } 10470 var v int 10471 for shift := uint(0); ; shift += 7 { 10472 if shift >= 64 { 10473 return ErrIntOverflowApplication 10474 } 10475 if iNdEx >= l { 10476 return io.ErrUnexpectedEOF 10477 } 10478 b := dAtA[iNdEx] 10479 iNdEx++ 10480 v |= int(b&0x7F) << shift 10481 if b < 0x80 { 10482 break 10483 } 10484 } 10485 b := bool(v != 0) 10486 m.Validate = &b 10487 default: 10488 iNdEx = preIndex 10489 skippy, err := skipApplication(dAtA[iNdEx:]) 10490 if err != nil { 10491 return err 10492 } 10493 if (skippy < 0) || (iNdEx+skippy) < 0 { 10494 return ErrInvalidLengthApplication 10495 } 10496 if (iNdEx + skippy) > l { 10497 return io.ErrUnexpectedEOF 10498 } 10499 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10500 iNdEx += skippy 10501 } 10502 } 10503 if hasFields[0]&uint64(0x00000001) == 0 { 10504 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 10505 } 10506 10507 if iNdEx > l { 10508 return io.ErrUnexpectedEOF 10509 } 10510 return nil 10511 } 10512 func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { 10513 var hasFields [1]uint64 10514 l := len(dAtA) 10515 iNdEx := 0 10516 for iNdEx < l { 10517 preIndex := iNdEx 10518 var wire uint64 10519 for shift := uint(0); ; shift += 7 { 10520 if shift >= 64 { 10521 return ErrIntOverflowApplication 10522 } 10523 if iNdEx >= l { 10524 return io.ErrUnexpectedEOF 10525 } 10526 b := dAtA[iNdEx] 10527 iNdEx++ 10528 wire |= uint64(b&0x7F) << shift 10529 if b < 0x80 { 10530 break 10531 } 10532 } 10533 fieldNum := int32(wire >> 3) 10534 wireType := int(wire & 0x7) 10535 if wireType == 4 { 10536 return fmt.Errorf("proto: ApplicationUpdateRequest: wiretype end group for non-group") 10537 } 10538 if fieldNum <= 0 { 10539 return fmt.Errorf("proto: ApplicationUpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10540 } 10541 switch fieldNum { 10542 case 1: 10543 if wireType != 2 { 10544 return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType) 10545 } 10546 var msglen int 10547 for shift := uint(0); ; shift += 7 { 10548 if shift >= 64 { 10549 return ErrIntOverflowApplication 10550 } 10551 if iNdEx >= l { 10552 return io.ErrUnexpectedEOF 10553 } 10554 b := dAtA[iNdEx] 10555 iNdEx++ 10556 msglen |= int(b&0x7F) << shift 10557 if b < 0x80 { 10558 break 10559 } 10560 } 10561 if msglen < 0 { 10562 return ErrInvalidLengthApplication 10563 } 10564 postIndex := iNdEx + msglen 10565 if postIndex < 0 { 10566 return ErrInvalidLengthApplication 10567 } 10568 if postIndex > l { 10569 return io.ErrUnexpectedEOF 10570 } 10571 if m.Application == nil { 10572 m.Application = &v1alpha1.Application{} 10573 } 10574 if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10575 return err 10576 } 10577 iNdEx = postIndex 10578 hasFields[0] |= uint64(0x00000001) 10579 case 2: 10580 if wireType != 0 { 10581 return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) 10582 } 10583 var v int 10584 for shift := uint(0); ; shift += 7 { 10585 if shift >= 64 { 10586 return ErrIntOverflowApplication 10587 } 10588 if iNdEx >= l { 10589 return io.ErrUnexpectedEOF 10590 } 10591 b := dAtA[iNdEx] 10592 iNdEx++ 10593 v |= int(b&0x7F) << shift 10594 if b < 0x80 { 10595 break 10596 } 10597 } 10598 b := bool(v != 0) 10599 m.Validate = &b 10600 case 3: 10601 if wireType != 2 { 10602 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10603 } 10604 var stringLen uint64 10605 for shift := uint(0); ; shift += 7 { 10606 if shift >= 64 { 10607 return ErrIntOverflowApplication 10608 } 10609 if iNdEx >= l { 10610 return io.ErrUnexpectedEOF 10611 } 10612 b := dAtA[iNdEx] 10613 iNdEx++ 10614 stringLen |= uint64(b&0x7F) << shift 10615 if b < 0x80 { 10616 break 10617 } 10618 } 10619 intStringLen := int(stringLen) 10620 if intStringLen < 0 { 10621 return ErrInvalidLengthApplication 10622 } 10623 postIndex := iNdEx + intStringLen 10624 if postIndex < 0 { 10625 return ErrInvalidLengthApplication 10626 } 10627 if postIndex > l { 10628 return io.ErrUnexpectedEOF 10629 } 10630 s := string(dAtA[iNdEx:postIndex]) 10631 m.Project = &s 10632 iNdEx = postIndex 10633 default: 10634 iNdEx = preIndex 10635 skippy, err := skipApplication(dAtA[iNdEx:]) 10636 if err != nil { 10637 return err 10638 } 10639 if (skippy < 0) || (iNdEx+skippy) < 0 { 10640 return ErrInvalidLengthApplication 10641 } 10642 if (iNdEx + skippy) > l { 10643 return io.ErrUnexpectedEOF 10644 } 10645 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10646 iNdEx += skippy 10647 } 10648 } 10649 if hasFields[0]&uint64(0x00000001) == 0 { 10650 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 10651 } 10652 10653 if iNdEx > l { 10654 return io.ErrUnexpectedEOF 10655 } 10656 return nil 10657 } 10658 func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { 10659 var hasFields [1]uint64 10660 l := len(dAtA) 10661 iNdEx := 0 10662 for iNdEx < l { 10663 preIndex := iNdEx 10664 var wire uint64 10665 for shift := uint(0); ; shift += 7 { 10666 if shift >= 64 { 10667 return ErrIntOverflowApplication 10668 } 10669 if iNdEx >= l { 10670 return io.ErrUnexpectedEOF 10671 } 10672 b := dAtA[iNdEx] 10673 iNdEx++ 10674 wire |= uint64(b&0x7F) << shift 10675 if b < 0x80 { 10676 break 10677 } 10678 } 10679 fieldNum := int32(wire >> 3) 10680 wireType := int(wire & 0x7) 10681 if wireType == 4 { 10682 return fmt.Errorf("proto: ApplicationDeleteRequest: wiretype end group for non-group") 10683 } 10684 if fieldNum <= 0 { 10685 return fmt.Errorf("proto: ApplicationDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10686 } 10687 switch fieldNum { 10688 case 1: 10689 if wireType != 2 { 10690 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10691 } 10692 var stringLen uint64 10693 for shift := uint(0); ; shift += 7 { 10694 if shift >= 64 { 10695 return ErrIntOverflowApplication 10696 } 10697 if iNdEx >= l { 10698 return io.ErrUnexpectedEOF 10699 } 10700 b := dAtA[iNdEx] 10701 iNdEx++ 10702 stringLen |= uint64(b&0x7F) << shift 10703 if b < 0x80 { 10704 break 10705 } 10706 } 10707 intStringLen := int(stringLen) 10708 if intStringLen < 0 { 10709 return ErrInvalidLengthApplication 10710 } 10711 postIndex := iNdEx + intStringLen 10712 if postIndex < 0 { 10713 return ErrInvalidLengthApplication 10714 } 10715 if postIndex > l { 10716 return io.ErrUnexpectedEOF 10717 } 10718 s := string(dAtA[iNdEx:postIndex]) 10719 m.Name = &s 10720 iNdEx = postIndex 10721 hasFields[0] |= uint64(0x00000001) 10722 case 2: 10723 if wireType != 0 { 10724 return fmt.Errorf("proto: wrong wireType = %d for field Cascade", wireType) 10725 } 10726 var v int 10727 for shift := uint(0); ; shift += 7 { 10728 if shift >= 64 { 10729 return ErrIntOverflowApplication 10730 } 10731 if iNdEx >= l { 10732 return io.ErrUnexpectedEOF 10733 } 10734 b := dAtA[iNdEx] 10735 iNdEx++ 10736 v |= int(b&0x7F) << shift 10737 if b < 0x80 { 10738 break 10739 } 10740 } 10741 b := bool(v != 0) 10742 m.Cascade = &b 10743 case 3: 10744 if wireType != 2 { 10745 return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType) 10746 } 10747 var stringLen uint64 10748 for shift := uint(0); ; shift += 7 { 10749 if shift >= 64 { 10750 return ErrIntOverflowApplication 10751 } 10752 if iNdEx >= l { 10753 return io.ErrUnexpectedEOF 10754 } 10755 b := dAtA[iNdEx] 10756 iNdEx++ 10757 stringLen |= uint64(b&0x7F) << shift 10758 if b < 0x80 { 10759 break 10760 } 10761 } 10762 intStringLen := int(stringLen) 10763 if intStringLen < 0 { 10764 return ErrInvalidLengthApplication 10765 } 10766 postIndex := iNdEx + intStringLen 10767 if postIndex < 0 { 10768 return ErrInvalidLengthApplication 10769 } 10770 if postIndex > l { 10771 return io.ErrUnexpectedEOF 10772 } 10773 s := string(dAtA[iNdEx:postIndex]) 10774 m.PropagationPolicy = &s 10775 iNdEx = postIndex 10776 case 4: 10777 if wireType != 2 { 10778 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 10779 } 10780 var stringLen uint64 10781 for shift := uint(0); ; shift += 7 { 10782 if shift >= 64 { 10783 return ErrIntOverflowApplication 10784 } 10785 if iNdEx >= l { 10786 return io.ErrUnexpectedEOF 10787 } 10788 b := dAtA[iNdEx] 10789 iNdEx++ 10790 stringLen |= uint64(b&0x7F) << shift 10791 if b < 0x80 { 10792 break 10793 } 10794 } 10795 intStringLen := int(stringLen) 10796 if intStringLen < 0 { 10797 return ErrInvalidLengthApplication 10798 } 10799 postIndex := iNdEx + intStringLen 10800 if postIndex < 0 { 10801 return ErrInvalidLengthApplication 10802 } 10803 if postIndex > l { 10804 return io.ErrUnexpectedEOF 10805 } 10806 s := string(dAtA[iNdEx:postIndex]) 10807 m.AppNamespace = &s 10808 iNdEx = postIndex 10809 case 5: 10810 if wireType != 2 { 10811 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10812 } 10813 var stringLen uint64 10814 for shift := uint(0); ; shift += 7 { 10815 if shift >= 64 { 10816 return ErrIntOverflowApplication 10817 } 10818 if iNdEx >= l { 10819 return io.ErrUnexpectedEOF 10820 } 10821 b := dAtA[iNdEx] 10822 iNdEx++ 10823 stringLen |= uint64(b&0x7F) << shift 10824 if b < 0x80 { 10825 break 10826 } 10827 } 10828 intStringLen := int(stringLen) 10829 if intStringLen < 0 { 10830 return ErrInvalidLengthApplication 10831 } 10832 postIndex := iNdEx + intStringLen 10833 if postIndex < 0 { 10834 return ErrInvalidLengthApplication 10835 } 10836 if postIndex > l { 10837 return io.ErrUnexpectedEOF 10838 } 10839 s := string(dAtA[iNdEx:postIndex]) 10840 m.Project = &s 10841 iNdEx = postIndex 10842 default: 10843 iNdEx = preIndex 10844 skippy, err := skipApplication(dAtA[iNdEx:]) 10845 if err != nil { 10846 return err 10847 } 10848 if (skippy < 0) || (iNdEx+skippy) < 0 { 10849 return ErrInvalidLengthApplication 10850 } 10851 if (iNdEx + skippy) > l { 10852 return io.ErrUnexpectedEOF 10853 } 10854 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10855 iNdEx += skippy 10856 } 10857 } 10858 if hasFields[0]&uint64(0x00000001) == 0 { 10859 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 10860 } 10861 10862 if iNdEx > l { 10863 return io.ErrUnexpectedEOF 10864 } 10865 return nil 10866 } 10867 func (m *SyncOptions) Unmarshal(dAtA []byte) error { 10868 l := len(dAtA) 10869 iNdEx := 0 10870 for iNdEx < l { 10871 preIndex := iNdEx 10872 var wire uint64 10873 for shift := uint(0); ; shift += 7 { 10874 if shift >= 64 { 10875 return ErrIntOverflowApplication 10876 } 10877 if iNdEx >= l { 10878 return io.ErrUnexpectedEOF 10879 } 10880 b := dAtA[iNdEx] 10881 iNdEx++ 10882 wire |= uint64(b&0x7F) << shift 10883 if b < 0x80 { 10884 break 10885 } 10886 } 10887 fieldNum := int32(wire >> 3) 10888 wireType := int(wire & 0x7) 10889 if wireType == 4 { 10890 return fmt.Errorf("proto: SyncOptions: wiretype end group for non-group") 10891 } 10892 if fieldNum <= 0 { 10893 return fmt.Errorf("proto: SyncOptions: illegal tag %d (wire type %d)", fieldNum, wire) 10894 } 10895 switch fieldNum { 10896 case 1: 10897 if wireType != 2 { 10898 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 10899 } 10900 var stringLen uint64 10901 for shift := uint(0); ; shift += 7 { 10902 if shift >= 64 { 10903 return ErrIntOverflowApplication 10904 } 10905 if iNdEx >= l { 10906 return io.ErrUnexpectedEOF 10907 } 10908 b := dAtA[iNdEx] 10909 iNdEx++ 10910 stringLen |= uint64(b&0x7F) << shift 10911 if b < 0x80 { 10912 break 10913 } 10914 } 10915 intStringLen := int(stringLen) 10916 if intStringLen < 0 { 10917 return ErrInvalidLengthApplication 10918 } 10919 postIndex := iNdEx + intStringLen 10920 if postIndex < 0 { 10921 return ErrInvalidLengthApplication 10922 } 10923 if postIndex > l { 10924 return io.ErrUnexpectedEOF 10925 } 10926 m.Items = append(m.Items, string(dAtA[iNdEx:postIndex])) 10927 iNdEx = postIndex 10928 default: 10929 iNdEx = preIndex 10930 skippy, err := skipApplication(dAtA[iNdEx:]) 10931 if err != nil { 10932 return err 10933 } 10934 if (skippy < 0) || (iNdEx+skippy) < 0 { 10935 return ErrInvalidLengthApplication 10936 } 10937 if (iNdEx + skippy) > l { 10938 return io.ErrUnexpectedEOF 10939 } 10940 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10941 iNdEx += skippy 10942 } 10943 } 10944 10945 if iNdEx > l { 10946 return io.ErrUnexpectedEOF 10947 } 10948 return nil 10949 } 10950 func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { 10951 var hasFields [1]uint64 10952 l := len(dAtA) 10953 iNdEx := 0 10954 for iNdEx < l { 10955 preIndex := iNdEx 10956 var wire uint64 10957 for shift := uint(0); ; shift += 7 { 10958 if shift >= 64 { 10959 return ErrIntOverflowApplication 10960 } 10961 if iNdEx >= l { 10962 return io.ErrUnexpectedEOF 10963 } 10964 b := dAtA[iNdEx] 10965 iNdEx++ 10966 wire |= uint64(b&0x7F) << shift 10967 if b < 0x80 { 10968 break 10969 } 10970 } 10971 fieldNum := int32(wire >> 3) 10972 wireType := int(wire & 0x7) 10973 if wireType == 4 { 10974 return fmt.Errorf("proto: ApplicationSyncRequest: wiretype end group for non-group") 10975 } 10976 if fieldNum <= 0 { 10977 return fmt.Errorf("proto: ApplicationSyncRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10978 } 10979 switch fieldNum { 10980 case 1: 10981 if wireType != 2 { 10982 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10983 } 10984 var stringLen uint64 10985 for shift := uint(0); ; shift += 7 { 10986 if shift >= 64 { 10987 return ErrIntOverflowApplication 10988 } 10989 if iNdEx >= l { 10990 return io.ErrUnexpectedEOF 10991 } 10992 b := dAtA[iNdEx] 10993 iNdEx++ 10994 stringLen |= uint64(b&0x7F) << shift 10995 if b < 0x80 { 10996 break 10997 } 10998 } 10999 intStringLen := int(stringLen) 11000 if intStringLen < 0 { 11001 return ErrInvalidLengthApplication 11002 } 11003 postIndex := iNdEx + intStringLen 11004 if postIndex < 0 { 11005 return ErrInvalidLengthApplication 11006 } 11007 if postIndex > l { 11008 return io.ErrUnexpectedEOF 11009 } 11010 s := string(dAtA[iNdEx:postIndex]) 11011 m.Name = &s 11012 iNdEx = postIndex 11013 hasFields[0] |= uint64(0x00000001) 11014 case 2: 11015 if wireType != 2 { 11016 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 11017 } 11018 var stringLen uint64 11019 for shift := uint(0); ; shift += 7 { 11020 if shift >= 64 { 11021 return ErrIntOverflowApplication 11022 } 11023 if iNdEx >= l { 11024 return io.ErrUnexpectedEOF 11025 } 11026 b := dAtA[iNdEx] 11027 iNdEx++ 11028 stringLen |= uint64(b&0x7F) << shift 11029 if b < 0x80 { 11030 break 11031 } 11032 } 11033 intStringLen := int(stringLen) 11034 if intStringLen < 0 { 11035 return ErrInvalidLengthApplication 11036 } 11037 postIndex := iNdEx + intStringLen 11038 if postIndex < 0 { 11039 return ErrInvalidLengthApplication 11040 } 11041 if postIndex > l { 11042 return io.ErrUnexpectedEOF 11043 } 11044 s := string(dAtA[iNdEx:postIndex]) 11045 m.Revision = &s 11046 iNdEx = postIndex 11047 case 3: 11048 if wireType != 0 { 11049 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 11050 } 11051 var v int 11052 for shift := uint(0); ; shift += 7 { 11053 if shift >= 64 { 11054 return ErrIntOverflowApplication 11055 } 11056 if iNdEx >= l { 11057 return io.ErrUnexpectedEOF 11058 } 11059 b := dAtA[iNdEx] 11060 iNdEx++ 11061 v |= int(b&0x7F) << shift 11062 if b < 0x80 { 11063 break 11064 } 11065 } 11066 b := bool(v != 0) 11067 m.DryRun = &b 11068 case 4: 11069 if wireType != 0 { 11070 return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType) 11071 } 11072 var v int 11073 for shift := uint(0); ; shift += 7 { 11074 if shift >= 64 { 11075 return ErrIntOverflowApplication 11076 } 11077 if iNdEx >= l { 11078 return io.ErrUnexpectedEOF 11079 } 11080 b := dAtA[iNdEx] 11081 iNdEx++ 11082 v |= int(b&0x7F) << shift 11083 if b < 0x80 { 11084 break 11085 } 11086 } 11087 b := bool(v != 0) 11088 m.Prune = &b 11089 case 5: 11090 if wireType != 2 { 11091 return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) 11092 } 11093 var msglen int 11094 for shift := uint(0); ; shift += 7 { 11095 if shift >= 64 { 11096 return ErrIntOverflowApplication 11097 } 11098 if iNdEx >= l { 11099 return io.ErrUnexpectedEOF 11100 } 11101 b := dAtA[iNdEx] 11102 iNdEx++ 11103 msglen |= int(b&0x7F) << shift 11104 if b < 0x80 { 11105 break 11106 } 11107 } 11108 if msglen < 0 { 11109 return ErrInvalidLengthApplication 11110 } 11111 postIndex := iNdEx + msglen 11112 if postIndex < 0 { 11113 return ErrInvalidLengthApplication 11114 } 11115 if postIndex > l { 11116 return io.ErrUnexpectedEOF 11117 } 11118 if m.Strategy == nil { 11119 m.Strategy = &v1alpha1.SyncStrategy{} 11120 } 11121 if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11122 return err 11123 } 11124 iNdEx = postIndex 11125 case 7: 11126 if wireType != 2 { 11127 return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) 11128 } 11129 var msglen int 11130 for shift := uint(0); ; shift += 7 { 11131 if shift >= 64 { 11132 return ErrIntOverflowApplication 11133 } 11134 if iNdEx >= l { 11135 return io.ErrUnexpectedEOF 11136 } 11137 b := dAtA[iNdEx] 11138 iNdEx++ 11139 msglen |= int(b&0x7F) << shift 11140 if b < 0x80 { 11141 break 11142 } 11143 } 11144 if msglen < 0 { 11145 return ErrInvalidLengthApplication 11146 } 11147 postIndex := iNdEx + msglen 11148 if postIndex < 0 { 11149 return ErrInvalidLengthApplication 11150 } 11151 if postIndex > l { 11152 return io.ErrUnexpectedEOF 11153 } 11154 m.Resources = append(m.Resources, &v1alpha1.SyncOperationResource{}) 11155 if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11156 return err 11157 } 11158 iNdEx = postIndex 11159 case 8: 11160 if wireType != 2 { 11161 return fmt.Errorf("proto: wrong wireType = %d for field Manifests", wireType) 11162 } 11163 var stringLen uint64 11164 for shift := uint(0); ; shift += 7 { 11165 if shift >= 64 { 11166 return ErrIntOverflowApplication 11167 } 11168 if iNdEx >= l { 11169 return io.ErrUnexpectedEOF 11170 } 11171 b := dAtA[iNdEx] 11172 iNdEx++ 11173 stringLen |= uint64(b&0x7F) << shift 11174 if b < 0x80 { 11175 break 11176 } 11177 } 11178 intStringLen := int(stringLen) 11179 if intStringLen < 0 { 11180 return ErrInvalidLengthApplication 11181 } 11182 postIndex := iNdEx + intStringLen 11183 if postIndex < 0 { 11184 return ErrInvalidLengthApplication 11185 } 11186 if postIndex > l { 11187 return io.ErrUnexpectedEOF 11188 } 11189 m.Manifests = append(m.Manifests, string(dAtA[iNdEx:postIndex])) 11190 iNdEx = postIndex 11191 case 9: 11192 if wireType != 2 { 11193 return fmt.Errorf("proto: wrong wireType = %d for field Infos", wireType) 11194 } 11195 var msglen int 11196 for shift := uint(0); ; shift += 7 { 11197 if shift >= 64 { 11198 return ErrIntOverflowApplication 11199 } 11200 if iNdEx >= l { 11201 return io.ErrUnexpectedEOF 11202 } 11203 b := dAtA[iNdEx] 11204 iNdEx++ 11205 msglen |= int(b&0x7F) << shift 11206 if b < 0x80 { 11207 break 11208 } 11209 } 11210 if msglen < 0 { 11211 return ErrInvalidLengthApplication 11212 } 11213 postIndex := iNdEx + msglen 11214 if postIndex < 0 { 11215 return ErrInvalidLengthApplication 11216 } 11217 if postIndex > l { 11218 return io.ErrUnexpectedEOF 11219 } 11220 m.Infos = append(m.Infos, &v1alpha1.Info{}) 11221 if err := m.Infos[len(m.Infos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11222 return err 11223 } 11224 iNdEx = postIndex 11225 case 10: 11226 if wireType != 2 { 11227 return fmt.Errorf("proto: wrong wireType = %d for field RetryStrategy", wireType) 11228 } 11229 var msglen int 11230 for shift := uint(0); ; shift += 7 { 11231 if shift >= 64 { 11232 return ErrIntOverflowApplication 11233 } 11234 if iNdEx >= l { 11235 return io.ErrUnexpectedEOF 11236 } 11237 b := dAtA[iNdEx] 11238 iNdEx++ 11239 msglen |= int(b&0x7F) << shift 11240 if b < 0x80 { 11241 break 11242 } 11243 } 11244 if msglen < 0 { 11245 return ErrInvalidLengthApplication 11246 } 11247 postIndex := iNdEx + msglen 11248 if postIndex < 0 { 11249 return ErrInvalidLengthApplication 11250 } 11251 if postIndex > l { 11252 return io.ErrUnexpectedEOF 11253 } 11254 if m.RetryStrategy == nil { 11255 m.RetryStrategy = &v1alpha1.RetryStrategy{} 11256 } 11257 if err := m.RetryStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11258 return err 11259 } 11260 iNdEx = postIndex 11261 case 11: 11262 if wireType != 2 { 11263 return fmt.Errorf("proto: wrong wireType = %d for field SyncOptions", wireType) 11264 } 11265 var msglen int 11266 for shift := uint(0); ; shift += 7 { 11267 if shift >= 64 { 11268 return ErrIntOverflowApplication 11269 } 11270 if iNdEx >= l { 11271 return io.ErrUnexpectedEOF 11272 } 11273 b := dAtA[iNdEx] 11274 iNdEx++ 11275 msglen |= int(b&0x7F) << shift 11276 if b < 0x80 { 11277 break 11278 } 11279 } 11280 if msglen < 0 { 11281 return ErrInvalidLengthApplication 11282 } 11283 postIndex := iNdEx + msglen 11284 if postIndex < 0 { 11285 return ErrInvalidLengthApplication 11286 } 11287 if postIndex > l { 11288 return io.ErrUnexpectedEOF 11289 } 11290 if m.SyncOptions == nil { 11291 m.SyncOptions = &SyncOptions{} 11292 } 11293 if err := m.SyncOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11294 return err 11295 } 11296 iNdEx = postIndex 11297 case 12: 11298 if wireType != 2 { 11299 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 11300 } 11301 var stringLen uint64 11302 for shift := uint(0); ; shift += 7 { 11303 if shift >= 64 { 11304 return ErrIntOverflowApplication 11305 } 11306 if iNdEx >= l { 11307 return io.ErrUnexpectedEOF 11308 } 11309 b := dAtA[iNdEx] 11310 iNdEx++ 11311 stringLen |= uint64(b&0x7F) << shift 11312 if b < 0x80 { 11313 break 11314 } 11315 } 11316 intStringLen := int(stringLen) 11317 if intStringLen < 0 { 11318 return ErrInvalidLengthApplication 11319 } 11320 postIndex := iNdEx + intStringLen 11321 if postIndex < 0 { 11322 return ErrInvalidLengthApplication 11323 } 11324 if postIndex > l { 11325 return io.ErrUnexpectedEOF 11326 } 11327 s := string(dAtA[iNdEx:postIndex]) 11328 m.AppNamespace = &s 11329 iNdEx = postIndex 11330 case 13: 11331 if wireType != 2 { 11332 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 11333 } 11334 var stringLen uint64 11335 for shift := uint(0); ; shift += 7 { 11336 if shift >= 64 { 11337 return ErrIntOverflowApplication 11338 } 11339 if iNdEx >= l { 11340 return io.ErrUnexpectedEOF 11341 } 11342 b := dAtA[iNdEx] 11343 iNdEx++ 11344 stringLen |= uint64(b&0x7F) << shift 11345 if b < 0x80 { 11346 break 11347 } 11348 } 11349 intStringLen := int(stringLen) 11350 if intStringLen < 0 { 11351 return ErrInvalidLengthApplication 11352 } 11353 postIndex := iNdEx + intStringLen 11354 if postIndex < 0 { 11355 return ErrInvalidLengthApplication 11356 } 11357 if postIndex > l { 11358 return io.ErrUnexpectedEOF 11359 } 11360 s := string(dAtA[iNdEx:postIndex]) 11361 m.Project = &s 11362 iNdEx = postIndex 11363 case 14: 11364 if wireType == 0 { 11365 var v int64 11366 for shift := uint(0); ; shift += 7 { 11367 if shift >= 64 { 11368 return ErrIntOverflowApplication 11369 } 11370 if iNdEx >= l { 11371 return io.ErrUnexpectedEOF 11372 } 11373 b := dAtA[iNdEx] 11374 iNdEx++ 11375 v |= int64(b&0x7F) << shift 11376 if b < 0x80 { 11377 break 11378 } 11379 } 11380 m.SourcePositions = append(m.SourcePositions, v) 11381 } else if wireType == 2 { 11382 var packedLen int 11383 for shift := uint(0); ; shift += 7 { 11384 if shift >= 64 { 11385 return ErrIntOverflowApplication 11386 } 11387 if iNdEx >= l { 11388 return io.ErrUnexpectedEOF 11389 } 11390 b := dAtA[iNdEx] 11391 iNdEx++ 11392 packedLen |= int(b&0x7F) << shift 11393 if b < 0x80 { 11394 break 11395 } 11396 } 11397 if packedLen < 0 { 11398 return ErrInvalidLengthApplication 11399 } 11400 postIndex := iNdEx + packedLen 11401 if postIndex < 0 { 11402 return ErrInvalidLengthApplication 11403 } 11404 if postIndex > l { 11405 return io.ErrUnexpectedEOF 11406 } 11407 var elementCount int 11408 var count int 11409 for _, integer := range dAtA[iNdEx:postIndex] { 11410 if integer < 128 { 11411 count++ 11412 } 11413 } 11414 elementCount = count 11415 if elementCount != 0 && len(m.SourcePositions) == 0 { 11416 m.SourcePositions = make([]int64, 0, elementCount) 11417 } 11418 for iNdEx < postIndex { 11419 var v int64 11420 for shift := uint(0); ; shift += 7 { 11421 if shift >= 64 { 11422 return ErrIntOverflowApplication 11423 } 11424 if iNdEx >= l { 11425 return io.ErrUnexpectedEOF 11426 } 11427 b := dAtA[iNdEx] 11428 iNdEx++ 11429 v |= int64(b&0x7F) << shift 11430 if b < 0x80 { 11431 break 11432 } 11433 } 11434 m.SourcePositions = append(m.SourcePositions, v) 11435 } 11436 } else { 11437 return fmt.Errorf("proto: wrong wireType = %d for field SourcePositions", wireType) 11438 } 11439 case 15: 11440 if wireType != 2 { 11441 return fmt.Errorf("proto: wrong wireType = %d for field Revisions", wireType) 11442 } 11443 var stringLen uint64 11444 for shift := uint(0); ; shift += 7 { 11445 if shift >= 64 { 11446 return ErrIntOverflowApplication 11447 } 11448 if iNdEx >= l { 11449 return io.ErrUnexpectedEOF 11450 } 11451 b := dAtA[iNdEx] 11452 iNdEx++ 11453 stringLen |= uint64(b&0x7F) << shift 11454 if b < 0x80 { 11455 break 11456 } 11457 } 11458 intStringLen := int(stringLen) 11459 if intStringLen < 0 { 11460 return ErrInvalidLengthApplication 11461 } 11462 postIndex := iNdEx + intStringLen 11463 if postIndex < 0 { 11464 return ErrInvalidLengthApplication 11465 } 11466 if postIndex > l { 11467 return io.ErrUnexpectedEOF 11468 } 11469 m.Revisions = append(m.Revisions, string(dAtA[iNdEx:postIndex])) 11470 iNdEx = postIndex 11471 default: 11472 iNdEx = preIndex 11473 skippy, err := skipApplication(dAtA[iNdEx:]) 11474 if err != nil { 11475 return err 11476 } 11477 if (skippy < 0) || (iNdEx+skippy) < 0 { 11478 return ErrInvalidLengthApplication 11479 } 11480 if (iNdEx + skippy) > l { 11481 return io.ErrUnexpectedEOF 11482 } 11483 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11484 iNdEx += skippy 11485 } 11486 } 11487 if hasFields[0]&uint64(0x00000001) == 0 { 11488 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 11489 } 11490 11491 if iNdEx > l { 11492 return io.ErrUnexpectedEOF 11493 } 11494 return nil 11495 } 11496 func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { 11497 var hasFields [1]uint64 11498 l := len(dAtA) 11499 iNdEx := 0 11500 for iNdEx < l { 11501 preIndex := iNdEx 11502 var wire uint64 11503 for shift := uint(0); ; shift += 7 { 11504 if shift >= 64 { 11505 return ErrIntOverflowApplication 11506 } 11507 if iNdEx >= l { 11508 return io.ErrUnexpectedEOF 11509 } 11510 b := dAtA[iNdEx] 11511 iNdEx++ 11512 wire |= uint64(b&0x7F) << shift 11513 if b < 0x80 { 11514 break 11515 } 11516 } 11517 fieldNum := int32(wire >> 3) 11518 wireType := int(wire & 0x7) 11519 if wireType == 4 { 11520 return fmt.Errorf("proto: ApplicationUpdateSpecRequest: wiretype end group for non-group") 11521 } 11522 if fieldNum <= 0 { 11523 return fmt.Errorf("proto: ApplicationUpdateSpecRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11524 } 11525 switch fieldNum { 11526 case 1: 11527 if wireType != 2 { 11528 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 11529 } 11530 var stringLen uint64 11531 for shift := uint(0); ; shift += 7 { 11532 if shift >= 64 { 11533 return ErrIntOverflowApplication 11534 } 11535 if iNdEx >= l { 11536 return io.ErrUnexpectedEOF 11537 } 11538 b := dAtA[iNdEx] 11539 iNdEx++ 11540 stringLen |= uint64(b&0x7F) << shift 11541 if b < 0x80 { 11542 break 11543 } 11544 } 11545 intStringLen := int(stringLen) 11546 if intStringLen < 0 { 11547 return ErrInvalidLengthApplication 11548 } 11549 postIndex := iNdEx + intStringLen 11550 if postIndex < 0 { 11551 return ErrInvalidLengthApplication 11552 } 11553 if postIndex > l { 11554 return io.ErrUnexpectedEOF 11555 } 11556 s := string(dAtA[iNdEx:postIndex]) 11557 m.Name = &s 11558 iNdEx = postIndex 11559 hasFields[0] |= uint64(0x00000001) 11560 case 2: 11561 if wireType != 2 { 11562 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 11563 } 11564 var msglen int 11565 for shift := uint(0); ; shift += 7 { 11566 if shift >= 64 { 11567 return ErrIntOverflowApplication 11568 } 11569 if iNdEx >= l { 11570 return io.ErrUnexpectedEOF 11571 } 11572 b := dAtA[iNdEx] 11573 iNdEx++ 11574 msglen |= int(b&0x7F) << shift 11575 if b < 0x80 { 11576 break 11577 } 11578 } 11579 if msglen < 0 { 11580 return ErrInvalidLengthApplication 11581 } 11582 postIndex := iNdEx + msglen 11583 if postIndex < 0 { 11584 return ErrInvalidLengthApplication 11585 } 11586 if postIndex > l { 11587 return io.ErrUnexpectedEOF 11588 } 11589 if m.Spec == nil { 11590 m.Spec = &v1alpha1.ApplicationSpec{} 11591 } 11592 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 11593 return err 11594 } 11595 iNdEx = postIndex 11596 hasFields[0] |= uint64(0x00000002) 11597 case 3: 11598 if wireType != 0 { 11599 return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) 11600 } 11601 var v int 11602 for shift := uint(0); ; shift += 7 { 11603 if shift >= 64 { 11604 return ErrIntOverflowApplication 11605 } 11606 if iNdEx >= l { 11607 return io.ErrUnexpectedEOF 11608 } 11609 b := dAtA[iNdEx] 11610 iNdEx++ 11611 v |= int(b&0x7F) << shift 11612 if b < 0x80 { 11613 break 11614 } 11615 } 11616 b := bool(v != 0) 11617 m.Validate = &b 11618 case 4: 11619 if wireType != 2 { 11620 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 11621 } 11622 var stringLen uint64 11623 for shift := uint(0); ; shift += 7 { 11624 if shift >= 64 { 11625 return ErrIntOverflowApplication 11626 } 11627 if iNdEx >= l { 11628 return io.ErrUnexpectedEOF 11629 } 11630 b := dAtA[iNdEx] 11631 iNdEx++ 11632 stringLen |= uint64(b&0x7F) << shift 11633 if b < 0x80 { 11634 break 11635 } 11636 } 11637 intStringLen := int(stringLen) 11638 if intStringLen < 0 { 11639 return ErrInvalidLengthApplication 11640 } 11641 postIndex := iNdEx + intStringLen 11642 if postIndex < 0 { 11643 return ErrInvalidLengthApplication 11644 } 11645 if postIndex > l { 11646 return io.ErrUnexpectedEOF 11647 } 11648 s := string(dAtA[iNdEx:postIndex]) 11649 m.AppNamespace = &s 11650 iNdEx = postIndex 11651 case 5: 11652 if wireType != 2 { 11653 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 11654 } 11655 var stringLen uint64 11656 for shift := uint(0); ; shift += 7 { 11657 if shift >= 64 { 11658 return ErrIntOverflowApplication 11659 } 11660 if iNdEx >= l { 11661 return io.ErrUnexpectedEOF 11662 } 11663 b := dAtA[iNdEx] 11664 iNdEx++ 11665 stringLen |= uint64(b&0x7F) << shift 11666 if b < 0x80 { 11667 break 11668 } 11669 } 11670 intStringLen := int(stringLen) 11671 if intStringLen < 0 { 11672 return ErrInvalidLengthApplication 11673 } 11674 postIndex := iNdEx + intStringLen 11675 if postIndex < 0 { 11676 return ErrInvalidLengthApplication 11677 } 11678 if postIndex > l { 11679 return io.ErrUnexpectedEOF 11680 } 11681 s := string(dAtA[iNdEx:postIndex]) 11682 m.Project = &s 11683 iNdEx = postIndex 11684 default: 11685 iNdEx = preIndex 11686 skippy, err := skipApplication(dAtA[iNdEx:]) 11687 if err != nil { 11688 return err 11689 } 11690 if (skippy < 0) || (iNdEx+skippy) < 0 { 11691 return ErrInvalidLengthApplication 11692 } 11693 if (iNdEx + skippy) > l { 11694 return io.ErrUnexpectedEOF 11695 } 11696 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11697 iNdEx += skippy 11698 } 11699 } 11700 if hasFields[0]&uint64(0x00000001) == 0 { 11701 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 11702 } 11703 if hasFields[0]&uint64(0x00000002) == 0 { 11704 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec") 11705 } 11706 11707 if iNdEx > l { 11708 return io.ErrUnexpectedEOF 11709 } 11710 return nil 11711 } 11712 func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { 11713 var hasFields [1]uint64 11714 l := len(dAtA) 11715 iNdEx := 0 11716 for iNdEx < l { 11717 preIndex := iNdEx 11718 var wire uint64 11719 for shift := uint(0); ; shift += 7 { 11720 if shift >= 64 { 11721 return ErrIntOverflowApplication 11722 } 11723 if iNdEx >= l { 11724 return io.ErrUnexpectedEOF 11725 } 11726 b := dAtA[iNdEx] 11727 iNdEx++ 11728 wire |= uint64(b&0x7F) << shift 11729 if b < 0x80 { 11730 break 11731 } 11732 } 11733 fieldNum := int32(wire >> 3) 11734 wireType := int(wire & 0x7) 11735 if wireType == 4 { 11736 return fmt.Errorf("proto: ApplicationPatchRequest: wiretype end group for non-group") 11737 } 11738 if fieldNum <= 0 { 11739 return fmt.Errorf("proto: ApplicationPatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11740 } 11741 switch fieldNum { 11742 case 1: 11743 if wireType != 2 { 11744 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 11745 } 11746 var stringLen uint64 11747 for shift := uint(0); ; shift += 7 { 11748 if shift >= 64 { 11749 return ErrIntOverflowApplication 11750 } 11751 if iNdEx >= l { 11752 return io.ErrUnexpectedEOF 11753 } 11754 b := dAtA[iNdEx] 11755 iNdEx++ 11756 stringLen |= uint64(b&0x7F) << shift 11757 if b < 0x80 { 11758 break 11759 } 11760 } 11761 intStringLen := int(stringLen) 11762 if intStringLen < 0 { 11763 return ErrInvalidLengthApplication 11764 } 11765 postIndex := iNdEx + intStringLen 11766 if postIndex < 0 { 11767 return ErrInvalidLengthApplication 11768 } 11769 if postIndex > l { 11770 return io.ErrUnexpectedEOF 11771 } 11772 s := string(dAtA[iNdEx:postIndex]) 11773 m.Name = &s 11774 iNdEx = postIndex 11775 hasFields[0] |= uint64(0x00000001) 11776 case 2: 11777 if wireType != 2 { 11778 return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) 11779 } 11780 var stringLen uint64 11781 for shift := uint(0); ; shift += 7 { 11782 if shift >= 64 { 11783 return ErrIntOverflowApplication 11784 } 11785 if iNdEx >= l { 11786 return io.ErrUnexpectedEOF 11787 } 11788 b := dAtA[iNdEx] 11789 iNdEx++ 11790 stringLen |= uint64(b&0x7F) << shift 11791 if b < 0x80 { 11792 break 11793 } 11794 } 11795 intStringLen := int(stringLen) 11796 if intStringLen < 0 { 11797 return ErrInvalidLengthApplication 11798 } 11799 postIndex := iNdEx + intStringLen 11800 if postIndex < 0 { 11801 return ErrInvalidLengthApplication 11802 } 11803 if postIndex > l { 11804 return io.ErrUnexpectedEOF 11805 } 11806 s := string(dAtA[iNdEx:postIndex]) 11807 m.Patch = &s 11808 iNdEx = postIndex 11809 hasFields[0] |= uint64(0x00000002) 11810 case 3: 11811 if wireType != 2 { 11812 return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType) 11813 } 11814 var stringLen uint64 11815 for shift := uint(0); ; shift += 7 { 11816 if shift >= 64 { 11817 return ErrIntOverflowApplication 11818 } 11819 if iNdEx >= l { 11820 return io.ErrUnexpectedEOF 11821 } 11822 b := dAtA[iNdEx] 11823 iNdEx++ 11824 stringLen |= uint64(b&0x7F) << shift 11825 if b < 0x80 { 11826 break 11827 } 11828 } 11829 intStringLen := int(stringLen) 11830 if intStringLen < 0 { 11831 return ErrInvalidLengthApplication 11832 } 11833 postIndex := iNdEx + intStringLen 11834 if postIndex < 0 { 11835 return ErrInvalidLengthApplication 11836 } 11837 if postIndex > l { 11838 return io.ErrUnexpectedEOF 11839 } 11840 s := string(dAtA[iNdEx:postIndex]) 11841 m.PatchType = &s 11842 iNdEx = postIndex 11843 hasFields[0] |= uint64(0x00000004) 11844 case 5: 11845 if wireType != 2 { 11846 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 11847 } 11848 var stringLen uint64 11849 for shift := uint(0); ; shift += 7 { 11850 if shift >= 64 { 11851 return ErrIntOverflowApplication 11852 } 11853 if iNdEx >= l { 11854 return io.ErrUnexpectedEOF 11855 } 11856 b := dAtA[iNdEx] 11857 iNdEx++ 11858 stringLen |= uint64(b&0x7F) << shift 11859 if b < 0x80 { 11860 break 11861 } 11862 } 11863 intStringLen := int(stringLen) 11864 if intStringLen < 0 { 11865 return ErrInvalidLengthApplication 11866 } 11867 postIndex := iNdEx + intStringLen 11868 if postIndex < 0 { 11869 return ErrInvalidLengthApplication 11870 } 11871 if postIndex > l { 11872 return io.ErrUnexpectedEOF 11873 } 11874 s := string(dAtA[iNdEx:postIndex]) 11875 m.AppNamespace = &s 11876 iNdEx = postIndex 11877 case 6: 11878 if wireType != 2 { 11879 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 11880 } 11881 var stringLen uint64 11882 for shift := uint(0); ; shift += 7 { 11883 if shift >= 64 { 11884 return ErrIntOverflowApplication 11885 } 11886 if iNdEx >= l { 11887 return io.ErrUnexpectedEOF 11888 } 11889 b := dAtA[iNdEx] 11890 iNdEx++ 11891 stringLen |= uint64(b&0x7F) << shift 11892 if b < 0x80 { 11893 break 11894 } 11895 } 11896 intStringLen := int(stringLen) 11897 if intStringLen < 0 { 11898 return ErrInvalidLengthApplication 11899 } 11900 postIndex := iNdEx + intStringLen 11901 if postIndex < 0 { 11902 return ErrInvalidLengthApplication 11903 } 11904 if postIndex > l { 11905 return io.ErrUnexpectedEOF 11906 } 11907 s := string(dAtA[iNdEx:postIndex]) 11908 m.Project = &s 11909 iNdEx = postIndex 11910 default: 11911 iNdEx = preIndex 11912 skippy, err := skipApplication(dAtA[iNdEx:]) 11913 if err != nil { 11914 return err 11915 } 11916 if (skippy < 0) || (iNdEx+skippy) < 0 { 11917 return ErrInvalidLengthApplication 11918 } 11919 if (iNdEx + skippy) > l { 11920 return io.ErrUnexpectedEOF 11921 } 11922 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11923 iNdEx += skippy 11924 } 11925 } 11926 if hasFields[0]&uint64(0x00000001) == 0 { 11927 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 11928 } 11929 if hasFields[0]&uint64(0x00000002) == 0 { 11930 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 11931 } 11932 if hasFields[0]&uint64(0x00000004) == 0 { 11933 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 11934 } 11935 11936 if iNdEx > l { 11937 return io.ErrUnexpectedEOF 11938 } 11939 return nil 11940 } 11941 func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { 11942 var hasFields [1]uint64 11943 l := len(dAtA) 11944 iNdEx := 0 11945 for iNdEx < l { 11946 preIndex := iNdEx 11947 var wire uint64 11948 for shift := uint(0); ; shift += 7 { 11949 if shift >= 64 { 11950 return ErrIntOverflowApplication 11951 } 11952 if iNdEx >= l { 11953 return io.ErrUnexpectedEOF 11954 } 11955 b := dAtA[iNdEx] 11956 iNdEx++ 11957 wire |= uint64(b&0x7F) << shift 11958 if b < 0x80 { 11959 break 11960 } 11961 } 11962 fieldNum := int32(wire >> 3) 11963 wireType := int(wire & 0x7) 11964 if wireType == 4 { 11965 return fmt.Errorf("proto: ApplicationRollbackRequest: wiretype end group for non-group") 11966 } 11967 if fieldNum <= 0 { 11968 return fmt.Errorf("proto: ApplicationRollbackRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11969 } 11970 switch fieldNum { 11971 case 1: 11972 if wireType != 2 { 11973 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 11974 } 11975 var stringLen uint64 11976 for shift := uint(0); ; shift += 7 { 11977 if shift >= 64 { 11978 return ErrIntOverflowApplication 11979 } 11980 if iNdEx >= l { 11981 return io.ErrUnexpectedEOF 11982 } 11983 b := dAtA[iNdEx] 11984 iNdEx++ 11985 stringLen |= uint64(b&0x7F) << shift 11986 if b < 0x80 { 11987 break 11988 } 11989 } 11990 intStringLen := int(stringLen) 11991 if intStringLen < 0 { 11992 return ErrInvalidLengthApplication 11993 } 11994 postIndex := iNdEx + intStringLen 11995 if postIndex < 0 { 11996 return ErrInvalidLengthApplication 11997 } 11998 if postIndex > l { 11999 return io.ErrUnexpectedEOF 12000 } 12001 s := string(dAtA[iNdEx:postIndex]) 12002 m.Name = &s 12003 iNdEx = postIndex 12004 hasFields[0] |= uint64(0x00000001) 12005 case 2: 12006 if wireType != 0 { 12007 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 12008 } 12009 var v int64 12010 for shift := uint(0); ; shift += 7 { 12011 if shift >= 64 { 12012 return ErrIntOverflowApplication 12013 } 12014 if iNdEx >= l { 12015 return io.ErrUnexpectedEOF 12016 } 12017 b := dAtA[iNdEx] 12018 iNdEx++ 12019 v |= int64(b&0x7F) << shift 12020 if b < 0x80 { 12021 break 12022 } 12023 } 12024 m.Id = &v 12025 hasFields[0] |= uint64(0x00000002) 12026 case 3: 12027 if wireType != 0 { 12028 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 12029 } 12030 var v int 12031 for shift := uint(0); ; shift += 7 { 12032 if shift >= 64 { 12033 return ErrIntOverflowApplication 12034 } 12035 if iNdEx >= l { 12036 return io.ErrUnexpectedEOF 12037 } 12038 b := dAtA[iNdEx] 12039 iNdEx++ 12040 v |= int(b&0x7F) << shift 12041 if b < 0x80 { 12042 break 12043 } 12044 } 12045 b := bool(v != 0) 12046 m.DryRun = &b 12047 case 4: 12048 if wireType != 0 { 12049 return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType) 12050 } 12051 var v int 12052 for shift := uint(0); ; shift += 7 { 12053 if shift >= 64 { 12054 return ErrIntOverflowApplication 12055 } 12056 if iNdEx >= l { 12057 return io.ErrUnexpectedEOF 12058 } 12059 b := dAtA[iNdEx] 12060 iNdEx++ 12061 v |= int(b&0x7F) << shift 12062 if b < 0x80 { 12063 break 12064 } 12065 } 12066 b := bool(v != 0) 12067 m.Prune = &b 12068 case 6: 12069 if wireType != 2 { 12070 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 12071 } 12072 var stringLen uint64 12073 for shift := uint(0); ; shift += 7 { 12074 if shift >= 64 { 12075 return ErrIntOverflowApplication 12076 } 12077 if iNdEx >= l { 12078 return io.ErrUnexpectedEOF 12079 } 12080 b := dAtA[iNdEx] 12081 iNdEx++ 12082 stringLen |= uint64(b&0x7F) << shift 12083 if b < 0x80 { 12084 break 12085 } 12086 } 12087 intStringLen := int(stringLen) 12088 if intStringLen < 0 { 12089 return ErrInvalidLengthApplication 12090 } 12091 postIndex := iNdEx + intStringLen 12092 if postIndex < 0 { 12093 return ErrInvalidLengthApplication 12094 } 12095 if postIndex > l { 12096 return io.ErrUnexpectedEOF 12097 } 12098 s := string(dAtA[iNdEx:postIndex]) 12099 m.AppNamespace = &s 12100 iNdEx = postIndex 12101 case 7: 12102 if wireType != 2 { 12103 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 12104 } 12105 var stringLen uint64 12106 for shift := uint(0); ; shift += 7 { 12107 if shift >= 64 { 12108 return ErrIntOverflowApplication 12109 } 12110 if iNdEx >= l { 12111 return io.ErrUnexpectedEOF 12112 } 12113 b := dAtA[iNdEx] 12114 iNdEx++ 12115 stringLen |= uint64(b&0x7F) << shift 12116 if b < 0x80 { 12117 break 12118 } 12119 } 12120 intStringLen := int(stringLen) 12121 if intStringLen < 0 { 12122 return ErrInvalidLengthApplication 12123 } 12124 postIndex := iNdEx + intStringLen 12125 if postIndex < 0 { 12126 return ErrInvalidLengthApplication 12127 } 12128 if postIndex > l { 12129 return io.ErrUnexpectedEOF 12130 } 12131 s := string(dAtA[iNdEx:postIndex]) 12132 m.Project = &s 12133 iNdEx = postIndex 12134 default: 12135 iNdEx = preIndex 12136 skippy, err := skipApplication(dAtA[iNdEx:]) 12137 if err != nil { 12138 return err 12139 } 12140 if (skippy < 0) || (iNdEx+skippy) < 0 { 12141 return ErrInvalidLengthApplication 12142 } 12143 if (iNdEx + skippy) > l { 12144 return io.ErrUnexpectedEOF 12145 } 12146 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12147 iNdEx += skippy 12148 } 12149 } 12150 if hasFields[0]&uint64(0x00000001) == 0 { 12151 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 12152 } 12153 if hasFields[0]&uint64(0x00000002) == 0 { 12154 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") 12155 } 12156 12157 if iNdEx > l { 12158 return io.ErrUnexpectedEOF 12159 } 12160 return nil 12161 } 12162 func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { 12163 var hasFields [1]uint64 12164 l := len(dAtA) 12165 iNdEx := 0 12166 for iNdEx < l { 12167 preIndex := iNdEx 12168 var wire uint64 12169 for shift := uint(0); ; shift += 7 { 12170 if shift >= 64 { 12171 return ErrIntOverflowApplication 12172 } 12173 if iNdEx >= l { 12174 return io.ErrUnexpectedEOF 12175 } 12176 b := dAtA[iNdEx] 12177 iNdEx++ 12178 wire |= uint64(b&0x7F) << shift 12179 if b < 0x80 { 12180 break 12181 } 12182 } 12183 fieldNum := int32(wire >> 3) 12184 wireType := int(wire & 0x7) 12185 if wireType == 4 { 12186 return fmt.Errorf("proto: ApplicationResourceRequest: wiretype end group for non-group") 12187 } 12188 if fieldNum <= 0 { 12189 return fmt.Errorf("proto: ApplicationResourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 12190 } 12191 switch fieldNum { 12192 case 1: 12193 if wireType != 2 { 12194 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 12195 } 12196 var stringLen uint64 12197 for shift := uint(0); ; shift += 7 { 12198 if shift >= 64 { 12199 return ErrIntOverflowApplication 12200 } 12201 if iNdEx >= l { 12202 return io.ErrUnexpectedEOF 12203 } 12204 b := dAtA[iNdEx] 12205 iNdEx++ 12206 stringLen |= uint64(b&0x7F) << shift 12207 if b < 0x80 { 12208 break 12209 } 12210 } 12211 intStringLen := int(stringLen) 12212 if intStringLen < 0 { 12213 return ErrInvalidLengthApplication 12214 } 12215 postIndex := iNdEx + intStringLen 12216 if postIndex < 0 { 12217 return ErrInvalidLengthApplication 12218 } 12219 if postIndex > l { 12220 return io.ErrUnexpectedEOF 12221 } 12222 s := string(dAtA[iNdEx:postIndex]) 12223 m.Name = &s 12224 iNdEx = postIndex 12225 hasFields[0] |= uint64(0x00000001) 12226 case 2: 12227 if wireType != 2 { 12228 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 12229 } 12230 var stringLen uint64 12231 for shift := uint(0); ; shift += 7 { 12232 if shift >= 64 { 12233 return ErrIntOverflowApplication 12234 } 12235 if iNdEx >= l { 12236 return io.ErrUnexpectedEOF 12237 } 12238 b := dAtA[iNdEx] 12239 iNdEx++ 12240 stringLen |= uint64(b&0x7F) << shift 12241 if b < 0x80 { 12242 break 12243 } 12244 } 12245 intStringLen := int(stringLen) 12246 if intStringLen < 0 { 12247 return ErrInvalidLengthApplication 12248 } 12249 postIndex := iNdEx + intStringLen 12250 if postIndex < 0 { 12251 return ErrInvalidLengthApplication 12252 } 12253 if postIndex > l { 12254 return io.ErrUnexpectedEOF 12255 } 12256 s := string(dAtA[iNdEx:postIndex]) 12257 m.Namespace = &s 12258 iNdEx = postIndex 12259 case 3: 12260 if wireType != 2 { 12261 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 12262 } 12263 var stringLen uint64 12264 for shift := uint(0); ; shift += 7 { 12265 if shift >= 64 { 12266 return ErrIntOverflowApplication 12267 } 12268 if iNdEx >= l { 12269 return io.ErrUnexpectedEOF 12270 } 12271 b := dAtA[iNdEx] 12272 iNdEx++ 12273 stringLen |= uint64(b&0x7F) << shift 12274 if b < 0x80 { 12275 break 12276 } 12277 } 12278 intStringLen := int(stringLen) 12279 if intStringLen < 0 { 12280 return ErrInvalidLengthApplication 12281 } 12282 postIndex := iNdEx + intStringLen 12283 if postIndex < 0 { 12284 return ErrInvalidLengthApplication 12285 } 12286 if postIndex > l { 12287 return io.ErrUnexpectedEOF 12288 } 12289 s := string(dAtA[iNdEx:postIndex]) 12290 m.ResourceName = &s 12291 iNdEx = postIndex 12292 hasFields[0] |= uint64(0x00000002) 12293 case 4: 12294 if wireType != 2 { 12295 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 12296 } 12297 var stringLen uint64 12298 for shift := uint(0); ; shift += 7 { 12299 if shift >= 64 { 12300 return ErrIntOverflowApplication 12301 } 12302 if iNdEx >= l { 12303 return io.ErrUnexpectedEOF 12304 } 12305 b := dAtA[iNdEx] 12306 iNdEx++ 12307 stringLen |= uint64(b&0x7F) << shift 12308 if b < 0x80 { 12309 break 12310 } 12311 } 12312 intStringLen := int(stringLen) 12313 if intStringLen < 0 { 12314 return ErrInvalidLengthApplication 12315 } 12316 postIndex := iNdEx + intStringLen 12317 if postIndex < 0 { 12318 return ErrInvalidLengthApplication 12319 } 12320 if postIndex > l { 12321 return io.ErrUnexpectedEOF 12322 } 12323 s := string(dAtA[iNdEx:postIndex]) 12324 m.Version = &s 12325 iNdEx = postIndex 12326 hasFields[0] |= uint64(0x00000004) 12327 case 5: 12328 if wireType != 2 { 12329 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 12330 } 12331 var stringLen uint64 12332 for shift := uint(0); ; shift += 7 { 12333 if shift >= 64 { 12334 return ErrIntOverflowApplication 12335 } 12336 if iNdEx >= l { 12337 return io.ErrUnexpectedEOF 12338 } 12339 b := dAtA[iNdEx] 12340 iNdEx++ 12341 stringLen |= uint64(b&0x7F) << shift 12342 if b < 0x80 { 12343 break 12344 } 12345 } 12346 intStringLen := int(stringLen) 12347 if intStringLen < 0 { 12348 return ErrInvalidLengthApplication 12349 } 12350 postIndex := iNdEx + intStringLen 12351 if postIndex < 0 { 12352 return ErrInvalidLengthApplication 12353 } 12354 if postIndex > l { 12355 return io.ErrUnexpectedEOF 12356 } 12357 s := string(dAtA[iNdEx:postIndex]) 12358 m.Group = &s 12359 iNdEx = postIndex 12360 case 6: 12361 if wireType != 2 { 12362 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 12363 } 12364 var stringLen uint64 12365 for shift := uint(0); ; shift += 7 { 12366 if shift >= 64 { 12367 return ErrIntOverflowApplication 12368 } 12369 if iNdEx >= l { 12370 return io.ErrUnexpectedEOF 12371 } 12372 b := dAtA[iNdEx] 12373 iNdEx++ 12374 stringLen |= uint64(b&0x7F) << shift 12375 if b < 0x80 { 12376 break 12377 } 12378 } 12379 intStringLen := int(stringLen) 12380 if intStringLen < 0 { 12381 return ErrInvalidLengthApplication 12382 } 12383 postIndex := iNdEx + intStringLen 12384 if postIndex < 0 { 12385 return ErrInvalidLengthApplication 12386 } 12387 if postIndex > l { 12388 return io.ErrUnexpectedEOF 12389 } 12390 s := string(dAtA[iNdEx:postIndex]) 12391 m.Kind = &s 12392 iNdEx = postIndex 12393 hasFields[0] |= uint64(0x00000008) 12394 case 7: 12395 if wireType != 2 { 12396 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 12397 } 12398 var stringLen uint64 12399 for shift := uint(0); ; shift += 7 { 12400 if shift >= 64 { 12401 return ErrIntOverflowApplication 12402 } 12403 if iNdEx >= l { 12404 return io.ErrUnexpectedEOF 12405 } 12406 b := dAtA[iNdEx] 12407 iNdEx++ 12408 stringLen |= uint64(b&0x7F) << shift 12409 if b < 0x80 { 12410 break 12411 } 12412 } 12413 intStringLen := int(stringLen) 12414 if intStringLen < 0 { 12415 return ErrInvalidLengthApplication 12416 } 12417 postIndex := iNdEx + intStringLen 12418 if postIndex < 0 { 12419 return ErrInvalidLengthApplication 12420 } 12421 if postIndex > l { 12422 return io.ErrUnexpectedEOF 12423 } 12424 s := string(dAtA[iNdEx:postIndex]) 12425 m.AppNamespace = &s 12426 iNdEx = postIndex 12427 case 8: 12428 if wireType != 2 { 12429 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 12430 } 12431 var stringLen uint64 12432 for shift := uint(0); ; shift += 7 { 12433 if shift >= 64 { 12434 return ErrIntOverflowApplication 12435 } 12436 if iNdEx >= l { 12437 return io.ErrUnexpectedEOF 12438 } 12439 b := dAtA[iNdEx] 12440 iNdEx++ 12441 stringLen |= uint64(b&0x7F) << shift 12442 if b < 0x80 { 12443 break 12444 } 12445 } 12446 intStringLen := int(stringLen) 12447 if intStringLen < 0 { 12448 return ErrInvalidLengthApplication 12449 } 12450 postIndex := iNdEx + intStringLen 12451 if postIndex < 0 { 12452 return ErrInvalidLengthApplication 12453 } 12454 if postIndex > l { 12455 return io.ErrUnexpectedEOF 12456 } 12457 s := string(dAtA[iNdEx:postIndex]) 12458 m.Project = &s 12459 iNdEx = postIndex 12460 default: 12461 iNdEx = preIndex 12462 skippy, err := skipApplication(dAtA[iNdEx:]) 12463 if err != nil { 12464 return err 12465 } 12466 if (skippy < 0) || (iNdEx+skippy) < 0 { 12467 return ErrInvalidLengthApplication 12468 } 12469 if (iNdEx + skippy) > l { 12470 return io.ErrUnexpectedEOF 12471 } 12472 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12473 iNdEx += skippy 12474 } 12475 } 12476 if hasFields[0]&uint64(0x00000001) == 0 { 12477 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 12478 } 12479 if hasFields[0]&uint64(0x00000002) == 0 { 12480 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 12481 } 12482 if hasFields[0]&uint64(0x00000004) == 0 { 12483 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 12484 } 12485 if hasFields[0]&uint64(0x00000008) == 0 { 12486 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 12487 } 12488 12489 if iNdEx > l { 12490 return io.ErrUnexpectedEOF 12491 } 12492 return nil 12493 } 12494 func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { 12495 var hasFields [1]uint64 12496 l := len(dAtA) 12497 iNdEx := 0 12498 for iNdEx < l { 12499 preIndex := iNdEx 12500 var wire uint64 12501 for shift := uint(0); ; shift += 7 { 12502 if shift >= 64 { 12503 return ErrIntOverflowApplication 12504 } 12505 if iNdEx >= l { 12506 return io.ErrUnexpectedEOF 12507 } 12508 b := dAtA[iNdEx] 12509 iNdEx++ 12510 wire |= uint64(b&0x7F) << shift 12511 if b < 0x80 { 12512 break 12513 } 12514 } 12515 fieldNum := int32(wire >> 3) 12516 wireType := int(wire & 0x7) 12517 if wireType == 4 { 12518 return fmt.Errorf("proto: ApplicationResourcePatchRequest: wiretype end group for non-group") 12519 } 12520 if fieldNum <= 0 { 12521 return fmt.Errorf("proto: ApplicationResourcePatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) 12522 } 12523 switch fieldNum { 12524 case 1: 12525 if wireType != 2 { 12526 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 12527 } 12528 var stringLen uint64 12529 for shift := uint(0); ; shift += 7 { 12530 if shift >= 64 { 12531 return ErrIntOverflowApplication 12532 } 12533 if iNdEx >= l { 12534 return io.ErrUnexpectedEOF 12535 } 12536 b := dAtA[iNdEx] 12537 iNdEx++ 12538 stringLen |= uint64(b&0x7F) << shift 12539 if b < 0x80 { 12540 break 12541 } 12542 } 12543 intStringLen := int(stringLen) 12544 if intStringLen < 0 { 12545 return ErrInvalidLengthApplication 12546 } 12547 postIndex := iNdEx + intStringLen 12548 if postIndex < 0 { 12549 return ErrInvalidLengthApplication 12550 } 12551 if postIndex > l { 12552 return io.ErrUnexpectedEOF 12553 } 12554 s := string(dAtA[iNdEx:postIndex]) 12555 m.Name = &s 12556 iNdEx = postIndex 12557 hasFields[0] |= uint64(0x00000001) 12558 case 2: 12559 if wireType != 2 { 12560 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 12561 } 12562 var stringLen uint64 12563 for shift := uint(0); ; shift += 7 { 12564 if shift >= 64 { 12565 return ErrIntOverflowApplication 12566 } 12567 if iNdEx >= l { 12568 return io.ErrUnexpectedEOF 12569 } 12570 b := dAtA[iNdEx] 12571 iNdEx++ 12572 stringLen |= uint64(b&0x7F) << shift 12573 if b < 0x80 { 12574 break 12575 } 12576 } 12577 intStringLen := int(stringLen) 12578 if intStringLen < 0 { 12579 return ErrInvalidLengthApplication 12580 } 12581 postIndex := iNdEx + intStringLen 12582 if postIndex < 0 { 12583 return ErrInvalidLengthApplication 12584 } 12585 if postIndex > l { 12586 return io.ErrUnexpectedEOF 12587 } 12588 s := string(dAtA[iNdEx:postIndex]) 12589 m.Namespace = &s 12590 iNdEx = postIndex 12591 case 3: 12592 if wireType != 2 { 12593 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 12594 } 12595 var stringLen uint64 12596 for shift := uint(0); ; shift += 7 { 12597 if shift >= 64 { 12598 return ErrIntOverflowApplication 12599 } 12600 if iNdEx >= l { 12601 return io.ErrUnexpectedEOF 12602 } 12603 b := dAtA[iNdEx] 12604 iNdEx++ 12605 stringLen |= uint64(b&0x7F) << shift 12606 if b < 0x80 { 12607 break 12608 } 12609 } 12610 intStringLen := int(stringLen) 12611 if intStringLen < 0 { 12612 return ErrInvalidLengthApplication 12613 } 12614 postIndex := iNdEx + intStringLen 12615 if postIndex < 0 { 12616 return ErrInvalidLengthApplication 12617 } 12618 if postIndex > l { 12619 return io.ErrUnexpectedEOF 12620 } 12621 s := string(dAtA[iNdEx:postIndex]) 12622 m.ResourceName = &s 12623 iNdEx = postIndex 12624 hasFields[0] |= uint64(0x00000002) 12625 case 4: 12626 if wireType != 2 { 12627 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 12628 } 12629 var stringLen uint64 12630 for shift := uint(0); ; shift += 7 { 12631 if shift >= 64 { 12632 return ErrIntOverflowApplication 12633 } 12634 if iNdEx >= l { 12635 return io.ErrUnexpectedEOF 12636 } 12637 b := dAtA[iNdEx] 12638 iNdEx++ 12639 stringLen |= uint64(b&0x7F) << shift 12640 if b < 0x80 { 12641 break 12642 } 12643 } 12644 intStringLen := int(stringLen) 12645 if intStringLen < 0 { 12646 return ErrInvalidLengthApplication 12647 } 12648 postIndex := iNdEx + intStringLen 12649 if postIndex < 0 { 12650 return ErrInvalidLengthApplication 12651 } 12652 if postIndex > l { 12653 return io.ErrUnexpectedEOF 12654 } 12655 s := string(dAtA[iNdEx:postIndex]) 12656 m.Version = &s 12657 iNdEx = postIndex 12658 hasFields[0] |= uint64(0x00000004) 12659 case 5: 12660 if wireType != 2 { 12661 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 12662 } 12663 var stringLen uint64 12664 for shift := uint(0); ; shift += 7 { 12665 if shift >= 64 { 12666 return ErrIntOverflowApplication 12667 } 12668 if iNdEx >= l { 12669 return io.ErrUnexpectedEOF 12670 } 12671 b := dAtA[iNdEx] 12672 iNdEx++ 12673 stringLen |= uint64(b&0x7F) << shift 12674 if b < 0x80 { 12675 break 12676 } 12677 } 12678 intStringLen := int(stringLen) 12679 if intStringLen < 0 { 12680 return ErrInvalidLengthApplication 12681 } 12682 postIndex := iNdEx + intStringLen 12683 if postIndex < 0 { 12684 return ErrInvalidLengthApplication 12685 } 12686 if postIndex > l { 12687 return io.ErrUnexpectedEOF 12688 } 12689 s := string(dAtA[iNdEx:postIndex]) 12690 m.Group = &s 12691 iNdEx = postIndex 12692 case 6: 12693 if wireType != 2 { 12694 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 12695 } 12696 var stringLen uint64 12697 for shift := uint(0); ; shift += 7 { 12698 if shift >= 64 { 12699 return ErrIntOverflowApplication 12700 } 12701 if iNdEx >= l { 12702 return io.ErrUnexpectedEOF 12703 } 12704 b := dAtA[iNdEx] 12705 iNdEx++ 12706 stringLen |= uint64(b&0x7F) << shift 12707 if b < 0x80 { 12708 break 12709 } 12710 } 12711 intStringLen := int(stringLen) 12712 if intStringLen < 0 { 12713 return ErrInvalidLengthApplication 12714 } 12715 postIndex := iNdEx + intStringLen 12716 if postIndex < 0 { 12717 return ErrInvalidLengthApplication 12718 } 12719 if postIndex > l { 12720 return io.ErrUnexpectedEOF 12721 } 12722 s := string(dAtA[iNdEx:postIndex]) 12723 m.Kind = &s 12724 iNdEx = postIndex 12725 hasFields[0] |= uint64(0x00000008) 12726 case 7: 12727 if wireType != 2 { 12728 return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) 12729 } 12730 var stringLen uint64 12731 for shift := uint(0); ; shift += 7 { 12732 if shift >= 64 { 12733 return ErrIntOverflowApplication 12734 } 12735 if iNdEx >= l { 12736 return io.ErrUnexpectedEOF 12737 } 12738 b := dAtA[iNdEx] 12739 iNdEx++ 12740 stringLen |= uint64(b&0x7F) << shift 12741 if b < 0x80 { 12742 break 12743 } 12744 } 12745 intStringLen := int(stringLen) 12746 if intStringLen < 0 { 12747 return ErrInvalidLengthApplication 12748 } 12749 postIndex := iNdEx + intStringLen 12750 if postIndex < 0 { 12751 return ErrInvalidLengthApplication 12752 } 12753 if postIndex > l { 12754 return io.ErrUnexpectedEOF 12755 } 12756 s := string(dAtA[iNdEx:postIndex]) 12757 m.Patch = &s 12758 iNdEx = postIndex 12759 hasFields[0] |= uint64(0x00000010) 12760 case 8: 12761 if wireType != 2 { 12762 return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType) 12763 } 12764 var stringLen uint64 12765 for shift := uint(0); ; shift += 7 { 12766 if shift >= 64 { 12767 return ErrIntOverflowApplication 12768 } 12769 if iNdEx >= l { 12770 return io.ErrUnexpectedEOF 12771 } 12772 b := dAtA[iNdEx] 12773 iNdEx++ 12774 stringLen |= uint64(b&0x7F) << shift 12775 if b < 0x80 { 12776 break 12777 } 12778 } 12779 intStringLen := int(stringLen) 12780 if intStringLen < 0 { 12781 return ErrInvalidLengthApplication 12782 } 12783 postIndex := iNdEx + intStringLen 12784 if postIndex < 0 { 12785 return ErrInvalidLengthApplication 12786 } 12787 if postIndex > l { 12788 return io.ErrUnexpectedEOF 12789 } 12790 s := string(dAtA[iNdEx:postIndex]) 12791 m.PatchType = &s 12792 iNdEx = postIndex 12793 hasFields[0] |= uint64(0x00000020) 12794 case 9: 12795 if wireType != 2 { 12796 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 12797 } 12798 var stringLen uint64 12799 for shift := uint(0); ; shift += 7 { 12800 if shift >= 64 { 12801 return ErrIntOverflowApplication 12802 } 12803 if iNdEx >= l { 12804 return io.ErrUnexpectedEOF 12805 } 12806 b := dAtA[iNdEx] 12807 iNdEx++ 12808 stringLen |= uint64(b&0x7F) << shift 12809 if b < 0x80 { 12810 break 12811 } 12812 } 12813 intStringLen := int(stringLen) 12814 if intStringLen < 0 { 12815 return ErrInvalidLengthApplication 12816 } 12817 postIndex := iNdEx + intStringLen 12818 if postIndex < 0 { 12819 return ErrInvalidLengthApplication 12820 } 12821 if postIndex > l { 12822 return io.ErrUnexpectedEOF 12823 } 12824 s := string(dAtA[iNdEx:postIndex]) 12825 m.AppNamespace = &s 12826 iNdEx = postIndex 12827 case 10: 12828 if wireType != 2 { 12829 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 12830 } 12831 var stringLen uint64 12832 for shift := uint(0); ; shift += 7 { 12833 if shift >= 64 { 12834 return ErrIntOverflowApplication 12835 } 12836 if iNdEx >= l { 12837 return io.ErrUnexpectedEOF 12838 } 12839 b := dAtA[iNdEx] 12840 iNdEx++ 12841 stringLen |= uint64(b&0x7F) << shift 12842 if b < 0x80 { 12843 break 12844 } 12845 } 12846 intStringLen := int(stringLen) 12847 if intStringLen < 0 { 12848 return ErrInvalidLengthApplication 12849 } 12850 postIndex := iNdEx + intStringLen 12851 if postIndex < 0 { 12852 return ErrInvalidLengthApplication 12853 } 12854 if postIndex > l { 12855 return io.ErrUnexpectedEOF 12856 } 12857 s := string(dAtA[iNdEx:postIndex]) 12858 m.Project = &s 12859 iNdEx = postIndex 12860 default: 12861 iNdEx = preIndex 12862 skippy, err := skipApplication(dAtA[iNdEx:]) 12863 if err != nil { 12864 return err 12865 } 12866 if (skippy < 0) || (iNdEx+skippy) < 0 { 12867 return ErrInvalidLengthApplication 12868 } 12869 if (iNdEx + skippy) > l { 12870 return io.ErrUnexpectedEOF 12871 } 12872 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12873 iNdEx += skippy 12874 } 12875 } 12876 if hasFields[0]&uint64(0x00000001) == 0 { 12877 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 12878 } 12879 if hasFields[0]&uint64(0x00000002) == 0 { 12880 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 12881 } 12882 if hasFields[0]&uint64(0x00000004) == 0 { 12883 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 12884 } 12885 if hasFields[0]&uint64(0x00000008) == 0 { 12886 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 12887 } 12888 if hasFields[0]&uint64(0x00000010) == 0 { 12889 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 12890 } 12891 if hasFields[0]&uint64(0x00000020) == 0 { 12892 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 12893 } 12894 12895 if iNdEx > l { 12896 return io.ErrUnexpectedEOF 12897 } 12898 return nil 12899 } 12900 func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { 12901 var hasFields [1]uint64 12902 l := len(dAtA) 12903 iNdEx := 0 12904 for iNdEx < l { 12905 preIndex := iNdEx 12906 var wire uint64 12907 for shift := uint(0); ; shift += 7 { 12908 if shift >= 64 { 12909 return ErrIntOverflowApplication 12910 } 12911 if iNdEx >= l { 12912 return io.ErrUnexpectedEOF 12913 } 12914 b := dAtA[iNdEx] 12915 iNdEx++ 12916 wire |= uint64(b&0x7F) << shift 12917 if b < 0x80 { 12918 break 12919 } 12920 } 12921 fieldNum := int32(wire >> 3) 12922 wireType := int(wire & 0x7) 12923 if wireType == 4 { 12924 return fmt.Errorf("proto: ApplicationResourceDeleteRequest: wiretype end group for non-group") 12925 } 12926 if fieldNum <= 0 { 12927 return fmt.Errorf("proto: ApplicationResourceDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) 12928 } 12929 switch fieldNum { 12930 case 1: 12931 if wireType != 2 { 12932 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 12933 } 12934 var stringLen uint64 12935 for shift := uint(0); ; shift += 7 { 12936 if shift >= 64 { 12937 return ErrIntOverflowApplication 12938 } 12939 if iNdEx >= l { 12940 return io.ErrUnexpectedEOF 12941 } 12942 b := dAtA[iNdEx] 12943 iNdEx++ 12944 stringLen |= uint64(b&0x7F) << shift 12945 if b < 0x80 { 12946 break 12947 } 12948 } 12949 intStringLen := int(stringLen) 12950 if intStringLen < 0 { 12951 return ErrInvalidLengthApplication 12952 } 12953 postIndex := iNdEx + intStringLen 12954 if postIndex < 0 { 12955 return ErrInvalidLengthApplication 12956 } 12957 if postIndex > l { 12958 return io.ErrUnexpectedEOF 12959 } 12960 s := string(dAtA[iNdEx:postIndex]) 12961 m.Name = &s 12962 iNdEx = postIndex 12963 hasFields[0] |= uint64(0x00000001) 12964 case 2: 12965 if wireType != 2 { 12966 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 12967 } 12968 var stringLen uint64 12969 for shift := uint(0); ; shift += 7 { 12970 if shift >= 64 { 12971 return ErrIntOverflowApplication 12972 } 12973 if iNdEx >= l { 12974 return io.ErrUnexpectedEOF 12975 } 12976 b := dAtA[iNdEx] 12977 iNdEx++ 12978 stringLen |= uint64(b&0x7F) << shift 12979 if b < 0x80 { 12980 break 12981 } 12982 } 12983 intStringLen := int(stringLen) 12984 if intStringLen < 0 { 12985 return ErrInvalidLengthApplication 12986 } 12987 postIndex := iNdEx + intStringLen 12988 if postIndex < 0 { 12989 return ErrInvalidLengthApplication 12990 } 12991 if postIndex > l { 12992 return io.ErrUnexpectedEOF 12993 } 12994 s := string(dAtA[iNdEx:postIndex]) 12995 m.Namespace = &s 12996 iNdEx = postIndex 12997 case 3: 12998 if wireType != 2 { 12999 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 13000 } 13001 var stringLen uint64 13002 for shift := uint(0); ; shift += 7 { 13003 if shift >= 64 { 13004 return ErrIntOverflowApplication 13005 } 13006 if iNdEx >= l { 13007 return io.ErrUnexpectedEOF 13008 } 13009 b := dAtA[iNdEx] 13010 iNdEx++ 13011 stringLen |= uint64(b&0x7F) << shift 13012 if b < 0x80 { 13013 break 13014 } 13015 } 13016 intStringLen := int(stringLen) 13017 if intStringLen < 0 { 13018 return ErrInvalidLengthApplication 13019 } 13020 postIndex := iNdEx + intStringLen 13021 if postIndex < 0 { 13022 return ErrInvalidLengthApplication 13023 } 13024 if postIndex > l { 13025 return io.ErrUnexpectedEOF 13026 } 13027 s := string(dAtA[iNdEx:postIndex]) 13028 m.ResourceName = &s 13029 iNdEx = postIndex 13030 hasFields[0] |= uint64(0x00000002) 13031 case 4: 13032 if wireType != 2 { 13033 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 13034 } 13035 var stringLen uint64 13036 for shift := uint(0); ; shift += 7 { 13037 if shift >= 64 { 13038 return ErrIntOverflowApplication 13039 } 13040 if iNdEx >= l { 13041 return io.ErrUnexpectedEOF 13042 } 13043 b := dAtA[iNdEx] 13044 iNdEx++ 13045 stringLen |= uint64(b&0x7F) << shift 13046 if b < 0x80 { 13047 break 13048 } 13049 } 13050 intStringLen := int(stringLen) 13051 if intStringLen < 0 { 13052 return ErrInvalidLengthApplication 13053 } 13054 postIndex := iNdEx + intStringLen 13055 if postIndex < 0 { 13056 return ErrInvalidLengthApplication 13057 } 13058 if postIndex > l { 13059 return io.ErrUnexpectedEOF 13060 } 13061 s := string(dAtA[iNdEx:postIndex]) 13062 m.Version = &s 13063 iNdEx = postIndex 13064 hasFields[0] |= uint64(0x00000004) 13065 case 5: 13066 if wireType != 2 { 13067 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 13068 } 13069 var stringLen uint64 13070 for shift := uint(0); ; shift += 7 { 13071 if shift >= 64 { 13072 return ErrIntOverflowApplication 13073 } 13074 if iNdEx >= l { 13075 return io.ErrUnexpectedEOF 13076 } 13077 b := dAtA[iNdEx] 13078 iNdEx++ 13079 stringLen |= uint64(b&0x7F) << shift 13080 if b < 0x80 { 13081 break 13082 } 13083 } 13084 intStringLen := int(stringLen) 13085 if intStringLen < 0 { 13086 return ErrInvalidLengthApplication 13087 } 13088 postIndex := iNdEx + intStringLen 13089 if postIndex < 0 { 13090 return ErrInvalidLengthApplication 13091 } 13092 if postIndex > l { 13093 return io.ErrUnexpectedEOF 13094 } 13095 s := string(dAtA[iNdEx:postIndex]) 13096 m.Group = &s 13097 iNdEx = postIndex 13098 case 6: 13099 if wireType != 2 { 13100 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 13101 } 13102 var stringLen uint64 13103 for shift := uint(0); ; shift += 7 { 13104 if shift >= 64 { 13105 return ErrIntOverflowApplication 13106 } 13107 if iNdEx >= l { 13108 return io.ErrUnexpectedEOF 13109 } 13110 b := dAtA[iNdEx] 13111 iNdEx++ 13112 stringLen |= uint64(b&0x7F) << shift 13113 if b < 0x80 { 13114 break 13115 } 13116 } 13117 intStringLen := int(stringLen) 13118 if intStringLen < 0 { 13119 return ErrInvalidLengthApplication 13120 } 13121 postIndex := iNdEx + intStringLen 13122 if postIndex < 0 { 13123 return ErrInvalidLengthApplication 13124 } 13125 if postIndex > l { 13126 return io.ErrUnexpectedEOF 13127 } 13128 s := string(dAtA[iNdEx:postIndex]) 13129 m.Kind = &s 13130 iNdEx = postIndex 13131 hasFields[0] |= uint64(0x00000008) 13132 case 7: 13133 if wireType != 0 { 13134 return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) 13135 } 13136 var v int 13137 for shift := uint(0); ; shift += 7 { 13138 if shift >= 64 { 13139 return ErrIntOverflowApplication 13140 } 13141 if iNdEx >= l { 13142 return io.ErrUnexpectedEOF 13143 } 13144 b := dAtA[iNdEx] 13145 iNdEx++ 13146 v |= int(b&0x7F) << shift 13147 if b < 0x80 { 13148 break 13149 } 13150 } 13151 b := bool(v != 0) 13152 m.Force = &b 13153 case 8: 13154 if wireType != 0 { 13155 return fmt.Errorf("proto: wrong wireType = %d for field Orphan", wireType) 13156 } 13157 var v int 13158 for shift := uint(0); ; shift += 7 { 13159 if shift >= 64 { 13160 return ErrIntOverflowApplication 13161 } 13162 if iNdEx >= l { 13163 return io.ErrUnexpectedEOF 13164 } 13165 b := dAtA[iNdEx] 13166 iNdEx++ 13167 v |= int(b&0x7F) << shift 13168 if b < 0x80 { 13169 break 13170 } 13171 } 13172 b := bool(v != 0) 13173 m.Orphan = &b 13174 case 9: 13175 if wireType != 2 { 13176 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 13177 } 13178 var stringLen uint64 13179 for shift := uint(0); ; shift += 7 { 13180 if shift >= 64 { 13181 return ErrIntOverflowApplication 13182 } 13183 if iNdEx >= l { 13184 return io.ErrUnexpectedEOF 13185 } 13186 b := dAtA[iNdEx] 13187 iNdEx++ 13188 stringLen |= uint64(b&0x7F) << shift 13189 if b < 0x80 { 13190 break 13191 } 13192 } 13193 intStringLen := int(stringLen) 13194 if intStringLen < 0 { 13195 return ErrInvalidLengthApplication 13196 } 13197 postIndex := iNdEx + intStringLen 13198 if postIndex < 0 { 13199 return ErrInvalidLengthApplication 13200 } 13201 if postIndex > l { 13202 return io.ErrUnexpectedEOF 13203 } 13204 s := string(dAtA[iNdEx:postIndex]) 13205 m.AppNamespace = &s 13206 iNdEx = postIndex 13207 case 10: 13208 if wireType != 2 { 13209 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 13210 } 13211 var stringLen uint64 13212 for shift := uint(0); ; shift += 7 { 13213 if shift >= 64 { 13214 return ErrIntOverflowApplication 13215 } 13216 if iNdEx >= l { 13217 return io.ErrUnexpectedEOF 13218 } 13219 b := dAtA[iNdEx] 13220 iNdEx++ 13221 stringLen |= uint64(b&0x7F) << shift 13222 if b < 0x80 { 13223 break 13224 } 13225 } 13226 intStringLen := int(stringLen) 13227 if intStringLen < 0 { 13228 return ErrInvalidLengthApplication 13229 } 13230 postIndex := iNdEx + intStringLen 13231 if postIndex < 0 { 13232 return ErrInvalidLengthApplication 13233 } 13234 if postIndex > l { 13235 return io.ErrUnexpectedEOF 13236 } 13237 s := string(dAtA[iNdEx:postIndex]) 13238 m.Project = &s 13239 iNdEx = postIndex 13240 default: 13241 iNdEx = preIndex 13242 skippy, err := skipApplication(dAtA[iNdEx:]) 13243 if err != nil { 13244 return err 13245 } 13246 if (skippy < 0) || (iNdEx+skippy) < 0 { 13247 return ErrInvalidLengthApplication 13248 } 13249 if (iNdEx + skippy) > l { 13250 return io.ErrUnexpectedEOF 13251 } 13252 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13253 iNdEx += skippy 13254 } 13255 } 13256 if hasFields[0]&uint64(0x00000001) == 0 { 13257 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 13258 } 13259 if hasFields[0]&uint64(0x00000002) == 0 { 13260 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 13261 } 13262 if hasFields[0]&uint64(0x00000004) == 0 { 13263 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 13264 } 13265 if hasFields[0]&uint64(0x00000008) == 0 { 13266 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 13267 } 13268 13269 if iNdEx > l { 13270 return io.ErrUnexpectedEOF 13271 } 13272 return nil 13273 } 13274 func (m *ResourceActionParameters) Unmarshal(dAtA []byte) error { 13275 var hasFields [1]uint64 13276 l := len(dAtA) 13277 iNdEx := 0 13278 for iNdEx < l { 13279 preIndex := iNdEx 13280 var wire uint64 13281 for shift := uint(0); ; shift += 7 { 13282 if shift >= 64 { 13283 return ErrIntOverflowApplication 13284 } 13285 if iNdEx >= l { 13286 return io.ErrUnexpectedEOF 13287 } 13288 b := dAtA[iNdEx] 13289 iNdEx++ 13290 wire |= uint64(b&0x7F) << shift 13291 if b < 0x80 { 13292 break 13293 } 13294 } 13295 fieldNum := int32(wire >> 3) 13296 wireType := int(wire & 0x7) 13297 if wireType == 4 { 13298 return fmt.Errorf("proto: ResourceActionParameters: wiretype end group for non-group") 13299 } 13300 if fieldNum <= 0 { 13301 return fmt.Errorf("proto: ResourceActionParameters: illegal tag %d (wire type %d)", fieldNum, wire) 13302 } 13303 switch fieldNum { 13304 case 1: 13305 if wireType != 2 { 13306 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 13307 } 13308 var stringLen uint64 13309 for shift := uint(0); ; shift += 7 { 13310 if shift >= 64 { 13311 return ErrIntOverflowApplication 13312 } 13313 if iNdEx >= l { 13314 return io.ErrUnexpectedEOF 13315 } 13316 b := dAtA[iNdEx] 13317 iNdEx++ 13318 stringLen |= uint64(b&0x7F) << shift 13319 if b < 0x80 { 13320 break 13321 } 13322 } 13323 intStringLen := int(stringLen) 13324 if intStringLen < 0 { 13325 return ErrInvalidLengthApplication 13326 } 13327 postIndex := iNdEx + intStringLen 13328 if postIndex < 0 { 13329 return ErrInvalidLengthApplication 13330 } 13331 if postIndex > l { 13332 return io.ErrUnexpectedEOF 13333 } 13334 s := string(dAtA[iNdEx:postIndex]) 13335 m.Name = &s 13336 iNdEx = postIndex 13337 hasFields[0] |= uint64(0x00000001) 13338 case 2: 13339 if wireType != 2 { 13340 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 13341 } 13342 var stringLen uint64 13343 for shift := uint(0); ; shift += 7 { 13344 if shift >= 64 { 13345 return ErrIntOverflowApplication 13346 } 13347 if iNdEx >= l { 13348 return io.ErrUnexpectedEOF 13349 } 13350 b := dAtA[iNdEx] 13351 iNdEx++ 13352 stringLen |= uint64(b&0x7F) << shift 13353 if b < 0x80 { 13354 break 13355 } 13356 } 13357 intStringLen := int(stringLen) 13358 if intStringLen < 0 { 13359 return ErrInvalidLengthApplication 13360 } 13361 postIndex := iNdEx + intStringLen 13362 if postIndex < 0 { 13363 return ErrInvalidLengthApplication 13364 } 13365 if postIndex > l { 13366 return io.ErrUnexpectedEOF 13367 } 13368 s := string(dAtA[iNdEx:postIndex]) 13369 m.Value = &s 13370 iNdEx = postIndex 13371 hasFields[0] |= uint64(0x00000002) 13372 default: 13373 iNdEx = preIndex 13374 skippy, err := skipApplication(dAtA[iNdEx:]) 13375 if err != nil { 13376 return err 13377 } 13378 if (skippy < 0) || (iNdEx+skippy) < 0 { 13379 return ErrInvalidLengthApplication 13380 } 13381 if (iNdEx + skippy) > l { 13382 return io.ErrUnexpectedEOF 13383 } 13384 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13385 iNdEx += skippy 13386 } 13387 } 13388 if hasFields[0]&uint64(0x00000001) == 0 { 13389 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 13390 } 13391 if hasFields[0]&uint64(0x00000002) == 0 { 13392 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("value") 13393 } 13394 13395 if iNdEx > l { 13396 return io.ErrUnexpectedEOF 13397 } 13398 return nil 13399 } 13400 func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { 13401 var hasFields [1]uint64 13402 l := len(dAtA) 13403 iNdEx := 0 13404 for iNdEx < l { 13405 preIndex := iNdEx 13406 var wire uint64 13407 for shift := uint(0); ; shift += 7 { 13408 if shift >= 64 { 13409 return ErrIntOverflowApplication 13410 } 13411 if iNdEx >= l { 13412 return io.ErrUnexpectedEOF 13413 } 13414 b := dAtA[iNdEx] 13415 iNdEx++ 13416 wire |= uint64(b&0x7F) << shift 13417 if b < 0x80 { 13418 break 13419 } 13420 } 13421 fieldNum := int32(wire >> 3) 13422 wireType := int(wire & 0x7) 13423 if wireType == 4 { 13424 return fmt.Errorf("proto: ResourceActionRunRequest: wiretype end group for non-group") 13425 } 13426 if fieldNum <= 0 { 13427 return fmt.Errorf("proto: ResourceActionRunRequest: illegal tag %d (wire type %d)", fieldNum, wire) 13428 } 13429 switch fieldNum { 13430 case 1: 13431 if wireType != 2 { 13432 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 13433 } 13434 var stringLen uint64 13435 for shift := uint(0); ; shift += 7 { 13436 if shift >= 64 { 13437 return ErrIntOverflowApplication 13438 } 13439 if iNdEx >= l { 13440 return io.ErrUnexpectedEOF 13441 } 13442 b := dAtA[iNdEx] 13443 iNdEx++ 13444 stringLen |= uint64(b&0x7F) << shift 13445 if b < 0x80 { 13446 break 13447 } 13448 } 13449 intStringLen := int(stringLen) 13450 if intStringLen < 0 { 13451 return ErrInvalidLengthApplication 13452 } 13453 postIndex := iNdEx + intStringLen 13454 if postIndex < 0 { 13455 return ErrInvalidLengthApplication 13456 } 13457 if postIndex > l { 13458 return io.ErrUnexpectedEOF 13459 } 13460 s := string(dAtA[iNdEx:postIndex]) 13461 m.Name = &s 13462 iNdEx = postIndex 13463 hasFields[0] |= uint64(0x00000001) 13464 case 2: 13465 if wireType != 2 { 13466 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 13467 } 13468 var stringLen uint64 13469 for shift := uint(0); ; shift += 7 { 13470 if shift >= 64 { 13471 return ErrIntOverflowApplication 13472 } 13473 if iNdEx >= l { 13474 return io.ErrUnexpectedEOF 13475 } 13476 b := dAtA[iNdEx] 13477 iNdEx++ 13478 stringLen |= uint64(b&0x7F) << shift 13479 if b < 0x80 { 13480 break 13481 } 13482 } 13483 intStringLen := int(stringLen) 13484 if intStringLen < 0 { 13485 return ErrInvalidLengthApplication 13486 } 13487 postIndex := iNdEx + intStringLen 13488 if postIndex < 0 { 13489 return ErrInvalidLengthApplication 13490 } 13491 if postIndex > l { 13492 return io.ErrUnexpectedEOF 13493 } 13494 s := string(dAtA[iNdEx:postIndex]) 13495 m.Namespace = &s 13496 iNdEx = postIndex 13497 case 3: 13498 if wireType != 2 { 13499 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 13500 } 13501 var stringLen uint64 13502 for shift := uint(0); ; shift += 7 { 13503 if shift >= 64 { 13504 return ErrIntOverflowApplication 13505 } 13506 if iNdEx >= l { 13507 return io.ErrUnexpectedEOF 13508 } 13509 b := dAtA[iNdEx] 13510 iNdEx++ 13511 stringLen |= uint64(b&0x7F) << shift 13512 if b < 0x80 { 13513 break 13514 } 13515 } 13516 intStringLen := int(stringLen) 13517 if intStringLen < 0 { 13518 return ErrInvalidLengthApplication 13519 } 13520 postIndex := iNdEx + intStringLen 13521 if postIndex < 0 { 13522 return ErrInvalidLengthApplication 13523 } 13524 if postIndex > l { 13525 return io.ErrUnexpectedEOF 13526 } 13527 s := string(dAtA[iNdEx:postIndex]) 13528 m.ResourceName = &s 13529 iNdEx = postIndex 13530 hasFields[0] |= uint64(0x00000002) 13531 case 4: 13532 if wireType != 2 { 13533 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 13534 } 13535 var stringLen uint64 13536 for shift := uint(0); ; shift += 7 { 13537 if shift >= 64 { 13538 return ErrIntOverflowApplication 13539 } 13540 if iNdEx >= l { 13541 return io.ErrUnexpectedEOF 13542 } 13543 b := dAtA[iNdEx] 13544 iNdEx++ 13545 stringLen |= uint64(b&0x7F) << shift 13546 if b < 0x80 { 13547 break 13548 } 13549 } 13550 intStringLen := int(stringLen) 13551 if intStringLen < 0 { 13552 return ErrInvalidLengthApplication 13553 } 13554 postIndex := iNdEx + intStringLen 13555 if postIndex < 0 { 13556 return ErrInvalidLengthApplication 13557 } 13558 if postIndex > l { 13559 return io.ErrUnexpectedEOF 13560 } 13561 s := string(dAtA[iNdEx:postIndex]) 13562 m.Version = &s 13563 iNdEx = postIndex 13564 hasFields[0] |= uint64(0x00000004) 13565 case 5: 13566 if wireType != 2 { 13567 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 13568 } 13569 var stringLen uint64 13570 for shift := uint(0); ; shift += 7 { 13571 if shift >= 64 { 13572 return ErrIntOverflowApplication 13573 } 13574 if iNdEx >= l { 13575 return io.ErrUnexpectedEOF 13576 } 13577 b := dAtA[iNdEx] 13578 iNdEx++ 13579 stringLen |= uint64(b&0x7F) << shift 13580 if b < 0x80 { 13581 break 13582 } 13583 } 13584 intStringLen := int(stringLen) 13585 if intStringLen < 0 { 13586 return ErrInvalidLengthApplication 13587 } 13588 postIndex := iNdEx + intStringLen 13589 if postIndex < 0 { 13590 return ErrInvalidLengthApplication 13591 } 13592 if postIndex > l { 13593 return io.ErrUnexpectedEOF 13594 } 13595 s := string(dAtA[iNdEx:postIndex]) 13596 m.Group = &s 13597 iNdEx = postIndex 13598 case 6: 13599 if wireType != 2 { 13600 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 13601 } 13602 var stringLen uint64 13603 for shift := uint(0); ; shift += 7 { 13604 if shift >= 64 { 13605 return ErrIntOverflowApplication 13606 } 13607 if iNdEx >= l { 13608 return io.ErrUnexpectedEOF 13609 } 13610 b := dAtA[iNdEx] 13611 iNdEx++ 13612 stringLen |= uint64(b&0x7F) << shift 13613 if b < 0x80 { 13614 break 13615 } 13616 } 13617 intStringLen := int(stringLen) 13618 if intStringLen < 0 { 13619 return ErrInvalidLengthApplication 13620 } 13621 postIndex := iNdEx + intStringLen 13622 if postIndex < 0 { 13623 return ErrInvalidLengthApplication 13624 } 13625 if postIndex > l { 13626 return io.ErrUnexpectedEOF 13627 } 13628 s := string(dAtA[iNdEx:postIndex]) 13629 m.Kind = &s 13630 iNdEx = postIndex 13631 hasFields[0] |= uint64(0x00000008) 13632 case 7: 13633 if wireType != 2 { 13634 return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) 13635 } 13636 var stringLen uint64 13637 for shift := uint(0); ; shift += 7 { 13638 if shift >= 64 { 13639 return ErrIntOverflowApplication 13640 } 13641 if iNdEx >= l { 13642 return io.ErrUnexpectedEOF 13643 } 13644 b := dAtA[iNdEx] 13645 iNdEx++ 13646 stringLen |= uint64(b&0x7F) << shift 13647 if b < 0x80 { 13648 break 13649 } 13650 } 13651 intStringLen := int(stringLen) 13652 if intStringLen < 0 { 13653 return ErrInvalidLengthApplication 13654 } 13655 postIndex := iNdEx + intStringLen 13656 if postIndex < 0 { 13657 return ErrInvalidLengthApplication 13658 } 13659 if postIndex > l { 13660 return io.ErrUnexpectedEOF 13661 } 13662 s := string(dAtA[iNdEx:postIndex]) 13663 m.Action = &s 13664 iNdEx = postIndex 13665 hasFields[0] |= uint64(0x00000010) 13666 case 8: 13667 if wireType != 2 { 13668 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 13669 } 13670 var stringLen uint64 13671 for shift := uint(0); ; shift += 7 { 13672 if shift >= 64 { 13673 return ErrIntOverflowApplication 13674 } 13675 if iNdEx >= l { 13676 return io.ErrUnexpectedEOF 13677 } 13678 b := dAtA[iNdEx] 13679 iNdEx++ 13680 stringLen |= uint64(b&0x7F) << shift 13681 if b < 0x80 { 13682 break 13683 } 13684 } 13685 intStringLen := int(stringLen) 13686 if intStringLen < 0 { 13687 return ErrInvalidLengthApplication 13688 } 13689 postIndex := iNdEx + intStringLen 13690 if postIndex < 0 { 13691 return ErrInvalidLengthApplication 13692 } 13693 if postIndex > l { 13694 return io.ErrUnexpectedEOF 13695 } 13696 s := string(dAtA[iNdEx:postIndex]) 13697 m.AppNamespace = &s 13698 iNdEx = postIndex 13699 case 9: 13700 if wireType != 2 { 13701 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 13702 } 13703 var stringLen uint64 13704 for shift := uint(0); ; shift += 7 { 13705 if shift >= 64 { 13706 return ErrIntOverflowApplication 13707 } 13708 if iNdEx >= l { 13709 return io.ErrUnexpectedEOF 13710 } 13711 b := dAtA[iNdEx] 13712 iNdEx++ 13713 stringLen |= uint64(b&0x7F) << shift 13714 if b < 0x80 { 13715 break 13716 } 13717 } 13718 intStringLen := int(stringLen) 13719 if intStringLen < 0 { 13720 return ErrInvalidLengthApplication 13721 } 13722 postIndex := iNdEx + intStringLen 13723 if postIndex < 0 { 13724 return ErrInvalidLengthApplication 13725 } 13726 if postIndex > l { 13727 return io.ErrUnexpectedEOF 13728 } 13729 s := string(dAtA[iNdEx:postIndex]) 13730 m.Project = &s 13731 iNdEx = postIndex 13732 default: 13733 iNdEx = preIndex 13734 skippy, err := skipApplication(dAtA[iNdEx:]) 13735 if err != nil { 13736 return err 13737 } 13738 if (skippy < 0) || (iNdEx+skippy) < 0 { 13739 return ErrInvalidLengthApplication 13740 } 13741 if (iNdEx + skippy) > l { 13742 return io.ErrUnexpectedEOF 13743 } 13744 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13745 iNdEx += skippy 13746 } 13747 } 13748 if hasFields[0]&uint64(0x00000001) == 0 { 13749 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 13750 } 13751 if hasFields[0]&uint64(0x00000002) == 0 { 13752 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 13753 } 13754 if hasFields[0]&uint64(0x00000004) == 0 { 13755 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 13756 } 13757 if hasFields[0]&uint64(0x00000008) == 0 { 13758 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 13759 } 13760 if hasFields[0]&uint64(0x00000010) == 0 { 13761 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") 13762 } 13763 13764 if iNdEx > l { 13765 return io.ErrUnexpectedEOF 13766 } 13767 return nil 13768 } 13769 func (m *ResourceActionRunRequestV2) Unmarshal(dAtA []byte) error { 13770 var hasFields [1]uint64 13771 l := len(dAtA) 13772 iNdEx := 0 13773 for iNdEx < l { 13774 preIndex := iNdEx 13775 var wire uint64 13776 for shift := uint(0); ; shift += 7 { 13777 if shift >= 64 { 13778 return ErrIntOverflowApplication 13779 } 13780 if iNdEx >= l { 13781 return io.ErrUnexpectedEOF 13782 } 13783 b := dAtA[iNdEx] 13784 iNdEx++ 13785 wire |= uint64(b&0x7F) << shift 13786 if b < 0x80 { 13787 break 13788 } 13789 } 13790 fieldNum := int32(wire >> 3) 13791 wireType := int(wire & 0x7) 13792 if wireType == 4 { 13793 return fmt.Errorf("proto: ResourceActionRunRequestV2: wiretype end group for non-group") 13794 } 13795 if fieldNum <= 0 { 13796 return fmt.Errorf("proto: ResourceActionRunRequestV2: illegal tag %d (wire type %d)", fieldNum, wire) 13797 } 13798 switch fieldNum { 13799 case 1: 13800 if wireType != 2 { 13801 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 13802 } 13803 var stringLen uint64 13804 for shift := uint(0); ; shift += 7 { 13805 if shift >= 64 { 13806 return ErrIntOverflowApplication 13807 } 13808 if iNdEx >= l { 13809 return io.ErrUnexpectedEOF 13810 } 13811 b := dAtA[iNdEx] 13812 iNdEx++ 13813 stringLen |= uint64(b&0x7F) << shift 13814 if b < 0x80 { 13815 break 13816 } 13817 } 13818 intStringLen := int(stringLen) 13819 if intStringLen < 0 { 13820 return ErrInvalidLengthApplication 13821 } 13822 postIndex := iNdEx + intStringLen 13823 if postIndex < 0 { 13824 return ErrInvalidLengthApplication 13825 } 13826 if postIndex > l { 13827 return io.ErrUnexpectedEOF 13828 } 13829 s := string(dAtA[iNdEx:postIndex]) 13830 m.Name = &s 13831 iNdEx = postIndex 13832 hasFields[0] |= uint64(0x00000001) 13833 case 2: 13834 if wireType != 2 { 13835 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 13836 } 13837 var stringLen uint64 13838 for shift := uint(0); ; shift += 7 { 13839 if shift >= 64 { 13840 return ErrIntOverflowApplication 13841 } 13842 if iNdEx >= l { 13843 return io.ErrUnexpectedEOF 13844 } 13845 b := dAtA[iNdEx] 13846 iNdEx++ 13847 stringLen |= uint64(b&0x7F) << shift 13848 if b < 0x80 { 13849 break 13850 } 13851 } 13852 intStringLen := int(stringLen) 13853 if intStringLen < 0 { 13854 return ErrInvalidLengthApplication 13855 } 13856 postIndex := iNdEx + intStringLen 13857 if postIndex < 0 { 13858 return ErrInvalidLengthApplication 13859 } 13860 if postIndex > l { 13861 return io.ErrUnexpectedEOF 13862 } 13863 s := string(dAtA[iNdEx:postIndex]) 13864 m.Namespace = &s 13865 iNdEx = postIndex 13866 case 3: 13867 if wireType != 2 { 13868 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 13869 } 13870 var stringLen uint64 13871 for shift := uint(0); ; shift += 7 { 13872 if shift >= 64 { 13873 return ErrIntOverflowApplication 13874 } 13875 if iNdEx >= l { 13876 return io.ErrUnexpectedEOF 13877 } 13878 b := dAtA[iNdEx] 13879 iNdEx++ 13880 stringLen |= uint64(b&0x7F) << shift 13881 if b < 0x80 { 13882 break 13883 } 13884 } 13885 intStringLen := int(stringLen) 13886 if intStringLen < 0 { 13887 return ErrInvalidLengthApplication 13888 } 13889 postIndex := iNdEx + intStringLen 13890 if postIndex < 0 { 13891 return ErrInvalidLengthApplication 13892 } 13893 if postIndex > l { 13894 return io.ErrUnexpectedEOF 13895 } 13896 s := string(dAtA[iNdEx:postIndex]) 13897 m.ResourceName = &s 13898 iNdEx = postIndex 13899 hasFields[0] |= uint64(0x00000002) 13900 case 4: 13901 if wireType != 2 { 13902 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 13903 } 13904 var stringLen uint64 13905 for shift := uint(0); ; shift += 7 { 13906 if shift >= 64 { 13907 return ErrIntOverflowApplication 13908 } 13909 if iNdEx >= l { 13910 return io.ErrUnexpectedEOF 13911 } 13912 b := dAtA[iNdEx] 13913 iNdEx++ 13914 stringLen |= uint64(b&0x7F) << shift 13915 if b < 0x80 { 13916 break 13917 } 13918 } 13919 intStringLen := int(stringLen) 13920 if intStringLen < 0 { 13921 return ErrInvalidLengthApplication 13922 } 13923 postIndex := iNdEx + intStringLen 13924 if postIndex < 0 { 13925 return ErrInvalidLengthApplication 13926 } 13927 if postIndex > l { 13928 return io.ErrUnexpectedEOF 13929 } 13930 s := string(dAtA[iNdEx:postIndex]) 13931 m.Version = &s 13932 iNdEx = postIndex 13933 hasFields[0] |= uint64(0x00000004) 13934 case 5: 13935 if wireType != 2 { 13936 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 13937 } 13938 var stringLen uint64 13939 for shift := uint(0); ; shift += 7 { 13940 if shift >= 64 { 13941 return ErrIntOverflowApplication 13942 } 13943 if iNdEx >= l { 13944 return io.ErrUnexpectedEOF 13945 } 13946 b := dAtA[iNdEx] 13947 iNdEx++ 13948 stringLen |= uint64(b&0x7F) << shift 13949 if b < 0x80 { 13950 break 13951 } 13952 } 13953 intStringLen := int(stringLen) 13954 if intStringLen < 0 { 13955 return ErrInvalidLengthApplication 13956 } 13957 postIndex := iNdEx + intStringLen 13958 if postIndex < 0 { 13959 return ErrInvalidLengthApplication 13960 } 13961 if postIndex > l { 13962 return io.ErrUnexpectedEOF 13963 } 13964 s := string(dAtA[iNdEx:postIndex]) 13965 m.Group = &s 13966 iNdEx = postIndex 13967 case 6: 13968 if wireType != 2 { 13969 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 13970 } 13971 var stringLen uint64 13972 for shift := uint(0); ; shift += 7 { 13973 if shift >= 64 { 13974 return ErrIntOverflowApplication 13975 } 13976 if iNdEx >= l { 13977 return io.ErrUnexpectedEOF 13978 } 13979 b := dAtA[iNdEx] 13980 iNdEx++ 13981 stringLen |= uint64(b&0x7F) << shift 13982 if b < 0x80 { 13983 break 13984 } 13985 } 13986 intStringLen := int(stringLen) 13987 if intStringLen < 0 { 13988 return ErrInvalidLengthApplication 13989 } 13990 postIndex := iNdEx + intStringLen 13991 if postIndex < 0 { 13992 return ErrInvalidLengthApplication 13993 } 13994 if postIndex > l { 13995 return io.ErrUnexpectedEOF 13996 } 13997 s := string(dAtA[iNdEx:postIndex]) 13998 m.Kind = &s 13999 iNdEx = postIndex 14000 hasFields[0] |= uint64(0x00000008) 14001 case 7: 14002 if wireType != 2 { 14003 return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) 14004 } 14005 var stringLen uint64 14006 for shift := uint(0); ; shift += 7 { 14007 if shift >= 64 { 14008 return ErrIntOverflowApplication 14009 } 14010 if iNdEx >= l { 14011 return io.ErrUnexpectedEOF 14012 } 14013 b := dAtA[iNdEx] 14014 iNdEx++ 14015 stringLen |= uint64(b&0x7F) << shift 14016 if b < 0x80 { 14017 break 14018 } 14019 } 14020 intStringLen := int(stringLen) 14021 if intStringLen < 0 { 14022 return ErrInvalidLengthApplication 14023 } 14024 postIndex := iNdEx + intStringLen 14025 if postIndex < 0 { 14026 return ErrInvalidLengthApplication 14027 } 14028 if postIndex > l { 14029 return io.ErrUnexpectedEOF 14030 } 14031 s := string(dAtA[iNdEx:postIndex]) 14032 m.Action = &s 14033 iNdEx = postIndex 14034 hasFields[0] |= uint64(0x00000010) 14035 case 8: 14036 if wireType != 2 { 14037 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 14038 } 14039 var stringLen uint64 14040 for shift := uint(0); ; shift += 7 { 14041 if shift >= 64 { 14042 return ErrIntOverflowApplication 14043 } 14044 if iNdEx >= l { 14045 return io.ErrUnexpectedEOF 14046 } 14047 b := dAtA[iNdEx] 14048 iNdEx++ 14049 stringLen |= uint64(b&0x7F) << shift 14050 if b < 0x80 { 14051 break 14052 } 14053 } 14054 intStringLen := int(stringLen) 14055 if intStringLen < 0 { 14056 return ErrInvalidLengthApplication 14057 } 14058 postIndex := iNdEx + intStringLen 14059 if postIndex < 0 { 14060 return ErrInvalidLengthApplication 14061 } 14062 if postIndex > l { 14063 return io.ErrUnexpectedEOF 14064 } 14065 s := string(dAtA[iNdEx:postIndex]) 14066 m.AppNamespace = &s 14067 iNdEx = postIndex 14068 case 9: 14069 if wireType != 2 { 14070 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 14071 } 14072 var stringLen uint64 14073 for shift := uint(0); ; shift += 7 { 14074 if shift >= 64 { 14075 return ErrIntOverflowApplication 14076 } 14077 if iNdEx >= l { 14078 return io.ErrUnexpectedEOF 14079 } 14080 b := dAtA[iNdEx] 14081 iNdEx++ 14082 stringLen |= uint64(b&0x7F) << shift 14083 if b < 0x80 { 14084 break 14085 } 14086 } 14087 intStringLen := int(stringLen) 14088 if intStringLen < 0 { 14089 return ErrInvalidLengthApplication 14090 } 14091 postIndex := iNdEx + intStringLen 14092 if postIndex < 0 { 14093 return ErrInvalidLengthApplication 14094 } 14095 if postIndex > l { 14096 return io.ErrUnexpectedEOF 14097 } 14098 s := string(dAtA[iNdEx:postIndex]) 14099 m.Project = &s 14100 iNdEx = postIndex 14101 case 10: 14102 if wireType != 2 { 14103 return fmt.Errorf("proto: wrong wireType = %d for field ResourceActionParameters", wireType) 14104 } 14105 var msglen int 14106 for shift := uint(0); ; shift += 7 { 14107 if shift >= 64 { 14108 return ErrIntOverflowApplication 14109 } 14110 if iNdEx >= l { 14111 return io.ErrUnexpectedEOF 14112 } 14113 b := dAtA[iNdEx] 14114 iNdEx++ 14115 msglen |= int(b&0x7F) << shift 14116 if b < 0x80 { 14117 break 14118 } 14119 } 14120 if msglen < 0 { 14121 return ErrInvalidLengthApplication 14122 } 14123 postIndex := iNdEx + msglen 14124 if postIndex < 0 { 14125 return ErrInvalidLengthApplication 14126 } 14127 if postIndex > l { 14128 return io.ErrUnexpectedEOF 14129 } 14130 m.ResourceActionParameters = append(m.ResourceActionParameters, &ResourceActionParameters{}) 14131 if err := m.ResourceActionParameters[len(m.ResourceActionParameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 14132 return err 14133 } 14134 iNdEx = postIndex 14135 default: 14136 iNdEx = preIndex 14137 skippy, err := skipApplication(dAtA[iNdEx:]) 14138 if err != nil { 14139 return err 14140 } 14141 if (skippy < 0) || (iNdEx+skippy) < 0 { 14142 return ErrInvalidLengthApplication 14143 } 14144 if (iNdEx + skippy) > l { 14145 return io.ErrUnexpectedEOF 14146 } 14147 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14148 iNdEx += skippy 14149 } 14150 } 14151 if hasFields[0]&uint64(0x00000001) == 0 { 14152 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 14153 } 14154 if hasFields[0]&uint64(0x00000002) == 0 { 14155 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 14156 } 14157 if hasFields[0]&uint64(0x00000004) == 0 { 14158 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 14159 } 14160 if hasFields[0]&uint64(0x00000008) == 0 { 14161 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 14162 } 14163 if hasFields[0]&uint64(0x00000010) == 0 { 14164 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") 14165 } 14166 14167 if iNdEx > l { 14168 return io.ErrUnexpectedEOF 14169 } 14170 return nil 14171 } 14172 func (m *ResourceActionsListResponse) Unmarshal(dAtA []byte) error { 14173 l := len(dAtA) 14174 iNdEx := 0 14175 for iNdEx < l { 14176 preIndex := iNdEx 14177 var wire uint64 14178 for shift := uint(0); ; shift += 7 { 14179 if shift >= 64 { 14180 return ErrIntOverflowApplication 14181 } 14182 if iNdEx >= l { 14183 return io.ErrUnexpectedEOF 14184 } 14185 b := dAtA[iNdEx] 14186 iNdEx++ 14187 wire |= uint64(b&0x7F) << shift 14188 if b < 0x80 { 14189 break 14190 } 14191 } 14192 fieldNum := int32(wire >> 3) 14193 wireType := int(wire & 0x7) 14194 if wireType == 4 { 14195 return fmt.Errorf("proto: ResourceActionsListResponse: wiretype end group for non-group") 14196 } 14197 if fieldNum <= 0 { 14198 return fmt.Errorf("proto: ResourceActionsListResponse: illegal tag %d (wire type %d)", fieldNum, wire) 14199 } 14200 switch fieldNum { 14201 case 1: 14202 if wireType != 2 { 14203 return fmt.Errorf("proto: wrong wireType = %d for field Actions", wireType) 14204 } 14205 var msglen int 14206 for shift := uint(0); ; shift += 7 { 14207 if shift >= 64 { 14208 return ErrIntOverflowApplication 14209 } 14210 if iNdEx >= l { 14211 return io.ErrUnexpectedEOF 14212 } 14213 b := dAtA[iNdEx] 14214 iNdEx++ 14215 msglen |= int(b&0x7F) << shift 14216 if b < 0x80 { 14217 break 14218 } 14219 } 14220 if msglen < 0 { 14221 return ErrInvalidLengthApplication 14222 } 14223 postIndex := iNdEx + msglen 14224 if postIndex < 0 { 14225 return ErrInvalidLengthApplication 14226 } 14227 if postIndex > l { 14228 return io.ErrUnexpectedEOF 14229 } 14230 m.Actions = append(m.Actions, &v1alpha1.ResourceAction{}) 14231 if err := m.Actions[len(m.Actions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 14232 return err 14233 } 14234 iNdEx = postIndex 14235 default: 14236 iNdEx = preIndex 14237 skippy, err := skipApplication(dAtA[iNdEx:]) 14238 if err != nil { 14239 return err 14240 } 14241 if (skippy < 0) || (iNdEx+skippy) < 0 { 14242 return ErrInvalidLengthApplication 14243 } 14244 if (iNdEx + skippy) > l { 14245 return io.ErrUnexpectedEOF 14246 } 14247 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14248 iNdEx += skippy 14249 } 14250 } 14251 14252 if iNdEx > l { 14253 return io.ErrUnexpectedEOF 14254 } 14255 return nil 14256 } 14257 func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error { 14258 var hasFields [1]uint64 14259 l := len(dAtA) 14260 iNdEx := 0 14261 for iNdEx < l { 14262 preIndex := iNdEx 14263 var wire uint64 14264 for shift := uint(0); ; shift += 7 { 14265 if shift >= 64 { 14266 return ErrIntOverflowApplication 14267 } 14268 if iNdEx >= l { 14269 return io.ErrUnexpectedEOF 14270 } 14271 b := dAtA[iNdEx] 14272 iNdEx++ 14273 wire |= uint64(b&0x7F) << shift 14274 if b < 0x80 { 14275 break 14276 } 14277 } 14278 fieldNum := int32(wire >> 3) 14279 wireType := int(wire & 0x7) 14280 if wireType == 4 { 14281 return fmt.Errorf("proto: ApplicationResourceResponse: wiretype end group for non-group") 14282 } 14283 if fieldNum <= 0 { 14284 return fmt.Errorf("proto: ApplicationResourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 14285 } 14286 switch fieldNum { 14287 case 1: 14288 if wireType != 2 { 14289 return fmt.Errorf("proto: wrong wireType = %d for field Manifest", wireType) 14290 } 14291 var stringLen uint64 14292 for shift := uint(0); ; shift += 7 { 14293 if shift >= 64 { 14294 return ErrIntOverflowApplication 14295 } 14296 if iNdEx >= l { 14297 return io.ErrUnexpectedEOF 14298 } 14299 b := dAtA[iNdEx] 14300 iNdEx++ 14301 stringLen |= uint64(b&0x7F) << shift 14302 if b < 0x80 { 14303 break 14304 } 14305 } 14306 intStringLen := int(stringLen) 14307 if intStringLen < 0 { 14308 return ErrInvalidLengthApplication 14309 } 14310 postIndex := iNdEx + intStringLen 14311 if postIndex < 0 { 14312 return ErrInvalidLengthApplication 14313 } 14314 if postIndex > l { 14315 return io.ErrUnexpectedEOF 14316 } 14317 s := string(dAtA[iNdEx:postIndex]) 14318 m.Manifest = &s 14319 iNdEx = postIndex 14320 hasFields[0] |= uint64(0x00000001) 14321 default: 14322 iNdEx = preIndex 14323 skippy, err := skipApplication(dAtA[iNdEx:]) 14324 if err != nil { 14325 return err 14326 } 14327 if (skippy < 0) || (iNdEx+skippy) < 0 { 14328 return ErrInvalidLengthApplication 14329 } 14330 if (iNdEx + skippy) > l { 14331 return io.ErrUnexpectedEOF 14332 } 14333 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14334 iNdEx += skippy 14335 } 14336 } 14337 if hasFields[0]&uint64(0x00000001) == 0 { 14338 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest") 14339 } 14340 14341 if iNdEx > l { 14342 return io.ErrUnexpectedEOF 14343 } 14344 return nil 14345 } 14346 func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { 14347 var hasFields [1]uint64 14348 l := len(dAtA) 14349 iNdEx := 0 14350 for iNdEx < l { 14351 preIndex := iNdEx 14352 var wire uint64 14353 for shift := uint(0); ; shift += 7 { 14354 if shift >= 64 { 14355 return ErrIntOverflowApplication 14356 } 14357 if iNdEx >= l { 14358 return io.ErrUnexpectedEOF 14359 } 14360 b := dAtA[iNdEx] 14361 iNdEx++ 14362 wire |= uint64(b&0x7F) << shift 14363 if b < 0x80 { 14364 break 14365 } 14366 } 14367 fieldNum := int32(wire >> 3) 14368 wireType := int(wire & 0x7) 14369 if wireType == 4 { 14370 return fmt.Errorf("proto: ApplicationPodLogsQuery: wiretype end group for non-group") 14371 } 14372 if fieldNum <= 0 { 14373 return fmt.Errorf("proto: ApplicationPodLogsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 14374 } 14375 switch fieldNum { 14376 case 1: 14377 if wireType != 2 { 14378 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 14379 } 14380 var stringLen uint64 14381 for shift := uint(0); ; shift += 7 { 14382 if shift >= 64 { 14383 return ErrIntOverflowApplication 14384 } 14385 if iNdEx >= l { 14386 return io.ErrUnexpectedEOF 14387 } 14388 b := dAtA[iNdEx] 14389 iNdEx++ 14390 stringLen |= uint64(b&0x7F) << shift 14391 if b < 0x80 { 14392 break 14393 } 14394 } 14395 intStringLen := int(stringLen) 14396 if intStringLen < 0 { 14397 return ErrInvalidLengthApplication 14398 } 14399 postIndex := iNdEx + intStringLen 14400 if postIndex < 0 { 14401 return ErrInvalidLengthApplication 14402 } 14403 if postIndex > l { 14404 return io.ErrUnexpectedEOF 14405 } 14406 s := string(dAtA[iNdEx:postIndex]) 14407 m.Name = &s 14408 iNdEx = postIndex 14409 hasFields[0] |= uint64(0x00000001) 14410 case 2: 14411 if wireType != 2 { 14412 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 14413 } 14414 var stringLen uint64 14415 for shift := uint(0); ; shift += 7 { 14416 if shift >= 64 { 14417 return ErrIntOverflowApplication 14418 } 14419 if iNdEx >= l { 14420 return io.ErrUnexpectedEOF 14421 } 14422 b := dAtA[iNdEx] 14423 iNdEx++ 14424 stringLen |= uint64(b&0x7F) << shift 14425 if b < 0x80 { 14426 break 14427 } 14428 } 14429 intStringLen := int(stringLen) 14430 if intStringLen < 0 { 14431 return ErrInvalidLengthApplication 14432 } 14433 postIndex := iNdEx + intStringLen 14434 if postIndex < 0 { 14435 return ErrInvalidLengthApplication 14436 } 14437 if postIndex > l { 14438 return io.ErrUnexpectedEOF 14439 } 14440 s := string(dAtA[iNdEx:postIndex]) 14441 m.Namespace = &s 14442 iNdEx = postIndex 14443 case 3: 14444 if wireType != 2 { 14445 return fmt.Errorf("proto: wrong wireType = %d for field PodName", wireType) 14446 } 14447 var stringLen uint64 14448 for shift := uint(0); ; shift += 7 { 14449 if shift >= 64 { 14450 return ErrIntOverflowApplication 14451 } 14452 if iNdEx >= l { 14453 return io.ErrUnexpectedEOF 14454 } 14455 b := dAtA[iNdEx] 14456 iNdEx++ 14457 stringLen |= uint64(b&0x7F) << shift 14458 if b < 0x80 { 14459 break 14460 } 14461 } 14462 intStringLen := int(stringLen) 14463 if intStringLen < 0 { 14464 return ErrInvalidLengthApplication 14465 } 14466 postIndex := iNdEx + intStringLen 14467 if postIndex < 0 { 14468 return ErrInvalidLengthApplication 14469 } 14470 if postIndex > l { 14471 return io.ErrUnexpectedEOF 14472 } 14473 s := string(dAtA[iNdEx:postIndex]) 14474 m.PodName = &s 14475 iNdEx = postIndex 14476 case 4: 14477 if wireType != 2 { 14478 return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType) 14479 } 14480 var stringLen uint64 14481 for shift := uint(0); ; shift += 7 { 14482 if shift >= 64 { 14483 return ErrIntOverflowApplication 14484 } 14485 if iNdEx >= l { 14486 return io.ErrUnexpectedEOF 14487 } 14488 b := dAtA[iNdEx] 14489 iNdEx++ 14490 stringLen |= uint64(b&0x7F) << shift 14491 if b < 0x80 { 14492 break 14493 } 14494 } 14495 intStringLen := int(stringLen) 14496 if intStringLen < 0 { 14497 return ErrInvalidLengthApplication 14498 } 14499 postIndex := iNdEx + intStringLen 14500 if postIndex < 0 { 14501 return ErrInvalidLengthApplication 14502 } 14503 if postIndex > l { 14504 return io.ErrUnexpectedEOF 14505 } 14506 s := string(dAtA[iNdEx:postIndex]) 14507 m.Container = &s 14508 iNdEx = postIndex 14509 case 5: 14510 if wireType != 0 { 14511 return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType) 14512 } 14513 var v int64 14514 for shift := uint(0); ; shift += 7 { 14515 if shift >= 64 { 14516 return ErrIntOverflowApplication 14517 } 14518 if iNdEx >= l { 14519 return io.ErrUnexpectedEOF 14520 } 14521 b := dAtA[iNdEx] 14522 iNdEx++ 14523 v |= int64(b&0x7F) << shift 14524 if b < 0x80 { 14525 break 14526 } 14527 } 14528 m.SinceSeconds = &v 14529 case 6: 14530 if wireType != 2 { 14531 return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType) 14532 } 14533 var msglen int 14534 for shift := uint(0); ; shift += 7 { 14535 if shift >= 64 { 14536 return ErrIntOverflowApplication 14537 } 14538 if iNdEx >= l { 14539 return io.ErrUnexpectedEOF 14540 } 14541 b := dAtA[iNdEx] 14542 iNdEx++ 14543 msglen |= int(b&0x7F) << shift 14544 if b < 0x80 { 14545 break 14546 } 14547 } 14548 if msglen < 0 { 14549 return ErrInvalidLengthApplication 14550 } 14551 postIndex := iNdEx + msglen 14552 if postIndex < 0 { 14553 return ErrInvalidLengthApplication 14554 } 14555 if postIndex > l { 14556 return io.ErrUnexpectedEOF 14557 } 14558 if m.SinceTime == nil { 14559 m.SinceTime = &v1.Time{} 14560 } 14561 if err := m.SinceTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 14562 return err 14563 } 14564 iNdEx = postIndex 14565 case 7: 14566 if wireType != 0 { 14567 return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType) 14568 } 14569 var v int64 14570 for shift := uint(0); ; shift += 7 { 14571 if shift >= 64 { 14572 return ErrIntOverflowApplication 14573 } 14574 if iNdEx >= l { 14575 return io.ErrUnexpectedEOF 14576 } 14577 b := dAtA[iNdEx] 14578 iNdEx++ 14579 v |= int64(b&0x7F) << shift 14580 if b < 0x80 { 14581 break 14582 } 14583 } 14584 m.TailLines = &v 14585 case 8: 14586 if wireType != 0 { 14587 return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType) 14588 } 14589 var v int 14590 for shift := uint(0); ; shift += 7 { 14591 if shift >= 64 { 14592 return ErrIntOverflowApplication 14593 } 14594 if iNdEx >= l { 14595 return io.ErrUnexpectedEOF 14596 } 14597 b := dAtA[iNdEx] 14598 iNdEx++ 14599 v |= int(b&0x7F) << shift 14600 if b < 0x80 { 14601 break 14602 } 14603 } 14604 b := bool(v != 0) 14605 m.Follow = &b 14606 case 9: 14607 if wireType != 2 { 14608 return fmt.Errorf("proto: wrong wireType = %d for field UntilTime", wireType) 14609 } 14610 var stringLen uint64 14611 for shift := uint(0); ; shift += 7 { 14612 if shift >= 64 { 14613 return ErrIntOverflowApplication 14614 } 14615 if iNdEx >= l { 14616 return io.ErrUnexpectedEOF 14617 } 14618 b := dAtA[iNdEx] 14619 iNdEx++ 14620 stringLen |= uint64(b&0x7F) << shift 14621 if b < 0x80 { 14622 break 14623 } 14624 } 14625 intStringLen := int(stringLen) 14626 if intStringLen < 0 { 14627 return ErrInvalidLengthApplication 14628 } 14629 postIndex := iNdEx + intStringLen 14630 if postIndex < 0 { 14631 return ErrInvalidLengthApplication 14632 } 14633 if postIndex > l { 14634 return io.ErrUnexpectedEOF 14635 } 14636 s := string(dAtA[iNdEx:postIndex]) 14637 m.UntilTime = &s 14638 iNdEx = postIndex 14639 case 10: 14640 if wireType != 2 { 14641 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 14642 } 14643 var stringLen uint64 14644 for shift := uint(0); ; shift += 7 { 14645 if shift >= 64 { 14646 return ErrIntOverflowApplication 14647 } 14648 if iNdEx >= l { 14649 return io.ErrUnexpectedEOF 14650 } 14651 b := dAtA[iNdEx] 14652 iNdEx++ 14653 stringLen |= uint64(b&0x7F) << shift 14654 if b < 0x80 { 14655 break 14656 } 14657 } 14658 intStringLen := int(stringLen) 14659 if intStringLen < 0 { 14660 return ErrInvalidLengthApplication 14661 } 14662 postIndex := iNdEx + intStringLen 14663 if postIndex < 0 { 14664 return ErrInvalidLengthApplication 14665 } 14666 if postIndex > l { 14667 return io.ErrUnexpectedEOF 14668 } 14669 s := string(dAtA[iNdEx:postIndex]) 14670 m.Filter = &s 14671 iNdEx = postIndex 14672 case 11: 14673 if wireType != 2 { 14674 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 14675 } 14676 var stringLen uint64 14677 for shift := uint(0); ; shift += 7 { 14678 if shift >= 64 { 14679 return ErrIntOverflowApplication 14680 } 14681 if iNdEx >= l { 14682 return io.ErrUnexpectedEOF 14683 } 14684 b := dAtA[iNdEx] 14685 iNdEx++ 14686 stringLen |= uint64(b&0x7F) << shift 14687 if b < 0x80 { 14688 break 14689 } 14690 } 14691 intStringLen := int(stringLen) 14692 if intStringLen < 0 { 14693 return ErrInvalidLengthApplication 14694 } 14695 postIndex := iNdEx + intStringLen 14696 if postIndex < 0 { 14697 return ErrInvalidLengthApplication 14698 } 14699 if postIndex > l { 14700 return io.ErrUnexpectedEOF 14701 } 14702 s := string(dAtA[iNdEx:postIndex]) 14703 m.Kind = &s 14704 iNdEx = postIndex 14705 case 12: 14706 if wireType != 2 { 14707 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 14708 } 14709 var stringLen uint64 14710 for shift := uint(0); ; shift += 7 { 14711 if shift >= 64 { 14712 return ErrIntOverflowApplication 14713 } 14714 if iNdEx >= l { 14715 return io.ErrUnexpectedEOF 14716 } 14717 b := dAtA[iNdEx] 14718 iNdEx++ 14719 stringLen |= uint64(b&0x7F) << shift 14720 if b < 0x80 { 14721 break 14722 } 14723 } 14724 intStringLen := int(stringLen) 14725 if intStringLen < 0 { 14726 return ErrInvalidLengthApplication 14727 } 14728 postIndex := iNdEx + intStringLen 14729 if postIndex < 0 { 14730 return ErrInvalidLengthApplication 14731 } 14732 if postIndex > l { 14733 return io.ErrUnexpectedEOF 14734 } 14735 s := string(dAtA[iNdEx:postIndex]) 14736 m.Group = &s 14737 iNdEx = postIndex 14738 case 13: 14739 if wireType != 2 { 14740 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 14741 } 14742 var stringLen uint64 14743 for shift := uint(0); ; shift += 7 { 14744 if shift >= 64 { 14745 return ErrIntOverflowApplication 14746 } 14747 if iNdEx >= l { 14748 return io.ErrUnexpectedEOF 14749 } 14750 b := dAtA[iNdEx] 14751 iNdEx++ 14752 stringLen |= uint64(b&0x7F) << shift 14753 if b < 0x80 { 14754 break 14755 } 14756 } 14757 intStringLen := int(stringLen) 14758 if intStringLen < 0 { 14759 return ErrInvalidLengthApplication 14760 } 14761 postIndex := iNdEx + intStringLen 14762 if postIndex < 0 { 14763 return ErrInvalidLengthApplication 14764 } 14765 if postIndex > l { 14766 return io.ErrUnexpectedEOF 14767 } 14768 s := string(dAtA[iNdEx:postIndex]) 14769 m.ResourceName = &s 14770 iNdEx = postIndex 14771 case 14: 14772 if wireType != 0 { 14773 return fmt.Errorf("proto: wrong wireType = %d for field Previous", wireType) 14774 } 14775 var v int 14776 for shift := uint(0); ; shift += 7 { 14777 if shift >= 64 { 14778 return ErrIntOverflowApplication 14779 } 14780 if iNdEx >= l { 14781 return io.ErrUnexpectedEOF 14782 } 14783 b := dAtA[iNdEx] 14784 iNdEx++ 14785 v |= int(b&0x7F) << shift 14786 if b < 0x80 { 14787 break 14788 } 14789 } 14790 b := bool(v != 0) 14791 m.Previous = &b 14792 case 15: 14793 if wireType != 2 { 14794 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 14795 } 14796 var stringLen uint64 14797 for shift := uint(0); ; shift += 7 { 14798 if shift >= 64 { 14799 return ErrIntOverflowApplication 14800 } 14801 if iNdEx >= l { 14802 return io.ErrUnexpectedEOF 14803 } 14804 b := dAtA[iNdEx] 14805 iNdEx++ 14806 stringLen |= uint64(b&0x7F) << shift 14807 if b < 0x80 { 14808 break 14809 } 14810 } 14811 intStringLen := int(stringLen) 14812 if intStringLen < 0 { 14813 return ErrInvalidLengthApplication 14814 } 14815 postIndex := iNdEx + intStringLen 14816 if postIndex < 0 { 14817 return ErrInvalidLengthApplication 14818 } 14819 if postIndex > l { 14820 return io.ErrUnexpectedEOF 14821 } 14822 s := string(dAtA[iNdEx:postIndex]) 14823 m.AppNamespace = &s 14824 iNdEx = postIndex 14825 case 16: 14826 if wireType != 2 { 14827 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 14828 } 14829 var stringLen uint64 14830 for shift := uint(0); ; shift += 7 { 14831 if shift >= 64 { 14832 return ErrIntOverflowApplication 14833 } 14834 if iNdEx >= l { 14835 return io.ErrUnexpectedEOF 14836 } 14837 b := dAtA[iNdEx] 14838 iNdEx++ 14839 stringLen |= uint64(b&0x7F) << shift 14840 if b < 0x80 { 14841 break 14842 } 14843 } 14844 intStringLen := int(stringLen) 14845 if intStringLen < 0 { 14846 return ErrInvalidLengthApplication 14847 } 14848 postIndex := iNdEx + intStringLen 14849 if postIndex < 0 { 14850 return ErrInvalidLengthApplication 14851 } 14852 if postIndex > l { 14853 return io.ErrUnexpectedEOF 14854 } 14855 s := string(dAtA[iNdEx:postIndex]) 14856 m.Project = &s 14857 iNdEx = postIndex 14858 case 17: 14859 if wireType != 0 { 14860 return fmt.Errorf("proto: wrong wireType = %d for field MatchCase", wireType) 14861 } 14862 var v int 14863 for shift := uint(0); ; shift += 7 { 14864 if shift >= 64 { 14865 return ErrIntOverflowApplication 14866 } 14867 if iNdEx >= l { 14868 return io.ErrUnexpectedEOF 14869 } 14870 b := dAtA[iNdEx] 14871 iNdEx++ 14872 v |= int(b&0x7F) << shift 14873 if b < 0x80 { 14874 break 14875 } 14876 } 14877 b := bool(v != 0) 14878 m.MatchCase = &b 14879 default: 14880 iNdEx = preIndex 14881 skippy, err := skipApplication(dAtA[iNdEx:]) 14882 if err != nil { 14883 return err 14884 } 14885 if (skippy < 0) || (iNdEx+skippy) < 0 { 14886 return ErrInvalidLengthApplication 14887 } 14888 if (iNdEx + skippy) > l { 14889 return io.ErrUnexpectedEOF 14890 } 14891 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14892 iNdEx += skippy 14893 } 14894 } 14895 if hasFields[0]&uint64(0x00000001) == 0 { 14896 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 14897 } 14898 14899 if iNdEx > l { 14900 return io.ErrUnexpectedEOF 14901 } 14902 return nil 14903 } 14904 func (m *LogEntry) Unmarshal(dAtA []byte) error { 14905 var hasFields [1]uint64 14906 l := len(dAtA) 14907 iNdEx := 0 14908 for iNdEx < l { 14909 preIndex := iNdEx 14910 var wire uint64 14911 for shift := uint(0); ; shift += 7 { 14912 if shift >= 64 { 14913 return ErrIntOverflowApplication 14914 } 14915 if iNdEx >= l { 14916 return io.ErrUnexpectedEOF 14917 } 14918 b := dAtA[iNdEx] 14919 iNdEx++ 14920 wire |= uint64(b&0x7F) << shift 14921 if b < 0x80 { 14922 break 14923 } 14924 } 14925 fieldNum := int32(wire >> 3) 14926 wireType := int(wire & 0x7) 14927 if wireType == 4 { 14928 return fmt.Errorf("proto: LogEntry: wiretype end group for non-group") 14929 } 14930 if fieldNum <= 0 { 14931 return fmt.Errorf("proto: LogEntry: illegal tag %d (wire type %d)", fieldNum, wire) 14932 } 14933 switch fieldNum { 14934 case 1: 14935 if wireType != 2 { 14936 return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) 14937 } 14938 var stringLen uint64 14939 for shift := uint(0); ; shift += 7 { 14940 if shift >= 64 { 14941 return ErrIntOverflowApplication 14942 } 14943 if iNdEx >= l { 14944 return io.ErrUnexpectedEOF 14945 } 14946 b := dAtA[iNdEx] 14947 iNdEx++ 14948 stringLen |= uint64(b&0x7F) << shift 14949 if b < 0x80 { 14950 break 14951 } 14952 } 14953 intStringLen := int(stringLen) 14954 if intStringLen < 0 { 14955 return ErrInvalidLengthApplication 14956 } 14957 postIndex := iNdEx + intStringLen 14958 if postIndex < 0 { 14959 return ErrInvalidLengthApplication 14960 } 14961 if postIndex > l { 14962 return io.ErrUnexpectedEOF 14963 } 14964 s := string(dAtA[iNdEx:postIndex]) 14965 m.Content = &s 14966 iNdEx = postIndex 14967 hasFields[0] |= uint64(0x00000001) 14968 case 2: 14969 if wireType != 2 { 14970 return fmt.Errorf("proto: wrong wireType = %d for field TimeStamp", wireType) 14971 } 14972 var msglen int 14973 for shift := uint(0); ; shift += 7 { 14974 if shift >= 64 { 14975 return ErrIntOverflowApplication 14976 } 14977 if iNdEx >= l { 14978 return io.ErrUnexpectedEOF 14979 } 14980 b := dAtA[iNdEx] 14981 iNdEx++ 14982 msglen |= int(b&0x7F) << shift 14983 if b < 0x80 { 14984 break 14985 } 14986 } 14987 if msglen < 0 { 14988 return ErrInvalidLengthApplication 14989 } 14990 postIndex := iNdEx + msglen 14991 if postIndex < 0 { 14992 return ErrInvalidLengthApplication 14993 } 14994 if postIndex > l { 14995 return io.ErrUnexpectedEOF 14996 } 14997 if m.TimeStamp == nil { 14998 m.TimeStamp = &v1.Time{} 14999 } 15000 if err := m.TimeStamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 15001 return err 15002 } 15003 iNdEx = postIndex 15004 hasFields[0] |= uint64(0x00000002) 15005 case 3: 15006 if wireType != 0 { 15007 return fmt.Errorf("proto: wrong wireType = %d for field Last", wireType) 15008 } 15009 var v int 15010 for shift := uint(0); ; shift += 7 { 15011 if shift >= 64 { 15012 return ErrIntOverflowApplication 15013 } 15014 if iNdEx >= l { 15015 return io.ErrUnexpectedEOF 15016 } 15017 b := dAtA[iNdEx] 15018 iNdEx++ 15019 v |= int(b&0x7F) << shift 15020 if b < 0x80 { 15021 break 15022 } 15023 } 15024 b := bool(v != 0) 15025 m.Last = &b 15026 hasFields[0] |= uint64(0x00000004) 15027 case 4: 15028 if wireType != 2 { 15029 return fmt.Errorf("proto: wrong wireType = %d for field TimeStampStr", wireType) 15030 } 15031 var stringLen uint64 15032 for shift := uint(0); ; shift += 7 { 15033 if shift >= 64 { 15034 return ErrIntOverflowApplication 15035 } 15036 if iNdEx >= l { 15037 return io.ErrUnexpectedEOF 15038 } 15039 b := dAtA[iNdEx] 15040 iNdEx++ 15041 stringLen |= uint64(b&0x7F) << shift 15042 if b < 0x80 { 15043 break 15044 } 15045 } 15046 intStringLen := int(stringLen) 15047 if intStringLen < 0 { 15048 return ErrInvalidLengthApplication 15049 } 15050 postIndex := iNdEx + intStringLen 15051 if postIndex < 0 { 15052 return ErrInvalidLengthApplication 15053 } 15054 if postIndex > l { 15055 return io.ErrUnexpectedEOF 15056 } 15057 s := string(dAtA[iNdEx:postIndex]) 15058 m.TimeStampStr = &s 15059 iNdEx = postIndex 15060 hasFields[0] |= uint64(0x00000008) 15061 case 5: 15062 if wireType != 2 { 15063 return fmt.Errorf("proto: wrong wireType = %d for field PodName", wireType) 15064 } 15065 var stringLen uint64 15066 for shift := uint(0); ; shift += 7 { 15067 if shift >= 64 { 15068 return ErrIntOverflowApplication 15069 } 15070 if iNdEx >= l { 15071 return io.ErrUnexpectedEOF 15072 } 15073 b := dAtA[iNdEx] 15074 iNdEx++ 15075 stringLen |= uint64(b&0x7F) << shift 15076 if b < 0x80 { 15077 break 15078 } 15079 } 15080 intStringLen := int(stringLen) 15081 if intStringLen < 0 { 15082 return ErrInvalidLengthApplication 15083 } 15084 postIndex := iNdEx + intStringLen 15085 if postIndex < 0 { 15086 return ErrInvalidLengthApplication 15087 } 15088 if postIndex > l { 15089 return io.ErrUnexpectedEOF 15090 } 15091 s := string(dAtA[iNdEx:postIndex]) 15092 m.PodName = &s 15093 iNdEx = postIndex 15094 hasFields[0] |= uint64(0x00000010) 15095 default: 15096 iNdEx = preIndex 15097 skippy, err := skipApplication(dAtA[iNdEx:]) 15098 if err != nil { 15099 return err 15100 } 15101 if (skippy < 0) || (iNdEx+skippy) < 0 { 15102 return ErrInvalidLengthApplication 15103 } 15104 if (iNdEx + skippy) > l { 15105 return io.ErrUnexpectedEOF 15106 } 15107 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 15108 iNdEx += skippy 15109 } 15110 } 15111 if hasFields[0]&uint64(0x00000001) == 0 { 15112 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("content") 15113 } 15114 if hasFields[0]&uint64(0x00000002) == 0 { 15115 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp") 15116 } 15117 if hasFields[0]&uint64(0x00000004) == 0 { 15118 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("last") 15119 } 15120 if hasFields[0]&uint64(0x00000008) == 0 { 15121 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStampStr") 15122 } 15123 if hasFields[0]&uint64(0x00000010) == 0 { 15124 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName") 15125 } 15126 15127 if iNdEx > l { 15128 return io.ErrUnexpectedEOF 15129 } 15130 return nil 15131 } 15132 func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { 15133 var hasFields [1]uint64 15134 l := len(dAtA) 15135 iNdEx := 0 15136 for iNdEx < l { 15137 preIndex := iNdEx 15138 var wire uint64 15139 for shift := uint(0); ; shift += 7 { 15140 if shift >= 64 { 15141 return ErrIntOverflowApplication 15142 } 15143 if iNdEx >= l { 15144 return io.ErrUnexpectedEOF 15145 } 15146 b := dAtA[iNdEx] 15147 iNdEx++ 15148 wire |= uint64(b&0x7F) << shift 15149 if b < 0x80 { 15150 break 15151 } 15152 } 15153 fieldNum := int32(wire >> 3) 15154 wireType := int(wire & 0x7) 15155 if wireType == 4 { 15156 return fmt.Errorf("proto: OperationTerminateRequest: wiretype end group for non-group") 15157 } 15158 if fieldNum <= 0 { 15159 return fmt.Errorf("proto: OperationTerminateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 15160 } 15161 switch fieldNum { 15162 case 1: 15163 if wireType != 2 { 15164 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 15165 } 15166 var stringLen uint64 15167 for shift := uint(0); ; shift += 7 { 15168 if shift >= 64 { 15169 return ErrIntOverflowApplication 15170 } 15171 if iNdEx >= l { 15172 return io.ErrUnexpectedEOF 15173 } 15174 b := dAtA[iNdEx] 15175 iNdEx++ 15176 stringLen |= uint64(b&0x7F) << shift 15177 if b < 0x80 { 15178 break 15179 } 15180 } 15181 intStringLen := int(stringLen) 15182 if intStringLen < 0 { 15183 return ErrInvalidLengthApplication 15184 } 15185 postIndex := iNdEx + intStringLen 15186 if postIndex < 0 { 15187 return ErrInvalidLengthApplication 15188 } 15189 if postIndex > l { 15190 return io.ErrUnexpectedEOF 15191 } 15192 s := string(dAtA[iNdEx:postIndex]) 15193 m.Name = &s 15194 iNdEx = postIndex 15195 hasFields[0] |= uint64(0x00000001) 15196 case 2: 15197 if wireType != 2 { 15198 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 15199 } 15200 var stringLen uint64 15201 for shift := uint(0); ; shift += 7 { 15202 if shift >= 64 { 15203 return ErrIntOverflowApplication 15204 } 15205 if iNdEx >= l { 15206 return io.ErrUnexpectedEOF 15207 } 15208 b := dAtA[iNdEx] 15209 iNdEx++ 15210 stringLen |= uint64(b&0x7F) << shift 15211 if b < 0x80 { 15212 break 15213 } 15214 } 15215 intStringLen := int(stringLen) 15216 if intStringLen < 0 { 15217 return ErrInvalidLengthApplication 15218 } 15219 postIndex := iNdEx + intStringLen 15220 if postIndex < 0 { 15221 return ErrInvalidLengthApplication 15222 } 15223 if postIndex > l { 15224 return io.ErrUnexpectedEOF 15225 } 15226 s := string(dAtA[iNdEx:postIndex]) 15227 m.AppNamespace = &s 15228 iNdEx = postIndex 15229 case 3: 15230 if wireType != 2 { 15231 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 15232 } 15233 var stringLen uint64 15234 for shift := uint(0); ; shift += 7 { 15235 if shift >= 64 { 15236 return ErrIntOverflowApplication 15237 } 15238 if iNdEx >= l { 15239 return io.ErrUnexpectedEOF 15240 } 15241 b := dAtA[iNdEx] 15242 iNdEx++ 15243 stringLen |= uint64(b&0x7F) << shift 15244 if b < 0x80 { 15245 break 15246 } 15247 } 15248 intStringLen := int(stringLen) 15249 if intStringLen < 0 { 15250 return ErrInvalidLengthApplication 15251 } 15252 postIndex := iNdEx + intStringLen 15253 if postIndex < 0 { 15254 return ErrInvalidLengthApplication 15255 } 15256 if postIndex > l { 15257 return io.ErrUnexpectedEOF 15258 } 15259 s := string(dAtA[iNdEx:postIndex]) 15260 m.Project = &s 15261 iNdEx = postIndex 15262 default: 15263 iNdEx = preIndex 15264 skippy, err := skipApplication(dAtA[iNdEx:]) 15265 if err != nil { 15266 return err 15267 } 15268 if (skippy < 0) || (iNdEx+skippy) < 0 { 15269 return ErrInvalidLengthApplication 15270 } 15271 if (iNdEx + skippy) > l { 15272 return io.ErrUnexpectedEOF 15273 } 15274 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 15275 iNdEx += skippy 15276 } 15277 } 15278 if hasFields[0]&uint64(0x00000001) == 0 { 15279 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 15280 } 15281 15282 if iNdEx > l { 15283 return io.ErrUnexpectedEOF 15284 } 15285 return nil 15286 } 15287 func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { 15288 var hasFields [1]uint64 15289 l := len(dAtA) 15290 iNdEx := 0 15291 for iNdEx < l { 15292 preIndex := iNdEx 15293 var wire uint64 15294 for shift := uint(0); ; shift += 7 { 15295 if shift >= 64 { 15296 return ErrIntOverflowApplication 15297 } 15298 if iNdEx >= l { 15299 return io.ErrUnexpectedEOF 15300 } 15301 b := dAtA[iNdEx] 15302 iNdEx++ 15303 wire |= uint64(b&0x7F) << shift 15304 if b < 0x80 { 15305 break 15306 } 15307 } 15308 fieldNum := int32(wire >> 3) 15309 wireType := int(wire & 0x7) 15310 if wireType == 4 { 15311 return fmt.Errorf("proto: ApplicationSyncWindowsQuery: wiretype end group for non-group") 15312 } 15313 if fieldNum <= 0 { 15314 return fmt.Errorf("proto: ApplicationSyncWindowsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 15315 } 15316 switch fieldNum { 15317 case 1: 15318 if wireType != 2 { 15319 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 15320 } 15321 var stringLen uint64 15322 for shift := uint(0); ; shift += 7 { 15323 if shift >= 64 { 15324 return ErrIntOverflowApplication 15325 } 15326 if iNdEx >= l { 15327 return io.ErrUnexpectedEOF 15328 } 15329 b := dAtA[iNdEx] 15330 iNdEx++ 15331 stringLen |= uint64(b&0x7F) << shift 15332 if b < 0x80 { 15333 break 15334 } 15335 } 15336 intStringLen := int(stringLen) 15337 if intStringLen < 0 { 15338 return ErrInvalidLengthApplication 15339 } 15340 postIndex := iNdEx + intStringLen 15341 if postIndex < 0 { 15342 return ErrInvalidLengthApplication 15343 } 15344 if postIndex > l { 15345 return io.ErrUnexpectedEOF 15346 } 15347 s := string(dAtA[iNdEx:postIndex]) 15348 m.Name = &s 15349 iNdEx = postIndex 15350 hasFields[0] |= uint64(0x00000001) 15351 case 2: 15352 if wireType != 2 { 15353 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 15354 } 15355 var stringLen uint64 15356 for shift := uint(0); ; shift += 7 { 15357 if shift >= 64 { 15358 return ErrIntOverflowApplication 15359 } 15360 if iNdEx >= l { 15361 return io.ErrUnexpectedEOF 15362 } 15363 b := dAtA[iNdEx] 15364 iNdEx++ 15365 stringLen |= uint64(b&0x7F) << shift 15366 if b < 0x80 { 15367 break 15368 } 15369 } 15370 intStringLen := int(stringLen) 15371 if intStringLen < 0 { 15372 return ErrInvalidLengthApplication 15373 } 15374 postIndex := iNdEx + intStringLen 15375 if postIndex < 0 { 15376 return ErrInvalidLengthApplication 15377 } 15378 if postIndex > l { 15379 return io.ErrUnexpectedEOF 15380 } 15381 s := string(dAtA[iNdEx:postIndex]) 15382 m.AppNamespace = &s 15383 iNdEx = postIndex 15384 case 3: 15385 if wireType != 2 { 15386 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 15387 } 15388 var stringLen uint64 15389 for shift := uint(0); ; shift += 7 { 15390 if shift >= 64 { 15391 return ErrIntOverflowApplication 15392 } 15393 if iNdEx >= l { 15394 return io.ErrUnexpectedEOF 15395 } 15396 b := dAtA[iNdEx] 15397 iNdEx++ 15398 stringLen |= uint64(b&0x7F) << shift 15399 if b < 0x80 { 15400 break 15401 } 15402 } 15403 intStringLen := int(stringLen) 15404 if intStringLen < 0 { 15405 return ErrInvalidLengthApplication 15406 } 15407 postIndex := iNdEx + intStringLen 15408 if postIndex < 0 { 15409 return ErrInvalidLengthApplication 15410 } 15411 if postIndex > l { 15412 return io.ErrUnexpectedEOF 15413 } 15414 s := string(dAtA[iNdEx:postIndex]) 15415 m.Project = &s 15416 iNdEx = postIndex 15417 default: 15418 iNdEx = preIndex 15419 skippy, err := skipApplication(dAtA[iNdEx:]) 15420 if err != nil { 15421 return err 15422 } 15423 if (skippy < 0) || (iNdEx+skippy) < 0 { 15424 return ErrInvalidLengthApplication 15425 } 15426 if (iNdEx + skippy) > l { 15427 return io.ErrUnexpectedEOF 15428 } 15429 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 15430 iNdEx += skippy 15431 } 15432 } 15433 if hasFields[0]&uint64(0x00000001) == 0 { 15434 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 15435 } 15436 15437 if iNdEx > l { 15438 return io.ErrUnexpectedEOF 15439 } 15440 return nil 15441 } 15442 func (m *ApplicationSyncWindowsResponse) Unmarshal(dAtA []byte) error { 15443 var hasFields [1]uint64 15444 l := len(dAtA) 15445 iNdEx := 0 15446 for iNdEx < l { 15447 preIndex := iNdEx 15448 var wire uint64 15449 for shift := uint(0); ; shift += 7 { 15450 if shift >= 64 { 15451 return ErrIntOverflowApplication 15452 } 15453 if iNdEx >= l { 15454 return io.ErrUnexpectedEOF 15455 } 15456 b := dAtA[iNdEx] 15457 iNdEx++ 15458 wire |= uint64(b&0x7F) << shift 15459 if b < 0x80 { 15460 break 15461 } 15462 } 15463 fieldNum := int32(wire >> 3) 15464 wireType := int(wire & 0x7) 15465 if wireType == 4 { 15466 return fmt.Errorf("proto: ApplicationSyncWindowsResponse: wiretype end group for non-group") 15467 } 15468 if fieldNum <= 0 { 15469 return fmt.Errorf("proto: ApplicationSyncWindowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 15470 } 15471 switch fieldNum { 15472 case 1: 15473 if wireType != 2 { 15474 return fmt.Errorf("proto: wrong wireType = %d for field ActiveWindows", wireType) 15475 } 15476 var msglen int 15477 for shift := uint(0); ; shift += 7 { 15478 if shift >= 64 { 15479 return ErrIntOverflowApplication 15480 } 15481 if iNdEx >= l { 15482 return io.ErrUnexpectedEOF 15483 } 15484 b := dAtA[iNdEx] 15485 iNdEx++ 15486 msglen |= int(b&0x7F) << shift 15487 if b < 0x80 { 15488 break 15489 } 15490 } 15491 if msglen < 0 { 15492 return ErrInvalidLengthApplication 15493 } 15494 postIndex := iNdEx + msglen 15495 if postIndex < 0 { 15496 return ErrInvalidLengthApplication 15497 } 15498 if postIndex > l { 15499 return io.ErrUnexpectedEOF 15500 } 15501 m.ActiveWindows = append(m.ActiveWindows, &ApplicationSyncWindow{}) 15502 if err := m.ActiveWindows[len(m.ActiveWindows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 15503 return err 15504 } 15505 iNdEx = postIndex 15506 case 2: 15507 if wireType != 2 { 15508 return fmt.Errorf("proto: wrong wireType = %d for field AssignedWindows", wireType) 15509 } 15510 var msglen int 15511 for shift := uint(0); ; shift += 7 { 15512 if shift >= 64 { 15513 return ErrIntOverflowApplication 15514 } 15515 if iNdEx >= l { 15516 return io.ErrUnexpectedEOF 15517 } 15518 b := dAtA[iNdEx] 15519 iNdEx++ 15520 msglen |= int(b&0x7F) << shift 15521 if b < 0x80 { 15522 break 15523 } 15524 } 15525 if msglen < 0 { 15526 return ErrInvalidLengthApplication 15527 } 15528 postIndex := iNdEx + msglen 15529 if postIndex < 0 { 15530 return ErrInvalidLengthApplication 15531 } 15532 if postIndex > l { 15533 return io.ErrUnexpectedEOF 15534 } 15535 m.AssignedWindows = append(m.AssignedWindows, &ApplicationSyncWindow{}) 15536 if err := m.AssignedWindows[len(m.AssignedWindows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 15537 return err 15538 } 15539 iNdEx = postIndex 15540 case 3: 15541 if wireType != 0 { 15542 return fmt.Errorf("proto: wrong wireType = %d for field CanSync", wireType) 15543 } 15544 var v int 15545 for shift := uint(0); ; shift += 7 { 15546 if shift >= 64 { 15547 return ErrIntOverflowApplication 15548 } 15549 if iNdEx >= l { 15550 return io.ErrUnexpectedEOF 15551 } 15552 b := dAtA[iNdEx] 15553 iNdEx++ 15554 v |= int(b&0x7F) << shift 15555 if b < 0x80 { 15556 break 15557 } 15558 } 15559 b := bool(v != 0) 15560 m.CanSync = &b 15561 hasFields[0] |= uint64(0x00000001) 15562 default: 15563 iNdEx = preIndex 15564 skippy, err := skipApplication(dAtA[iNdEx:]) 15565 if err != nil { 15566 return err 15567 } 15568 if (skippy < 0) || (iNdEx+skippy) < 0 { 15569 return ErrInvalidLengthApplication 15570 } 15571 if (iNdEx + skippy) > l { 15572 return io.ErrUnexpectedEOF 15573 } 15574 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 15575 iNdEx += skippy 15576 } 15577 } 15578 if hasFields[0]&uint64(0x00000001) == 0 { 15579 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("canSync") 15580 } 15581 15582 if iNdEx > l { 15583 return io.ErrUnexpectedEOF 15584 } 15585 return nil 15586 } 15587 func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { 15588 var hasFields [1]uint64 15589 l := len(dAtA) 15590 iNdEx := 0 15591 for iNdEx < l { 15592 preIndex := iNdEx 15593 var wire uint64 15594 for shift := uint(0); ; shift += 7 { 15595 if shift >= 64 { 15596 return ErrIntOverflowApplication 15597 } 15598 if iNdEx >= l { 15599 return io.ErrUnexpectedEOF 15600 } 15601 b := dAtA[iNdEx] 15602 iNdEx++ 15603 wire |= uint64(b&0x7F) << shift 15604 if b < 0x80 { 15605 break 15606 } 15607 } 15608 fieldNum := int32(wire >> 3) 15609 wireType := int(wire & 0x7) 15610 if wireType == 4 { 15611 return fmt.Errorf("proto: ApplicationSyncWindow: wiretype end group for non-group") 15612 } 15613 if fieldNum <= 0 { 15614 return fmt.Errorf("proto: ApplicationSyncWindow: illegal tag %d (wire type %d)", fieldNum, wire) 15615 } 15616 switch fieldNum { 15617 case 1: 15618 if wireType != 2 { 15619 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 15620 } 15621 var stringLen uint64 15622 for shift := uint(0); ; shift += 7 { 15623 if shift >= 64 { 15624 return ErrIntOverflowApplication 15625 } 15626 if iNdEx >= l { 15627 return io.ErrUnexpectedEOF 15628 } 15629 b := dAtA[iNdEx] 15630 iNdEx++ 15631 stringLen |= uint64(b&0x7F) << shift 15632 if b < 0x80 { 15633 break 15634 } 15635 } 15636 intStringLen := int(stringLen) 15637 if intStringLen < 0 { 15638 return ErrInvalidLengthApplication 15639 } 15640 postIndex := iNdEx + intStringLen 15641 if postIndex < 0 { 15642 return ErrInvalidLengthApplication 15643 } 15644 if postIndex > l { 15645 return io.ErrUnexpectedEOF 15646 } 15647 s := string(dAtA[iNdEx:postIndex]) 15648 m.Kind = &s 15649 iNdEx = postIndex 15650 hasFields[0] |= uint64(0x00000001) 15651 case 2: 15652 if wireType != 2 { 15653 return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType) 15654 } 15655 var stringLen uint64 15656 for shift := uint(0); ; shift += 7 { 15657 if shift >= 64 { 15658 return ErrIntOverflowApplication 15659 } 15660 if iNdEx >= l { 15661 return io.ErrUnexpectedEOF 15662 } 15663 b := dAtA[iNdEx] 15664 iNdEx++ 15665 stringLen |= uint64(b&0x7F) << shift 15666 if b < 0x80 { 15667 break 15668 } 15669 } 15670 intStringLen := int(stringLen) 15671 if intStringLen < 0 { 15672 return ErrInvalidLengthApplication 15673 } 15674 postIndex := iNdEx + intStringLen 15675 if postIndex < 0 { 15676 return ErrInvalidLengthApplication 15677 } 15678 if postIndex > l { 15679 return io.ErrUnexpectedEOF 15680 } 15681 s := string(dAtA[iNdEx:postIndex]) 15682 m.Schedule = &s 15683 iNdEx = postIndex 15684 hasFields[0] |= uint64(0x00000002) 15685 case 3: 15686 if wireType != 2 { 15687 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 15688 } 15689 var stringLen uint64 15690 for shift := uint(0); ; shift += 7 { 15691 if shift >= 64 { 15692 return ErrIntOverflowApplication 15693 } 15694 if iNdEx >= l { 15695 return io.ErrUnexpectedEOF 15696 } 15697 b := dAtA[iNdEx] 15698 iNdEx++ 15699 stringLen |= uint64(b&0x7F) << shift 15700 if b < 0x80 { 15701 break 15702 } 15703 } 15704 intStringLen := int(stringLen) 15705 if intStringLen < 0 { 15706 return ErrInvalidLengthApplication 15707 } 15708 postIndex := iNdEx + intStringLen 15709 if postIndex < 0 { 15710 return ErrInvalidLengthApplication 15711 } 15712 if postIndex > l { 15713 return io.ErrUnexpectedEOF 15714 } 15715 s := string(dAtA[iNdEx:postIndex]) 15716 m.Duration = &s 15717 iNdEx = postIndex 15718 hasFields[0] |= uint64(0x00000004) 15719 case 4: 15720 if wireType != 0 { 15721 return fmt.Errorf("proto: wrong wireType = %d for field ManualSync", wireType) 15722 } 15723 var v int 15724 for shift := uint(0); ; shift += 7 { 15725 if shift >= 64 { 15726 return ErrIntOverflowApplication 15727 } 15728 if iNdEx >= l { 15729 return io.ErrUnexpectedEOF 15730 } 15731 b := dAtA[iNdEx] 15732 iNdEx++ 15733 v |= int(b&0x7F) << shift 15734 if b < 0x80 { 15735 break 15736 } 15737 } 15738 b := bool(v != 0) 15739 m.ManualSync = &b 15740 hasFields[0] |= uint64(0x00000008) 15741 default: 15742 iNdEx = preIndex 15743 skippy, err := skipApplication(dAtA[iNdEx:]) 15744 if err != nil { 15745 return err 15746 } 15747 if (skippy < 0) || (iNdEx+skippy) < 0 { 15748 return ErrInvalidLengthApplication 15749 } 15750 if (iNdEx + skippy) > l { 15751 return io.ErrUnexpectedEOF 15752 } 15753 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 15754 iNdEx += skippy 15755 } 15756 } 15757 if hasFields[0]&uint64(0x00000001) == 0 { 15758 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 15759 } 15760 if hasFields[0]&uint64(0x00000002) == 0 { 15761 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("schedule") 15762 } 15763 if hasFields[0]&uint64(0x00000004) == 0 { 15764 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration") 15765 } 15766 if hasFields[0]&uint64(0x00000008) == 0 { 15767 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manualSync") 15768 } 15769 15770 if iNdEx > l { 15771 return io.ErrUnexpectedEOF 15772 } 15773 return nil 15774 } 15775 func (m *OperationTerminateResponse) Unmarshal(dAtA []byte) error { 15776 l := len(dAtA) 15777 iNdEx := 0 15778 for iNdEx < l { 15779 preIndex := iNdEx 15780 var wire uint64 15781 for shift := uint(0); ; shift += 7 { 15782 if shift >= 64 { 15783 return ErrIntOverflowApplication 15784 } 15785 if iNdEx >= l { 15786 return io.ErrUnexpectedEOF 15787 } 15788 b := dAtA[iNdEx] 15789 iNdEx++ 15790 wire |= uint64(b&0x7F) << shift 15791 if b < 0x80 { 15792 break 15793 } 15794 } 15795 fieldNum := int32(wire >> 3) 15796 wireType := int(wire & 0x7) 15797 if wireType == 4 { 15798 return fmt.Errorf("proto: OperationTerminateResponse: wiretype end group for non-group") 15799 } 15800 if fieldNum <= 0 { 15801 return fmt.Errorf("proto: OperationTerminateResponse: illegal tag %d (wire type %d)", fieldNum, wire) 15802 } 15803 switch fieldNum { 15804 default: 15805 iNdEx = preIndex 15806 skippy, err := skipApplication(dAtA[iNdEx:]) 15807 if err != nil { 15808 return err 15809 } 15810 if (skippy < 0) || (iNdEx+skippy) < 0 { 15811 return ErrInvalidLengthApplication 15812 } 15813 if (iNdEx + skippy) > l { 15814 return io.ErrUnexpectedEOF 15815 } 15816 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 15817 iNdEx += skippy 15818 } 15819 } 15820 15821 if iNdEx > l { 15822 return io.ErrUnexpectedEOF 15823 } 15824 return nil 15825 } 15826 func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { 15827 var hasFields [1]uint64 15828 l := len(dAtA) 15829 iNdEx := 0 15830 for iNdEx < l { 15831 preIndex := iNdEx 15832 var wire uint64 15833 for shift := uint(0); ; shift += 7 { 15834 if shift >= 64 { 15835 return ErrIntOverflowApplication 15836 } 15837 if iNdEx >= l { 15838 return io.ErrUnexpectedEOF 15839 } 15840 b := dAtA[iNdEx] 15841 iNdEx++ 15842 wire |= uint64(b&0x7F) << shift 15843 if b < 0x80 { 15844 break 15845 } 15846 } 15847 fieldNum := int32(wire >> 3) 15848 wireType := int(wire & 0x7) 15849 if wireType == 4 { 15850 return fmt.Errorf("proto: ResourcesQuery: wiretype end group for non-group") 15851 } 15852 if fieldNum <= 0 { 15853 return fmt.Errorf("proto: ResourcesQuery: illegal tag %d (wire type %d)", fieldNum, wire) 15854 } 15855 switch fieldNum { 15856 case 1: 15857 if wireType != 2 { 15858 return fmt.Errorf("proto: wrong wireType = %d for field ApplicationName", wireType) 15859 } 15860 var stringLen uint64 15861 for shift := uint(0); ; shift += 7 { 15862 if shift >= 64 { 15863 return ErrIntOverflowApplication 15864 } 15865 if iNdEx >= l { 15866 return io.ErrUnexpectedEOF 15867 } 15868 b := dAtA[iNdEx] 15869 iNdEx++ 15870 stringLen |= uint64(b&0x7F) << shift 15871 if b < 0x80 { 15872 break 15873 } 15874 } 15875 intStringLen := int(stringLen) 15876 if intStringLen < 0 { 15877 return ErrInvalidLengthApplication 15878 } 15879 postIndex := iNdEx + intStringLen 15880 if postIndex < 0 { 15881 return ErrInvalidLengthApplication 15882 } 15883 if postIndex > l { 15884 return io.ErrUnexpectedEOF 15885 } 15886 s := string(dAtA[iNdEx:postIndex]) 15887 m.ApplicationName = &s 15888 iNdEx = postIndex 15889 hasFields[0] |= uint64(0x00000001) 15890 case 2: 15891 if wireType != 2 { 15892 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 15893 } 15894 var stringLen uint64 15895 for shift := uint(0); ; shift += 7 { 15896 if shift >= 64 { 15897 return ErrIntOverflowApplication 15898 } 15899 if iNdEx >= l { 15900 return io.ErrUnexpectedEOF 15901 } 15902 b := dAtA[iNdEx] 15903 iNdEx++ 15904 stringLen |= uint64(b&0x7F) << shift 15905 if b < 0x80 { 15906 break 15907 } 15908 } 15909 intStringLen := int(stringLen) 15910 if intStringLen < 0 { 15911 return ErrInvalidLengthApplication 15912 } 15913 postIndex := iNdEx + intStringLen 15914 if postIndex < 0 { 15915 return ErrInvalidLengthApplication 15916 } 15917 if postIndex > l { 15918 return io.ErrUnexpectedEOF 15919 } 15920 s := string(dAtA[iNdEx:postIndex]) 15921 m.Namespace = &s 15922 iNdEx = postIndex 15923 case 3: 15924 if wireType != 2 { 15925 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 15926 } 15927 var stringLen uint64 15928 for shift := uint(0); ; shift += 7 { 15929 if shift >= 64 { 15930 return ErrIntOverflowApplication 15931 } 15932 if iNdEx >= l { 15933 return io.ErrUnexpectedEOF 15934 } 15935 b := dAtA[iNdEx] 15936 iNdEx++ 15937 stringLen |= uint64(b&0x7F) << shift 15938 if b < 0x80 { 15939 break 15940 } 15941 } 15942 intStringLen := int(stringLen) 15943 if intStringLen < 0 { 15944 return ErrInvalidLengthApplication 15945 } 15946 postIndex := iNdEx + intStringLen 15947 if postIndex < 0 { 15948 return ErrInvalidLengthApplication 15949 } 15950 if postIndex > l { 15951 return io.ErrUnexpectedEOF 15952 } 15953 s := string(dAtA[iNdEx:postIndex]) 15954 m.Name = &s 15955 iNdEx = postIndex 15956 case 4: 15957 if wireType != 2 { 15958 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 15959 } 15960 var stringLen uint64 15961 for shift := uint(0); ; shift += 7 { 15962 if shift >= 64 { 15963 return ErrIntOverflowApplication 15964 } 15965 if iNdEx >= l { 15966 return io.ErrUnexpectedEOF 15967 } 15968 b := dAtA[iNdEx] 15969 iNdEx++ 15970 stringLen |= uint64(b&0x7F) << shift 15971 if b < 0x80 { 15972 break 15973 } 15974 } 15975 intStringLen := int(stringLen) 15976 if intStringLen < 0 { 15977 return ErrInvalidLengthApplication 15978 } 15979 postIndex := iNdEx + intStringLen 15980 if postIndex < 0 { 15981 return ErrInvalidLengthApplication 15982 } 15983 if postIndex > l { 15984 return io.ErrUnexpectedEOF 15985 } 15986 s := string(dAtA[iNdEx:postIndex]) 15987 m.Version = &s 15988 iNdEx = postIndex 15989 case 5: 15990 if wireType != 2 { 15991 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 15992 } 15993 var stringLen uint64 15994 for shift := uint(0); ; shift += 7 { 15995 if shift >= 64 { 15996 return ErrIntOverflowApplication 15997 } 15998 if iNdEx >= l { 15999 return io.ErrUnexpectedEOF 16000 } 16001 b := dAtA[iNdEx] 16002 iNdEx++ 16003 stringLen |= uint64(b&0x7F) << shift 16004 if b < 0x80 { 16005 break 16006 } 16007 } 16008 intStringLen := int(stringLen) 16009 if intStringLen < 0 { 16010 return ErrInvalidLengthApplication 16011 } 16012 postIndex := iNdEx + intStringLen 16013 if postIndex < 0 { 16014 return ErrInvalidLengthApplication 16015 } 16016 if postIndex > l { 16017 return io.ErrUnexpectedEOF 16018 } 16019 s := string(dAtA[iNdEx:postIndex]) 16020 m.Group = &s 16021 iNdEx = postIndex 16022 case 6: 16023 if wireType != 2 { 16024 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 16025 } 16026 var stringLen uint64 16027 for shift := uint(0); ; shift += 7 { 16028 if shift >= 64 { 16029 return ErrIntOverflowApplication 16030 } 16031 if iNdEx >= l { 16032 return io.ErrUnexpectedEOF 16033 } 16034 b := dAtA[iNdEx] 16035 iNdEx++ 16036 stringLen |= uint64(b&0x7F) << shift 16037 if b < 0x80 { 16038 break 16039 } 16040 } 16041 intStringLen := int(stringLen) 16042 if intStringLen < 0 { 16043 return ErrInvalidLengthApplication 16044 } 16045 postIndex := iNdEx + intStringLen 16046 if postIndex < 0 { 16047 return ErrInvalidLengthApplication 16048 } 16049 if postIndex > l { 16050 return io.ErrUnexpectedEOF 16051 } 16052 s := string(dAtA[iNdEx:postIndex]) 16053 m.Kind = &s 16054 iNdEx = postIndex 16055 case 7: 16056 if wireType != 2 { 16057 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 16058 } 16059 var stringLen uint64 16060 for shift := uint(0); ; shift += 7 { 16061 if shift >= 64 { 16062 return ErrIntOverflowApplication 16063 } 16064 if iNdEx >= l { 16065 return io.ErrUnexpectedEOF 16066 } 16067 b := dAtA[iNdEx] 16068 iNdEx++ 16069 stringLen |= uint64(b&0x7F) << shift 16070 if b < 0x80 { 16071 break 16072 } 16073 } 16074 intStringLen := int(stringLen) 16075 if intStringLen < 0 { 16076 return ErrInvalidLengthApplication 16077 } 16078 postIndex := iNdEx + intStringLen 16079 if postIndex < 0 { 16080 return ErrInvalidLengthApplication 16081 } 16082 if postIndex > l { 16083 return io.ErrUnexpectedEOF 16084 } 16085 s := string(dAtA[iNdEx:postIndex]) 16086 m.AppNamespace = &s 16087 iNdEx = postIndex 16088 case 8: 16089 if wireType != 2 { 16090 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 16091 } 16092 var stringLen uint64 16093 for shift := uint(0); ; shift += 7 { 16094 if shift >= 64 { 16095 return ErrIntOverflowApplication 16096 } 16097 if iNdEx >= l { 16098 return io.ErrUnexpectedEOF 16099 } 16100 b := dAtA[iNdEx] 16101 iNdEx++ 16102 stringLen |= uint64(b&0x7F) << shift 16103 if b < 0x80 { 16104 break 16105 } 16106 } 16107 intStringLen := int(stringLen) 16108 if intStringLen < 0 { 16109 return ErrInvalidLengthApplication 16110 } 16111 postIndex := iNdEx + intStringLen 16112 if postIndex < 0 { 16113 return ErrInvalidLengthApplication 16114 } 16115 if postIndex > l { 16116 return io.ErrUnexpectedEOF 16117 } 16118 s := string(dAtA[iNdEx:postIndex]) 16119 m.Project = &s 16120 iNdEx = postIndex 16121 default: 16122 iNdEx = preIndex 16123 skippy, err := skipApplication(dAtA[iNdEx:]) 16124 if err != nil { 16125 return err 16126 } 16127 if (skippy < 0) || (iNdEx+skippy) < 0 { 16128 return ErrInvalidLengthApplication 16129 } 16130 if (iNdEx + skippy) > l { 16131 return io.ErrUnexpectedEOF 16132 } 16133 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16134 iNdEx += skippy 16135 } 16136 } 16137 if hasFields[0]&uint64(0x00000001) == 0 { 16138 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName") 16139 } 16140 16141 if iNdEx > l { 16142 return io.ErrUnexpectedEOF 16143 } 16144 return nil 16145 } 16146 func (m *ManagedResourcesResponse) Unmarshal(dAtA []byte) error { 16147 l := len(dAtA) 16148 iNdEx := 0 16149 for iNdEx < l { 16150 preIndex := iNdEx 16151 var wire uint64 16152 for shift := uint(0); ; shift += 7 { 16153 if shift >= 64 { 16154 return ErrIntOverflowApplication 16155 } 16156 if iNdEx >= l { 16157 return io.ErrUnexpectedEOF 16158 } 16159 b := dAtA[iNdEx] 16160 iNdEx++ 16161 wire |= uint64(b&0x7F) << shift 16162 if b < 0x80 { 16163 break 16164 } 16165 } 16166 fieldNum := int32(wire >> 3) 16167 wireType := int(wire & 0x7) 16168 if wireType == 4 { 16169 return fmt.Errorf("proto: ManagedResourcesResponse: wiretype end group for non-group") 16170 } 16171 if fieldNum <= 0 { 16172 return fmt.Errorf("proto: ManagedResourcesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 16173 } 16174 switch fieldNum { 16175 case 1: 16176 if wireType != 2 { 16177 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 16178 } 16179 var msglen int 16180 for shift := uint(0); ; shift += 7 { 16181 if shift >= 64 { 16182 return ErrIntOverflowApplication 16183 } 16184 if iNdEx >= l { 16185 return io.ErrUnexpectedEOF 16186 } 16187 b := dAtA[iNdEx] 16188 iNdEx++ 16189 msglen |= int(b&0x7F) << shift 16190 if b < 0x80 { 16191 break 16192 } 16193 } 16194 if msglen < 0 { 16195 return ErrInvalidLengthApplication 16196 } 16197 postIndex := iNdEx + msglen 16198 if postIndex < 0 { 16199 return ErrInvalidLengthApplication 16200 } 16201 if postIndex > l { 16202 return io.ErrUnexpectedEOF 16203 } 16204 m.Items = append(m.Items, &v1alpha1.ResourceDiff{}) 16205 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 16206 return err 16207 } 16208 iNdEx = postIndex 16209 default: 16210 iNdEx = preIndex 16211 skippy, err := skipApplication(dAtA[iNdEx:]) 16212 if err != nil { 16213 return err 16214 } 16215 if (skippy < 0) || (iNdEx+skippy) < 0 { 16216 return ErrInvalidLengthApplication 16217 } 16218 if (iNdEx + skippy) > l { 16219 return io.ErrUnexpectedEOF 16220 } 16221 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16222 iNdEx += skippy 16223 } 16224 } 16225 16226 if iNdEx > l { 16227 return io.ErrUnexpectedEOF 16228 } 16229 return nil 16230 } 16231 func (m *ApplicationServerSideDiffQuery) Unmarshal(dAtA []byte) error { 16232 var hasFields [1]uint64 16233 l := len(dAtA) 16234 iNdEx := 0 16235 for iNdEx < l { 16236 preIndex := iNdEx 16237 var wire uint64 16238 for shift := uint(0); ; shift += 7 { 16239 if shift >= 64 { 16240 return ErrIntOverflowApplication 16241 } 16242 if iNdEx >= l { 16243 return io.ErrUnexpectedEOF 16244 } 16245 b := dAtA[iNdEx] 16246 iNdEx++ 16247 wire |= uint64(b&0x7F) << shift 16248 if b < 0x80 { 16249 break 16250 } 16251 } 16252 fieldNum := int32(wire >> 3) 16253 wireType := int(wire & 0x7) 16254 if wireType == 4 { 16255 return fmt.Errorf("proto: ApplicationServerSideDiffQuery: wiretype end group for non-group") 16256 } 16257 if fieldNum <= 0 { 16258 return fmt.Errorf("proto: ApplicationServerSideDiffQuery: illegal tag %d (wire type %d)", fieldNum, wire) 16259 } 16260 switch fieldNum { 16261 case 1: 16262 if wireType != 2 { 16263 return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) 16264 } 16265 var stringLen uint64 16266 for shift := uint(0); ; shift += 7 { 16267 if shift >= 64 { 16268 return ErrIntOverflowApplication 16269 } 16270 if iNdEx >= l { 16271 return io.ErrUnexpectedEOF 16272 } 16273 b := dAtA[iNdEx] 16274 iNdEx++ 16275 stringLen |= uint64(b&0x7F) << shift 16276 if b < 0x80 { 16277 break 16278 } 16279 } 16280 intStringLen := int(stringLen) 16281 if intStringLen < 0 { 16282 return ErrInvalidLengthApplication 16283 } 16284 postIndex := iNdEx + intStringLen 16285 if postIndex < 0 { 16286 return ErrInvalidLengthApplication 16287 } 16288 if postIndex > l { 16289 return io.ErrUnexpectedEOF 16290 } 16291 s := string(dAtA[iNdEx:postIndex]) 16292 m.AppName = &s 16293 iNdEx = postIndex 16294 hasFields[0] |= uint64(0x00000001) 16295 case 2: 16296 if wireType != 2 { 16297 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 16298 } 16299 var stringLen uint64 16300 for shift := uint(0); ; shift += 7 { 16301 if shift >= 64 { 16302 return ErrIntOverflowApplication 16303 } 16304 if iNdEx >= l { 16305 return io.ErrUnexpectedEOF 16306 } 16307 b := dAtA[iNdEx] 16308 iNdEx++ 16309 stringLen |= uint64(b&0x7F) << shift 16310 if b < 0x80 { 16311 break 16312 } 16313 } 16314 intStringLen := int(stringLen) 16315 if intStringLen < 0 { 16316 return ErrInvalidLengthApplication 16317 } 16318 postIndex := iNdEx + intStringLen 16319 if postIndex < 0 { 16320 return ErrInvalidLengthApplication 16321 } 16322 if postIndex > l { 16323 return io.ErrUnexpectedEOF 16324 } 16325 s := string(dAtA[iNdEx:postIndex]) 16326 m.AppNamespace = &s 16327 iNdEx = postIndex 16328 case 3: 16329 if wireType != 2 { 16330 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 16331 } 16332 var stringLen uint64 16333 for shift := uint(0); ; shift += 7 { 16334 if shift >= 64 { 16335 return ErrIntOverflowApplication 16336 } 16337 if iNdEx >= l { 16338 return io.ErrUnexpectedEOF 16339 } 16340 b := dAtA[iNdEx] 16341 iNdEx++ 16342 stringLen |= uint64(b&0x7F) << shift 16343 if b < 0x80 { 16344 break 16345 } 16346 } 16347 intStringLen := int(stringLen) 16348 if intStringLen < 0 { 16349 return ErrInvalidLengthApplication 16350 } 16351 postIndex := iNdEx + intStringLen 16352 if postIndex < 0 { 16353 return ErrInvalidLengthApplication 16354 } 16355 if postIndex > l { 16356 return io.ErrUnexpectedEOF 16357 } 16358 s := string(dAtA[iNdEx:postIndex]) 16359 m.Project = &s 16360 iNdEx = postIndex 16361 case 4: 16362 if wireType != 2 { 16363 return fmt.Errorf("proto: wrong wireType = %d for field LiveResources", wireType) 16364 } 16365 var msglen int 16366 for shift := uint(0); ; shift += 7 { 16367 if shift >= 64 { 16368 return ErrIntOverflowApplication 16369 } 16370 if iNdEx >= l { 16371 return io.ErrUnexpectedEOF 16372 } 16373 b := dAtA[iNdEx] 16374 iNdEx++ 16375 msglen |= int(b&0x7F) << shift 16376 if b < 0x80 { 16377 break 16378 } 16379 } 16380 if msglen < 0 { 16381 return ErrInvalidLengthApplication 16382 } 16383 postIndex := iNdEx + msglen 16384 if postIndex < 0 { 16385 return ErrInvalidLengthApplication 16386 } 16387 if postIndex > l { 16388 return io.ErrUnexpectedEOF 16389 } 16390 m.LiveResources = append(m.LiveResources, &v1alpha1.ResourceDiff{}) 16391 if err := m.LiveResources[len(m.LiveResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 16392 return err 16393 } 16394 iNdEx = postIndex 16395 case 5: 16396 if wireType != 2 { 16397 return fmt.Errorf("proto: wrong wireType = %d for field TargetManifests", wireType) 16398 } 16399 var stringLen uint64 16400 for shift := uint(0); ; shift += 7 { 16401 if shift >= 64 { 16402 return ErrIntOverflowApplication 16403 } 16404 if iNdEx >= l { 16405 return io.ErrUnexpectedEOF 16406 } 16407 b := dAtA[iNdEx] 16408 iNdEx++ 16409 stringLen |= uint64(b&0x7F) << shift 16410 if b < 0x80 { 16411 break 16412 } 16413 } 16414 intStringLen := int(stringLen) 16415 if intStringLen < 0 { 16416 return ErrInvalidLengthApplication 16417 } 16418 postIndex := iNdEx + intStringLen 16419 if postIndex < 0 { 16420 return ErrInvalidLengthApplication 16421 } 16422 if postIndex > l { 16423 return io.ErrUnexpectedEOF 16424 } 16425 m.TargetManifests = append(m.TargetManifests, string(dAtA[iNdEx:postIndex])) 16426 iNdEx = postIndex 16427 default: 16428 iNdEx = preIndex 16429 skippy, err := skipApplication(dAtA[iNdEx:]) 16430 if err != nil { 16431 return err 16432 } 16433 if (skippy < 0) || (iNdEx+skippy) < 0 { 16434 return ErrInvalidLengthApplication 16435 } 16436 if (iNdEx + skippy) > l { 16437 return io.ErrUnexpectedEOF 16438 } 16439 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16440 iNdEx += skippy 16441 } 16442 } 16443 if hasFields[0]&uint64(0x00000001) == 0 { 16444 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("appName") 16445 } 16446 16447 if iNdEx > l { 16448 return io.ErrUnexpectedEOF 16449 } 16450 return nil 16451 } 16452 func (m *ApplicationServerSideDiffResponse) Unmarshal(dAtA []byte) error { 16453 var hasFields [1]uint64 16454 l := len(dAtA) 16455 iNdEx := 0 16456 for iNdEx < l { 16457 preIndex := iNdEx 16458 var wire uint64 16459 for shift := uint(0); ; shift += 7 { 16460 if shift >= 64 { 16461 return ErrIntOverflowApplication 16462 } 16463 if iNdEx >= l { 16464 return io.ErrUnexpectedEOF 16465 } 16466 b := dAtA[iNdEx] 16467 iNdEx++ 16468 wire |= uint64(b&0x7F) << shift 16469 if b < 0x80 { 16470 break 16471 } 16472 } 16473 fieldNum := int32(wire >> 3) 16474 wireType := int(wire & 0x7) 16475 if wireType == 4 { 16476 return fmt.Errorf("proto: ApplicationServerSideDiffResponse: wiretype end group for non-group") 16477 } 16478 if fieldNum <= 0 { 16479 return fmt.Errorf("proto: ApplicationServerSideDiffResponse: illegal tag %d (wire type %d)", fieldNum, wire) 16480 } 16481 switch fieldNum { 16482 case 1: 16483 if wireType != 2 { 16484 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 16485 } 16486 var msglen int 16487 for shift := uint(0); ; shift += 7 { 16488 if shift >= 64 { 16489 return ErrIntOverflowApplication 16490 } 16491 if iNdEx >= l { 16492 return io.ErrUnexpectedEOF 16493 } 16494 b := dAtA[iNdEx] 16495 iNdEx++ 16496 msglen |= int(b&0x7F) << shift 16497 if b < 0x80 { 16498 break 16499 } 16500 } 16501 if msglen < 0 { 16502 return ErrInvalidLengthApplication 16503 } 16504 postIndex := iNdEx + msglen 16505 if postIndex < 0 { 16506 return ErrInvalidLengthApplication 16507 } 16508 if postIndex > l { 16509 return io.ErrUnexpectedEOF 16510 } 16511 m.Items = append(m.Items, &v1alpha1.ResourceDiff{}) 16512 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 16513 return err 16514 } 16515 iNdEx = postIndex 16516 case 2: 16517 if wireType != 0 { 16518 return fmt.Errorf("proto: wrong wireType = %d for field Modified", wireType) 16519 } 16520 var v int 16521 for shift := uint(0); ; shift += 7 { 16522 if shift >= 64 { 16523 return ErrIntOverflowApplication 16524 } 16525 if iNdEx >= l { 16526 return io.ErrUnexpectedEOF 16527 } 16528 b := dAtA[iNdEx] 16529 iNdEx++ 16530 v |= int(b&0x7F) << shift 16531 if b < 0x80 { 16532 break 16533 } 16534 } 16535 b := bool(v != 0) 16536 m.Modified = &b 16537 hasFields[0] |= uint64(0x00000001) 16538 default: 16539 iNdEx = preIndex 16540 skippy, err := skipApplication(dAtA[iNdEx:]) 16541 if err != nil { 16542 return err 16543 } 16544 if (skippy < 0) || (iNdEx+skippy) < 0 { 16545 return ErrInvalidLengthApplication 16546 } 16547 if (iNdEx + skippy) > l { 16548 return io.ErrUnexpectedEOF 16549 } 16550 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16551 iNdEx += skippy 16552 } 16553 } 16554 if hasFields[0]&uint64(0x00000001) == 0 { 16555 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("modified") 16556 } 16557 16558 if iNdEx > l { 16559 return io.ErrUnexpectedEOF 16560 } 16561 return nil 16562 } 16563 func (m *LinkInfo) Unmarshal(dAtA []byte) error { 16564 var hasFields [1]uint64 16565 l := len(dAtA) 16566 iNdEx := 0 16567 for iNdEx < l { 16568 preIndex := iNdEx 16569 var wire uint64 16570 for shift := uint(0); ; shift += 7 { 16571 if shift >= 64 { 16572 return ErrIntOverflowApplication 16573 } 16574 if iNdEx >= l { 16575 return io.ErrUnexpectedEOF 16576 } 16577 b := dAtA[iNdEx] 16578 iNdEx++ 16579 wire |= uint64(b&0x7F) << shift 16580 if b < 0x80 { 16581 break 16582 } 16583 } 16584 fieldNum := int32(wire >> 3) 16585 wireType := int(wire & 0x7) 16586 if wireType == 4 { 16587 return fmt.Errorf("proto: LinkInfo: wiretype end group for non-group") 16588 } 16589 if fieldNum <= 0 { 16590 return fmt.Errorf("proto: LinkInfo: illegal tag %d (wire type %d)", fieldNum, wire) 16591 } 16592 switch fieldNum { 16593 case 1: 16594 if wireType != 2 { 16595 return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) 16596 } 16597 var stringLen uint64 16598 for shift := uint(0); ; shift += 7 { 16599 if shift >= 64 { 16600 return ErrIntOverflowApplication 16601 } 16602 if iNdEx >= l { 16603 return io.ErrUnexpectedEOF 16604 } 16605 b := dAtA[iNdEx] 16606 iNdEx++ 16607 stringLen |= uint64(b&0x7F) << shift 16608 if b < 0x80 { 16609 break 16610 } 16611 } 16612 intStringLen := int(stringLen) 16613 if intStringLen < 0 { 16614 return ErrInvalidLengthApplication 16615 } 16616 postIndex := iNdEx + intStringLen 16617 if postIndex < 0 { 16618 return ErrInvalidLengthApplication 16619 } 16620 if postIndex > l { 16621 return io.ErrUnexpectedEOF 16622 } 16623 s := string(dAtA[iNdEx:postIndex]) 16624 m.Title = &s 16625 iNdEx = postIndex 16626 hasFields[0] |= uint64(0x00000001) 16627 case 2: 16628 if wireType != 2 { 16629 return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) 16630 } 16631 var stringLen uint64 16632 for shift := uint(0); ; shift += 7 { 16633 if shift >= 64 { 16634 return ErrIntOverflowApplication 16635 } 16636 if iNdEx >= l { 16637 return io.ErrUnexpectedEOF 16638 } 16639 b := dAtA[iNdEx] 16640 iNdEx++ 16641 stringLen |= uint64(b&0x7F) << shift 16642 if b < 0x80 { 16643 break 16644 } 16645 } 16646 intStringLen := int(stringLen) 16647 if intStringLen < 0 { 16648 return ErrInvalidLengthApplication 16649 } 16650 postIndex := iNdEx + intStringLen 16651 if postIndex < 0 { 16652 return ErrInvalidLengthApplication 16653 } 16654 if postIndex > l { 16655 return io.ErrUnexpectedEOF 16656 } 16657 s := string(dAtA[iNdEx:postIndex]) 16658 m.Url = &s 16659 iNdEx = postIndex 16660 hasFields[0] |= uint64(0x00000002) 16661 case 3: 16662 if wireType != 2 { 16663 return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) 16664 } 16665 var stringLen uint64 16666 for shift := uint(0); ; shift += 7 { 16667 if shift >= 64 { 16668 return ErrIntOverflowApplication 16669 } 16670 if iNdEx >= l { 16671 return io.ErrUnexpectedEOF 16672 } 16673 b := dAtA[iNdEx] 16674 iNdEx++ 16675 stringLen |= uint64(b&0x7F) << shift 16676 if b < 0x80 { 16677 break 16678 } 16679 } 16680 intStringLen := int(stringLen) 16681 if intStringLen < 0 { 16682 return ErrInvalidLengthApplication 16683 } 16684 postIndex := iNdEx + intStringLen 16685 if postIndex < 0 { 16686 return ErrInvalidLengthApplication 16687 } 16688 if postIndex > l { 16689 return io.ErrUnexpectedEOF 16690 } 16691 s := string(dAtA[iNdEx:postIndex]) 16692 m.Description = &s 16693 iNdEx = postIndex 16694 case 4: 16695 if wireType != 2 { 16696 return fmt.Errorf("proto: wrong wireType = %d for field IconClass", wireType) 16697 } 16698 var stringLen uint64 16699 for shift := uint(0); ; shift += 7 { 16700 if shift >= 64 { 16701 return ErrIntOverflowApplication 16702 } 16703 if iNdEx >= l { 16704 return io.ErrUnexpectedEOF 16705 } 16706 b := dAtA[iNdEx] 16707 iNdEx++ 16708 stringLen |= uint64(b&0x7F) << shift 16709 if b < 0x80 { 16710 break 16711 } 16712 } 16713 intStringLen := int(stringLen) 16714 if intStringLen < 0 { 16715 return ErrInvalidLengthApplication 16716 } 16717 postIndex := iNdEx + intStringLen 16718 if postIndex < 0 { 16719 return ErrInvalidLengthApplication 16720 } 16721 if postIndex > l { 16722 return io.ErrUnexpectedEOF 16723 } 16724 s := string(dAtA[iNdEx:postIndex]) 16725 m.IconClass = &s 16726 iNdEx = postIndex 16727 default: 16728 iNdEx = preIndex 16729 skippy, err := skipApplication(dAtA[iNdEx:]) 16730 if err != nil { 16731 return err 16732 } 16733 if (skippy < 0) || (iNdEx+skippy) < 0 { 16734 return ErrInvalidLengthApplication 16735 } 16736 if (iNdEx + skippy) > l { 16737 return io.ErrUnexpectedEOF 16738 } 16739 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16740 iNdEx += skippy 16741 } 16742 } 16743 if hasFields[0]&uint64(0x00000001) == 0 { 16744 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("title") 16745 } 16746 if hasFields[0]&uint64(0x00000002) == 0 { 16747 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("url") 16748 } 16749 16750 if iNdEx > l { 16751 return io.ErrUnexpectedEOF 16752 } 16753 return nil 16754 } 16755 func (m *LinksResponse) Unmarshal(dAtA []byte) error { 16756 l := len(dAtA) 16757 iNdEx := 0 16758 for iNdEx < l { 16759 preIndex := iNdEx 16760 var wire uint64 16761 for shift := uint(0); ; shift += 7 { 16762 if shift >= 64 { 16763 return ErrIntOverflowApplication 16764 } 16765 if iNdEx >= l { 16766 return io.ErrUnexpectedEOF 16767 } 16768 b := dAtA[iNdEx] 16769 iNdEx++ 16770 wire |= uint64(b&0x7F) << shift 16771 if b < 0x80 { 16772 break 16773 } 16774 } 16775 fieldNum := int32(wire >> 3) 16776 wireType := int(wire & 0x7) 16777 if wireType == 4 { 16778 return fmt.Errorf("proto: LinksResponse: wiretype end group for non-group") 16779 } 16780 if fieldNum <= 0 { 16781 return fmt.Errorf("proto: LinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) 16782 } 16783 switch fieldNum { 16784 case 1: 16785 if wireType != 2 { 16786 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 16787 } 16788 var msglen int 16789 for shift := uint(0); ; shift += 7 { 16790 if shift >= 64 { 16791 return ErrIntOverflowApplication 16792 } 16793 if iNdEx >= l { 16794 return io.ErrUnexpectedEOF 16795 } 16796 b := dAtA[iNdEx] 16797 iNdEx++ 16798 msglen |= int(b&0x7F) << shift 16799 if b < 0x80 { 16800 break 16801 } 16802 } 16803 if msglen < 0 { 16804 return ErrInvalidLengthApplication 16805 } 16806 postIndex := iNdEx + msglen 16807 if postIndex < 0 { 16808 return ErrInvalidLengthApplication 16809 } 16810 if postIndex > l { 16811 return io.ErrUnexpectedEOF 16812 } 16813 m.Items = append(m.Items, &LinkInfo{}) 16814 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 16815 return err 16816 } 16817 iNdEx = postIndex 16818 default: 16819 iNdEx = preIndex 16820 skippy, err := skipApplication(dAtA[iNdEx:]) 16821 if err != nil { 16822 return err 16823 } 16824 if (skippy < 0) || (iNdEx+skippy) < 0 { 16825 return ErrInvalidLengthApplication 16826 } 16827 if (iNdEx + skippy) > l { 16828 return io.ErrUnexpectedEOF 16829 } 16830 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16831 iNdEx += skippy 16832 } 16833 } 16834 16835 if iNdEx > l { 16836 return io.ErrUnexpectedEOF 16837 } 16838 return nil 16839 } 16840 func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { 16841 var hasFields [1]uint64 16842 l := len(dAtA) 16843 iNdEx := 0 16844 for iNdEx < l { 16845 preIndex := iNdEx 16846 var wire uint64 16847 for shift := uint(0); ; shift += 7 { 16848 if shift >= 64 { 16849 return ErrIntOverflowApplication 16850 } 16851 if iNdEx >= l { 16852 return io.ErrUnexpectedEOF 16853 } 16854 b := dAtA[iNdEx] 16855 iNdEx++ 16856 wire |= uint64(b&0x7F) << shift 16857 if b < 0x80 { 16858 break 16859 } 16860 } 16861 fieldNum := int32(wire >> 3) 16862 wireType := int(wire & 0x7) 16863 if wireType == 4 { 16864 return fmt.Errorf("proto: ListAppLinksRequest: wiretype end group for non-group") 16865 } 16866 if fieldNum <= 0 { 16867 return fmt.Errorf("proto: ListAppLinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) 16868 } 16869 switch fieldNum { 16870 case 1: 16871 if wireType != 2 { 16872 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 16873 } 16874 var stringLen uint64 16875 for shift := uint(0); ; shift += 7 { 16876 if shift >= 64 { 16877 return ErrIntOverflowApplication 16878 } 16879 if iNdEx >= l { 16880 return io.ErrUnexpectedEOF 16881 } 16882 b := dAtA[iNdEx] 16883 iNdEx++ 16884 stringLen |= uint64(b&0x7F) << shift 16885 if b < 0x80 { 16886 break 16887 } 16888 } 16889 intStringLen := int(stringLen) 16890 if intStringLen < 0 { 16891 return ErrInvalidLengthApplication 16892 } 16893 postIndex := iNdEx + intStringLen 16894 if postIndex < 0 { 16895 return ErrInvalidLengthApplication 16896 } 16897 if postIndex > l { 16898 return io.ErrUnexpectedEOF 16899 } 16900 s := string(dAtA[iNdEx:postIndex]) 16901 m.Name = &s 16902 iNdEx = postIndex 16903 hasFields[0] |= uint64(0x00000001) 16904 case 3: 16905 if wireType != 2 { 16906 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 16907 } 16908 var stringLen uint64 16909 for shift := uint(0); ; shift += 7 { 16910 if shift >= 64 { 16911 return ErrIntOverflowApplication 16912 } 16913 if iNdEx >= l { 16914 return io.ErrUnexpectedEOF 16915 } 16916 b := dAtA[iNdEx] 16917 iNdEx++ 16918 stringLen |= uint64(b&0x7F) << shift 16919 if b < 0x80 { 16920 break 16921 } 16922 } 16923 intStringLen := int(stringLen) 16924 if intStringLen < 0 { 16925 return ErrInvalidLengthApplication 16926 } 16927 postIndex := iNdEx + intStringLen 16928 if postIndex < 0 { 16929 return ErrInvalidLengthApplication 16930 } 16931 if postIndex > l { 16932 return io.ErrUnexpectedEOF 16933 } 16934 s := string(dAtA[iNdEx:postIndex]) 16935 m.Namespace = &s 16936 iNdEx = postIndex 16937 case 4: 16938 if wireType != 2 { 16939 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 16940 } 16941 var stringLen uint64 16942 for shift := uint(0); ; shift += 7 { 16943 if shift >= 64 { 16944 return ErrIntOverflowApplication 16945 } 16946 if iNdEx >= l { 16947 return io.ErrUnexpectedEOF 16948 } 16949 b := dAtA[iNdEx] 16950 iNdEx++ 16951 stringLen |= uint64(b&0x7F) << shift 16952 if b < 0x80 { 16953 break 16954 } 16955 } 16956 intStringLen := int(stringLen) 16957 if intStringLen < 0 { 16958 return ErrInvalidLengthApplication 16959 } 16960 postIndex := iNdEx + intStringLen 16961 if postIndex < 0 { 16962 return ErrInvalidLengthApplication 16963 } 16964 if postIndex > l { 16965 return io.ErrUnexpectedEOF 16966 } 16967 s := string(dAtA[iNdEx:postIndex]) 16968 m.Project = &s 16969 iNdEx = postIndex 16970 default: 16971 iNdEx = preIndex 16972 skippy, err := skipApplication(dAtA[iNdEx:]) 16973 if err != nil { 16974 return err 16975 } 16976 if (skippy < 0) || (iNdEx+skippy) < 0 { 16977 return ErrInvalidLengthApplication 16978 } 16979 if (iNdEx + skippy) > l { 16980 return io.ErrUnexpectedEOF 16981 } 16982 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 16983 iNdEx += skippy 16984 } 16985 } 16986 if hasFields[0]&uint64(0x00000001) == 0 { 16987 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 16988 } 16989 16990 if iNdEx > l { 16991 return io.ErrUnexpectedEOF 16992 } 16993 return nil 16994 } 16995 func skipApplication(dAtA []byte) (n int, err error) { 16996 l := len(dAtA) 16997 iNdEx := 0 16998 depth := 0 16999 for iNdEx < l { 17000 var wire uint64 17001 for shift := uint(0); ; shift += 7 { 17002 if shift >= 64 { 17003 return 0, ErrIntOverflowApplication 17004 } 17005 if iNdEx >= l { 17006 return 0, io.ErrUnexpectedEOF 17007 } 17008 b := dAtA[iNdEx] 17009 iNdEx++ 17010 wire |= (uint64(b) & 0x7F) << shift 17011 if b < 0x80 { 17012 break 17013 } 17014 } 17015 wireType := int(wire & 0x7) 17016 switch wireType { 17017 case 0: 17018 for shift := uint(0); ; shift += 7 { 17019 if shift >= 64 { 17020 return 0, ErrIntOverflowApplication 17021 } 17022 if iNdEx >= l { 17023 return 0, io.ErrUnexpectedEOF 17024 } 17025 iNdEx++ 17026 if dAtA[iNdEx-1] < 0x80 { 17027 break 17028 } 17029 } 17030 case 1: 17031 iNdEx += 8 17032 case 2: 17033 var length int 17034 for shift := uint(0); ; shift += 7 { 17035 if shift >= 64 { 17036 return 0, ErrIntOverflowApplication 17037 } 17038 if iNdEx >= l { 17039 return 0, io.ErrUnexpectedEOF 17040 } 17041 b := dAtA[iNdEx] 17042 iNdEx++ 17043 length |= (int(b) & 0x7F) << shift 17044 if b < 0x80 { 17045 break 17046 } 17047 } 17048 if length < 0 { 17049 return 0, ErrInvalidLengthApplication 17050 } 17051 iNdEx += length 17052 case 3: 17053 depth++ 17054 case 4: 17055 if depth == 0 { 17056 return 0, ErrUnexpectedEndOfGroupApplication 17057 } 17058 depth-- 17059 case 5: 17060 iNdEx += 4 17061 default: 17062 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 17063 } 17064 if iNdEx < 0 { 17065 return 0, ErrInvalidLengthApplication 17066 } 17067 if depth == 0 { 17068 return iNdEx, nil 17069 } 17070 } 17071 return 0, io.ErrUnexpectedEOF 17072 } 17073 17074 var ( 17075 ErrInvalidLengthApplication = fmt.Errorf("proto: negative length found during unmarshaling") 17076 ErrIntOverflowApplication = fmt.Errorf("proto: integer overflow") 17077 ErrUnexpectedEndOfGroupApplication = fmt.Errorf("proto: unexpected end of group") 17078 )