github.com/argoproj/argo-cd/v2@v2.10.9/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/v2/pkg/apis/application/v1alpha1" 14 apiclient "github.com/argoproj/argo-cd/v2/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 XXX_NoUnkeyedLiteral struct{} `json:"-"` 220 XXX_unrecognized []byte `json:"-"` 221 XXX_sizecache int32 `json:"-"` 222 } 223 224 func (m *RevisionMetadataQuery) Reset() { *m = RevisionMetadataQuery{} } 225 func (m *RevisionMetadataQuery) String() string { return proto.CompactTextString(m) } 226 func (*RevisionMetadataQuery) ProtoMessage() {} 227 func (*RevisionMetadataQuery) Descriptor() ([]byte, []int) { 228 return fileDescriptor_df6e82b174b5eaec, []int{2} 229 } 230 func (m *RevisionMetadataQuery) XXX_Unmarshal(b []byte) error { 231 return m.Unmarshal(b) 232 } 233 func (m *RevisionMetadataQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 234 if deterministic { 235 return xxx_messageInfo_RevisionMetadataQuery.Marshal(b, m, deterministic) 236 } else { 237 b = b[:cap(b)] 238 n, err := m.MarshalToSizedBuffer(b) 239 if err != nil { 240 return nil, err 241 } 242 return b[:n], nil 243 } 244 } 245 func (m *RevisionMetadataQuery) XXX_Merge(src proto.Message) { 246 xxx_messageInfo_RevisionMetadataQuery.Merge(m, src) 247 } 248 func (m *RevisionMetadataQuery) XXX_Size() int { 249 return m.Size() 250 } 251 func (m *RevisionMetadataQuery) XXX_DiscardUnknown() { 252 xxx_messageInfo_RevisionMetadataQuery.DiscardUnknown(m) 253 } 254 255 var xxx_messageInfo_RevisionMetadataQuery proto.InternalMessageInfo 256 257 func (m *RevisionMetadataQuery) GetName() string { 258 if m != nil && m.Name != nil { 259 return *m.Name 260 } 261 return "" 262 } 263 264 func (m *RevisionMetadataQuery) GetRevision() string { 265 if m != nil && m.Revision != nil { 266 return *m.Revision 267 } 268 return "" 269 } 270 271 func (m *RevisionMetadataQuery) GetAppNamespace() string { 272 if m != nil && m.AppNamespace != nil { 273 return *m.AppNamespace 274 } 275 return "" 276 } 277 278 func (m *RevisionMetadataQuery) GetProject() string { 279 if m != nil && m.Project != nil { 280 return *m.Project 281 } 282 return "" 283 } 284 285 // ApplicationEventsQuery is a query for application resource events 286 type ApplicationResourceEventsQuery struct { 287 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 288 ResourceNamespace *string `protobuf:"bytes,2,opt,name=resourceNamespace" json:"resourceNamespace,omitempty"` 289 ResourceName *string `protobuf:"bytes,3,opt,name=resourceName" json:"resourceName,omitempty"` 290 ResourceUID *string `protobuf:"bytes,4,opt,name=resourceUID" json:"resourceUID,omitempty"` 291 AppNamespace *string `protobuf:"bytes,5,opt,name=appNamespace" json:"appNamespace,omitempty"` 292 Project *string `protobuf:"bytes,6,opt,name=project" json:"project,omitempty"` 293 XXX_NoUnkeyedLiteral struct{} `json:"-"` 294 XXX_unrecognized []byte `json:"-"` 295 XXX_sizecache int32 `json:"-"` 296 } 297 298 func (m *ApplicationResourceEventsQuery) Reset() { *m = ApplicationResourceEventsQuery{} } 299 func (m *ApplicationResourceEventsQuery) String() string { return proto.CompactTextString(m) } 300 func (*ApplicationResourceEventsQuery) ProtoMessage() {} 301 func (*ApplicationResourceEventsQuery) Descriptor() ([]byte, []int) { 302 return fileDescriptor_df6e82b174b5eaec, []int{3} 303 } 304 func (m *ApplicationResourceEventsQuery) XXX_Unmarshal(b []byte) error { 305 return m.Unmarshal(b) 306 } 307 func (m *ApplicationResourceEventsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 308 if deterministic { 309 return xxx_messageInfo_ApplicationResourceEventsQuery.Marshal(b, m, deterministic) 310 } else { 311 b = b[:cap(b)] 312 n, err := m.MarshalToSizedBuffer(b) 313 if err != nil { 314 return nil, err 315 } 316 return b[:n], nil 317 } 318 } 319 func (m *ApplicationResourceEventsQuery) XXX_Merge(src proto.Message) { 320 xxx_messageInfo_ApplicationResourceEventsQuery.Merge(m, src) 321 } 322 func (m *ApplicationResourceEventsQuery) XXX_Size() int { 323 return m.Size() 324 } 325 func (m *ApplicationResourceEventsQuery) XXX_DiscardUnknown() { 326 xxx_messageInfo_ApplicationResourceEventsQuery.DiscardUnknown(m) 327 } 328 329 var xxx_messageInfo_ApplicationResourceEventsQuery proto.InternalMessageInfo 330 331 func (m *ApplicationResourceEventsQuery) GetName() string { 332 if m != nil && m.Name != nil { 333 return *m.Name 334 } 335 return "" 336 } 337 338 func (m *ApplicationResourceEventsQuery) GetResourceNamespace() string { 339 if m != nil && m.ResourceNamespace != nil { 340 return *m.ResourceNamespace 341 } 342 return "" 343 } 344 345 func (m *ApplicationResourceEventsQuery) GetResourceName() string { 346 if m != nil && m.ResourceName != nil { 347 return *m.ResourceName 348 } 349 return "" 350 } 351 352 func (m *ApplicationResourceEventsQuery) GetResourceUID() string { 353 if m != nil && m.ResourceUID != nil { 354 return *m.ResourceUID 355 } 356 return "" 357 } 358 359 func (m *ApplicationResourceEventsQuery) GetAppNamespace() string { 360 if m != nil && m.AppNamespace != nil { 361 return *m.AppNamespace 362 } 363 return "" 364 } 365 366 func (m *ApplicationResourceEventsQuery) GetProject() string { 367 if m != nil && m.Project != nil { 368 return *m.Project 369 } 370 return "" 371 } 372 373 // ManifestQuery is a query for manifest resources 374 type ApplicationManifestQuery struct { 375 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 376 Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` 377 AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` 378 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 379 XXX_NoUnkeyedLiteral struct{} `json:"-"` 380 XXX_unrecognized []byte `json:"-"` 381 XXX_sizecache int32 `json:"-"` 382 } 383 384 func (m *ApplicationManifestQuery) Reset() { *m = ApplicationManifestQuery{} } 385 func (m *ApplicationManifestQuery) String() string { return proto.CompactTextString(m) } 386 func (*ApplicationManifestQuery) ProtoMessage() {} 387 func (*ApplicationManifestQuery) Descriptor() ([]byte, []int) { 388 return fileDescriptor_df6e82b174b5eaec, []int{4} 389 } 390 func (m *ApplicationManifestQuery) XXX_Unmarshal(b []byte) error { 391 return m.Unmarshal(b) 392 } 393 func (m *ApplicationManifestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 394 if deterministic { 395 return xxx_messageInfo_ApplicationManifestQuery.Marshal(b, m, deterministic) 396 } else { 397 b = b[:cap(b)] 398 n, err := m.MarshalToSizedBuffer(b) 399 if err != nil { 400 return nil, err 401 } 402 return b[:n], nil 403 } 404 } 405 func (m *ApplicationManifestQuery) XXX_Merge(src proto.Message) { 406 xxx_messageInfo_ApplicationManifestQuery.Merge(m, src) 407 } 408 func (m *ApplicationManifestQuery) XXX_Size() int { 409 return m.Size() 410 } 411 func (m *ApplicationManifestQuery) XXX_DiscardUnknown() { 412 xxx_messageInfo_ApplicationManifestQuery.DiscardUnknown(m) 413 } 414 415 var xxx_messageInfo_ApplicationManifestQuery proto.InternalMessageInfo 416 417 func (m *ApplicationManifestQuery) GetName() string { 418 if m != nil && m.Name != nil { 419 return *m.Name 420 } 421 return "" 422 } 423 424 func (m *ApplicationManifestQuery) GetRevision() string { 425 if m != nil && m.Revision != nil { 426 return *m.Revision 427 } 428 return "" 429 } 430 431 func (m *ApplicationManifestQuery) GetAppNamespace() string { 432 if m != nil && m.AppNamespace != nil { 433 return *m.AppNamespace 434 } 435 return "" 436 } 437 438 func (m *ApplicationManifestQuery) GetProject() string { 439 if m != nil && m.Project != nil { 440 return *m.Project 441 } 442 return "" 443 } 444 445 type FileChunk struct { 446 Chunk []byte `protobuf:"bytes,1,req,name=chunk" json:"chunk,omitempty"` 447 XXX_NoUnkeyedLiteral struct{} `json:"-"` 448 XXX_unrecognized []byte `json:"-"` 449 XXX_sizecache int32 `json:"-"` 450 } 451 452 func (m *FileChunk) Reset() { *m = FileChunk{} } 453 func (m *FileChunk) String() string { return proto.CompactTextString(m) } 454 func (*FileChunk) ProtoMessage() {} 455 func (*FileChunk) Descriptor() ([]byte, []int) { 456 return fileDescriptor_df6e82b174b5eaec, []int{5} 457 } 458 func (m *FileChunk) XXX_Unmarshal(b []byte) error { 459 return m.Unmarshal(b) 460 } 461 func (m *FileChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 462 if deterministic { 463 return xxx_messageInfo_FileChunk.Marshal(b, m, deterministic) 464 } else { 465 b = b[:cap(b)] 466 n, err := m.MarshalToSizedBuffer(b) 467 if err != nil { 468 return nil, err 469 } 470 return b[:n], nil 471 } 472 } 473 func (m *FileChunk) XXX_Merge(src proto.Message) { 474 xxx_messageInfo_FileChunk.Merge(m, src) 475 } 476 func (m *FileChunk) XXX_Size() int { 477 return m.Size() 478 } 479 func (m *FileChunk) XXX_DiscardUnknown() { 480 xxx_messageInfo_FileChunk.DiscardUnknown(m) 481 } 482 483 var xxx_messageInfo_FileChunk proto.InternalMessageInfo 484 485 func (m *FileChunk) GetChunk() []byte { 486 if m != nil { 487 return m.Chunk 488 } 489 return nil 490 } 491 492 type ApplicationManifestQueryWithFiles struct { 493 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 494 Checksum *string `protobuf:"bytes,2,req,name=checksum" json:"checksum,omitempty"` 495 AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` 496 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 497 XXX_NoUnkeyedLiteral struct{} `json:"-"` 498 XXX_unrecognized []byte `json:"-"` 499 XXX_sizecache int32 `json:"-"` 500 } 501 502 func (m *ApplicationManifestQueryWithFiles) Reset() { *m = ApplicationManifestQueryWithFiles{} } 503 func (m *ApplicationManifestQueryWithFiles) String() string { return proto.CompactTextString(m) } 504 func (*ApplicationManifestQueryWithFiles) ProtoMessage() {} 505 func (*ApplicationManifestQueryWithFiles) Descriptor() ([]byte, []int) { 506 return fileDescriptor_df6e82b174b5eaec, []int{6} 507 } 508 func (m *ApplicationManifestQueryWithFiles) XXX_Unmarshal(b []byte) error { 509 return m.Unmarshal(b) 510 } 511 func (m *ApplicationManifestQueryWithFiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 512 if deterministic { 513 return xxx_messageInfo_ApplicationManifestQueryWithFiles.Marshal(b, m, deterministic) 514 } else { 515 b = b[:cap(b)] 516 n, err := m.MarshalToSizedBuffer(b) 517 if err != nil { 518 return nil, err 519 } 520 return b[:n], nil 521 } 522 } 523 func (m *ApplicationManifestQueryWithFiles) XXX_Merge(src proto.Message) { 524 xxx_messageInfo_ApplicationManifestQueryWithFiles.Merge(m, src) 525 } 526 func (m *ApplicationManifestQueryWithFiles) XXX_Size() int { 527 return m.Size() 528 } 529 func (m *ApplicationManifestQueryWithFiles) XXX_DiscardUnknown() { 530 xxx_messageInfo_ApplicationManifestQueryWithFiles.DiscardUnknown(m) 531 } 532 533 var xxx_messageInfo_ApplicationManifestQueryWithFiles proto.InternalMessageInfo 534 535 func (m *ApplicationManifestQueryWithFiles) GetName() string { 536 if m != nil && m.Name != nil { 537 return *m.Name 538 } 539 return "" 540 } 541 542 func (m *ApplicationManifestQueryWithFiles) GetChecksum() string { 543 if m != nil && m.Checksum != nil { 544 return *m.Checksum 545 } 546 return "" 547 } 548 549 func (m *ApplicationManifestQueryWithFiles) GetAppNamespace() string { 550 if m != nil && m.AppNamespace != nil { 551 return *m.AppNamespace 552 } 553 return "" 554 } 555 556 func (m *ApplicationManifestQueryWithFiles) GetProject() string { 557 if m != nil && m.Project != nil { 558 return *m.Project 559 } 560 return "" 561 } 562 563 type ApplicationManifestQueryWithFilesWrapper struct { 564 // Types that are valid to be assigned to Part: 565 // *ApplicationManifestQueryWithFilesWrapper_Query 566 // *ApplicationManifestQueryWithFilesWrapper_Chunk 567 Part isApplicationManifestQueryWithFilesWrapper_Part `protobuf_oneof:"part"` 568 XXX_NoUnkeyedLiteral struct{} `json:"-"` 569 XXX_unrecognized []byte `json:"-"` 570 XXX_sizecache int32 `json:"-"` 571 } 572 573 func (m *ApplicationManifestQueryWithFilesWrapper) Reset() { 574 *m = ApplicationManifestQueryWithFilesWrapper{} 575 } 576 func (m *ApplicationManifestQueryWithFilesWrapper) String() string { return proto.CompactTextString(m) } 577 func (*ApplicationManifestQueryWithFilesWrapper) ProtoMessage() {} 578 func (*ApplicationManifestQueryWithFilesWrapper) Descriptor() ([]byte, []int) { 579 return fileDescriptor_df6e82b174b5eaec, []int{7} 580 } 581 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Unmarshal(b []byte) error { 582 return m.Unmarshal(b) 583 } 584 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 585 if deterministic { 586 return xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper.Marshal(b, m, deterministic) 587 } else { 588 b = b[:cap(b)] 589 n, err := m.MarshalToSizedBuffer(b) 590 if err != nil { 591 return nil, err 592 } 593 return b[:n], nil 594 } 595 } 596 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Merge(src proto.Message) { 597 xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper.Merge(m, src) 598 } 599 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_Size() int { 600 return m.Size() 601 } 602 func (m *ApplicationManifestQueryWithFilesWrapper) XXX_DiscardUnknown() { 603 xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper.DiscardUnknown(m) 604 } 605 606 var xxx_messageInfo_ApplicationManifestQueryWithFilesWrapper proto.InternalMessageInfo 607 608 type isApplicationManifestQueryWithFilesWrapper_Part interface { 609 isApplicationManifestQueryWithFilesWrapper_Part() 610 MarshalTo([]byte) (int, error) 611 Size() int 612 } 613 614 type ApplicationManifestQueryWithFilesWrapper_Query struct { 615 Query *ApplicationManifestQueryWithFiles `protobuf:"bytes,1,opt,name=query,oneof" json:"query,omitempty"` 616 } 617 type ApplicationManifestQueryWithFilesWrapper_Chunk struct { 618 Chunk *FileChunk `protobuf:"bytes,2,opt,name=chunk,oneof" json:"chunk,omitempty"` 619 } 620 621 func (*ApplicationManifestQueryWithFilesWrapper_Query) isApplicationManifestQueryWithFilesWrapper_Part() { 622 } 623 func (*ApplicationManifestQueryWithFilesWrapper_Chunk) isApplicationManifestQueryWithFilesWrapper_Part() { 624 } 625 626 func (m *ApplicationManifestQueryWithFilesWrapper) GetPart() isApplicationManifestQueryWithFilesWrapper_Part { 627 if m != nil { 628 return m.Part 629 } 630 return nil 631 } 632 633 func (m *ApplicationManifestQueryWithFilesWrapper) GetQuery() *ApplicationManifestQueryWithFiles { 634 if x, ok := m.GetPart().(*ApplicationManifestQueryWithFilesWrapper_Query); ok { 635 return x.Query 636 } 637 return nil 638 } 639 640 func (m *ApplicationManifestQueryWithFilesWrapper) GetChunk() *FileChunk { 641 if x, ok := m.GetPart().(*ApplicationManifestQueryWithFilesWrapper_Chunk); ok { 642 return x.Chunk 643 } 644 return nil 645 } 646 647 // XXX_OneofWrappers is for the internal use of the proto package. 648 func (*ApplicationManifestQueryWithFilesWrapper) XXX_OneofWrappers() []interface{} { 649 return []interface{}{ 650 (*ApplicationManifestQueryWithFilesWrapper_Query)(nil), 651 (*ApplicationManifestQueryWithFilesWrapper_Chunk)(nil), 652 } 653 } 654 655 type ApplicationResponse struct { 656 XXX_NoUnkeyedLiteral struct{} `json:"-"` 657 XXX_unrecognized []byte `json:"-"` 658 XXX_sizecache int32 `json:"-"` 659 } 660 661 func (m *ApplicationResponse) Reset() { *m = ApplicationResponse{} } 662 func (m *ApplicationResponse) String() string { return proto.CompactTextString(m) } 663 func (*ApplicationResponse) ProtoMessage() {} 664 func (*ApplicationResponse) Descriptor() ([]byte, []int) { 665 return fileDescriptor_df6e82b174b5eaec, []int{8} 666 } 667 func (m *ApplicationResponse) XXX_Unmarshal(b []byte) error { 668 return m.Unmarshal(b) 669 } 670 func (m *ApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 671 if deterministic { 672 return xxx_messageInfo_ApplicationResponse.Marshal(b, m, deterministic) 673 } else { 674 b = b[:cap(b)] 675 n, err := m.MarshalToSizedBuffer(b) 676 if err != nil { 677 return nil, err 678 } 679 return b[:n], nil 680 } 681 } 682 func (m *ApplicationResponse) XXX_Merge(src proto.Message) { 683 xxx_messageInfo_ApplicationResponse.Merge(m, src) 684 } 685 func (m *ApplicationResponse) XXX_Size() int { 686 return m.Size() 687 } 688 func (m *ApplicationResponse) XXX_DiscardUnknown() { 689 xxx_messageInfo_ApplicationResponse.DiscardUnknown(m) 690 } 691 692 var xxx_messageInfo_ApplicationResponse proto.InternalMessageInfo 693 694 type ApplicationCreateRequest struct { 695 Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"` 696 Upsert *bool `protobuf:"varint,2,opt,name=upsert" json:"upsert,omitempty"` 697 Validate *bool `protobuf:"varint,3,opt,name=validate" json:"validate,omitempty"` 698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 699 XXX_unrecognized []byte `json:"-"` 700 XXX_sizecache int32 `json:"-"` 701 } 702 703 func (m *ApplicationCreateRequest) Reset() { *m = ApplicationCreateRequest{} } 704 func (m *ApplicationCreateRequest) String() string { return proto.CompactTextString(m) } 705 func (*ApplicationCreateRequest) ProtoMessage() {} 706 func (*ApplicationCreateRequest) Descriptor() ([]byte, []int) { 707 return fileDescriptor_df6e82b174b5eaec, []int{9} 708 } 709 func (m *ApplicationCreateRequest) XXX_Unmarshal(b []byte) error { 710 return m.Unmarshal(b) 711 } 712 func (m *ApplicationCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 713 if deterministic { 714 return xxx_messageInfo_ApplicationCreateRequest.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 *ApplicationCreateRequest) XXX_Merge(src proto.Message) { 725 xxx_messageInfo_ApplicationCreateRequest.Merge(m, src) 726 } 727 func (m *ApplicationCreateRequest) XXX_Size() int { 728 return m.Size() 729 } 730 func (m *ApplicationCreateRequest) XXX_DiscardUnknown() { 731 xxx_messageInfo_ApplicationCreateRequest.DiscardUnknown(m) 732 } 733 734 var xxx_messageInfo_ApplicationCreateRequest proto.InternalMessageInfo 735 736 func (m *ApplicationCreateRequest) GetApplication() *v1alpha1.Application { 737 if m != nil { 738 return m.Application 739 } 740 return nil 741 } 742 743 func (m *ApplicationCreateRequest) GetUpsert() bool { 744 if m != nil && m.Upsert != nil { 745 return *m.Upsert 746 } 747 return false 748 } 749 750 func (m *ApplicationCreateRequest) GetValidate() bool { 751 if m != nil && m.Validate != nil { 752 return *m.Validate 753 } 754 return false 755 } 756 757 type ApplicationUpdateRequest struct { 758 Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"` 759 Validate *bool `protobuf:"varint,2,opt,name=validate" json:"validate,omitempty"` 760 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 761 XXX_NoUnkeyedLiteral struct{} `json:"-"` 762 XXX_unrecognized []byte `json:"-"` 763 XXX_sizecache int32 `json:"-"` 764 } 765 766 func (m *ApplicationUpdateRequest) Reset() { *m = ApplicationUpdateRequest{} } 767 func (m *ApplicationUpdateRequest) String() string { return proto.CompactTextString(m) } 768 func (*ApplicationUpdateRequest) ProtoMessage() {} 769 func (*ApplicationUpdateRequest) Descriptor() ([]byte, []int) { 770 return fileDescriptor_df6e82b174b5eaec, []int{10} 771 } 772 func (m *ApplicationUpdateRequest) XXX_Unmarshal(b []byte) error { 773 return m.Unmarshal(b) 774 } 775 func (m *ApplicationUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 776 if deterministic { 777 return xxx_messageInfo_ApplicationUpdateRequest.Marshal(b, m, deterministic) 778 } else { 779 b = b[:cap(b)] 780 n, err := m.MarshalToSizedBuffer(b) 781 if err != nil { 782 return nil, err 783 } 784 return b[:n], nil 785 } 786 } 787 func (m *ApplicationUpdateRequest) XXX_Merge(src proto.Message) { 788 xxx_messageInfo_ApplicationUpdateRequest.Merge(m, src) 789 } 790 func (m *ApplicationUpdateRequest) XXX_Size() int { 791 return m.Size() 792 } 793 func (m *ApplicationUpdateRequest) XXX_DiscardUnknown() { 794 xxx_messageInfo_ApplicationUpdateRequest.DiscardUnknown(m) 795 } 796 797 var xxx_messageInfo_ApplicationUpdateRequest proto.InternalMessageInfo 798 799 func (m *ApplicationUpdateRequest) GetApplication() *v1alpha1.Application { 800 if m != nil { 801 return m.Application 802 } 803 return nil 804 } 805 806 func (m *ApplicationUpdateRequest) GetValidate() bool { 807 if m != nil && m.Validate != nil { 808 return *m.Validate 809 } 810 return false 811 } 812 813 func (m *ApplicationUpdateRequest) GetProject() string { 814 if m != nil && m.Project != nil { 815 return *m.Project 816 } 817 return "" 818 } 819 820 type ApplicationDeleteRequest struct { 821 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 822 Cascade *bool `protobuf:"varint,2,opt,name=cascade" json:"cascade,omitempty"` 823 PropagationPolicy *string `protobuf:"bytes,3,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"` 824 AppNamespace *string `protobuf:"bytes,4,opt,name=appNamespace" json:"appNamespace,omitempty"` 825 Project *string `protobuf:"bytes,5,opt,name=project" json:"project,omitempty"` 826 XXX_NoUnkeyedLiteral struct{} `json:"-"` 827 XXX_unrecognized []byte `json:"-"` 828 XXX_sizecache int32 `json:"-"` 829 } 830 831 func (m *ApplicationDeleteRequest) Reset() { *m = ApplicationDeleteRequest{} } 832 func (m *ApplicationDeleteRequest) String() string { return proto.CompactTextString(m) } 833 func (*ApplicationDeleteRequest) ProtoMessage() {} 834 func (*ApplicationDeleteRequest) Descriptor() ([]byte, []int) { 835 return fileDescriptor_df6e82b174b5eaec, []int{11} 836 } 837 func (m *ApplicationDeleteRequest) XXX_Unmarshal(b []byte) error { 838 return m.Unmarshal(b) 839 } 840 func (m *ApplicationDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 841 if deterministic { 842 return xxx_messageInfo_ApplicationDeleteRequest.Marshal(b, m, deterministic) 843 } else { 844 b = b[:cap(b)] 845 n, err := m.MarshalToSizedBuffer(b) 846 if err != nil { 847 return nil, err 848 } 849 return b[:n], nil 850 } 851 } 852 func (m *ApplicationDeleteRequest) XXX_Merge(src proto.Message) { 853 xxx_messageInfo_ApplicationDeleteRequest.Merge(m, src) 854 } 855 func (m *ApplicationDeleteRequest) XXX_Size() int { 856 return m.Size() 857 } 858 func (m *ApplicationDeleteRequest) XXX_DiscardUnknown() { 859 xxx_messageInfo_ApplicationDeleteRequest.DiscardUnknown(m) 860 } 861 862 var xxx_messageInfo_ApplicationDeleteRequest proto.InternalMessageInfo 863 864 func (m *ApplicationDeleteRequest) GetName() string { 865 if m != nil && m.Name != nil { 866 return *m.Name 867 } 868 return "" 869 } 870 871 func (m *ApplicationDeleteRequest) GetCascade() bool { 872 if m != nil && m.Cascade != nil { 873 return *m.Cascade 874 } 875 return false 876 } 877 878 func (m *ApplicationDeleteRequest) GetPropagationPolicy() string { 879 if m != nil && m.PropagationPolicy != nil { 880 return *m.PropagationPolicy 881 } 882 return "" 883 } 884 885 func (m *ApplicationDeleteRequest) GetAppNamespace() string { 886 if m != nil && m.AppNamespace != nil { 887 return *m.AppNamespace 888 } 889 return "" 890 } 891 892 func (m *ApplicationDeleteRequest) GetProject() string { 893 if m != nil && m.Project != nil { 894 return *m.Project 895 } 896 return "" 897 } 898 899 type SyncOptions struct { 900 Items []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 901 XXX_NoUnkeyedLiteral struct{} `json:"-"` 902 XXX_unrecognized []byte `json:"-"` 903 XXX_sizecache int32 `json:"-"` 904 } 905 906 func (m *SyncOptions) Reset() { *m = SyncOptions{} } 907 func (m *SyncOptions) String() string { return proto.CompactTextString(m) } 908 func (*SyncOptions) ProtoMessage() {} 909 func (*SyncOptions) Descriptor() ([]byte, []int) { 910 return fileDescriptor_df6e82b174b5eaec, []int{12} 911 } 912 func (m *SyncOptions) XXX_Unmarshal(b []byte) error { 913 return m.Unmarshal(b) 914 } 915 func (m *SyncOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 916 if deterministic { 917 return xxx_messageInfo_SyncOptions.Marshal(b, m, deterministic) 918 } else { 919 b = b[:cap(b)] 920 n, err := m.MarshalToSizedBuffer(b) 921 if err != nil { 922 return nil, err 923 } 924 return b[:n], nil 925 } 926 } 927 func (m *SyncOptions) XXX_Merge(src proto.Message) { 928 xxx_messageInfo_SyncOptions.Merge(m, src) 929 } 930 func (m *SyncOptions) XXX_Size() int { 931 return m.Size() 932 } 933 func (m *SyncOptions) XXX_DiscardUnknown() { 934 xxx_messageInfo_SyncOptions.DiscardUnknown(m) 935 } 936 937 var xxx_messageInfo_SyncOptions proto.InternalMessageInfo 938 939 func (m *SyncOptions) GetItems() []string { 940 if m != nil { 941 return m.Items 942 } 943 return nil 944 } 945 946 // ApplicationSyncRequest is a request to apply the config state to live state 947 type ApplicationSyncRequest struct { 948 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 949 Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` 950 DryRun *bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun,omitempty"` 951 Prune *bool `protobuf:"varint,4,opt,name=prune" json:"prune,omitempty"` 952 Strategy *v1alpha1.SyncStrategy `protobuf:"bytes,5,opt,name=strategy" json:"strategy,omitempty"` 953 Resources []*v1alpha1.SyncOperationResource `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"` 954 Manifests []string `protobuf:"bytes,8,rep,name=manifests" json:"manifests,omitempty"` 955 Infos []*v1alpha1.Info `protobuf:"bytes,9,rep,name=infos" json:"infos,omitempty"` 956 RetryStrategy *v1alpha1.RetryStrategy `protobuf:"bytes,10,opt,name=retryStrategy" json:"retryStrategy,omitempty"` 957 SyncOptions *SyncOptions `protobuf:"bytes,11,opt,name=syncOptions" json:"syncOptions,omitempty"` 958 AppNamespace *string `protobuf:"bytes,12,opt,name=appNamespace" json:"appNamespace,omitempty"` 959 Project *string `protobuf:"bytes,13,opt,name=project" json:"project,omitempty"` 960 XXX_NoUnkeyedLiteral struct{} `json:"-"` 961 XXX_unrecognized []byte `json:"-"` 962 XXX_sizecache int32 `json:"-"` 963 } 964 965 func (m *ApplicationSyncRequest) Reset() { *m = ApplicationSyncRequest{} } 966 func (m *ApplicationSyncRequest) String() string { return proto.CompactTextString(m) } 967 func (*ApplicationSyncRequest) ProtoMessage() {} 968 func (*ApplicationSyncRequest) Descriptor() ([]byte, []int) { 969 return fileDescriptor_df6e82b174b5eaec, []int{13} 970 } 971 func (m *ApplicationSyncRequest) XXX_Unmarshal(b []byte) error { 972 return m.Unmarshal(b) 973 } 974 func (m *ApplicationSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 975 if deterministic { 976 return xxx_messageInfo_ApplicationSyncRequest.Marshal(b, m, deterministic) 977 } else { 978 b = b[:cap(b)] 979 n, err := m.MarshalToSizedBuffer(b) 980 if err != nil { 981 return nil, err 982 } 983 return b[:n], nil 984 } 985 } 986 func (m *ApplicationSyncRequest) XXX_Merge(src proto.Message) { 987 xxx_messageInfo_ApplicationSyncRequest.Merge(m, src) 988 } 989 func (m *ApplicationSyncRequest) XXX_Size() int { 990 return m.Size() 991 } 992 func (m *ApplicationSyncRequest) XXX_DiscardUnknown() { 993 xxx_messageInfo_ApplicationSyncRequest.DiscardUnknown(m) 994 } 995 996 var xxx_messageInfo_ApplicationSyncRequest proto.InternalMessageInfo 997 998 func (m *ApplicationSyncRequest) GetName() string { 999 if m != nil && m.Name != nil { 1000 return *m.Name 1001 } 1002 return "" 1003 } 1004 1005 func (m *ApplicationSyncRequest) GetRevision() string { 1006 if m != nil && m.Revision != nil { 1007 return *m.Revision 1008 } 1009 return "" 1010 } 1011 1012 func (m *ApplicationSyncRequest) GetDryRun() bool { 1013 if m != nil && m.DryRun != nil { 1014 return *m.DryRun 1015 } 1016 return false 1017 } 1018 1019 func (m *ApplicationSyncRequest) GetPrune() bool { 1020 if m != nil && m.Prune != nil { 1021 return *m.Prune 1022 } 1023 return false 1024 } 1025 1026 func (m *ApplicationSyncRequest) GetStrategy() *v1alpha1.SyncStrategy { 1027 if m != nil { 1028 return m.Strategy 1029 } 1030 return nil 1031 } 1032 1033 func (m *ApplicationSyncRequest) GetResources() []*v1alpha1.SyncOperationResource { 1034 if m != nil { 1035 return m.Resources 1036 } 1037 return nil 1038 } 1039 1040 func (m *ApplicationSyncRequest) GetManifests() []string { 1041 if m != nil { 1042 return m.Manifests 1043 } 1044 return nil 1045 } 1046 1047 func (m *ApplicationSyncRequest) GetInfos() []*v1alpha1.Info { 1048 if m != nil { 1049 return m.Infos 1050 } 1051 return nil 1052 } 1053 1054 func (m *ApplicationSyncRequest) GetRetryStrategy() *v1alpha1.RetryStrategy { 1055 if m != nil { 1056 return m.RetryStrategy 1057 } 1058 return nil 1059 } 1060 1061 func (m *ApplicationSyncRequest) GetSyncOptions() *SyncOptions { 1062 if m != nil { 1063 return m.SyncOptions 1064 } 1065 return nil 1066 } 1067 1068 func (m *ApplicationSyncRequest) GetAppNamespace() string { 1069 if m != nil && m.AppNamespace != nil { 1070 return *m.AppNamespace 1071 } 1072 return "" 1073 } 1074 1075 func (m *ApplicationSyncRequest) GetProject() string { 1076 if m != nil && m.Project != nil { 1077 return *m.Project 1078 } 1079 return "" 1080 } 1081 1082 // ApplicationUpdateSpecRequest is a request to update application spec 1083 type ApplicationUpdateSpecRequest struct { 1084 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1085 Spec *v1alpha1.ApplicationSpec `protobuf:"bytes,2,req,name=spec" json:"spec,omitempty"` 1086 Validate *bool `protobuf:"varint,3,opt,name=validate" json:"validate,omitempty"` 1087 AppNamespace *string `protobuf:"bytes,4,opt,name=appNamespace" json:"appNamespace,omitempty"` 1088 Project *string `protobuf:"bytes,5,opt,name=project" json:"project,omitempty"` 1089 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1090 XXX_unrecognized []byte `json:"-"` 1091 XXX_sizecache int32 `json:"-"` 1092 } 1093 1094 func (m *ApplicationUpdateSpecRequest) Reset() { *m = ApplicationUpdateSpecRequest{} } 1095 func (m *ApplicationUpdateSpecRequest) String() string { return proto.CompactTextString(m) } 1096 func (*ApplicationUpdateSpecRequest) ProtoMessage() {} 1097 func (*ApplicationUpdateSpecRequest) Descriptor() ([]byte, []int) { 1098 return fileDescriptor_df6e82b174b5eaec, []int{14} 1099 } 1100 func (m *ApplicationUpdateSpecRequest) XXX_Unmarshal(b []byte) error { 1101 return m.Unmarshal(b) 1102 } 1103 func (m *ApplicationUpdateSpecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1104 if deterministic { 1105 return xxx_messageInfo_ApplicationUpdateSpecRequest.Marshal(b, m, deterministic) 1106 } else { 1107 b = b[:cap(b)] 1108 n, err := m.MarshalToSizedBuffer(b) 1109 if err != nil { 1110 return nil, err 1111 } 1112 return b[:n], nil 1113 } 1114 } 1115 func (m *ApplicationUpdateSpecRequest) XXX_Merge(src proto.Message) { 1116 xxx_messageInfo_ApplicationUpdateSpecRequest.Merge(m, src) 1117 } 1118 func (m *ApplicationUpdateSpecRequest) XXX_Size() int { 1119 return m.Size() 1120 } 1121 func (m *ApplicationUpdateSpecRequest) XXX_DiscardUnknown() { 1122 xxx_messageInfo_ApplicationUpdateSpecRequest.DiscardUnknown(m) 1123 } 1124 1125 var xxx_messageInfo_ApplicationUpdateSpecRequest proto.InternalMessageInfo 1126 1127 func (m *ApplicationUpdateSpecRequest) GetName() string { 1128 if m != nil && m.Name != nil { 1129 return *m.Name 1130 } 1131 return "" 1132 } 1133 1134 func (m *ApplicationUpdateSpecRequest) GetSpec() *v1alpha1.ApplicationSpec { 1135 if m != nil { 1136 return m.Spec 1137 } 1138 return nil 1139 } 1140 1141 func (m *ApplicationUpdateSpecRequest) GetValidate() bool { 1142 if m != nil && m.Validate != nil { 1143 return *m.Validate 1144 } 1145 return false 1146 } 1147 1148 func (m *ApplicationUpdateSpecRequest) GetAppNamespace() string { 1149 if m != nil && m.AppNamespace != nil { 1150 return *m.AppNamespace 1151 } 1152 return "" 1153 } 1154 1155 func (m *ApplicationUpdateSpecRequest) GetProject() string { 1156 if m != nil && m.Project != nil { 1157 return *m.Project 1158 } 1159 return "" 1160 } 1161 1162 // ApplicationPatchRequest is a request to patch an application 1163 type ApplicationPatchRequest struct { 1164 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1165 Patch *string `protobuf:"bytes,2,req,name=patch" json:"patch,omitempty"` 1166 PatchType *string `protobuf:"bytes,3,req,name=patchType" json:"patchType,omitempty"` 1167 AppNamespace *string `protobuf:"bytes,5,opt,name=appNamespace" json:"appNamespace,omitempty"` 1168 Project *string `protobuf:"bytes,6,opt,name=project" json:"project,omitempty"` 1169 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1170 XXX_unrecognized []byte `json:"-"` 1171 XXX_sizecache int32 `json:"-"` 1172 } 1173 1174 func (m *ApplicationPatchRequest) Reset() { *m = ApplicationPatchRequest{} } 1175 func (m *ApplicationPatchRequest) String() string { return proto.CompactTextString(m) } 1176 func (*ApplicationPatchRequest) ProtoMessage() {} 1177 func (*ApplicationPatchRequest) Descriptor() ([]byte, []int) { 1178 return fileDescriptor_df6e82b174b5eaec, []int{15} 1179 } 1180 func (m *ApplicationPatchRequest) XXX_Unmarshal(b []byte) error { 1181 return m.Unmarshal(b) 1182 } 1183 func (m *ApplicationPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1184 if deterministic { 1185 return xxx_messageInfo_ApplicationPatchRequest.Marshal(b, m, deterministic) 1186 } else { 1187 b = b[:cap(b)] 1188 n, err := m.MarshalToSizedBuffer(b) 1189 if err != nil { 1190 return nil, err 1191 } 1192 return b[:n], nil 1193 } 1194 } 1195 func (m *ApplicationPatchRequest) XXX_Merge(src proto.Message) { 1196 xxx_messageInfo_ApplicationPatchRequest.Merge(m, src) 1197 } 1198 func (m *ApplicationPatchRequest) XXX_Size() int { 1199 return m.Size() 1200 } 1201 func (m *ApplicationPatchRequest) XXX_DiscardUnknown() { 1202 xxx_messageInfo_ApplicationPatchRequest.DiscardUnknown(m) 1203 } 1204 1205 var xxx_messageInfo_ApplicationPatchRequest proto.InternalMessageInfo 1206 1207 func (m *ApplicationPatchRequest) GetName() string { 1208 if m != nil && m.Name != nil { 1209 return *m.Name 1210 } 1211 return "" 1212 } 1213 1214 func (m *ApplicationPatchRequest) GetPatch() string { 1215 if m != nil && m.Patch != nil { 1216 return *m.Patch 1217 } 1218 return "" 1219 } 1220 1221 func (m *ApplicationPatchRequest) GetPatchType() string { 1222 if m != nil && m.PatchType != nil { 1223 return *m.PatchType 1224 } 1225 return "" 1226 } 1227 1228 func (m *ApplicationPatchRequest) GetAppNamespace() string { 1229 if m != nil && m.AppNamespace != nil { 1230 return *m.AppNamespace 1231 } 1232 return "" 1233 } 1234 1235 func (m *ApplicationPatchRequest) GetProject() string { 1236 if m != nil && m.Project != nil { 1237 return *m.Project 1238 } 1239 return "" 1240 } 1241 1242 type ApplicationRollbackRequest struct { 1243 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1244 Id *int64 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` 1245 DryRun *bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun,omitempty"` 1246 Prune *bool `protobuf:"varint,4,opt,name=prune" json:"prune,omitempty"` 1247 AppNamespace *string `protobuf:"bytes,6,opt,name=appNamespace" json:"appNamespace,omitempty"` 1248 Project *string `protobuf:"bytes,7,opt,name=project" json:"project,omitempty"` 1249 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1250 XXX_unrecognized []byte `json:"-"` 1251 XXX_sizecache int32 `json:"-"` 1252 } 1253 1254 func (m *ApplicationRollbackRequest) Reset() { *m = ApplicationRollbackRequest{} } 1255 func (m *ApplicationRollbackRequest) String() string { return proto.CompactTextString(m) } 1256 func (*ApplicationRollbackRequest) ProtoMessage() {} 1257 func (*ApplicationRollbackRequest) Descriptor() ([]byte, []int) { 1258 return fileDescriptor_df6e82b174b5eaec, []int{16} 1259 } 1260 func (m *ApplicationRollbackRequest) XXX_Unmarshal(b []byte) error { 1261 return m.Unmarshal(b) 1262 } 1263 func (m *ApplicationRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1264 if deterministic { 1265 return xxx_messageInfo_ApplicationRollbackRequest.Marshal(b, m, deterministic) 1266 } else { 1267 b = b[:cap(b)] 1268 n, err := m.MarshalToSizedBuffer(b) 1269 if err != nil { 1270 return nil, err 1271 } 1272 return b[:n], nil 1273 } 1274 } 1275 func (m *ApplicationRollbackRequest) XXX_Merge(src proto.Message) { 1276 xxx_messageInfo_ApplicationRollbackRequest.Merge(m, src) 1277 } 1278 func (m *ApplicationRollbackRequest) XXX_Size() int { 1279 return m.Size() 1280 } 1281 func (m *ApplicationRollbackRequest) XXX_DiscardUnknown() { 1282 xxx_messageInfo_ApplicationRollbackRequest.DiscardUnknown(m) 1283 } 1284 1285 var xxx_messageInfo_ApplicationRollbackRequest proto.InternalMessageInfo 1286 1287 func (m *ApplicationRollbackRequest) GetName() string { 1288 if m != nil && m.Name != nil { 1289 return *m.Name 1290 } 1291 return "" 1292 } 1293 1294 func (m *ApplicationRollbackRequest) GetId() int64 { 1295 if m != nil && m.Id != nil { 1296 return *m.Id 1297 } 1298 return 0 1299 } 1300 1301 func (m *ApplicationRollbackRequest) GetDryRun() bool { 1302 if m != nil && m.DryRun != nil { 1303 return *m.DryRun 1304 } 1305 return false 1306 } 1307 1308 func (m *ApplicationRollbackRequest) GetPrune() bool { 1309 if m != nil && m.Prune != nil { 1310 return *m.Prune 1311 } 1312 return false 1313 } 1314 1315 func (m *ApplicationRollbackRequest) GetAppNamespace() string { 1316 if m != nil && m.AppNamespace != nil { 1317 return *m.AppNamespace 1318 } 1319 return "" 1320 } 1321 1322 func (m *ApplicationRollbackRequest) GetProject() string { 1323 if m != nil && m.Project != nil { 1324 return *m.Project 1325 } 1326 return "" 1327 } 1328 1329 type ApplicationResourceRequest struct { 1330 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1331 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1332 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1333 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1334 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1335 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1336 AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` 1337 Project *string `protobuf:"bytes,8,opt,name=project" json:"project,omitempty"` 1338 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1339 XXX_unrecognized []byte `json:"-"` 1340 XXX_sizecache int32 `json:"-"` 1341 } 1342 1343 func (m *ApplicationResourceRequest) Reset() { *m = ApplicationResourceRequest{} } 1344 func (m *ApplicationResourceRequest) String() string { return proto.CompactTextString(m) } 1345 func (*ApplicationResourceRequest) ProtoMessage() {} 1346 func (*ApplicationResourceRequest) Descriptor() ([]byte, []int) { 1347 return fileDescriptor_df6e82b174b5eaec, []int{17} 1348 } 1349 func (m *ApplicationResourceRequest) XXX_Unmarshal(b []byte) error { 1350 return m.Unmarshal(b) 1351 } 1352 func (m *ApplicationResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1353 if deterministic { 1354 return xxx_messageInfo_ApplicationResourceRequest.Marshal(b, m, deterministic) 1355 } else { 1356 b = b[:cap(b)] 1357 n, err := m.MarshalToSizedBuffer(b) 1358 if err != nil { 1359 return nil, err 1360 } 1361 return b[:n], nil 1362 } 1363 } 1364 func (m *ApplicationResourceRequest) XXX_Merge(src proto.Message) { 1365 xxx_messageInfo_ApplicationResourceRequest.Merge(m, src) 1366 } 1367 func (m *ApplicationResourceRequest) XXX_Size() int { 1368 return m.Size() 1369 } 1370 func (m *ApplicationResourceRequest) XXX_DiscardUnknown() { 1371 xxx_messageInfo_ApplicationResourceRequest.DiscardUnknown(m) 1372 } 1373 1374 var xxx_messageInfo_ApplicationResourceRequest proto.InternalMessageInfo 1375 1376 func (m *ApplicationResourceRequest) GetName() string { 1377 if m != nil && m.Name != nil { 1378 return *m.Name 1379 } 1380 return "" 1381 } 1382 1383 func (m *ApplicationResourceRequest) GetNamespace() string { 1384 if m != nil && m.Namespace != nil { 1385 return *m.Namespace 1386 } 1387 return "" 1388 } 1389 1390 func (m *ApplicationResourceRequest) GetResourceName() string { 1391 if m != nil && m.ResourceName != nil { 1392 return *m.ResourceName 1393 } 1394 return "" 1395 } 1396 1397 func (m *ApplicationResourceRequest) GetVersion() string { 1398 if m != nil && m.Version != nil { 1399 return *m.Version 1400 } 1401 return "" 1402 } 1403 1404 func (m *ApplicationResourceRequest) GetGroup() string { 1405 if m != nil && m.Group != nil { 1406 return *m.Group 1407 } 1408 return "" 1409 } 1410 1411 func (m *ApplicationResourceRequest) GetKind() string { 1412 if m != nil && m.Kind != nil { 1413 return *m.Kind 1414 } 1415 return "" 1416 } 1417 1418 func (m *ApplicationResourceRequest) GetAppNamespace() string { 1419 if m != nil && m.AppNamespace != nil { 1420 return *m.AppNamespace 1421 } 1422 return "" 1423 } 1424 1425 func (m *ApplicationResourceRequest) GetProject() string { 1426 if m != nil && m.Project != nil { 1427 return *m.Project 1428 } 1429 return "" 1430 } 1431 1432 type ApplicationResourcePatchRequest struct { 1433 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1434 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1435 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1436 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1437 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1438 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1439 Patch *string `protobuf:"bytes,7,req,name=patch" json:"patch,omitempty"` 1440 PatchType *string `protobuf:"bytes,8,req,name=patchType" json:"patchType,omitempty"` 1441 AppNamespace *string `protobuf:"bytes,9,opt,name=appNamespace" json:"appNamespace,omitempty"` 1442 Project *string `protobuf:"bytes,10,opt,name=project" json:"project,omitempty"` 1443 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1444 XXX_unrecognized []byte `json:"-"` 1445 XXX_sizecache int32 `json:"-"` 1446 } 1447 1448 func (m *ApplicationResourcePatchRequest) Reset() { *m = ApplicationResourcePatchRequest{} } 1449 func (m *ApplicationResourcePatchRequest) String() string { return proto.CompactTextString(m) } 1450 func (*ApplicationResourcePatchRequest) ProtoMessage() {} 1451 func (*ApplicationResourcePatchRequest) Descriptor() ([]byte, []int) { 1452 return fileDescriptor_df6e82b174b5eaec, []int{18} 1453 } 1454 func (m *ApplicationResourcePatchRequest) XXX_Unmarshal(b []byte) error { 1455 return m.Unmarshal(b) 1456 } 1457 func (m *ApplicationResourcePatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1458 if deterministic { 1459 return xxx_messageInfo_ApplicationResourcePatchRequest.Marshal(b, m, deterministic) 1460 } else { 1461 b = b[:cap(b)] 1462 n, err := m.MarshalToSizedBuffer(b) 1463 if err != nil { 1464 return nil, err 1465 } 1466 return b[:n], nil 1467 } 1468 } 1469 func (m *ApplicationResourcePatchRequest) XXX_Merge(src proto.Message) { 1470 xxx_messageInfo_ApplicationResourcePatchRequest.Merge(m, src) 1471 } 1472 func (m *ApplicationResourcePatchRequest) XXX_Size() int { 1473 return m.Size() 1474 } 1475 func (m *ApplicationResourcePatchRequest) XXX_DiscardUnknown() { 1476 xxx_messageInfo_ApplicationResourcePatchRequest.DiscardUnknown(m) 1477 } 1478 1479 var xxx_messageInfo_ApplicationResourcePatchRequest proto.InternalMessageInfo 1480 1481 func (m *ApplicationResourcePatchRequest) GetName() string { 1482 if m != nil && m.Name != nil { 1483 return *m.Name 1484 } 1485 return "" 1486 } 1487 1488 func (m *ApplicationResourcePatchRequest) GetNamespace() string { 1489 if m != nil && m.Namespace != nil { 1490 return *m.Namespace 1491 } 1492 return "" 1493 } 1494 1495 func (m *ApplicationResourcePatchRequest) GetResourceName() string { 1496 if m != nil && m.ResourceName != nil { 1497 return *m.ResourceName 1498 } 1499 return "" 1500 } 1501 1502 func (m *ApplicationResourcePatchRequest) GetVersion() string { 1503 if m != nil && m.Version != nil { 1504 return *m.Version 1505 } 1506 return "" 1507 } 1508 1509 func (m *ApplicationResourcePatchRequest) GetGroup() string { 1510 if m != nil && m.Group != nil { 1511 return *m.Group 1512 } 1513 return "" 1514 } 1515 1516 func (m *ApplicationResourcePatchRequest) GetKind() string { 1517 if m != nil && m.Kind != nil { 1518 return *m.Kind 1519 } 1520 return "" 1521 } 1522 1523 func (m *ApplicationResourcePatchRequest) GetPatch() string { 1524 if m != nil && m.Patch != nil { 1525 return *m.Patch 1526 } 1527 return "" 1528 } 1529 1530 func (m *ApplicationResourcePatchRequest) GetPatchType() string { 1531 if m != nil && m.PatchType != nil { 1532 return *m.PatchType 1533 } 1534 return "" 1535 } 1536 1537 func (m *ApplicationResourcePatchRequest) GetAppNamespace() string { 1538 if m != nil && m.AppNamespace != nil { 1539 return *m.AppNamespace 1540 } 1541 return "" 1542 } 1543 1544 func (m *ApplicationResourcePatchRequest) GetProject() string { 1545 if m != nil && m.Project != nil { 1546 return *m.Project 1547 } 1548 return "" 1549 } 1550 1551 type ApplicationResourceDeleteRequest struct { 1552 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1553 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1554 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1555 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1556 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1557 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1558 Force *bool `protobuf:"varint,7,opt,name=force" json:"force,omitempty"` 1559 Orphan *bool `protobuf:"varint,8,opt,name=orphan" json:"orphan,omitempty"` 1560 AppNamespace *string `protobuf:"bytes,9,opt,name=appNamespace" json:"appNamespace,omitempty"` 1561 Project *string `protobuf:"bytes,10,opt,name=project" json:"project,omitempty"` 1562 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1563 XXX_unrecognized []byte `json:"-"` 1564 XXX_sizecache int32 `json:"-"` 1565 } 1566 1567 func (m *ApplicationResourceDeleteRequest) Reset() { *m = ApplicationResourceDeleteRequest{} } 1568 func (m *ApplicationResourceDeleteRequest) String() string { return proto.CompactTextString(m) } 1569 func (*ApplicationResourceDeleteRequest) ProtoMessage() {} 1570 func (*ApplicationResourceDeleteRequest) Descriptor() ([]byte, []int) { 1571 return fileDescriptor_df6e82b174b5eaec, []int{19} 1572 } 1573 func (m *ApplicationResourceDeleteRequest) XXX_Unmarshal(b []byte) error { 1574 return m.Unmarshal(b) 1575 } 1576 func (m *ApplicationResourceDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1577 if deterministic { 1578 return xxx_messageInfo_ApplicationResourceDeleteRequest.Marshal(b, m, deterministic) 1579 } else { 1580 b = b[:cap(b)] 1581 n, err := m.MarshalToSizedBuffer(b) 1582 if err != nil { 1583 return nil, err 1584 } 1585 return b[:n], nil 1586 } 1587 } 1588 func (m *ApplicationResourceDeleteRequest) XXX_Merge(src proto.Message) { 1589 xxx_messageInfo_ApplicationResourceDeleteRequest.Merge(m, src) 1590 } 1591 func (m *ApplicationResourceDeleteRequest) XXX_Size() int { 1592 return m.Size() 1593 } 1594 func (m *ApplicationResourceDeleteRequest) XXX_DiscardUnknown() { 1595 xxx_messageInfo_ApplicationResourceDeleteRequest.DiscardUnknown(m) 1596 } 1597 1598 var xxx_messageInfo_ApplicationResourceDeleteRequest proto.InternalMessageInfo 1599 1600 func (m *ApplicationResourceDeleteRequest) GetName() string { 1601 if m != nil && m.Name != nil { 1602 return *m.Name 1603 } 1604 return "" 1605 } 1606 1607 func (m *ApplicationResourceDeleteRequest) GetNamespace() string { 1608 if m != nil && m.Namespace != nil { 1609 return *m.Namespace 1610 } 1611 return "" 1612 } 1613 1614 func (m *ApplicationResourceDeleteRequest) GetResourceName() string { 1615 if m != nil && m.ResourceName != nil { 1616 return *m.ResourceName 1617 } 1618 return "" 1619 } 1620 1621 func (m *ApplicationResourceDeleteRequest) GetVersion() string { 1622 if m != nil && m.Version != nil { 1623 return *m.Version 1624 } 1625 return "" 1626 } 1627 1628 func (m *ApplicationResourceDeleteRequest) GetGroup() string { 1629 if m != nil && m.Group != nil { 1630 return *m.Group 1631 } 1632 return "" 1633 } 1634 1635 func (m *ApplicationResourceDeleteRequest) GetKind() string { 1636 if m != nil && m.Kind != nil { 1637 return *m.Kind 1638 } 1639 return "" 1640 } 1641 1642 func (m *ApplicationResourceDeleteRequest) GetForce() bool { 1643 if m != nil && m.Force != nil { 1644 return *m.Force 1645 } 1646 return false 1647 } 1648 1649 func (m *ApplicationResourceDeleteRequest) GetOrphan() bool { 1650 if m != nil && m.Orphan != nil { 1651 return *m.Orphan 1652 } 1653 return false 1654 } 1655 1656 func (m *ApplicationResourceDeleteRequest) GetAppNamespace() string { 1657 if m != nil && m.AppNamespace != nil { 1658 return *m.AppNamespace 1659 } 1660 return "" 1661 } 1662 1663 func (m *ApplicationResourceDeleteRequest) GetProject() string { 1664 if m != nil && m.Project != nil { 1665 return *m.Project 1666 } 1667 return "" 1668 } 1669 1670 type ResourceActionRunRequest struct { 1671 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1672 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1673 ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` 1674 Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` 1675 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 1676 Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` 1677 Action *string `protobuf:"bytes,7,req,name=action" json:"action,omitempty"` 1678 AppNamespace *string `protobuf:"bytes,8,opt,name=appNamespace" json:"appNamespace,omitempty"` 1679 Project *string `protobuf:"bytes,9,opt,name=project" json:"project,omitempty"` 1680 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1681 XXX_unrecognized []byte `json:"-"` 1682 XXX_sizecache int32 `json:"-"` 1683 } 1684 1685 func (m *ResourceActionRunRequest) Reset() { *m = ResourceActionRunRequest{} } 1686 func (m *ResourceActionRunRequest) String() string { return proto.CompactTextString(m) } 1687 func (*ResourceActionRunRequest) ProtoMessage() {} 1688 func (*ResourceActionRunRequest) Descriptor() ([]byte, []int) { 1689 return fileDescriptor_df6e82b174b5eaec, []int{20} 1690 } 1691 func (m *ResourceActionRunRequest) XXX_Unmarshal(b []byte) error { 1692 return m.Unmarshal(b) 1693 } 1694 func (m *ResourceActionRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1695 if deterministic { 1696 return xxx_messageInfo_ResourceActionRunRequest.Marshal(b, m, deterministic) 1697 } else { 1698 b = b[:cap(b)] 1699 n, err := m.MarshalToSizedBuffer(b) 1700 if err != nil { 1701 return nil, err 1702 } 1703 return b[:n], nil 1704 } 1705 } 1706 func (m *ResourceActionRunRequest) XXX_Merge(src proto.Message) { 1707 xxx_messageInfo_ResourceActionRunRequest.Merge(m, src) 1708 } 1709 func (m *ResourceActionRunRequest) XXX_Size() int { 1710 return m.Size() 1711 } 1712 func (m *ResourceActionRunRequest) XXX_DiscardUnknown() { 1713 xxx_messageInfo_ResourceActionRunRequest.DiscardUnknown(m) 1714 } 1715 1716 var xxx_messageInfo_ResourceActionRunRequest proto.InternalMessageInfo 1717 1718 func (m *ResourceActionRunRequest) GetName() string { 1719 if m != nil && m.Name != nil { 1720 return *m.Name 1721 } 1722 return "" 1723 } 1724 1725 func (m *ResourceActionRunRequest) GetNamespace() string { 1726 if m != nil && m.Namespace != nil { 1727 return *m.Namespace 1728 } 1729 return "" 1730 } 1731 1732 func (m *ResourceActionRunRequest) GetResourceName() string { 1733 if m != nil && m.ResourceName != nil { 1734 return *m.ResourceName 1735 } 1736 return "" 1737 } 1738 1739 func (m *ResourceActionRunRequest) GetVersion() string { 1740 if m != nil && m.Version != nil { 1741 return *m.Version 1742 } 1743 return "" 1744 } 1745 1746 func (m *ResourceActionRunRequest) GetGroup() string { 1747 if m != nil && m.Group != nil { 1748 return *m.Group 1749 } 1750 return "" 1751 } 1752 1753 func (m *ResourceActionRunRequest) GetKind() string { 1754 if m != nil && m.Kind != nil { 1755 return *m.Kind 1756 } 1757 return "" 1758 } 1759 1760 func (m *ResourceActionRunRequest) GetAction() string { 1761 if m != nil && m.Action != nil { 1762 return *m.Action 1763 } 1764 return "" 1765 } 1766 1767 func (m *ResourceActionRunRequest) GetAppNamespace() string { 1768 if m != nil && m.AppNamespace != nil { 1769 return *m.AppNamespace 1770 } 1771 return "" 1772 } 1773 1774 func (m *ResourceActionRunRequest) GetProject() string { 1775 if m != nil && m.Project != nil { 1776 return *m.Project 1777 } 1778 return "" 1779 } 1780 1781 type ResourceActionsListResponse struct { 1782 Actions []*v1alpha1.ResourceAction `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"` 1783 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1784 XXX_unrecognized []byte `json:"-"` 1785 XXX_sizecache int32 `json:"-"` 1786 } 1787 1788 func (m *ResourceActionsListResponse) Reset() { *m = ResourceActionsListResponse{} } 1789 func (m *ResourceActionsListResponse) String() string { return proto.CompactTextString(m) } 1790 func (*ResourceActionsListResponse) ProtoMessage() {} 1791 func (*ResourceActionsListResponse) Descriptor() ([]byte, []int) { 1792 return fileDescriptor_df6e82b174b5eaec, []int{21} 1793 } 1794 func (m *ResourceActionsListResponse) XXX_Unmarshal(b []byte) error { 1795 return m.Unmarshal(b) 1796 } 1797 func (m *ResourceActionsListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1798 if deterministic { 1799 return xxx_messageInfo_ResourceActionsListResponse.Marshal(b, m, deterministic) 1800 } else { 1801 b = b[:cap(b)] 1802 n, err := m.MarshalToSizedBuffer(b) 1803 if err != nil { 1804 return nil, err 1805 } 1806 return b[:n], nil 1807 } 1808 } 1809 func (m *ResourceActionsListResponse) XXX_Merge(src proto.Message) { 1810 xxx_messageInfo_ResourceActionsListResponse.Merge(m, src) 1811 } 1812 func (m *ResourceActionsListResponse) XXX_Size() int { 1813 return m.Size() 1814 } 1815 func (m *ResourceActionsListResponse) XXX_DiscardUnknown() { 1816 xxx_messageInfo_ResourceActionsListResponse.DiscardUnknown(m) 1817 } 1818 1819 var xxx_messageInfo_ResourceActionsListResponse proto.InternalMessageInfo 1820 1821 func (m *ResourceActionsListResponse) GetActions() []*v1alpha1.ResourceAction { 1822 if m != nil { 1823 return m.Actions 1824 } 1825 return nil 1826 } 1827 1828 type ApplicationResourceResponse struct { 1829 Manifest *string `protobuf:"bytes,1,req,name=manifest" json:"manifest,omitempty"` 1830 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1831 XXX_unrecognized []byte `json:"-"` 1832 XXX_sizecache int32 `json:"-"` 1833 } 1834 1835 func (m *ApplicationResourceResponse) Reset() { *m = ApplicationResourceResponse{} } 1836 func (m *ApplicationResourceResponse) String() string { return proto.CompactTextString(m) } 1837 func (*ApplicationResourceResponse) ProtoMessage() {} 1838 func (*ApplicationResourceResponse) Descriptor() ([]byte, []int) { 1839 return fileDescriptor_df6e82b174b5eaec, []int{22} 1840 } 1841 func (m *ApplicationResourceResponse) XXX_Unmarshal(b []byte) error { 1842 return m.Unmarshal(b) 1843 } 1844 func (m *ApplicationResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1845 if deterministic { 1846 return xxx_messageInfo_ApplicationResourceResponse.Marshal(b, m, deterministic) 1847 } else { 1848 b = b[:cap(b)] 1849 n, err := m.MarshalToSizedBuffer(b) 1850 if err != nil { 1851 return nil, err 1852 } 1853 return b[:n], nil 1854 } 1855 } 1856 func (m *ApplicationResourceResponse) XXX_Merge(src proto.Message) { 1857 xxx_messageInfo_ApplicationResourceResponse.Merge(m, src) 1858 } 1859 func (m *ApplicationResourceResponse) XXX_Size() int { 1860 return m.Size() 1861 } 1862 func (m *ApplicationResourceResponse) XXX_DiscardUnknown() { 1863 xxx_messageInfo_ApplicationResourceResponse.DiscardUnknown(m) 1864 } 1865 1866 var xxx_messageInfo_ApplicationResourceResponse proto.InternalMessageInfo 1867 1868 func (m *ApplicationResourceResponse) GetManifest() string { 1869 if m != nil && m.Manifest != nil { 1870 return *m.Manifest 1871 } 1872 return "" 1873 } 1874 1875 type ApplicationPodLogsQuery struct { 1876 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 1877 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 1878 PodName *string `protobuf:"bytes,3,opt,name=podName" json:"podName,omitempty"` 1879 Container *string `protobuf:"bytes,4,opt,name=container" json:"container,omitempty"` 1880 SinceSeconds *int64 `protobuf:"varint,5,opt,name=sinceSeconds" json:"sinceSeconds,omitempty"` 1881 SinceTime *v1.Time `protobuf:"bytes,6,opt,name=sinceTime" json:"sinceTime,omitempty"` 1882 TailLines *int64 `protobuf:"varint,7,opt,name=tailLines" json:"tailLines,omitempty"` 1883 Follow *bool `protobuf:"varint,8,opt,name=follow" json:"follow,omitempty"` 1884 UntilTime *string `protobuf:"bytes,9,opt,name=untilTime" json:"untilTime,omitempty"` 1885 Filter *string `protobuf:"bytes,10,opt,name=filter" json:"filter,omitempty"` 1886 Kind *string `protobuf:"bytes,11,opt,name=kind" json:"kind,omitempty"` 1887 Group *string `protobuf:"bytes,12,opt,name=group" json:"group,omitempty"` 1888 ResourceName *string `protobuf:"bytes,13,opt,name=resourceName" json:"resourceName,omitempty"` 1889 Previous *bool `protobuf:"varint,14,opt,name=previous" json:"previous,omitempty"` 1890 AppNamespace *string `protobuf:"bytes,15,opt,name=appNamespace" json:"appNamespace,omitempty"` 1891 Project *string `protobuf:"bytes,16,opt,name=project" json:"project,omitempty"` 1892 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1893 XXX_unrecognized []byte `json:"-"` 1894 XXX_sizecache int32 `json:"-"` 1895 } 1896 1897 func (m *ApplicationPodLogsQuery) Reset() { *m = ApplicationPodLogsQuery{} } 1898 func (m *ApplicationPodLogsQuery) String() string { return proto.CompactTextString(m) } 1899 func (*ApplicationPodLogsQuery) ProtoMessage() {} 1900 func (*ApplicationPodLogsQuery) Descriptor() ([]byte, []int) { 1901 return fileDescriptor_df6e82b174b5eaec, []int{23} 1902 } 1903 func (m *ApplicationPodLogsQuery) XXX_Unmarshal(b []byte) error { 1904 return m.Unmarshal(b) 1905 } 1906 func (m *ApplicationPodLogsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1907 if deterministic { 1908 return xxx_messageInfo_ApplicationPodLogsQuery.Marshal(b, m, deterministic) 1909 } else { 1910 b = b[:cap(b)] 1911 n, err := m.MarshalToSizedBuffer(b) 1912 if err != nil { 1913 return nil, err 1914 } 1915 return b[:n], nil 1916 } 1917 } 1918 func (m *ApplicationPodLogsQuery) XXX_Merge(src proto.Message) { 1919 xxx_messageInfo_ApplicationPodLogsQuery.Merge(m, src) 1920 } 1921 func (m *ApplicationPodLogsQuery) XXX_Size() int { 1922 return m.Size() 1923 } 1924 func (m *ApplicationPodLogsQuery) XXX_DiscardUnknown() { 1925 xxx_messageInfo_ApplicationPodLogsQuery.DiscardUnknown(m) 1926 } 1927 1928 var xxx_messageInfo_ApplicationPodLogsQuery proto.InternalMessageInfo 1929 1930 func (m *ApplicationPodLogsQuery) GetName() string { 1931 if m != nil && m.Name != nil { 1932 return *m.Name 1933 } 1934 return "" 1935 } 1936 1937 func (m *ApplicationPodLogsQuery) GetNamespace() string { 1938 if m != nil && m.Namespace != nil { 1939 return *m.Namespace 1940 } 1941 return "" 1942 } 1943 1944 func (m *ApplicationPodLogsQuery) GetPodName() string { 1945 if m != nil && m.PodName != nil { 1946 return *m.PodName 1947 } 1948 return "" 1949 } 1950 1951 func (m *ApplicationPodLogsQuery) GetContainer() string { 1952 if m != nil && m.Container != nil { 1953 return *m.Container 1954 } 1955 return "" 1956 } 1957 1958 func (m *ApplicationPodLogsQuery) GetSinceSeconds() int64 { 1959 if m != nil && m.SinceSeconds != nil { 1960 return *m.SinceSeconds 1961 } 1962 return 0 1963 } 1964 1965 func (m *ApplicationPodLogsQuery) GetSinceTime() *v1.Time { 1966 if m != nil { 1967 return m.SinceTime 1968 } 1969 return nil 1970 } 1971 1972 func (m *ApplicationPodLogsQuery) GetTailLines() int64 { 1973 if m != nil && m.TailLines != nil { 1974 return *m.TailLines 1975 } 1976 return 0 1977 } 1978 1979 func (m *ApplicationPodLogsQuery) GetFollow() bool { 1980 if m != nil && m.Follow != nil { 1981 return *m.Follow 1982 } 1983 return false 1984 } 1985 1986 func (m *ApplicationPodLogsQuery) GetUntilTime() string { 1987 if m != nil && m.UntilTime != nil { 1988 return *m.UntilTime 1989 } 1990 return "" 1991 } 1992 1993 func (m *ApplicationPodLogsQuery) GetFilter() string { 1994 if m != nil && m.Filter != nil { 1995 return *m.Filter 1996 } 1997 return "" 1998 } 1999 2000 func (m *ApplicationPodLogsQuery) GetKind() string { 2001 if m != nil && m.Kind != nil { 2002 return *m.Kind 2003 } 2004 return "" 2005 } 2006 2007 func (m *ApplicationPodLogsQuery) GetGroup() string { 2008 if m != nil && m.Group != nil { 2009 return *m.Group 2010 } 2011 return "" 2012 } 2013 2014 func (m *ApplicationPodLogsQuery) GetResourceName() string { 2015 if m != nil && m.ResourceName != nil { 2016 return *m.ResourceName 2017 } 2018 return "" 2019 } 2020 2021 func (m *ApplicationPodLogsQuery) GetPrevious() bool { 2022 if m != nil && m.Previous != nil { 2023 return *m.Previous 2024 } 2025 return false 2026 } 2027 2028 func (m *ApplicationPodLogsQuery) GetAppNamespace() string { 2029 if m != nil && m.AppNamespace != nil { 2030 return *m.AppNamespace 2031 } 2032 return "" 2033 } 2034 2035 func (m *ApplicationPodLogsQuery) GetProject() string { 2036 if m != nil && m.Project != nil { 2037 return *m.Project 2038 } 2039 return "" 2040 } 2041 2042 type LogEntry struct { 2043 Content *string `protobuf:"bytes,1,req,name=content" json:"content,omitempty"` 2044 // deprecated in favor of timeStampStr since meta.v1.Time don't support nano time 2045 TimeStamp *v1.Time `protobuf:"bytes,2,req,name=timeStamp" json:"timeStamp,omitempty"` 2046 Last *bool `protobuf:"varint,3,req,name=last" json:"last,omitempty"` 2047 TimeStampStr *string `protobuf:"bytes,4,req,name=timeStampStr" json:"timeStampStr,omitempty"` 2048 PodName *string `protobuf:"bytes,5,req,name=podName" json:"podName,omitempty"` 2049 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2050 XXX_unrecognized []byte `json:"-"` 2051 XXX_sizecache int32 `json:"-"` 2052 } 2053 2054 func (m *LogEntry) Reset() { *m = LogEntry{} } 2055 func (m *LogEntry) String() string { return proto.CompactTextString(m) } 2056 func (*LogEntry) ProtoMessage() {} 2057 func (*LogEntry) Descriptor() ([]byte, []int) { 2058 return fileDescriptor_df6e82b174b5eaec, []int{24} 2059 } 2060 func (m *LogEntry) XXX_Unmarshal(b []byte) error { 2061 return m.Unmarshal(b) 2062 } 2063 func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2064 if deterministic { 2065 return xxx_messageInfo_LogEntry.Marshal(b, m, deterministic) 2066 } else { 2067 b = b[:cap(b)] 2068 n, err := m.MarshalToSizedBuffer(b) 2069 if err != nil { 2070 return nil, err 2071 } 2072 return b[:n], nil 2073 } 2074 } 2075 func (m *LogEntry) XXX_Merge(src proto.Message) { 2076 xxx_messageInfo_LogEntry.Merge(m, src) 2077 } 2078 func (m *LogEntry) XXX_Size() int { 2079 return m.Size() 2080 } 2081 func (m *LogEntry) XXX_DiscardUnknown() { 2082 xxx_messageInfo_LogEntry.DiscardUnknown(m) 2083 } 2084 2085 var xxx_messageInfo_LogEntry proto.InternalMessageInfo 2086 2087 func (m *LogEntry) GetContent() string { 2088 if m != nil && m.Content != nil { 2089 return *m.Content 2090 } 2091 return "" 2092 } 2093 2094 func (m *LogEntry) GetTimeStamp() *v1.Time { 2095 if m != nil { 2096 return m.TimeStamp 2097 } 2098 return nil 2099 } 2100 2101 func (m *LogEntry) GetLast() bool { 2102 if m != nil && m.Last != nil { 2103 return *m.Last 2104 } 2105 return false 2106 } 2107 2108 func (m *LogEntry) GetTimeStampStr() string { 2109 if m != nil && m.TimeStampStr != nil { 2110 return *m.TimeStampStr 2111 } 2112 return "" 2113 } 2114 2115 func (m *LogEntry) GetPodName() string { 2116 if m != nil && m.PodName != nil { 2117 return *m.PodName 2118 } 2119 return "" 2120 } 2121 2122 type OperationTerminateRequest struct { 2123 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 2124 AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` 2125 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 2126 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2127 XXX_unrecognized []byte `json:"-"` 2128 XXX_sizecache int32 `json:"-"` 2129 } 2130 2131 func (m *OperationTerminateRequest) Reset() { *m = OperationTerminateRequest{} } 2132 func (m *OperationTerminateRequest) String() string { return proto.CompactTextString(m) } 2133 func (*OperationTerminateRequest) ProtoMessage() {} 2134 func (*OperationTerminateRequest) Descriptor() ([]byte, []int) { 2135 return fileDescriptor_df6e82b174b5eaec, []int{25} 2136 } 2137 func (m *OperationTerminateRequest) XXX_Unmarshal(b []byte) error { 2138 return m.Unmarshal(b) 2139 } 2140 func (m *OperationTerminateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2141 if deterministic { 2142 return xxx_messageInfo_OperationTerminateRequest.Marshal(b, m, deterministic) 2143 } else { 2144 b = b[:cap(b)] 2145 n, err := m.MarshalToSizedBuffer(b) 2146 if err != nil { 2147 return nil, err 2148 } 2149 return b[:n], nil 2150 } 2151 } 2152 func (m *OperationTerminateRequest) XXX_Merge(src proto.Message) { 2153 xxx_messageInfo_OperationTerminateRequest.Merge(m, src) 2154 } 2155 func (m *OperationTerminateRequest) XXX_Size() int { 2156 return m.Size() 2157 } 2158 func (m *OperationTerminateRequest) XXX_DiscardUnknown() { 2159 xxx_messageInfo_OperationTerminateRequest.DiscardUnknown(m) 2160 } 2161 2162 var xxx_messageInfo_OperationTerminateRequest proto.InternalMessageInfo 2163 2164 func (m *OperationTerminateRequest) GetName() string { 2165 if m != nil && m.Name != nil { 2166 return *m.Name 2167 } 2168 return "" 2169 } 2170 2171 func (m *OperationTerminateRequest) GetAppNamespace() string { 2172 if m != nil && m.AppNamespace != nil { 2173 return *m.AppNamespace 2174 } 2175 return "" 2176 } 2177 2178 func (m *OperationTerminateRequest) GetProject() string { 2179 if m != nil && m.Project != nil { 2180 return *m.Project 2181 } 2182 return "" 2183 } 2184 2185 type ApplicationSyncWindowsQuery struct { 2186 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 2187 AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` 2188 Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` 2189 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2190 XXX_unrecognized []byte `json:"-"` 2191 XXX_sizecache int32 `json:"-"` 2192 } 2193 2194 func (m *ApplicationSyncWindowsQuery) Reset() { *m = ApplicationSyncWindowsQuery{} } 2195 func (m *ApplicationSyncWindowsQuery) String() string { return proto.CompactTextString(m) } 2196 func (*ApplicationSyncWindowsQuery) ProtoMessage() {} 2197 func (*ApplicationSyncWindowsQuery) Descriptor() ([]byte, []int) { 2198 return fileDescriptor_df6e82b174b5eaec, []int{26} 2199 } 2200 func (m *ApplicationSyncWindowsQuery) XXX_Unmarshal(b []byte) error { 2201 return m.Unmarshal(b) 2202 } 2203 func (m *ApplicationSyncWindowsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2204 if deterministic { 2205 return xxx_messageInfo_ApplicationSyncWindowsQuery.Marshal(b, m, deterministic) 2206 } else { 2207 b = b[:cap(b)] 2208 n, err := m.MarshalToSizedBuffer(b) 2209 if err != nil { 2210 return nil, err 2211 } 2212 return b[:n], nil 2213 } 2214 } 2215 func (m *ApplicationSyncWindowsQuery) XXX_Merge(src proto.Message) { 2216 xxx_messageInfo_ApplicationSyncWindowsQuery.Merge(m, src) 2217 } 2218 func (m *ApplicationSyncWindowsQuery) XXX_Size() int { 2219 return m.Size() 2220 } 2221 func (m *ApplicationSyncWindowsQuery) XXX_DiscardUnknown() { 2222 xxx_messageInfo_ApplicationSyncWindowsQuery.DiscardUnknown(m) 2223 } 2224 2225 var xxx_messageInfo_ApplicationSyncWindowsQuery proto.InternalMessageInfo 2226 2227 func (m *ApplicationSyncWindowsQuery) GetName() string { 2228 if m != nil && m.Name != nil { 2229 return *m.Name 2230 } 2231 return "" 2232 } 2233 2234 func (m *ApplicationSyncWindowsQuery) GetAppNamespace() string { 2235 if m != nil && m.AppNamespace != nil { 2236 return *m.AppNamespace 2237 } 2238 return "" 2239 } 2240 2241 func (m *ApplicationSyncWindowsQuery) GetProject() string { 2242 if m != nil && m.Project != nil { 2243 return *m.Project 2244 } 2245 return "" 2246 } 2247 2248 type ApplicationSyncWindowsResponse struct { 2249 ActiveWindows []*ApplicationSyncWindow `protobuf:"bytes,1,rep,name=activeWindows" json:"activeWindows,omitempty"` 2250 AssignedWindows []*ApplicationSyncWindow `protobuf:"bytes,2,rep,name=assignedWindows" json:"assignedWindows,omitempty"` 2251 CanSync *bool `protobuf:"varint,3,req,name=canSync" json:"canSync,omitempty"` 2252 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2253 XXX_unrecognized []byte `json:"-"` 2254 XXX_sizecache int32 `json:"-"` 2255 } 2256 2257 func (m *ApplicationSyncWindowsResponse) Reset() { *m = ApplicationSyncWindowsResponse{} } 2258 func (m *ApplicationSyncWindowsResponse) String() string { return proto.CompactTextString(m) } 2259 func (*ApplicationSyncWindowsResponse) ProtoMessage() {} 2260 func (*ApplicationSyncWindowsResponse) Descriptor() ([]byte, []int) { 2261 return fileDescriptor_df6e82b174b5eaec, []int{27} 2262 } 2263 func (m *ApplicationSyncWindowsResponse) XXX_Unmarshal(b []byte) error { 2264 return m.Unmarshal(b) 2265 } 2266 func (m *ApplicationSyncWindowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2267 if deterministic { 2268 return xxx_messageInfo_ApplicationSyncWindowsResponse.Marshal(b, m, deterministic) 2269 } else { 2270 b = b[:cap(b)] 2271 n, err := m.MarshalToSizedBuffer(b) 2272 if err != nil { 2273 return nil, err 2274 } 2275 return b[:n], nil 2276 } 2277 } 2278 func (m *ApplicationSyncWindowsResponse) XXX_Merge(src proto.Message) { 2279 xxx_messageInfo_ApplicationSyncWindowsResponse.Merge(m, src) 2280 } 2281 func (m *ApplicationSyncWindowsResponse) XXX_Size() int { 2282 return m.Size() 2283 } 2284 func (m *ApplicationSyncWindowsResponse) XXX_DiscardUnknown() { 2285 xxx_messageInfo_ApplicationSyncWindowsResponse.DiscardUnknown(m) 2286 } 2287 2288 var xxx_messageInfo_ApplicationSyncWindowsResponse proto.InternalMessageInfo 2289 2290 func (m *ApplicationSyncWindowsResponse) GetActiveWindows() []*ApplicationSyncWindow { 2291 if m != nil { 2292 return m.ActiveWindows 2293 } 2294 return nil 2295 } 2296 2297 func (m *ApplicationSyncWindowsResponse) GetAssignedWindows() []*ApplicationSyncWindow { 2298 if m != nil { 2299 return m.AssignedWindows 2300 } 2301 return nil 2302 } 2303 2304 func (m *ApplicationSyncWindowsResponse) GetCanSync() bool { 2305 if m != nil && m.CanSync != nil { 2306 return *m.CanSync 2307 } 2308 return false 2309 } 2310 2311 type ApplicationSyncWindow struct { 2312 Kind *string `protobuf:"bytes,1,req,name=kind" json:"kind,omitempty"` 2313 Schedule *string `protobuf:"bytes,2,req,name=schedule" json:"schedule,omitempty"` 2314 Duration *string `protobuf:"bytes,3,req,name=duration" json:"duration,omitempty"` 2315 ManualSync *bool `protobuf:"varint,4,req,name=manualSync" json:"manualSync,omitempty"` 2316 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2317 XXX_unrecognized []byte `json:"-"` 2318 XXX_sizecache int32 `json:"-"` 2319 } 2320 2321 func (m *ApplicationSyncWindow) Reset() { *m = ApplicationSyncWindow{} } 2322 func (m *ApplicationSyncWindow) String() string { return proto.CompactTextString(m) } 2323 func (*ApplicationSyncWindow) ProtoMessage() {} 2324 func (*ApplicationSyncWindow) Descriptor() ([]byte, []int) { 2325 return fileDescriptor_df6e82b174b5eaec, []int{28} 2326 } 2327 func (m *ApplicationSyncWindow) XXX_Unmarshal(b []byte) error { 2328 return m.Unmarshal(b) 2329 } 2330 func (m *ApplicationSyncWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2331 if deterministic { 2332 return xxx_messageInfo_ApplicationSyncWindow.Marshal(b, m, deterministic) 2333 } else { 2334 b = b[:cap(b)] 2335 n, err := m.MarshalToSizedBuffer(b) 2336 if err != nil { 2337 return nil, err 2338 } 2339 return b[:n], nil 2340 } 2341 } 2342 func (m *ApplicationSyncWindow) XXX_Merge(src proto.Message) { 2343 xxx_messageInfo_ApplicationSyncWindow.Merge(m, src) 2344 } 2345 func (m *ApplicationSyncWindow) XXX_Size() int { 2346 return m.Size() 2347 } 2348 func (m *ApplicationSyncWindow) XXX_DiscardUnknown() { 2349 xxx_messageInfo_ApplicationSyncWindow.DiscardUnknown(m) 2350 } 2351 2352 var xxx_messageInfo_ApplicationSyncWindow proto.InternalMessageInfo 2353 2354 func (m *ApplicationSyncWindow) GetKind() string { 2355 if m != nil && m.Kind != nil { 2356 return *m.Kind 2357 } 2358 return "" 2359 } 2360 2361 func (m *ApplicationSyncWindow) GetSchedule() string { 2362 if m != nil && m.Schedule != nil { 2363 return *m.Schedule 2364 } 2365 return "" 2366 } 2367 2368 func (m *ApplicationSyncWindow) GetDuration() string { 2369 if m != nil && m.Duration != nil { 2370 return *m.Duration 2371 } 2372 return "" 2373 } 2374 2375 func (m *ApplicationSyncWindow) GetManualSync() bool { 2376 if m != nil && m.ManualSync != nil { 2377 return *m.ManualSync 2378 } 2379 return false 2380 } 2381 2382 type OperationTerminateResponse struct { 2383 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2384 XXX_unrecognized []byte `json:"-"` 2385 XXX_sizecache int32 `json:"-"` 2386 } 2387 2388 func (m *OperationTerminateResponse) Reset() { *m = OperationTerminateResponse{} } 2389 func (m *OperationTerminateResponse) String() string { return proto.CompactTextString(m) } 2390 func (*OperationTerminateResponse) ProtoMessage() {} 2391 func (*OperationTerminateResponse) Descriptor() ([]byte, []int) { 2392 return fileDescriptor_df6e82b174b5eaec, []int{29} 2393 } 2394 func (m *OperationTerminateResponse) XXX_Unmarshal(b []byte) error { 2395 return m.Unmarshal(b) 2396 } 2397 func (m *OperationTerminateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2398 if deterministic { 2399 return xxx_messageInfo_OperationTerminateResponse.Marshal(b, m, deterministic) 2400 } else { 2401 b = b[:cap(b)] 2402 n, err := m.MarshalToSizedBuffer(b) 2403 if err != nil { 2404 return nil, err 2405 } 2406 return b[:n], nil 2407 } 2408 } 2409 func (m *OperationTerminateResponse) XXX_Merge(src proto.Message) { 2410 xxx_messageInfo_OperationTerminateResponse.Merge(m, src) 2411 } 2412 func (m *OperationTerminateResponse) XXX_Size() int { 2413 return m.Size() 2414 } 2415 func (m *OperationTerminateResponse) XXX_DiscardUnknown() { 2416 xxx_messageInfo_OperationTerminateResponse.DiscardUnknown(m) 2417 } 2418 2419 var xxx_messageInfo_OperationTerminateResponse proto.InternalMessageInfo 2420 2421 type ResourcesQuery struct { 2422 ApplicationName *string `protobuf:"bytes,1,req,name=applicationName" json:"applicationName,omitempty"` 2423 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 2424 Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` 2425 Version *string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` 2426 Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` 2427 Kind *string `protobuf:"bytes,6,opt,name=kind" json:"kind,omitempty"` 2428 AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` 2429 Project *string `protobuf:"bytes,8,opt,name=project" json:"project,omitempty"` 2430 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2431 XXX_unrecognized []byte `json:"-"` 2432 XXX_sizecache int32 `json:"-"` 2433 } 2434 2435 func (m *ResourcesQuery) Reset() { *m = ResourcesQuery{} } 2436 func (m *ResourcesQuery) String() string { return proto.CompactTextString(m) } 2437 func (*ResourcesQuery) ProtoMessage() {} 2438 func (*ResourcesQuery) Descriptor() ([]byte, []int) { 2439 return fileDescriptor_df6e82b174b5eaec, []int{30} 2440 } 2441 func (m *ResourcesQuery) XXX_Unmarshal(b []byte) error { 2442 return m.Unmarshal(b) 2443 } 2444 func (m *ResourcesQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2445 if deterministic { 2446 return xxx_messageInfo_ResourcesQuery.Marshal(b, m, deterministic) 2447 } else { 2448 b = b[:cap(b)] 2449 n, err := m.MarshalToSizedBuffer(b) 2450 if err != nil { 2451 return nil, err 2452 } 2453 return b[:n], nil 2454 } 2455 } 2456 func (m *ResourcesQuery) XXX_Merge(src proto.Message) { 2457 xxx_messageInfo_ResourcesQuery.Merge(m, src) 2458 } 2459 func (m *ResourcesQuery) XXX_Size() int { 2460 return m.Size() 2461 } 2462 func (m *ResourcesQuery) XXX_DiscardUnknown() { 2463 xxx_messageInfo_ResourcesQuery.DiscardUnknown(m) 2464 } 2465 2466 var xxx_messageInfo_ResourcesQuery proto.InternalMessageInfo 2467 2468 func (m *ResourcesQuery) GetApplicationName() string { 2469 if m != nil && m.ApplicationName != nil { 2470 return *m.ApplicationName 2471 } 2472 return "" 2473 } 2474 2475 func (m *ResourcesQuery) GetNamespace() string { 2476 if m != nil && m.Namespace != nil { 2477 return *m.Namespace 2478 } 2479 return "" 2480 } 2481 2482 func (m *ResourcesQuery) GetName() string { 2483 if m != nil && m.Name != nil { 2484 return *m.Name 2485 } 2486 return "" 2487 } 2488 2489 func (m *ResourcesQuery) GetVersion() string { 2490 if m != nil && m.Version != nil { 2491 return *m.Version 2492 } 2493 return "" 2494 } 2495 2496 func (m *ResourcesQuery) GetGroup() string { 2497 if m != nil && m.Group != nil { 2498 return *m.Group 2499 } 2500 return "" 2501 } 2502 2503 func (m *ResourcesQuery) GetKind() string { 2504 if m != nil && m.Kind != nil { 2505 return *m.Kind 2506 } 2507 return "" 2508 } 2509 2510 func (m *ResourcesQuery) GetAppNamespace() string { 2511 if m != nil && m.AppNamespace != nil { 2512 return *m.AppNamespace 2513 } 2514 return "" 2515 } 2516 2517 func (m *ResourcesQuery) GetProject() string { 2518 if m != nil && m.Project != nil { 2519 return *m.Project 2520 } 2521 return "" 2522 } 2523 2524 type ManagedResourcesResponse struct { 2525 Items []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 2526 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2527 XXX_unrecognized []byte `json:"-"` 2528 XXX_sizecache int32 `json:"-"` 2529 } 2530 2531 func (m *ManagedResourcesResponse) Reset() { *m = ManagedResourcesResponse{} } 2532 func (m *ManagedResourcesResponse) String() string { return proto.CompactTextString(m) } 2533 func (*ManagedResourcesResponse) ProtoMessage() {} 2534 func (*ManagedResourcesResponse) Descriptor() ([]byte, []int) { 2535 return fileDescriptor_df6e82b174b5eaec, []int{31} 2536 } 2537 func (m *ManagedResourcesResponse) XXX_Unmarshal(b []byte) error { 2538 return m.Unmarshal(b) 2539 } 2540 func (m *ManagedResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2541 if deterministic { 2542 return xxx_messageInfo_ManagedResourcesResponse.Marshal(b, m, deterministic) 2543 } else { 2544 b = b[:cap(b)] 2545 n, err := m.MarshalToSizedBuffer(b) 2546 if err != nil { 2547 return nil, err 2548 } 2549 return b[:n], nil 2550 } 2551 } 2552 func (m *ManagedResourcesResponse) XXX_Merge(src proto.Message) { 2553 xxx_messageInfo_ManagedResourcesResponse.Merge(m, src) 2554 } 2555 func (m *ManagedResourcesResponse) XXX_Size() int { 2556 return m.Size() 2557 } 2558 func (m *ManagedResourcesResponse) XXX_DiscardUnknown() { 2559 xxx_messageInfo_ManagedResourcesResponse.DiscardUnknown(m) 2560 } 2561 2562 var xxx_messageInfo_ManagedResourcesResponse proto.InternalMessageInfo 2563 2564 func (m *ManagedResourcesResponse) GetItems() []*v1alpha1.ResourceDiff { 2565 if m != nil { 2566 return m.Items 2567 } 2568 return nil 2569 } 2570 2571 type LinkInfo struct { 2572 Title *string `protobuf:"bytes,1,req,name=title" json:"title,omitempty"` 2573 Url *string `protobuf:"bytes,2,req,name=url" json:"url,omitempty"` 2574 Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` 2575 IconClass *string `protobuf:"bytes,4,opt,name=iconClass" json:"iconClass,omitempty"` 2576 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2577 XXX_unrecognized []byte `json:"-"` 2578 XXX_sizecache int32 `json:"-"` 2579 } 2580 2581 func (m *LinkInfo) Reset() { *m = LinkInfo{} } 2582 func (m *LinkInfo) String() string { return proto.CompactTextString(m) } 2583 func (*LinkInfo) ProtoMessage() {} 2584 func (*LinkInfo) Descriptor() ([]byte, []int) { 2585 return fileDescriptor_df6e82b174b5eaec, []int{32} 2586 } 2587 func (m *LinkInfo) XXX_Unmarshal(b []byte) error { 2588 return m.Unmarshal(b) 2589 } 2590 func (m *LinkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2591 if deterministic { 2592 return xxx_messageInfo_LinkInfo.Marshal(b, m, deterministic) 2593 } else { 2594 b = b[:cap(b)] 2595 n, err := m.MarshalToSizedBuffer(b) 2596 if err != nil { 2597 return nil, err 2598 } 2599 return b[:n], nil 2600 } 2601 } 2602 func (m *LinkInfo) XXX_Merge(src proto.Message) { 2603 xxx_messageInfo_LinkInfo.Merge(m, src) 2604 } 2605 func (m *LinkInfo) XXX_Size() int { 2606 return m.Size() 2607 } 2608 func (m *LinkInfo) XXX_DiscardUnknown() { 2609 xxx_messageInfo_LinkInfo.DiscardUnknown(m) 2610 } 2611 2612 var xxx_messageInfo_LinkInfo proto.InternalMessageInfo 2613 2614 func (m *LinkInfo) GetTitle() string { 2615 if m != nil && m.Title != nil { 2616 return *m.Title 2617 } 2618 return "" 2619 } 2620 2621 func (m *LinkInfo) GetUrl() string { 2622 if m != nil && m.Url != nil { 2623 return *m.Url 2624 } 2625 return "" 2626 } 2627 2628 func (m *LinkInfo) GetDescription() string { 2629 if m != nil && m.Description != nil { 2630 return *m.Description 2631 } 2632 return "" 2633 } 2634 2635 func (m *LinkInfo) GetIconClass() string { 2636 if m != nil && m.IconClass != nil { 2637 return *m.IconClass 2638 } 2639 return "" 2640 } 2641 2642 type LinksResponse struct { 2643 Items []*LinkInfo `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` 2644 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2645 XXX_unrecognized []byte `json:"-"` 2646 XXX_sizecache int32 `json:"-"` 2647 } 2648 2649 func (m *LinksResponse) Reset() { *m = LinksResponse{} } 2650 func (m *LinksResponse) String() string { return proto.CompactTextString(m) } 2651 func (*LinksResponse) ProtoMessage() {} 2652 func (*LinksResponse) Descriptor() ([]byte, []int) { 2653 return fileDescriptor_df6e82b174b5eaec, []int{33} 2654 } 2655 func (m *LinksResponse) XXX_Unmarshal(b []byte) error { 2656 return m.Unmarshal(b) 2657 } 2658 func (m *LinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2659 if deterministic { 2660 return xxx_messageInfo_LinksResponse.Marshal(b, m, deterministic) 2661 } else { 2662 b = b[:cap(b)] 2663 n, err := m.MarshalToSizedBuffer(b) 2664 if err != nil { 2665 return nil, err 2666 } 2667 return b[:n], nil 2668 } 2669 } 2670 func (m *LinksResponse) XXX_Merge(src proto.Message) { 2671 xxx_messageInfo_LinksResponse.Merge(m, src) 2672 } 2673 func (m *LinksResponse) XXX_Size() int { 2674 return m.Size() 2675 } 2676 func (m *LinksResponse) XXX_DiscardUnknown() { 2677 xxx_messageInfo_LinksResponse.DiscardUnknown(m) 2678 } 2679 2680 var xxx_messageInfo_LinksResponse proto.InternalMessageInfo 2681 2682 func (m *LinksResponse) GetItems() []*LinkInfo { 2683 if m != nil { 2684 return m.Items 2685 } 2686 return nil 2687 } 2688 2689 type ListAppLinksRequest struct { 2690 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 2691 Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` 2692 Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` 2693 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2694 XXX_unrecognized []byte `json:"-"` 2695 XXX_sizecache int32 `json:"-"` 2696 } 2697 2698 func (m *ListAppLinksRequest) Reset() { *m = ListAppLinksRequest{} } 2699 func (m *ListAppLinksRequest) String() string { return proto.CompactTextString(m) } 2700 func (*ListAppLinksRequest) ProtoMessage() {} 2701 func (*ListAppLinksRequest) Descriptor() ([]byte, []int) { 2702 return fileDescriptor_df6e82b174b5eaec, []int{34} 2703 } 2704 func (m *ListAppLinksRequest) XXX_Unmarshal(b []byte) error { 2705 return m.Unmarshal(b) 2706 } 2707 func (m *ListAppLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2708 if deterministic { 2709 return xxx_messageInfo_ListAppLinksRequest.Marshal(b, m, deterministic) 2710 } else { 2711 b = b[:cap(b)] 2712 n, err := m.MarshalToSizedBuffer(b) 2713 if err != nil { 2714 return nil, err 2715 } 2716 return b[:n], nil 2717 } 2718 } 2719 func (m *ListAppLinksRequest) XXX_Merge(src proto.Message) { 2720 xxx_messageInfo_ListAppLinksRequest.Merge(m, src) 2721 } 2722 func (m *ListAppLinksRequest) XXX_Size() int { 2723 return m.Size() 2724 } 2725 func (m *ListAppLinksRequest) XXX_DiscardUnknown() { 2726 xxx_messageInfo_ListAppLinksRequest.DiscardUnknown(m) 2727 } 2728 2729 var xxx_messageInfo_ListAppLinksRequest proto.InternalMessageInfo 2730 2731 func (m *ListAppLinksRequest) GetName() string { 2732 if m != nil && m.Name != nil { 2733 return *m.Name 2734 } 2735 return "" 2736 } 2737 2738 func (m *ListAppLinksRequest) GetNamespace() string { 2739 if m != nil && m.Namespace != nil { 2740 return *m.Namespace 2741 } 2742 return "" 2743 } 2744 2745 func (m *ListAppLinksRequest) GetProject() string { 2746 if m != nil && m.Project != nil { 2747 return *m.Project 2748 } 2749 return "" 2750 } 2751 2752 func init() { 2753 proto.RegisterType((*ApplicationQuery)(nil), "application.ApplicationQuery") 2754 proto.RegisterType((*NodeQuery)(nil), "application.NodeQuery") 2755 proto.RegisterType((*RevisionMetadataQuery)(nil), "application.RevisionMetadataQuery") 2756 proto.RegisterType((*ApplicationResourceEventsQuery)(nil), "application.ApplicationResourceEventsQuery") 2757 proto.RegisterType((*ApplicationManifestQuery)(nil), "application.ApplicationManifestQuery") 2758 proto.RegisterType((*FileChunk)(nil), "application.FileChunk") 2759 proto.RegisterType((*ApplicationManifestQueryWithFiles)(nil), "application.ApplicationManifestQueryWithFiles") 2760 proto.RegisterType((*ApplicationManifestQueryWithFilesWrapper)(nil), "application.ApplicationManifestQueryWithFilesWrapper") 2761 proto.RegisterType((*ApplicationResponse)(nil), "application.ApplicationResponse") 2762 proto.RegisterType((*ApplicationCreateRequest)(nil), "application.ApplicationCreateRequest") 2763 proto.RegisterType((*ApplicationUpdateRequest)(nil), "application.ApplicationUpdateRequest") 2764 proto.RegisterType((*ApplicationDeleteRequest)(nil), "application.ApplicationDeleteRequest") 2765 proto.RegisterType((*SyncOptions)(nil), "application.SyncOptions") 2766 proto.RegisterType((*ApplicationSyncRequest)(nil), "application.ApplicationSyncRequest") 2767 proto.RegisterType((*ApplicationUpdateSpecRequest)(nil), "application.ApplicationUpdateSpecRequest") 2768 proto.RegisterType((*ApplicationPatchRequest)(nil), "application.ApplicationPatchRequest") 2769 proto.RegisterType((*ApplicationRollbackRequest)(nil), "application.ApplicationRollbackRequest") 2770 proto.RegisterType((*ApplicationResourceRequest)(nil), "application.ApplicationResourceRequest") 2771 proto.RegisterType((*ApplicationResourcePatchRequest)(nil), "application.ApplicationResourcePatchRequest") 2772 proto.RegisterType((*ApplicationResourceDeleteRequest)(nil), "application.ApplicationResourceDeleteRequest") 2773 proto.RegisterType((*ResourceActionRunRequest)(nil), "application.ResourceActionRunRequest") 2774 proto.RegisterType((*ResourceActionsListResponse)(nil), "application.ResourceActionsListResponse") 2775 proto.RegisterType((*ApplicationResourceResponse)(nil), "application.ApplicationResourceResponse") 2776 proto.RegisterType((*ApplicationPodLogsQuery)(nil), "application.ApplicationPodLogsQuery") 2777 proto.RegisterType((*LogEntry)(nil), "application.LogEntry") 2778 proto.RegisterType((*OperationTerminateRequest)(nil), "application.OperationTerminateRequest") 2779 proto.RegisterType((*ApplicationSyncWindowsQuery)(nil), "application.ApplicationSyncWindowsQuery") 2780 proto.RegisterType((*ApplicationSyncWindowsResponse)(nil), "application.ApplicationSyncWindowsResponse") 2781 proto.RegisterType((*ApplicationSyncWindow)(nil), "application.ApplicationSyncWindow") 2782 proto.RegisterType((*OperationTerminateResponse)(nil), "application.OperationTerminateResponse") 2783 proto.RegisterType((*ResourcesQuery)(nil), "application.ResourcesQuery") 2784 proto.RegisterType((*ManagedResourcesResponse)(nil), "application.ManagedResourcesResponse") 2785 proto.RegisterType((*LinkInfo)(nil), "application.LinkInfo") 2786 proto.RegisterType((*LinksResponse)(nil), "application.LinksResponse") 2787 proto.RegisterType((*ListAppLinksRequest)(nil), "application.ListAppLinksRequest") 2788 } 2789 2790 func init() { 2791 proto.RegisterFile("server/application/application.proto", fileDescriptor_df6e82b174b5eaec) 2792 } 2793 2794 var fileDescriptor_df6e82b174b5eaec = []byte{ 2795 // 2673 bytes of a gzipped FileDescriptorProto 2796 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x8f, 0x1c, 0x47, 2797 0x15, 0xa7, 0x66, 0xbf, 0x66, 0xde, 0xec, 0xfa, 0xa3, 0x12, 0x2f, 0x9d, 0xf6, 0xc6, 0x6c, 0xda, 2798 0x76, 0xbc, 0x59, 0x7b, 0x67, 0xec, 0xc1, 0x20, 0x67, 0x93, 0x08, 0xec, 0xf5, 0x27, 0xac, 0x1d, 2799 0xd3, 0x6b, 0x63, 0x14, 0x0e, 0x50, 0xe9, 0xae, 0x9d, 0x6d, 0xb6, 0xa7, 0xbb, 0xdd, 0xdd, 0x33, 2800 0xd6, 0xca, 0xf8, 0x12, 0x64, 0x09, 0xa1, 0x08, 0x04, 0xe4, 0x80, 0x10, 0x02, 0x14, 0x14, 0x09, 2801 0x21, 0x10, 0x17, 0x14, 0x21, 0x21, 0x24, 0xb8, 0x20, 0x38, 0x20, 0x21, 0x38, 0x72, 0x41, 0x16, 2802 0xe2, 0x08, 0x97, 0xfc, 0x01, 0xa8, 0xaa, 0xab, 0xba, 0xab, 0xe7, 0xa3, 0x67, 0x96, 0x19, 0x14, 2803 0xdf, 0xfa, 0xd5, 0x54, 0xbd, 0xf7, 0xab, 0x57, 0xbf, 0x7a, 0xaf, 0xea, 0xd5, 0xc0, 0x89, 0x88, 2804 0x86, 0x1d, 0x1a, 0xd6, 0x49, 0x10, 0xb8, 0x8e, 0x45, 0x62, 0xc7, 0xf7, 0xd4, 0xef, 0x5a, 0x10, 2805 0xfa, 0xb1, 0x8f, 0xab, 0x4a, 0x93, 0xbe, 0xd4, 0xf4, 0xfd, 0xa6, 0x4b, 0xeb, 0x24, 0x70, 0xea, 2806 0xc4, 0xf3, 0xfc, 0x98, 0x37, 0x47, 0x49, 0x57, 0xdd, 0xd8, 0xbd, 0x10, 0xd5, 0x1c, 0x9f, 0xff, 2807 0x6a, 0xf9, 0x21, 0xad, 0x77, 0xce, 0xd5, 0x9b, 0xd4, 0xa3, 0x21, 0x89, 0xa9, 0x2d, 0xfa, 0x9c, 2808 0xcf, 0xfa, 0xb4, 0x88, 0xb5, 0xe3, 0x78, 0x34, 0xdc, 0xab, 0x07, 0xbb, 0x4d, 0xd6, 0x10, 0xd5, 2809 0x5b, 0x34, 0x26, 0xfd, 0x46, 0x6d, 0x36, 0x9d, 0x78, 0xa7, 0xfd, 0x66, 0xcd, 0xf2, 0x5b, 0x75, 2810 0x12, 0x36, 0xfd, 0x20, 0xf4, 0xbf, 0xc2, 0x3f, 0xd6, 0x2c, 0xbb, 0xde, 0x69, 0x64, 0x0a, 0xd4, 2811 0xb9, 0x74, 0xce, 0x11, 0x37, 0xd8, 0x21, 0xbd, 0xda, 0xae, 0x0c, 0xd1, 0x16, 0xd2, 0xc0, 0x17, 2812 0xbe, 0xe1, 0x9f, 0x4e, 0xec, 0x87, 0x7b, 0xca, 0x67, 0xa2, 0xc6, 0xf8, 0x00, 0xc1, 0xa1, 0x8b, 2813 0x99, 0xbd, 0xcf, 0xb5, 0x69, 0xb8, 0x87, 0x31, 0x4c, 0x7b, 0xa4, 0x45, 0x35, 0xb4, 0x8c, 0x56, 2814 0x2a, 0x26, 0xff, 0xc6, 0x1a, 0xcc, 0x85, 0x74, 0x3b, 0xa4, 0xd1, 0x8e, 0x56, 0xe2, 0xcd, 0x52, 2815 0xc4, 0x3a, 0x94, 0x99, 0x71, 0x6a, 0xc5, 0x91, 0x36, 0xb5, 0x3c, 0xb5, 0x52, 0x31, 0x53, 0x19, 2816 0xaf, 0xc0, 0xc1, 0x90, 0x46, 0x7e, 0x3b, 0xb4, 0xe8, 0xe7, 0x69, 0x18, 0x39, 0xbe, 0xa7, 0x4d, 2817 0xf3, 0xd1, 0xdd, 0xcd, 0x4c, 0x4b, 0x44, 0x5d, 0x6a, 0xc5, 0x7e, 0xa8, 0xcd, 0xf0, 0x2e, 0xa9, 2818 0xcc, 0xf0, 0x30, 0xe0, 0xda, 0x6c, 0x82, 0x87, 0x7d, 0x63, 0x03, 0xe6, 0x49, 0x10, 0xdc, 0x22, 2819 0x2d, 0x1a, 0x05, 0xc4, 0xa2, 0xda, 0x1c, 0xff, 0x2d, 0xd7, 0xc6, 0x30, 0x0b, 0x24, 0x5a, 0x99, 2820 0x03, 0x93, 0xa2, 0xb1, 0x01, 0x95, 0x5b, 0xbe, 0x4d, 0x07, 0x4f, 0xb7, 0x5b, 0x7d, 0xa9, 0x57, 2821 0xbd, 0xf1, 0x18, 0xc1, 0x11, 0x93, 0x76, 0x1c, 0x86, 0xff, 0x26, 0x8d, 0x89, 0x4d, 0x62, 0xd2, 2822 0xad, 0xb1, 0x94, 0x6a, 0xd4, 0xa1, 0x1c, 0x8a, 0xce, 0x5a, 0x89, 0xb7, 0xa7, 0x72, 0x8f, 0xb5, 2823 0xa9, 0xe2, 0xc9, 0x24, 0x2e, 0x4c, 0x27, 0xf3, 0x2f, 0x04, 0xc7, 0x94, 0x35, 0x34, 0x85, 0x67, 2824 0xaf, 0x74, 0xa8, 0x17, 0x47, 0x83, 0x01, 0x9d, 0x81, 0xc3, 0x72, 0x11, 0xba, 0xe7, 0xd9, 0xfb, 2825 0x03, 0x83, 0xa8, 0x36, 0x4a, 0x88, 0x6a, 0x1b, 0x5e, 0x86, 0xaa, 0x94, 0xef, 0xde, 0xb8, 0x2c, 2826 0x60, 0xaa, 0x4d, 0x3d, 0x13, 0x9d, 0x29, 0x9e, 0xe8, 0x6c, 0x7e, 0xa2, 0x5f, 0x47, 0xa0, 0x29, 2827 0x13, 0xbd, 0x49, 0x3c, 0x67, 0x9b, 0x46, 0xf1, 0xa8, 0x3e, 0x47, 0x13, 0xf4, 0xf9, 0x0b, 0x50, 2828 0xb9, 0xea, 0xb8, 0x74, 0x63, 0xa7, 0xed, 0xed, 0xe2, 0x67, 0x61, 0xc6, 0x62, 0x1f, 0xdc, 0xf6, 2829 0xbc, 0x99, 0x08, 0xc6, 0xb7, 0x11, 0xbc, 0x30, 0x08, 0xed, 0x3d, 0x27, 0xde, 0x61, 0xe3, 0xa3, 2830 0x41, 0xb0, 0xad, 0x1d, 0x6a, 0xed, 0x46, 0xed, 0x96, 0xa4, 0x8a, 0x94, 0xc7, 0x84, 0xfd, 0x33, 2831 0x04, 0x2b, 0x43, 0x31, 0xdd, 0x0b, 0x49, 0x10, 0xd0, 0x10, 0x5f, 0x85, 0x99, 0xfb, 0xec, 0x07, 2832 0xbe, 0x31, 0xaa, 0x8d, 0x5a, 0x4d, 0x0d, 0xac, 0x43, 0xb5, 0x5c, 0xff, 0x88, 0x99, 0x0c, 0xc7, 2833 0x35, 0xe9, 0x9e, 0x12, 0xd7, 0xb3, 0x98, 0xd3, 0x93, 0x7a, 0x91, 0xf5, 0xe7, 0xdd, 0x2e, 0xcd, 2834 0xc2, 0x74, 0x40, 0xc2, 0xd8, 0x38, 0x02, 0xcf, 0xe4, 0x69, 0x1d, 0xf8, 0x5e, 0x44, 0x8d, 0xdf, 2835 0xe4, 0x59, 0xb0, 0x11, 0x52, 0x12, 0x53, 0x93, 0xde, 0x6f, 0xd3, 0x28, 0xc6, 0xbb, 0xa0, 0xc6, 2836 0x7a, 0xee, 0xd5, 0x6a, 0xe3, 0x46, 0x2d, 0x0b, 0x96, 0x35, 0x19, 0x2c, 0xf9, 0xc7, 0x97, 0x2c, 2837 0xbb, 0xd6, 0x69, 0xd4, 0x82, 0xdd, 0x66, 0x8d, 0x85, 0xde, 0x1c, 0x32, 0x19, 0x7a, 0xd5, 0xa9, 2838 0x9a, 0xaa, 0x76, 0xbc, 0x08, 0xb3, 0xed, 0x20, 0xa2, 0x61, 0xcc, 0x67, 0x56, 0x36, 0x85, 0xc4, 2839 0xd6, 0xaf, 0x43, 0x5c, 0xc7, 0x26, 0x71, 0xb2, 0x3e, 0x65, 0x33, 0x95, 0x8d, 0xdf, 0xe6, 0xd1, 2840 0xdf, 0x0d, 0xec, 0x0f, 0x0b, 0xbd, 0x8a, 0xb2, 0x94, 0x47, 0xa9, 0x32, 0x68, 0x2a, 0xcf, 0xa0, 2841 0x5f, 0xe5, 0xf1, 0x5f, 0xa6, 0x2e, 0xcd, 0xf0, 0xf7, 0x23, 0xb3, 0x06, 0x73, 0x16, 0x89, 0x2c, 2842 0x62, 0x4b, 0x2b, 0x52, 0x64, 0x01, 0x28, 0x08, 0xfd, 0x80, 0x34, 0xb9, 0xa6, 0xdb, 0xbe, 0xeb, 2843 0x58, 0x7b, 0xc2, 0x5c, 0xef, 0x0f, 0x3d, 0xc4, 0x9f, 0x2e, 0x26, 0xfe, 0x4c, 0x1e, 0xf6, 0x71, 2844 0xa8, 0x6e, 0xed, 0x79, 0xd6, 0xeb, 0x01, 0xcf, 0xf5, 0x6c, 0xc7, 0x3a, 0x31, 0x6d, 0x45, 0x1a, 2845 0xe2, 0x79, 0x21, 0x11, 0x8c, 0xf7, 0x67, 0x60, 0x51, 0x99, 0x1b, 0x1b, 0x50, 0x34, 0xb3, 0xa2, 2846 0xe8, 0xb2, 0x08, 0xb3, 0x76, 0xb8, 0x67, 0xb6, 0x3d, 0x41, 0x00, 0x21, 0x31, 0xc3, 0x41, 0xd8, 2847 0xf6, 0x12, 0xf8, 0x65, 0x33, 0x11, 0xf0, 0x36, 0x94, 0xa3, 0x98, 0x65, 0xf7, 0xe6, 0x1e, 0x07, 2848 0x5e, 0x6d, 0x7c, 0x66, 0xbc, 0x45, 0x67, 0xd0, 0xb7, 0x84, 0x46, 0x33, 0xd5, 0x8d, 0xef, 0x43, 2849 0x45, 0x46, 0xe3, 0x48, 0x9b, 0x5b, 0x9e, 0x5a, 0xa9, 0x36, 0xb6, 0xc6, 0x37, 0xf4, 0x7a, 0xc0, 2850 0x4e, 0x26, 0x4a, 0xe6, 0x31, 0x33, 0x2b, 0x78, 0x09, 0x2a, 0x2d, 0x11, 0x1f, 0x22, 0x91, 0x85, 2851 0xb3, 0x06, 0xfc, 0x05, 0x98, 0x71, 0xbc, 0x6d, 0x3f, 0xd2, 0x2a, 0x1c, 0xcc, 0xa5, 0xf1, 0xc0, 2852 0xdc, 0xf0, 0xb6, 0x7d, 0x33, 0x51, 0x88, 0xef, 0xc3, 0x42, 0x48, 0xe3, 0x70, 0x4f, 0x7a, 0x41, 2853 0x03, 0xee, 0xd7, 0xcf, 0x8e, 0x67, 0xc1, 0x54, 0x55, 0x9a, 0x79, 0x0b, 0x78, 0x1d, 0xaa, 0x51, 2854 0xc6, 0x31, 0xad, 0xca, 0x0d, 0x6a, 0x39, 0x45, 0x0a, 0x07, 0x4d, 0xb5, 0x73, 0x0f, 0xbb, 0xe7, 2855 0x8b, 0xd9, 0xbd, 0x90, 0x67, 0xf7, 0x7f, 0x10, 0x2c, 0xf5, 0x04, 0x95, 0xad, 0x80, 0x16, 0xd2, 2856 0x97, 0xc0, 0x74, 0x14, 0x50, 0x8b, 0x67, 0x98, 0x6a, 0xe3, 0xe6, 0xc4, 0xa2, 0x0c, 0xb7, 0xcb, 2857 0x55, 0x17, 0x05, 0xc2, 0x31, 0xf7, 0xf3, 0x8f, 0x10, 0x7c, 0x54, 0xb1, 0x79, 0x9b, 0xc4, 0xd6, 2858 0x4e, 0xd1, 0x64, 0xd9, 0xbe, 0x63, 0x7d, 0x44, 0x3e, 0x4d, 0x04, 0x46, 0x4e, 0xfe, 0x71, 0x67, 2859 0x2f, 0x60, 0x00, 0xd9, 0x2f, 0x59, 0xc3, 0x98, 0x87, 0x95, 0x9f, 0x23, 0xd0, 0xd5, 0xd8, 0xeb, 2860 0xbb, 0xee, 0x9b, 0xc4, 0xda, 0x2d, 0x02, 0x79, 0x00, 0x4a, 0x8e, 0xcd, 0x11, 0x4e, 0x99, 0x25, 2861 0xc7, 0xde, 0x67, 0x10, 0xe9, 0x86, 0x3b, 0x5b, 0x0c, 0x77, 0x2e, 0x0f, 0xf7, 0x83, 0x2e, 0xb8, 2862 0x72, 0x2b, 0x17, 0xc0, 0x5d, 0x82, 0x8a, 0xd7, 0x75, 0x70, 0xcc, 0x1a, 0xfa, 0x1c, 0x18, 0x4b, 2863 0x3d, 0x07, 0x46, 0x0d, 0xe6, 0x3a, 0xe9, 0xb5, 0x80, 0xfd, 0x2c, 0x45, 0x36, 0xc5, 0x66, 0xe8, 2864 0xb7, 0x03, 0xe1, 0xf4, 0x44, 0x60, 0x28, 0x76, 0x1d, 0xcf, 0xd6, 0x66, 0x13, 0x14, 0xec, 0x7b, 2865 0xff, 0x17, 0x81, 0xdc, 0xb4, 0x7f, 0x51, 0x82, 0x8f, 0xf5, 0x99, 0xf6, 0x50, 0x3e, 0x3d, 0x1d, 2866 0x73, 0x4f, 0x59, 0x3d, 0x37, 0x90, 0xd5, 0xe5, 0x61, 0xac, 0xae, 0x14, 0xfb, 0x0b, 0xf2, 0xfe, 2867 0xfa, 0x69, 0x09, 0x96, 0xfb, 0xf8, 0x6b, 0xf8, 0x31, 0xe0, 0xa9, 0x71, 0xd8, 0xb6, 0x1f, 0x0a, 2868 0x96, 0x94, 0xcd, 0x44, 0x60, 0xfb, 0xcc, 0x0f, 0x83, 0x1d, 0xe2, 0x71, 0x76, 0x94, 0x4d, 0x21, 2869 0x8d, 0xe9, 0xaa, 0x6f, 0x94, 0x40, 0x93, 0xfe, 0xb9, 0x68, 0x71, 0x6f, 0xb5, 0xbd, 0xa7, 0xdf, 2870 0x45, 0x8b, 0x30, 0x4b, 0x38, 0x5a, 0x41, 0x2a, 0x21, 0xf5, 0x38, 0xa3, 0x5c, 0xec, 0x8c, 0x4a, 2871 0xde, 0x19, 0x8f, 0x11, 0x1c, 0xcd, 0x3b, 0x23, 0xda, 0x74, 0xa2, 0x58, 0x1e, 0xea, 0xf1, 0x36, 2872 0xcc, 0x25, 0x76, 0x92, 0x23, 0x59, 0xb5, 0xb1, 0x39, 0x6e, 0xa2, 0xce, 0x39, 0x5e, 0x2a, 0x37, 2873 0x5e, 0x86, 0xa3, 0x7d, 0xa3, 0x9c, 0x80, 0xa1, 0x43, 0x59, 0x1e, 0x4e, 0xc4, 0xd2, 0xa4, 0xb2, 2874 0xf1, 0x78, 0x3a, 0x9f, 0x72, 0x7c, 0x7b, 0xd3, 0x6f, 0x16, 0xdc, 0xaf, 0x8b, 0x97, 0x93, 0xb9, 2875 0xca, 0xb7, 0x95, 0xab, 0xb4, 0x14, 0xd9, 0x38, 0xcb, 0xf7, 0x62, 0xe2, 0x78, 0x34, 0x14, 0x59, 2876 0x31, 0x6b, 0x60, 0xcb, 0x10, 0x39, 0x9e, 0x45, 0xb7, 0xa8, 0xe5, 0x7b, 0x76, 0xc4, 0xd7, 0x73, 2877 0xca, 0xcc, 0xb5, 0xe1, 0xeb, 0x50, 0xe1, 0xf2, 0x1d, 0xa7, 0x95, 0xa4, 0x81, 0x6a, 0x63, 0xb5, 2878 0x96, 0xd4, 0xac, 0x6a, 0x6a, 0xcd, 0x2a, 0xf3, 0x61, 0x8b, 0xc6, 0xa4, 0xd6, 0x39, 0x57, 0x63, 2879 0x23, 0xcc, 0x6c, 0x30, 0xc3, 0x12, 0x13, 0xc7, 0xdd, 0x74, 0x3c, 0x7e, 0x60, 0x64, 0xa6, 0xb2, 2880 0x06, 0x46, 0x95, 0x6d, 0xdf, 0x75, 0xfd, 0x07, 0x72, 0xdf, 0x24, 0x12, 0x1b, 0xd5, 0xf6, 0x62, 2881 0xc7, 0xe5, 0xf6, 0x13, 0x22, 0x64, 0x0d, 0x7c, 0x94, 0xe3, 0xc6, 0x34, 0x14, 0x1b, 0x46, 0x48, 2882 0x29, 0x19, 0xab, 0x49, 0x19, 0x46, 0xee, 0xd7, 0x84, 0xb6, 0xf3, 0x2a, 0x6d, 0xbb, 0xb7, 0xc2, 2883 0x42, 0x9f, 0x5a, 0x04, 0xaf, 0x4a, 0xd1, 0x8e, 0xe3, 0xb7, 0x23, 0xed, 0x40, 0x72, 0xf4, 0x90, 2884 0x72, 0x0f, 0x95, 0x0f, 0x16, 0x53, 0xf9, 0x50, 0x9e, 0xca, 0xbf, 0x43, 0x50, 0xde, 0xf4, 0x9b, 2885 0x57, 0xbc, 0x38, 0xdc, 0xe3, 0xb7, 0x1b, 0xdf, 0x8b, 0xa9, 0x27, 0xf9, 0x22, 0x45, 0xb6, 0x08, 2886 0xb1, 0xd3, 0xa2, 0x5b, 0x31, 0x69, 0x05, 0xe2, 0x8c, 0xb5, 0xaf, 0x45, 0x48, 0x07, 0x33, 0xc7, 2887 0xb8, 0x24, 0x8a, 0xf9, 0x8e, 0x2f, 0x9b, 0xfc, 0x9b, 0x4d, 0x21, 0xed, 0xb0, 0x15, 0x87, 0x62, 2888 0xbb, 0xe7, 0xda, 0x54, 0x8a, 0xcd, 0x24, 0xd8, 0x84, 0x68, 0xb4, 0xe0, 0xb9, 0xf4, 0xd0, 0x7e, 2889 0x87, 0x86, 0x2d, 0xc7, 0x23, 0xc5, 0xd1, 0x7b, 0x84, 0x72, 0x58, 0xc1, 0x9d, 0xd1, 0xcf, 0x6d, 2890 0x3a, 0x76, 0x06, 0xbe, 0xe7, 0x78, 0xb6, 0xff, 0xa0, 0x60, 0xf3, 0x8c, 0x67, 0xf0, 0xaf, 0xf9, 2891 0x8a, 0x98, 0x62, 0x31, 0xdd, 0xe9, 0xd7, 0x61, 0x81, 0xc5, 0x84, 0x0e, 0x15, 0x3f, 0x88, 0xb0, 2892 0x63, 0x0c, 0x2a, 0x72, 0x64, 0x3a, 0xcc, 0xfc, 0x40, 0xbc, 0x09, 0x07, 0x49, 0x14, 0x39, 0x4d, 2893 0x8f, 0xda, 0x52, 0x57, 0x69, 0x64, 0x5d, 0xdd, 0x43, 0x93, 0xeb, 0x32, 0xef, 0x21, 0xd6, 0x5b, 2894 0x8a, 0xc6, 0xd7, 0x10, 0x1c, 0xe9, 0xab, 0x24, 0xdd, 0x39, 0x48, 0x09, 0xe3, 0x3a, 0x94, 0x23, 2895 0x6b, 0x87, 0xda, 0x6d, 0x97, 0xca, 0x1a, 0x92, 0x94, 0xd9, 0x6f, 0x76, 0x3b, 0x59, 0x7d, 0x91, 2896 0x46, 0x52, 0x19, 0x1f, 0x03, 0x68, 0x11, 0xaf, 0x4d, 0x5c, 0x0e, 0x61, 0x9a, 0x43, 0x50, 0x5a, 2897 0x8c, 0x25, 0xd0, 0xfb, 0x51, 0x47, 0xd4, 0x66, 0xfe, 0x8d, 0xe0, 0x80, 0x0c, 0xaa, 0x62, 0x75, 2898 0x57, 0xe0, 0xa0, 0xe2, 0x86, 0x5b, 0xd9, 0x42, 0x77, 0x37, 0x0f, 0x09, 0x98, 0x92, 0x25, 0x53, 2899 0xf9, 0xa2, 0x74, 0x27, 0x57, 0x56, 0x1e, 0x39, 0xdf, 0xa1, 0x09, 0x9d, 0x1f, 0xbf, 0x0a, 0xda, 2900 0x4d, 0xe2, 0x91, 0x26, 0xb5, 0xd3, 0x69, 0xa7, 0x14, 0xfb, 0xb2, 0x5a, 0x64, 0x18, 0xfb, 0x4a, 2901 0x9f, 0x1e, 0xb5, 0x9c, 0xed, 0x6d, 0x59, 0xb0, 0x08, 0xa1, 0xbc, 0xe9, 0x78, 0xbb, 0xec, 0xde, 2902 0xcb, 0x66, 0x1c, 0x3b, 0xb1, 0x2b, 0xbd, 0x9b, 0x08, 0xf8, 0x10, 0x4c, 0xb5, 0x43, 0x57, 0x30, 2903 0x80, 0x7d, 0xe2, 0x65, 0xa8, 0xda, 0x34, 0xb2, 0x42, 0x27, 0x10, 0xeb, 0xcf, 0x8b, 0xb4, 0x4a, 2904 0x13, 0x5b, 0x07, 0xc7, 0xf2, 0xbd, 0x0d, 0x97, 0x44, 0x91, 0x4c, 0x40, 0x69, 0x83, 0xf1, 0x2a, 2905 0x2c, 0x30, 0x9b, 0xd9, 0x34, 0x4f, 0xe7, 0xa7, 0x79, 0x24, 0x07, 0x5f, 0xc2, 0x93, 0x88, 0x09, 2906 0x3c, 0xc3, 0xf2, 0xfe, 0xc5, 0x20, 0x10, 0x4a, 0x46, 0x3c, 0x0e, 0x4d, 0xf5, 0xcb, 0x9f, 0x7d, 2907 0x6b, 0x9c, 0x8d, 0xbf, 0x1f, 0x07, 0xac, 0xee, 0x13, 0x1a, 0x76, 0x1c, 0x8b, 0xe2, 0xef, 0x20, 2908 0x98, 0x66, 0xa6, 0xf1, 0xf3, 0x83, 0xb6, 0x25, 0xe7, 0xab, 0x3e, 0xb9, 0x8b, 0x30, 0xb3, 0x66, 2909 0x2c, 0xbd, 0xf5, 0xb7, 0x7f, 0x7e, 0xb7, 0xb4, 0x88, 0x9f, 0xe5, 0x2f, 0x4a, 0x9d, 0x73, 0xea, 2910 0xeb, 0x4e, 0x84, 0xdf, 0x46, 0x80, 0xc5, 0x39, 0x48, 0xa9, 0xd9, 0xe3, 0xd3, 0x83, 0x20, 0xf6, 2911 0xa9, 0xed, 0xeb, 0xcf, 0x2b, 0x59, 0xa5, 0x66, 0xf9, 0x21, 0x65, 0x39, 0x84, 0x77, 0xe0, 0x00, 2912 0x56, 0x39, 0x80, 0x13, 0xd8, 0xe8, 0x07, 0xa0, 0xfe, 0x90, 0x79, 0xf4, 0x51, 0x9d, 0x26, 0x76, 2913 0xdf, 0x45, 0x30, 0x73, 0x8f, 0xdf, 0x21, 0x86, 0x38, 0x69, 0x6b, 0x62, 0x4e, 0xe2, 0xe6, 0x38, 2914 0x5a, 0xe3, 0x38, 0x47, 0xfa, 0x3c, 0x3e, 0x2a, 0x91, 0x46, 0x71, 0x48, 0x49, 0x2b, 0x07, 0xf8, 2915 0x2c, 0xc2, 0xef, 0x21, 0x98, 0x4d, 0x8a, 0xbe, 0xf8, 0xe4, 0x20, 0x94, 0xb9, 0xa2, 0xb0, 0x3e, 2916 0xb9, 0x0a, 0xaa, 0xf1, 0x12, 0xc7, 0x78, 0xdc, 0xe8, 0xbb, 0x9c, 0xeb, 0xb9, 0xfa, 0xea, 0x3b, 2917 0x08, 0xa6, 0xae, 0xd1, 0xa1, 0x7c, 0x9b, 0x20, 0xb8, 0x1e, 0x07, 0xf6, 0x59, 0x6a, 0xfc, 0x13, 2918 0x04, 0xcf, 0x5d, 0xa3, 0x71, 0xff, 0xf4, 0x88, 0x57, 0x86, 0xe7, 0x2c, 0x41, 0xbb, 0xd3, 0x23, 2919 0xf4, 0x4c, 0xf3, 0x42, 0x9d, 0x23, 0x7b, 0x09, 0x9f, 0x2a, 0x22, 0x61, 0xb4, 0xe7, 0x59, 0x0f, 2920 0x04, 0x8e, 0x3f, 0x21, 0x38, 0xd4, 0xfd, 0xb6, 0x86, 0xf3, 0x09, 0xb5, 0xef, 0xd3, 0x9b, 0x7e, 2921 0x6b, 0xdc, 0x28, 0x9b, 0x57, 0x6a, 0x5c, 0xe4, 0xc8, 0x5f, 0xc1, 0x2f, 0x17, 0x21, 0x97, 0x65, 2922 0xdf, 0xa8, 0xfe, 0x50, 0x7e, 0x3e, 0xe2, 0xef, 0xc0, 0x1c, 0xf6, 0x9f, 0x11, 0x3c, 0x2b, 0xf5, 2923 0x6e, 0xec, 0x90, 0x30, 0xbe, 0x4c, 0xd9, 0x19, 0x3a, 0x1a, 0x69, 0x3e, 0x63, 0x66, 0x0d, 0xd5, 2924 0x9e, 0x71, 0x85, 0xcf, 0xe5, 0x53, 0xf8, 0xb5, 0x7d, 0xcf, 0xc5, 0x62, 0x6a, 0x6c, 0x01, 0xfb, 2925 0x2d, 0x04, 0xf3, 0xd7, 0x68, 0x7c, 0x33, 0xad, 0xe2, 0x9e, 0x1c, 0xe9, 0x65, 0x48, 0x5f, 0xaa, 2926 0x29, 0xcf, 0xcf, 0xf2, 0xa7, 0x94, 0x22, 0x6b, 0x1c, 0xdc, 0x29, 0x7c, 0xb2, 0x08, 0x5c, 0x56, 2927 0x39, 0x7e, 0x17, 0xc1, 0x11, 0x15, 0x44, 0xf6, 0xa2, 0xf6, 0x89, 0xfd, 0xbd, 0x53, 0x89, 0xd7, 2928 0xae, 0x21, 0xe8, 0x1a, 0x1c, 0xdd, 0x19, 0xa3, 0x3f, 0x81, 0x5b, 0x3d, 0x28, 0xd6, 0xd1, 0xea, 2929 0x0a, 0xc2, 0xbf, 0x47, 0x30, 0x9b, 0x14, 0x63, 0x07, 0xfb, 0x28, 0xf7, 0x02, 0x34, 0xc9, 0x68, 2930 0x20, 0x56, 0x5b, 0x3f, 0xdb, 0xdf, 0xa1, 0xea, 0x78, 0x49, 0xd5, 0x1a, 0xf7, 0x72, 0x3e, 0x8c, 2931 0xbd, 0x8f, 0x00, 0xb2, 0x82, 0x32, 0x7e, 0xa9, 0x78, 0x1e, 0x4a, 0xd1, 0x59, 0x9f, 0x6c, 0x49, 2932 0xd9, 0xa8, 0xf1, 0xf9, 0xac, 0xe8, 0xcb, 0x85, 0x31, 0x24, 0xa0, 0xd6, 0x7a, 0x52, 0x7c, 0xfe, 2933 0x31, 0x82, 0x19, 0x5e, 0xc7, 0xc3, 0x27, 0x06, 0x61, 0x56, 0xcb, 0x7c, 0x93, 0x74, 0xfd, 0x8b, 2934 0x1c, 0xea, 0x72, 0xa3, 0x28, 0x10, 0xaf, 0xa3, 0x55, 0xdc, 0x81, 0xd9, 0xa4, 0x72, 0x36, 0x98, 2935 0x1e, 0xb9, 0xca, 0x9a, 0xbe, 0x5c, 0x70, 0x30, 0x48, 0x88, 0x2a, 0x72, 0xc0, 0xea, 0xb0, 0x1c, 2936 0x30, 0xcd, 0xc2, 0x34, 0x3e, 0x5e, 0x14, 0xc4, 0xff, 0x0f, 0x8e, 0x39, 0xcd, 0xd1, 0x9d, 0x34, 2937 0x96, 0x87, 0xe5, 0x01, 0xe6, 0x9d, 0xef, 0x21, 0x38, 0xd4, 0x7d, 0xb8, 0xc6, 0x47, 0xbb, 0x62, 2938 0xa6, 0x7a, 0xd7, 0xd0, 0xf3, 0x5e, 0x1c, 0x74, 0x30, 0x37, 0x3e, 0xcd, 0x51, 0xac, 0xe3, 0x0b, 2939 0x43, 0x77, 0xc6, 0x2d, 0x19, 0x75, 0x98, 0xa2, 0xb5, 0xec, 0x55, 0xeb, 0xd7, 0x08, 0xe6, 0xa5, 2940 0xde, 0x3b, 0x21, 0xa5, 0xc5, 0xb0, 0x26, 0xb7, 0x11, 0x98, 0x2d, 0xe3, 0x55, 0x0e, 0xff, 0x93, 2941 0xf8, 0xfc, 0x88, 0xf0, 0x25, 0xec, 0xb5, 0x98, 0x21, 0xfd, 0x03, 0x82, 0xc3, 0xf7, 0x12, 0xde, 2942 0x7f, 0x48, 0xf8, 0x37, 0x38, 0xfe, 0xd7, 0xf0, 0x2b, 0x05, 0xe7, 0xbc, 0x61, 0xd3, 0x38, 0x8b, 2943 0xf0, 0x2f, 0x11, 0x94, 0xe5, 0xab, 0x0a, 0x3e, 0x35, 0x70, 0x63, 0xe4, 0xdf, 0x5d, 0x26, 0x49, 2944 0x66, 0x71, 0xa8, 0x31, 0x4e, 0x14, 0xa6, 0x53, 0x61, 0x9f, 0x11, 0xfa, 0x1d, 0x04, 0x38, 0xbd, 2945 0x33, 0xa7, 0xb7, 0x68, 0xfc, 0x62, 0xce, 0xd4, 0xc0, 0xc2, 0x8c, 0x7e, 0x6a, 0x68, 0xbf, 0x7c, 2946 0x2a, 0x5d, 0x2d, 0x4c, 0xa5, 0x7e, 0x6a, 0xff, 0x9b, 0x08, 0xaa, 0xd7, 0x68, 0x7a, 0x07, 0x29, 2947 0xf0, 0x65, 0xfe, 0x51, 0x48, 0x5f, 0x19, 0xde, 0x51, 0x20, 0x3a, 0xc3, 0x11, 0xbd, 0x88, 0x8b, 2948 0x5d, 0x25, 0x01, 0xfc, 0x00, 0xc1, 0xc2, 0x6d, 0x95, 0xa2, 0xf8, 0xcc, 0x30, 0x4b, 0xb9, 0x48, 2949 0x3e, 0x3a, 0xae, 0x8f, 0x73, 0x5c, 0x6b, 0xc6, 0x48, 0xb8, 0xd6, 0xc5, 0xfb, 0xca, 0x0f, 0x51, 2950 0x72, 0x89, 0xed, 0xaa, 0x67, 0xff, 0xaf, 0x7e, 0x2b, 0x28, 0x8b, 0x1b, 0xe7, 0x39, 0xbe, 0x1a, 2951 0x3e, 0x33, 0x0a, 0xbe, 0xba, 0x28, 0x72, 0xe3, 0xef, 0x23, 0x38, 0xcc, 0xdf, 0x1a, 0x54, 0xc5, 2952 0x5d, 0x29, 0x66, 0xd0, 0xcb, 0xc4, 0x08, 0x29, 0x46, 0xc4, 0x1f, 0x63, 0x5f, 0xa0, 0xd6, 0xe5, 2953 0x3b, 0xc2, 0xb7, 0x10, 0x1c, 0x90, 0x49, 0x4d, 0xac, 0xee, 0xda, 0x30, 0xc7, 0xed, 0x37, 0x09, 2954 0x0a, 0xba, 0xad, 0x8e, 0x46, 0xb7, 0xf7, 0x10, 0xcc, 0x89, 0x6a, 0x7e, 0xc1, 0x51, 0x41, 0x29, 2955 0xf7, 0xeb, 0x5d, 0x35, 0x0e, 0x51, 0x0c, 0x36, 0xbe, 0xc8, 0xcd, 0xde, 0xc5, 0xf5, 0x22, 0xb3, 2956 0x81, 0x6f, 0x47, 0xf5, 0x87, 0xa2, 0x12, 0xfb, 0xa8, 0xee, 0xfa, 0xcd, 0xe8, 0x0d, 0x03, 0x17, 2957 0x26, 0x44, 0xd6, 0xe7, 0x2c, 0xc2, 0x31, 0x54, 0x18, 0x39, 0x78, 0xe1, 0x04, 0x2f, 0x77, 0x95, 2958 0x59, 0x7a, 0x6a, 0x2a, 0xba, 0xde, 0x53, 0x88, 0xc9, 0x32, 0xa0, 0xb8, 0xc6, 0xe2, 0x17, 0x0a, 2959 0xcd, 0x72, 0x43, 0x6f, 0x23, 0x38, 0xac, 0xb2, 0x3d, 0x31, 0x3f, 0x32, 0xd7, 0x8b, 0x50, 0x88, 2960 0x43, 0x35, 0x5e, 0x1d, 0x89, 0x48, 0x1c, 0xce, 0xa5, 0xab, 0x7f, 0x7c, 0x72, 0x0c, 0xfd, 0xe5, 2961 0xc9, 0x31, 0xf4, 0x8f, 0x27, 0xc7, 0xd0, 0x1b, 0x17, 0x46, 0xfb, 0x4f, 0xad, 0xe5, 0x3a, 0xd4, 2962 0x8b, 0x55, 0xf5, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x30, 0xc0, 0x40, 0x7a, 0x39, 0x2c, 0x00, 2963 0x00, 2964 } 2965 2966 // Reference imports to suppress errors if they are not otherwise used. 2967 var _ context.Context 2968 var _ grpc.ClientConn 2969 2970 // This is a compile-time assertion to ensure that this generated file 2971 // is compatible with the grpc package it is being compiled against. 2972 const _ = grpc.SupportPackageIsVersion4 2973 2974 // ApplicationServiceClient is the client API for ApplicationService service. 2975 // 2976 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2977 type ApplicationServiceClient interface { 2978 // List returns list of applications 2979 List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error) 2980 // ListResourceEvents returns a list of event resources 2981 ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*v11.EventList, error) 2982 // Watch returns stream of application change events 2983 Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error) 2984 // Create creates an application 2985 Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 2986 // Get returns an application by name 2987 Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error) 2988 // Get returns sync windows of the application 2989 GetApplicationSyncWindows(ctx context.Context, in *ApplicationSyncWindowsQuery, opts ...grpc.CallOption) (*ApplicationSyncWindowsResponse, error) 2990 // Get the meta-data (author, date, tags, message) for a specific revision of the application 2991 RevisionMetadata(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) 2992 // Get the chart metadata (description, maintainers, home) for a specific revision of the application 2993 RevisionChartDetails(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) 2994 // GetManifests returns application manifests 2995 GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error) 2996 // GetManifestsWithFiles returns application manifests using provided files to generate them 2997 GetManifestsWithFiles(ctx context.Context, opts ...grpc.CallOption) (ApplicationService_GetManifestsWithFilesClient, error) 2998 // Update updates an application 2999 Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3000 // UpdateSpec updates an application spec 3001 UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSpec, error) 3002 // Patch patch an application 3003 Patch(ctx context.Context, in *ApplicationPatchRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3004 // Delete deletes an application 3005 Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) 3006 // Sync syncs an application to its target state 3007 Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3008 // ManagedResources returns list of managed resources 3009 ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error) 3010 // ResourceTree returns resource tree 3011 ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationTree, error) 3012 // Watch returns stream of application resource tree 3013 WatchResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (ApplicationService_WatchResourceTreeClient, error) 3014 // Rollback syncs an application to its target state 3015 Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) 3016 // TerminateOperation terminates the currently running operation 3017 TerminateOperation(ctx context.Context, in *OperationTerminateRequest, opts ...grpc.CallOption) (*OperationTerminateResponse, error) 3018 // GetResource returns single application resource 3019 GetResource(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) 3020 // PatchResource patch single application resource 3021 PatchResource(ctx context.Context, in *ApplicationResourcePatchRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) 3022 // ListResourceActions returns list of resource actions 3023 ListResourceActions(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ResourceActionsListResponse, error) 3024 // RunResourceAction run resource action 3025 RunResourceAction(ctx context.Context, in *ResourceActionRunRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) 3026 // DeleteResource deletes a single application resource 3027 DeleteResource(ctx context.Context, in *ApplicationResourceDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) 3028 // PodLogs returns stream of log entries for the specified pod. Pod 3029 PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error) 3030 // ListLinks returns the list of all application deep links 3031 ListLinks(ctx context.Context, in *ListAppLinksRequest, opts ...grpc.CallOption) (*LinksResponse, error) 3032 // ListResourceLinks returns the list of all resource deep links 3033 ListResourceLinks(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*LinksResponse, error) 3034 } 3035 3036 type applicationServiceClient struct { 3037 cc *grpc.ClientConn 3038 } 3039 3040 func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient { 3041 return &applicationServiceClient{cc} 3042 } 3043 3044 func (c *applicationServiceClient) List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error) { 3045 out := new(v1alpha1.ApplicationList) 3046 err := c.cc.Invoke(ctx, "/application.ApplicationService/List", in, out, opts...) 3047 if err != nil { 3048 return nil, err 3049 } 3050 return out, nil 3051 } 3052 3053 func (c *applicationServiceClient) ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*v11.EventList, error) { 3054 out := new(v11.EventList) 3055 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceEvents", in, out, opts...) 3056 if err != nil { 3057 return nil, err 3058 } 3059 return out, nil 3060 } 3061 3062 func (c *applicationServiceClient) Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error) { 3063 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[0], "/application.ApplicationService/Watch", opts...) 3064 if err != nil { 3065 return nil, err 3066 } 3067 x := &applicationServiceWatchClient{stream} 3068 if err := x.ClientStream.SendMsg(in); err != nil { 3069 return nil, err 3070 } 3071 if err := x.ClientStream.CloseSend(); err != nil { 3072 return nil, err 3073 } 3074 return x, nil 3075 } 3076 3077 type ApplicationService_WatchClient interface { 3078 Recv() (*v1alpha1.ApplicationWatchEvent, error) 3079 grpc.ClientStream 3080 } 3081 3082 type applicationServiceWatchClient struct { 3083 grpc.ClientStream 3084 } 3085 3086 func (x *applicationServiceWatchClient) Recv() (*v1alpha1.ApplicationWatchEvent, error) { 3087 m := new(v1alpha1.ApplicationWatchEvent) 3088 if err := x.ClientStream.RecvMsg(m); err != nil { 3089 return nil, err 3090 } 3091 return m, nil 3092 } 3093 3094 func (c *applicationServiceClient) Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3095 out := new(v1alpha1.Application) 3096 err := c.cc.Invoke(ctx, "/application.ApplicationService/Create", in, out, opts...) 3097 if err != nil { 3098 return nil, err 3099 } 3100 return out, nil 3101 } 3102 3103 func (c *applicationServiceClient) Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3104 out := new(v1alpha1.Application) 3105 err := c.cc.Invoke(ctx, "/application.ApplicationService/Get", in, out, opts...) 3106 if err != nil { 3107 return nil, err 3108 } 3109 return out, nil 3110 } 3111 3112 func (c *applicationServiceClient) GetApplicationSyncWindows(ctx context.Context, in *ApplicationSyncWindowsQuery, opts ...grpc.CallOption) (*ApplicationSyncWindowsResponse, error) { 3113 out := new(ApplicationSyncWindowsResponse) 3114 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetApplicationSyncWindows", in, out, opts...) 3115 if err != nil { 3116 return nil, err 3117 } 3118 return out, nil 3119 } 3120 3121 func (c *applicationServiceClient) RevisionMetadata(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) { 3122 out := new(v1alpha1.RevisionMetadata) 3123 err := c.cc.Invoke(ctx, "/application.ApplicationService/RevisionMetadata", in, out, opts...) 3124 if err != nil { 3125 return nil, err 3126 } 3127 return out, nil 3128 } 3129 3130 func (c *applicationServiceClient) RevisionChartDetails(ctx context.Context, in *RevisionMetadataQuery, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) { 3131 out := new(v1alpha1.ChartDetails) 3132 err := c.cc.Invoke(ctx, "/application.ApplicationService/RevisionChartDetails", in, out, opts...) 3133 if err != nil { 3134 return nil, err 3135 } 3136 return out, nil 3137 } 3138 3139 func (c *applicationServiceClient) GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error) { 3140 out := new(apiclient.ManifestResponse) 3141 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetManifests", in, out, opts...) 3142 if err != nil { 3143 return nil, err 3144 } 3145 return out, nil 3146 } 3147 3148 func (c *applicationServiceClient) GetManifestsWithFiles(ctx context.Context, opts ...grpc.CallOption) (ApplicationService_GetManifestsWithFilesClient, error) { 3149 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[1], "/application.ApplicationService/GetManifestsWithFiles", opts...) 3150 if err != nil { 3151 return nil, err 3152 } 3153 x := &applicationServiceGetManifestsWithFilesClient{stream} 3154 return x, nil 3155 } 3156 3157 type ApplicationService_GetManifestsWithFilesClient interface { 3158 Send(*ApplicationManifestQueryWithFilesWrapper) error 3159 CloseAndRecv() (*apiclient.ManifestResponse, error) 3160 grpc.ClientStream 3161 } 3162 3163 type applicationServiceGetManifestsWithFilesClient struct { 3164 grpc.ClientStream 3165 } 3166 3167 func (x *applicationServiceGetManifestsWithFilesClient) Send(m *ApplicationManifestQueryWithFilesWrapper) error { 3168 return x.ClientStream.SendMsg(m) 3169 } 3170 3171 func (x *applicationServiceGetManifestsWithFilesClient) CloseAndRecv() (*apiclient.ManifestResponse, error) { 3172 if err := x.ClientStream.CloseSend(); err != nil { 3173 return nil, err 3174 } 3175 m := new(apiclient.ManifestResponse) 3176 if err := x.ClientStream.RecvMsg(m); err != nil { 3177 return nil, err 3178 } 3179 return m, nil 3180 } 3181 3182 func (c *applicationServiceClient) Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3183 out := new(v1alpha1.Application) 3184 err := c.cc.Invoke(ctx, "/application.ApplicationService/Update", in, out, opts...) 3185 if err != nil { 3186 return nil, err 3187 } 3188 return out, nil 3189 } 3190 3191 func (c *applicationServiceClient) UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSpec, error) { 3192 out := new(v1alpha1.ApplicationSpec) 3193 err := c.cc.Invoke(ctx, "/application.ApplicationService/UpdateSpec", in, out, opts...) 3194 if err != nil { 3195 return nil, err 3196 } 3197 return out, nil 3198 } 3199 3200 func (c *applicationServiceClient) Patch(ctx context.Context, in *ApplicationPatchRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3201 out := new(v1alpha1.Application) 3202 err := c.cc.Invoke(ctx, "/application.ApplicationService/Patch", in, out, opts...) 3203 if err != nil { 3204 return nil, err 3205 } 3206 return out, nil 3207 } 3208 3209 func (c *applicationServiceClient) Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3210 out := new(ApplicationResponse) 3211 err := c.cc.Invoke(ctx, "/application.ApplicationService/Delete", in, out, opts...) 3212 if err != nil { 3213 return nil, err 3214 } 3215 return out, nil 3216 } 3217 3218 func (c *applicationServiceClient) Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3219 out := new(v1alpha1.Application) 3220 err := c.cc.Invoke(ctx, "/application.ApplicationService/Sync", in, out, opts...) 3221 if err != nil { 3222 return nil, err 3223 } 3224 return out, nil 3225 } 3226 3227 func (c *applicationServiceClient) ManagedResources(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*ManagedResourcesResponse, error) { 3228 out := new(ManagedResourcesResponse) 3229 err := c.cc.Invoke(ctx, "/application.ApplicationService/ManagedResources", in, out, opts...) 3230 if err != nil { 3231 return nil, err 3232 } 3233 return out, nil 3234 } 3235 3236 func (c *applicationServiceClient) ResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationTree, error) { 3237 out := new(v1alpha1.ApplicationTree) 3238 err := c.cc.Invoke(ctx, "/application.ApplicationService/ResourceTree", in, out, opts...) 3239 if err != nil { 3240 return nil, err 3241 } 3242 return out, nil 3243 } 3244 3245 func (c *applicationServiceClient) WatchResourceTree(ctx context.Context, in *ResourcesQuery, opts ...grpc.CallOption) (ApplicationService_WatchResourceTreeClient, error) { 3246 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[2], "/application.ApplicationService/WatchResourceTree", opts...) 3247 if err != nil { 3248 return nil, err 3249 } 3250 x := &applicationServiceWatchResourceTreeClient{stream} 3251 if err := x.ClientStream.SendMsg(in); err != nil { 3252 return nil, err 3253 } 3254 if err := x.ClientStream.CloseSend(); err != nil { 3255 return nil, err 3256 } 3257 return x, nil 3258 } 3259 3260 type ApplicationService_WatchResourceTreeClient interface { 3261 Recv() (*v1alpha1.ApplicationTree, error) 3262 grpc.ClientStream 3263 } 3264 3265 type applicationServiceWatchResourceTreeClient struct { 3266 grpc.ClientStream 3267 } 3268 3269 func (x *applicationServiceWatchResourceTreeClient) Recv() (*v1alpha1.ApplicationTree, error) { 3270 m := new(v1alpha1.ApplicationTree) 3271 if err := x.ClientStream.RecvMsg(m); err != nil { 3272 return nil, err 3273 } 3274 return m, nil 3275 } 3276 3277 func (c *applicationServiceClient) Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) { 3278 out := new(v1alpha1.Application) 3279 err := c.cc.Invoke(ctx, "/application.ApplicationService/Rollback", in, out, opts...) 3280 if err != nil { 3281 return nil, err 3282 } 3283 return out, nil 3284 } 3285 3286 func (c *applicationServiceClient) TerminateOperation(ctx context.Context, in *OperationTerminateRequest, opts ...grpc.CallOption) (*OperationTerminateResponse, error) { 3287 out := new(OperationTerminateResponse) 3288 err := c.cc.Invoke(ctx, "/application.ApplicationService/TerminateOperation", in, out, opts...) 3289 if err != nil { 3290 return nil, err 3291 } 3292 return out, nil 3293 } 3294 3295 func (c *applicationServiceClient) GetResource(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) { 3296 out := new(ApplicationResourceResponse) 3297 err := c.cc.Invoke(ctx, "/application.ApplicationService/GetResource", in, out, opts...) 3298 if err != nil { 3299 return nil, err 3300 } 3301 return out, nil 3302 } 3303 3304 func (c *applicationServiceClient) PatchResource(ctx context.Context, in *ApplicationResourcePatchRequest, opts ...grpc.CallOption) (*ApplicationResourceResponse, error) { 3305 out := new(ApplicationResourceResponse) 3306 err := c.cc.Invoke(ctx, "/application.ApplicationService/PatchResource", in, out, opts...) 3307 if err != nil { 3308 return nil, err 3309 } 3310 return out, nil 3311 } 3312 3313 func (c *applicationServiceClient) ListResourceActions(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*ResourceActionsListResponse, error) { 3314 out := new(ResourceActionsListResponse) 3315 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceActions", in, out, opts...) 3316 if err != nil { 3317 return nil, err 3318 } 3319 return out, nil 3320 } 3321 3322 func (c *applicationServiceClient) RunResourceAction(ctx context.Context, in *ResourceActionRunRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3323 out := new(ApplicationResponse) 3324 err := c.cc.Invoke(ctx, "/application.ApplicationService/RunResourceAction", in, out, opts...) 3325 if err != nil { 3326 return nil, err 3327 } 3328 return out, nil 3329 } 3330 3331 func (c *applicationServiceClient) DeleteResource(ctx context.Context, in *ApplicationResourceDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error) { 3332 out := new(ApplicationResponse) 3333 err := c.cc.Invoke(ctx, "/application.ApplicationService/DeleteResource", in, out, opts...) 3334 if err != nil { 3335 return nil, err 3336 } 3337 return out, nil 3338 } 3339 3340 func (c *applicationServiceClient) PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error) { 3341 stream, err := c.cc.NewStream(ctx, &_ApplicationService_serviceDesc.Streams[3], "/application.ApplicationService/PodLogs", opts...) 3342 if err != nil { 3343 return nil, err 3344 } 3345 x := &applicationServicePodLogsClient{stream} 3346 if err := x.ClientStream.SendMsg(in); err != nil { 3347 return nil, err 3348 } 3349 if err := x.ClientStream.CloseSend(); err != nil { 3350 return nil, err 3351 } 3352 return x, nil 3353 } 3354 3355 type ApplicationService_PodLogsClient interface { 3356 Recv() (*LogEntry, error) 3357 grpc.ClientStream 3358 } 3359 3360 type applicationServicePodLogsClient struct { 3361 grpc.ClientStream 3362 } 3363 3364 func (x *applicationServicePodLogsClient) Recv() (*LogEntry, error) { 3365 m := new(LogEntry) 3366 if err := x.ClientStream.RecvMsg(m); err != nil { 3367 return nil, err 3368 } 3369 return m, nil 3370 } 3371 3372 func (c *applicationServiceClient) ListLinks(ctx context.Context, in *ListAppLinksRequest, opts ...grpc.CallOption) (*LinksResponse, error) { 3373 out := new(LinksResponse) 3374 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListLinks", in, out, opts...) 3375 if err != nil { 3376 return nil, err 3377 } 3378 return out, nil 3379 } 3380 3381 func (c *applicationServiceClient) ListResourceLinks(ctx context.Context, in *ApplicationResourceRequest, opts ...grpc.CallOption) (*LinksResponse, error) { 3382 out := new(LinksResponse) 3383 err := c.cc.Invoke(ctx, "/application.ApplicationService/ListResourceLinks", in, out, opts...) 3384 if err != nil { 3385 return nil, err 3386 } 3387 return out, nil 3388 } 3389 3390 // ApplicationServiceServer is the server API for ApplicationService service. 3391 type ApplicationServiceServer interface { 3392 // List returns list of applications 3393 List(context.Context, *ApplicationQuery) (*v1alpha1.ApplicationList, error) 3394 // ListResourceEvents returns a list of event resources 3395 ListResourceEvents(context.Context, *ApplicationResourceEventsQuery) (*v11.EventList, error) 3396 // Watch returns stream of application change events 3397 Watch(*ApplicationQuery, ApplicationService_WatchServer) error 3398 // Create creates an application 3399 Create(context.Context, *ApplicationCreateRequest) (*v1alpha1.Application, error) 3400 // Get returns an application by name 3401 Get(context.Context, *ApplicationQuery) (*v1alpha1.Application, error) 3402 // Get returns sync windows of the application 3403 GetApplicationSyncWindows(context.Context, *ApplicationSyncWindowsQuery) (*ApplicationSyncWindowsResponse, error) 3404 // Get the meta-data (author, date, tags, message) for a specific revision of the application 3405 RevisionMetadata(context.Context, *RevisionMetadataQuery) (*v1alpha1.RevisionMetadata, error) 3406 // Get the chart metadata (description, maintainers, home) for a specific revision of the application 3407 RevisionChartDetails(context.Context, *RevisionMetadataQuery) (*v1alpha1.ChartDetails, error) 3408 // GetManifests returns application manifests 3409 GetManifests(context.Context, *ApplicationManifestQuery) (*apiclient.ManifestResponse, error) 3410 // GetManifestsWithFiles returns application manifests using provided files to generate them 3411 GetManifestsWithFiles(ApplicationService_GetManifestsWithFilesServer) error 3412 // Update updates an application 3413 Update(context.Context, *ApplicationUpdateRequest) (*v1alpha1.Application, error) 3414 // UpdateSpec updates an application spec 3415 UpdateSpec(context.Context, *ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error) 3416 // Patch patch an application 3417 Patch(context.Context, *ApplicationPatchRequest) (*v1alpha1.Application, error) 3418 // Delete deletes an application 3419 Delete(context.Context, *ApplicationDeleteRequest) (*ApplicationResponse, error) 3420 // Sync syncs an application to its target state 3421 Sync(context.Context, *ApplicationSyncRequest) (*v1alpha1.Application, error) 3422 // ManagedResources returns list of managed resources 3423 ManagedResources(context.Context, *ResourcesQuery) (*ManagedResourcesResponse, error) 3424 // ResourceTree returns resource tree 3425 ResourceTree(context.Context, *ResourcesQuery) (*v1alpha1.ApplicationTree, error) 3426 // Watch returns stream of application resource tree 3427 WatchResourceTree(*ResourcesQuery, ApplicationService_WatchResourceTreeServer) error 3428 // Rollback syncs an application to its target state 3429 Rollback(context.Context, *ApplicationRollbackRequest) (*v1alpha1.Application, error) 3430 // TerminateOperation terminates the currently running operation 3431 TerminateOperation(context.Context, *OperationTerminateRequest) (*OperationTerminateResponse, error) 3432 // GetResource returns single application resource 3433 GetResource(context.Context, *ApplicationResourceRequest) (*ApplicationResourceResponse, error) 3434 // PatchResource patch single application resource 3435 PatchResource(context.Context, *ApplicationResourcePatchRequest) (*ApplicationResourceResponse, error) 3436 // ListResourceActions returns list of resource actions 3437 ListResourceActions(context.Context, *ApplicationResourceRequest) (*ResourceActionsListResponse, error) 3438 // RunResourceAction run resource action 3439 RunResourceAction(context.Context, *ResourceActionRunRequest) (*ApplicationResponse, error) 3440 // DeleteResource deletes a single application resource 3441 DeleteResource(context.Context, *ApplicationResourceDeleteRequest) (*ApplicationResponse, error) 3442 // PodLogs returns stream of log entries for the specified pod. Pod 3443 PodLogs(*ApplicationPodLogsQuery, ApplicationService_PodLogsServer) error 3444 // ListLinks returns the list of all application deep links 3445 ListLinks(context.Context, *ListAppLinksRequest) (*LinksResponse, error) 3446 // ListResourceLinks returns the list of all resource deep links 3447 ListResourceLinks(context.Context, *ApplicationResourceRequest) (*LinksResponse, error) 3448 } 3449 3450 // UnimplementedApplicationServiceServer can be embedded to have forward compatible implementations. 3451 type UnimplementedApplicationServiceServer struct { 3452 } 3453 3454 func (*UnimplementedApplicationServiceServer) List(ctx context.Context, req *ApplicationQuery) (*v1alpha1.ApplicationList, error) { 3455 return nil, status.Errorf(codes.Unimplemented, "method List not implemented") 3456 } 3457 func (*UnimplementedApplicationServiceServer) ListResourceEvents(ctx context.Context, req *ApplicationResourceEventsQuery) (*v11.EventList, error) { 3458 return nil, status.Errorf(codes.Unimplemented, "method ListResourceEvents not implemented") 3459 } 3460 func (*UnimplementedApplicationServiceServer) Watch(req *ApplicationQuery, srv ApplicationService_WatchServer) error { 3461 return status.Errorf(codes.Unimplemented, "method Watch not implemented") 3462 } 3463 func (*UnimplementedApplicationServiceServer) Create(ctx context.Context, req *ApplicationCreateRequest) (*v1alpha1.Application, error) { 3464 return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") 3465 } 3466 func (*UnimplementedApplicationServiceServer) Get(ctx context.Context, req *ApplicationQuery) (*v1alpha1.Application, error) { 3467 return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") 3468 } 3469 func (*UnimplementedApplicationServiceServer) GetApplicationSyncWindows(ctx context.Context, req *ApplicationSyncWindowsQuery) (*ApplicationSyncWindowsResponse, error) { 3470 return nil, status.Errorf(codes.Unimplemented, "method GetApplicationSyncWindows not implemented") 3471 } 3472 func (*UnimplementedApplicationServiceServer) RevisionMetadata(ctx context.Context, req *RevisionMetadataQuery) (*v1alpha1.RevisionMetadata, error) { 3473 return nil, status.Errorf(codes.Unimplemented, "method RevisionMetadata not implemented") 3474 } 3475 func (*UnimplementedApplicationServiceServer) RevisionChartDetails(ctx context.Context, req *RevisionMetadataQuery) (*v1alpha1.ChartDetails, error) { 3476 return nil, status.Errorf(codes.Unimplemented, "method RevisionChartDetails not implemented") 3477 } 3478 func (*UnimplementedApplicationServiceServer) GetManifests(ctx context.Context, req *ApplicationManifestQuery) (*apiclient.ManifestResponse, error) { 3479 return nil, status.Errorf(codes.Unimplemented, "method GetManifests not implemented") 3480 } 3481 func (*UnimplementedApplicationServiceServer) GetManifestsWithFiles(srv ApplicationService_GetManifestsWithFilesServer) error { 3482 return status.Errorf(codes.Unimplemented, "method GetManifestsWithFiles not implemented") 3483 } 3484 func (*UnimplementedApplicationServiceServer) Update(ctx context.Context, req *ApplicationUpdateRequest) (*v1alpha1.Application, error) { 3485 return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") 3486 } 3487 func (*UnimplementedApplicationServiceServer) UpdateSpec(ctx context.Context, req *ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error) { 3488 return nil, status.Errorf(codes.Unimplemented, "method UpdateSpec not implemented") 3489 } 3490 func (*UnimplementedApplicationServiceServer) Patch(ctx context.Context, req *ApplicationPatchRequest) (*v1alpha1.Application, error) { 3491 return nil, status.Errorf(codes.Unimplemented, "method Patch not implemented") 3492 } 3493 func (*UnimplementedApplicationServiceServer) Delete(ctx context.Context, req *ApplicationDeleteRequest) (*ApplicationResponse, error) { 3494 return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") 3495 } 3496 func (*UnimplementedApplicationServiceServer) Sync(ctx context.Context, req *ApplicationSyncRequest) (*v1alpha1.Application, error) { 3497 return nil, status.Errorf(codes.Unimplemented, "method Sync not implemented") 3498 } 3499 func (*UnimplementedApplicationServiceServer) ManagedResources(ctx context.Context, req *ResourcesQuery) (*ManagedResourcesResponse, error) { 3500 return nil, status.Errorf(codes.Unimplemented, "method ManagedResources not implemented") 3501 } 3502 func (*UnimplementedApplicationServiceServer) ResourceTree(ctx context.Context, req *ResourcesQuery) (*v1alpha1.ApplicationTree, error) { 3503 return nil, status.Errorf(codes.Unimplemented, "method ResourceTree not implemented") 3504 } 3505 func (*UnimplementedApplicationServiceServer) WatchResourceTree(req *ResourcesQuery, srv ApplicationService_WatchResourceTreeServer) error { 3506 return status.Errorf(codes.Unimplemented, "method WatchResourceTree not implemented") 3507 } 3508 func (*UnimplementedApplicationServiceServer) Rollback(ctx context.Context, req *ApplicationRollbackRequest) (*v1alpha1.Application, error) { 3509 return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") 3510 } 3511 func (*UnimplementedApplicationServiceServer) TerminateOperation(ctx context.Context, req *OperationTerminateRequest) (*OperationTerminateResponse, error) { 3512 return nil, status.Errorf(codes.Unimplemented, "method TerminateOperation not implemented") 3513 } 3514 func (*UnimplementedApplicationServiceServer) GetResource(ctx context.Context, req *ApplicationResourceRequest) (*ApplicationResourceResponse, error) { 3515 return nil, status.Errorf(codes.Unimplemented, "method GetResource not implemented") 3516 } 3517 func (*UnimplementedApplicationServiceServer) PatchResource(ctx context.Context, req *ApplicationResourcePatchRequest) (*ApplicationResourceResponse, error) { 3518 return nil, status.Errorf(codes.Unimplemented, "method PatchResource not implemented") 3519 } 3520 func (*UnimplementedApplicationServiceServer) ListResourceActions(ctx context.Context, req *ApplicationResourceRequest) (*ResourceActionsListResponse, error) { 3521 return nil, status.Errorf(codes.Unimplemented, "method ListResourceActions not implemented") 3522 } 3523 func (*UnimplementedApplicationServiceServer) RunResourceAction(ctx context.Context, req *ResourceActionRunRequest) (*ApplicationResponse, error) { 3524 return nil, status.Errorf(codes.Unimplemented, "method RunResourceAction not implemented") 3525 } 3526 func (*UnimplementedApplicationServiceServer) DeleteResource(ctx context.Context, req *ApplicationResourceDeleteRequest) (*ApplicationResponse, error) { 3527 return nil, status.Errorf(codes.Unimplemented, "method DeleteResource not implemented") 3528 } 3529 func (*UnimplementedApplicationServiceServer) PodLogs(req *ApplicationPodLogsQuery, srv ApplicationService_PodLogsServer) error { 3530 return status.Errorf(codes.Unimplemented, "method PodLogs not implemented") 3531 } 3532 func (*UnimplementedApplicationServiceServer) ListLinks(ctx context.Context, req *ListAppLinksRequest) (*LinksResponse, error) { 3533 return nil, status.Errorf(codes.Unimplemented, "method ListLinks not implemented") 3534 } 3535 func (*UnimplementedApplicationServiceServer) ListResourceLinks(ctx context.Context, req *ApplicationResourceRequest) (*LinksResponse, error) { 3536 return nil, status.Errorf(codes.Unimplemented, "method ListResourceLinks not implemented") 3537 } 3538 3539 func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer) { 3540 s.RegisterService(&_ApplicationService_serviceDesc, srv) 3541 } 3542 3543 func _ApplicationService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3544 in := new(ApplicationQuery) 3545 if err := dec(in); err != nil { 3546 return nil, err 3547 } 3548 if interceptor == nil { 3549 return srv.(ApplicationServiceServer).List(ctx, in) 3550 } 3551 info := &grpc.UnaryServerInfo{ 3552 Server: srv, 3553 FullMethod: "/application.ApplicationService/List", 3554 } 3555 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3556 return srv.(ApplicationServiceServer).List(ctx, req.(*ApplicationQuery)) 3557 } 3558 return interceptor(ctx, in, info, handler) 3559 } 3560 3561 func _ApplicationService_ListResourceEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3562 in := new(ApplicationResourceEventsQuery) 3563 if err := dec(in); err != nil { 3564 return nil, err 3565 } 3566 if interceptor == nil { 3567 return srv.(ApplicationServiceServer).ListResourceEvents(ctx, in) 3568 } 3569 info := &grpc.UnaryServerInfo{ 3570 Server: srv, 3571 FullMethod: "/application.ApplicationService/ListResourceEvents", 3572 } 3573 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3574 return srv.(ApplicationServiceServer).ListResourceEvents(ctx, req.(*ApplicationResourceEventsQuery)) 3575 } 3576 return interceptor(ctx, in, info, handler) 3577 } 3578 3579 func _ApplicationService_Watch_Handler(srv interface{}, stream grpc.ServerStream) error { 3580 m := new(ApplicationQuery) 3581 if err := stream.RecvMsg(m); err != nil { 3582 return err 3583 } 3584 return srv.(ApplicationServiceServer).Watch(m, &applicationServiceWatchServer{stream}) 3585 } 3586 3587 type ApplicationService_WatchServer interface { 3588 Send(*v1alpha1.ApplicationWatchEvent) error 3589 grpc.ServerStream 3590 } 3591 3592 type applicationServiceWatchServer struct { 3593 grpc.ServerStream 3594 } 3595 3596 func (x *applicationServiceWatchServer) Send(m *v1alpha1.ApplicationWatchEvent) error { 3597 return x.ServerStream.SendMsg(m) 3598 } 3599 3600 func _ApplicationService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3601 in := new(ApplicationCreateRequest) 3602 if err := dec(in); err != nil { 3603 return nil, err 3604 } 3605 if interceptor == nil { 3606 return srv.(ApplicationServiceServer).Create(ctx, in) 3607 } 3608 info := &grpc.UnaryServerInfo{ 3609 Server: srv, 3610 FullMethod: "/application.ApplicationService/Create", 3611 } 3612 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3613 return srv.(ApplicationServiceServer).Create(ctx, req.(*ApplicationCreateRequest)) 3614 } 3615 return interceptor(ctx, in, info, handler) 3616 } 3617 3618 func _ApplicationService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3619 in := new(ApplicationQuery) 3620 if err := dec(in); err != nil { 3621 return nil, err 3622 } 3623 if interceptor == nil { 3624 return srv.(ApplicationServiceServer).Get(ctx, in) 3625 } 3626 info := &grpc.UnaryServerInfo{ 3627 Server: srv, 3628 FullMethod: "/application.ApplicationService/Get", 3629 } 3630 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3631 return srv.(ApplicationServiceServer).Get(ctx, req.(*ApplicationQuery)) 3632 } 3633 return interceptor(ctx, in, info, handler) 3634 } 3635 3636 func _ApplicationService_GetApplicationSyncWindows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3637 in := new(ApplicationSyncWindowsQuery) 3638 if err := dec(in); err != nil { 3639 return nil, err 3640 } 3641 if interceptor == nil { 3642 return srv.(ApplicationServiceServer).GetApplicationSyncWindows(ctx, in) 3643 } 3644 info := &grpc.UnaryServerInfo{ 3645 Server: srv, 3646 FullMethod: "/application.ApplicationService/GetApplicationSyncWindows", 3647 } 3648 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3649 return srv.(ApplicationServiceServer).GetApplicationSyncWindows(ctx, req.(*ApplicationSyncWindowsQuery)) 3650 } 3651 return interceptor(ctx, in, info, handler) 3652 } 3653 3654 func _ApplicationService_RevisionMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3655 in := new(RevisionMetadataQuery) 3656 if err := dec(in); err != nil { 3657 return nil, err 3658 } 3659 if interceptor == nil { 3660 return srv.(ApplicationServiceServer).RevisionMetadata(ctx, in) 3661 } 3662 info := &grpc.UnaryServerInfo{ 3663 Server: srv, 3664 FullMethod: "/application.ApplicationService/RevisionMetadata", 3665 } 3666 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3667 return srv.(ApplicationServiceServer).RevisionMetadata(ctx, req.(*RevisionMetadataQuery)) 3668 } 3669 return interceptor(ctx, in, info, handler) 3670 } 3671 3672 func _ApplicationService_RevisionChartDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3673 in := new(RevisionMetadataQuery) 3674 if err := dec(in); err != nil { 3675 return nil, err 3676 } 3677 if interceptor == nil { 3678 return srv.(ApplicationServiceServer).RevisionChartDetails(ctx, in) 3679 } 3680 info := &grpc.UnaryServerInfo{ 3681 Server: srv, 3682 FullMethod: "/application.ApplicationService/RevisionChartDetails", 3683 } 3684 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3685 return srv.(ApplicationServiceServer).RevisionChartDetails(ctx, req.(*RevisionMetadataQuery)) 3686 } 3687 return interceptor(ctx, in, info, handler) 3688 } 3689 3690 func _ApplicationService_GetManifests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3691 in := new(ApplicationManifestQuery) 3692 if err := dec(in); err != nil { 3693 return nil, err 3694 } 3695 if interceptor == nil { 3696 return srv.(ApplicationServiceServer).GetManifests(ctx, in) 3697 } 3698 info := &grpc.UnaryServerInfo{ 3699 Server: srv, 3700 FullMethod: "/application.ApplicationService/GetManifests", 3701 } 3702 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3703 return srv.(ApplicationServiceServer).GetManifests(ctx, req.(*ApplicationManifestQuery)) 3704 } 3705 return interceptor(ctx, in, info, handler) 3706 } 3707 3708 func _ApplicationService_GetManifestsWithFiles_Handler(srv interface{}, stream grpc.ServerStream) error { 3709 return srv.(ApplicationServiceServer).GetManifestsWithFiles(&applicationServiceGetManifestsWithFilesServer{stream}) 3710 } 3711 3712 type ApplicationService_GetManifestsWithFilesServer interface { 3713 SendAndClose(*apiclient.ManifestResponse) error 3714 Recv() (*ApplicationManifestQueryWithFilesWrapper, error) 3715 grpc.ServerStream 3716 } 3717 3718 type applicationServiceGetManifestsWithFilesServer struct { 3719 grpc.ServerStream 3720 } 3721 3722 func (x *applicationServiceGetManifestsWithFilesServer) SendAndClose(m *apiclient.ManifestResponse) error { 3723 return x.ServerStream.SendMsg(m) 3724 } 3725 3726 func (x *applicationServiceGetManifestsWithFilesServer) Recv() (*ApplicationManifestQueryWithFilesWrapper, error) { 3727 m := new(ApplicationManifestQueryWithFilesWrapper) 3728 if err := x.ServerStream.RecvMsg(m); err != nil { 3729 return nil, err 3730 } 3731 return m, nil 3732 } 3733 3734 func _ApplicationService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3735 in := new(ApplicationUpdateRequest) 3736 if err := dec(in); err != nil { 3737 return nil, err 3738 } 3739 if interceptor == nil { 3740 return srv.(ApplicationServiceServer).Update(ctx, in) 3741 } 3742 info := &grpc.UnaryServerInfo{ 3743 Server: srv, 3744 FullMethod: "/application.ApplicationService/Update", 3745 } 3746 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3747 return srv.(ApplicationServiceServer).Update(ctx, req.(*ApplicationUpdateRequest)) 3748 } 3749 return interceptor(ctx, in, info, handler) 3750 } 3751 3752 func _ApplicationService_UpdateSpec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3753 in := new(ApplicationUpdateSpecRequest) 3754 if err := dec(in); err != nil { 3755 return nil, err 3756 } 3757 if interceptor == nil { 3758 return srv.(ApplicationServiceServer).UpdateSpec(ctx, in) 3759 } 3760 info := &grpc.UnaryServerInfo{ 3761 Server: srv, 3762 FullMethod: "/application.ApplicationService/UpdateSpec", 3763 } 3764 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3765 return srv.(ApplicationServiceServer).UpdateSpec(ctx, req.(*ApplicationUpdateSpecRequest)) 3766 } 3767 return interceptor(ctx, in, info, handler) 3768 } 3769 3770 func _ApplicationService_Patch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3771 in := new(ApplicationPatchRequest) 3772 if err := dec(in); err != nil { 3773 return nil, err 3774 } 3775 if interceptor == nil { 3776 return srv.(ApplicationServiceServer).Patch(ctx, in) 3777 } 3778 info := &grpc.UnaryServerInfo{ 3779 Server: srv, 3780 FullMethod: "/application.ApplicationService/Patch", 3781 } 3782 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3783 return srv.(ApplicationServiceServer).Patch(ctx, req.(*ApplicationPatchRequest)) 3784 } 3785 return interceptor(ctx, in, info, handler) 3786 } 3787 3788 func _ApplicationService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3789 in := new(ApplicationDeleteRequest) 3790 if err := dec(in); err != nil { 3791 return nil, err 3792 } 3793 if interceptor == nil { 3794 return srv.(ApplicationServiceServer).Delete(ctx, in) 3795 } 3796 info := &grpc.UnaryServerInfo{ 3797 Server: srv, 3798 FullMethod: "/application.ApplicationService/Delete", 3799 } 3800 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3801 return srv.(ApplicationServiceServer).Delete(ctx, req.(*ApplicationDeleteRequest)) 3802 } 3803 return interceptor(ctx, in, info, handler) 3804 } 3805 3806 func _ApplicationService_Sync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3807 in := new(ApplicationSyncRequest) 3808 if err := dec(in); err != nil { 3809 return nil, err 3810 } 3811 if interceptor == nil { 3812 return srv.(ApplicationServiceServer).Sync(ctx, in) 3813 } 3814 info := &grpc.UnaryServerInfo{ 3815 Server: srv, 3816 FullMethod: "/application.ApplicationService/Sync", 3817 } 3818 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3819 return srv.(ApplicationServiceServer).Sync(ctx, req.(*ApplicationSyncRequest)) 3820 } 3821 return interceptor(ctx, in, info, handler) 3822 } 3823 3824 func _ApplicationService_ManagedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3825 in := new(ResourcesQuery) 3826 if err := dec(in); err != nil { 3827 return nil, err 3828 } 3829 if interceptor == nil { 3830 return srv.(ApplicationServiceServer).ManagedResources(ctx, in) 3831 } 3832 info := &grpc.UnaryServerInfo{ 3833 Server: srv, 3834 FullMethod: "/application.ApplicationService/ManagedResources", 3835 } 3836 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3837 return srv.(ApplicationServiceServer).ManagedResources(ctx, req.(*ResourcesQuery)) 3838 } 3839 return interceptor(ctx, in, info, handler) 3840 } 3841 3842 func _ApplicationService_ResourceTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3843 in := new(ResourcesQuery) 3844 if err := dec(in); err != nil { 3845 return nil, err 3846 } 3847 if interceptor == nil { 3848 return srv.(ApplicationServiceServer).ResourceTree(ctx, in) 3849 } 3850 info := &grpc.UnaryServerInfo{ 3851 Server: srv, 3852 FullMethod: "/application.ApplicationService/ResourceTree", 3853 } 3854 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3855 return srv.(ApplicationServiceServer).ResourceTree(ctx, req.(*ResourcesQuery)) 3856 } 3857 return interceptor(ctx, in, info, handler) 3858 } 3859 3860 func _ApplicationService_WatchResourceTree_Handler(srv interface{}, stream grpc.ServerStream) error { 3861 m := new(ResourcesQuery) 3862 if err := stream.RecvMsg(m); err != nil { 3863 return err 3864 } 3865 return srv.(ApplicationServiceServer).WatchResourceTree(m, &applicationServiceWatchResourceTreeServer{stream}) 3866 } 3867 3868 type ApplicationService_WatchResourceTreeServer interface { 3869 Send(*v1alpha1.ApplicationTree) error 3870 grpc.ServerStream 3871 } 3872 3873 type applicationServiceWatchResourceTreeServer struct { 3874 grpc.ServerStream 3875 } 3876 3877 func (x *applicationServiceWatchResourceTreeServer) Send(m *v1alpha1.ApplicationTree) error { 3878 return x.ServerStream.SendMsg(m) 3879 } 3880 3881 func _ApplicationService_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3882 in := new(ApplicationRollbackRequest) 3883 if err := dec(in); err != nil { 3884 return nil, err 3885 } 3886 if interceptor == nil { 3887 return srv.(ApplicationServiceServer).Rollback(ctx, in) 3888 } 3889 info := &grpc.UnaryServerInfo{ 3890 Server: srv, 3891 FullMethod: "/application.ApplicationService/Rollback", 3892 } 3893 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3894 return srv.(ApplicationServiceServer).Rollback(ctx, req.(*ApplicationRollbackRequest)) 3895 } 3896 return interceptor(ctx, in, info, handler) 3897 } 3898 3899 func _ApplicationService_TerminateOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3900 in := new(OperationTerminateRequest) 3901 if err := dec(in); err != nil { 3902 return nil, err 3903 } 3904 if interceptor == nil { 3905 return srv.(ApplicationServiceServer).TerminateOperation(ctx, in) 3906 } 3907 info := &grpc.UnaryServerInfo{ 3908 Server: srv, 3909 FullMethod: "/application.ApplicationService/TerminateOperation", 3910 } 3911 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3912 return srv.(ApplicationServiceServer).TerminateOperation(ctx, req.(*OperationTerminateRequest)) 3913 } 3914 return interceptor(ctx, in, info, handler) 3915 } 3916 3917 func _ApplicationService_GetResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3918 in := new(ApplicationResourceRequest) 3919 if err := dec(in); err != nil { 3920 return nil, err 3921 } 3922 if interceptor == nil { 3923 return srv.(ApplicationServiceServer).GetResource(ctx, in) 3924 } 3925 info := &grpc.UnaryServerInfo{ 3926 Server: srv, 3927 FullMethod: "/application.ApplicationService/GetResource", 3928 } 3929 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3930 return srv.(ApplicationServiceServer).GetResource(ctx, req.(*ApplicationResourceRequest)) 3931 } 3932 return interceptor(ctx, in, info, handler) 3933 } 3934 3935 func _ApplicationService_PatchResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3936 in := new(ApplicationResourcePatchRequest) 3937 if err := dec(in); err != nil { 3938 return nil, err 3939 } 3940 if interceptor == nil { 3941 return srv.(ApplicationServiceServer).PatchResource(ctx, in) 3942 } 3943 info := &grpc.UnaryServerInfo{ 3944 Server: srv, 3945 FullMethod: "/application.ApplicationService/PatchResource", 3946 } 3947 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3948 return srv.(ApplicationServiceServer).PatchResource(ctx, req.(*ApplicationResourcePatchRequest)) 3949 } 3950 return interceptor(ctx, in, info, handler) 3951 } 3952 3953 func _ApplicationService_ListResourceActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3954 in := new(ApplicationResourceRequest) 3955 if err := dec(in); err != nil { 3956 return nil, err 3957 } 3958 if interceptor == nil { 3959 return srv.(ApplicationServiceServer).ListResourceActions(ctx, in) 3960 } 3961 info := &grpc.UnaryServerInfo{ 3962 Server: srv, 3963 FullMethod: "/application.ApplicationService/ListResourceActions", 3964 } 3965 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3966 return srv.(ApplicationServiceServer).ListResourceActions(ctx, req.(*ApplicationResourceRequest)) 3967 } 3968 return interceptor(ctx, in, info, handler) 3969 } 3970 3971 func _ApplicationService_RunResourceAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3972 in := new(ResourceActionRunRequest) 3973 if err := dec(in); err != nil { 3974 return nil, err 3975 } 3976 if interceptor == nil { 3977 return srv.(ApplicationServiceServer).RunResourceAction(ctx, in) 3978 } 3979 info := &grpc.UnaryServerInfo{ 3980 Server: srv, 3981 FullMethod: "/application.ApplicationService/RunResourceAction", 3982 } 3983 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3984 return srv.(ApplicationServiceServer).RunResourceAction(ctx, req.(*ResourceActionRunRequest)) 3985 } 3986 return interceptor(ctx, in, info, handler) 3987 } 3988 3989 func _ApplicationService_DeleteResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3990 in := new(ApplicationResourceDeleteRequest) 3991 if err := dec(in); err != nil { 3992 return nil, err 3993 } 3994 if interceptor == nil { 3995 return srv.(ApplicationServiceServer).DeleteResource(ctx, in) 3996 } 3997 info := &grpc.UnaryServerInfo{ 3998 Server: srv, 3999 FullMethod: "/application.ApplicationService/DeleteResource", 4000 } 4001 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4002 return srv.(ApplicationServiceServer).DeleteResource(ctx, req.(*ApplicationResourceDeleteRequest)) 4003 } 4004 return interceptor(ctx, in, info, handler) 4005 } 4006 4007 func _ApplicationService_PodLogs_Handler(srv interface{}, stream grpc.ServerStream) error { 4008 m := new(ApplicationPodLogsQuery) 4009 if err := stream.RecvMsg(m); err != nil { 4010 return err 4011 } 4012 return srv.(ApplicationServiceServer).PodLogs(m, &applicationServicePodLogsServer{stream}) 4013 } 4014 4015 type ApplicationService_PodLogsServer interface { 4016 Send(*LogEntry) error 4017 grpc.ServerStream 4018 } 4019 4020 type applicationServicePodLogsServer struct { 4021 grpc.ServerStream 4022 } 4023 4024 func (x *applicationServicePodLogsServer) Send(m *LogEntry) error { 4025 return x.ServerStream.SendMsg(m) 4026 } 4027 4028 func _ApplicationService_ListLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4029 in := new(ListAppLinksRequest) 4030 if err := dec(in); err != nil { 4031 return nil, err 4032 } 4033 if interceptor == nil { 4034 return srv.(ApplicationServiceServer).ListLinks(ctx, in) 4035 } 4036 info := &grpc.UnaryServerInfo{ 4037 Server: srv, 4038 FullMethod: "/application.ApplicationService/ListLinks", 4039 } 4040 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4041 return srv.(ApplicationServiceServer).ListLinks(ctx, req.(*ListAppLinksRequest)) 4042 } 4043 return interceptor(ctx, in, info, handler) 4044 } 4045 4046 func _ApplicationService_ListResourceLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 4047 in := new(ApplicationResourceRequest) 4048 if err := dec(in); err != nil { 4049 return nil, err 4050 } 4051 if interceptor == nil { 4052 return srv.(ApplicationServiceServer).ListResourceLinks(ctx, in) 4053 } 4054 info := &grpc.UnaryServerInfo{ 4055 Server: srv, 4056 FullMethod: "/application.ApplicationService/ListResourceLinks", 4057 } 4058 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 4059 return srv.(ApplicationServiceServer).ListResourceLinks(ctx, req.(*ApplicationResourceRequest)) 4060 } 4061 return interceptor(ctx, in, info, handler) 4062 } 4063 4064 var _ApplicationService_serviceDesc = grpc.ServiceDesc{ 4065 ServiceName: "application.ApplicationService", 4066 HandlerType: (*ApplicationServiceServer)(nil), 4067 Methods: []grpc.MethodDesc{ 4068 { 4069 MethodName: "List", 4070 Handler: _ApplicationService_List_Handler, 4071 }, 4072 { 4073 MethodName: "ListResourceEvents", 4074 Handler: _ApplicationService_ListResourceEvents_Handler, 4075 }, 4076 { 4077 MethodName: "Create", 4078 Handler: _ApplicationService_Create_Handler, 4079 }, 4080 { 4081 MethodName: "Get", 4082 Handler: _ApplicationService_Get_Handler, 4083 }, 4084 { 4085 MethodName: "GetApplicationSyncWindows", 4086 Handler: _ApplicationService_GetApplicationSyncWindows_Handler, 4087 }, 4088 { 4089 MethodName: "RevisionMetadata", 4090 Handler: _ApplicationService_RevisionMetadata_Handler, 4091 }, 4092 { 4093 MethodName: "RevisionChartDetails", 4094 Handler: _ApplicationService_RevisionChartDetails_Handler, 4095 }, 4096 { 4097 MethodName: "GetManifests", 4098 Handler: _ApplicationService_GetManifests_Handler, 4099 }, 4100 { 4101 MethodName: "Update", 4102 Handler: _ApplicationService_Update_Handler, 4103 }, 4104 { 4105 MethodName: "UpdateSpec", 4106 Handler: _ApplicationService_UpdateSpec_Handler, 4107 }, 4108 { 4109 MethodName: "Patch", 4110 Handler: _ApplicationService_Patch_Handler, 4111 }, 4112 { 4113 MethodName: "Delete", 4114 Handler: _ApplicationService_Delete_Handler, 4115 }, 4116 { 4117 MethodName: "Sync", 4118 Handler: _ApplicationService_Sync_Handler, 4119 }, 4120 { 4121 MethodName: "ManagedResources", 4122 Handler: _ApplicationService_ManagedResources_Handler, 4123 }, 4124 { 4125 MethodName: "ResourceTree", 4126 Handler: _ApplicationService_ResourceTree_Handler, 4127 }, 4128 { 4129 MethodName: "Rollback", 4130 Handler: _ApplicationService_Rollback_Handler, 4131 }, 4132 { 4133 MethodName: "TerminateOperation", 4134 Handler: _ApplicationService_TerminateOperation_Handler, 4135 }, 4136 { 4137 MethodName: "GetResource", 4138 Handler: _ApplicationService_GetResource_Handler, 4139 }, 4140 { 4141 MethodName: "PatchResource", 4142 Handler: _ApplicationService_PatchResource_Handler, 4143 }, 4144 { 4145 MethodName: "ListResourceActions", 4146 Handler: _ApplicationService_ListResourceActions_Handler, 4147 }, 4148 { 4149 MethodName: "RunResourceAction", 4150 Handler: _ApplicationService_RunResourceAction_Handler, 4151 }, 4152 { 4153 MethodName: "DeleteResource", 4154 Handler: _ApplicationService_DeleteResource_Handler, 4155 }, 4156 { 4157 MethodName: "ListLinks", 4158 Handler: _ApplicationService_ListLinks_Handler, 4159 }, 4160 { 4161 MethodName: "ListResourceLinks", 4162 Handler: _ApplicationService_ListResourceLinks_Handler, 4163 }, 4164 }, 4165 Streams: []grpc.StreamDesc{ 4166 { 4167 StreamName: "Watch", 4168 Handler: _ApplicationService_Watch_Handler, 4169 ServerStreams: true, 4170 }, 4171 { 4172 StreamName: "GetManifestsWithFiles", 4173 Handler: _ApplicationService_GetManifestsWithFiles_Handler, 4174 ClientStreams: true, 4175 }, 4176 { 4177 StreamName: "WatchResourceTree", 4178 Handler: _ApplicationService_WatchResourceTree_Handler, 4179 ServerStreams: true, 4180 }, 4181 { 4182 StreamName: "PodLogs", 4183 Handler: _ApplicationService_PodLogs_Handler, 4184 ServerStreams: true, 4185 }, 4186 }, 4187 Metadata: "server/application/application.proto", 4188 } 4189 4190 func (m *ApplicationQuery) Marshal() (dAtA []byte, err error) { 4191 size := m.Size() 4192 dAtA = make([]byte, size) 4193 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4194 if err != nil { 4195 return nil, err 4196 } 4197 return dAtA[:n], nil 4198 } 4199 4200 func (m *ApplicationQuery) MarshalTo(dAtA []byte) (int, error) { 4201 size := m.Size() 4202 return m.MarshalToSizedBuffer(dAtA[:size]) 4203 } 4204 4205 func (m *ApplicationQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4206 i := len(dAtA) 4207 _ = i 4208 var l int 4209 _ = l 4210 if m.XXX_unrecognized != nil { 4211 i -= len(m.XXX_unrecognized) 4212 copy(dAtA[i:], m.XXX_unrecognized) 4213 } 4214 if len(m.Project) > 0 { 4215 for iNdEx := len(m.Project) - 1; iNdEx >= 0; iNdEx-- { 4216 i -= len(m.Project[iNdEx]) 4217 copy(dAtA[i:], m.Project[iNdEx]) 4218 i = encodeVarintApplication(dAtA, i, uint64(len(m.Project[iNdEx]))) 4219 i-- 4220 dAtA[i] = 0x42 4221 } 4222 } 4223 if m.AppNamespace != nil { 4224 i -= len(*m.AppNamespace) 4225 copy(dAtA[i:], *m.AppNamespace) 4226 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4227 i-- 4228 dAtA[i] = 0x3a 4229 } 4230 if m.Repo != nil { 4231 i -= len(*m.Repo) 4232 copy(dAtA[i:], *m.Repo) 4233 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Repo))) 4234 i-- 4235 dAtA[i] = 0x32 4236 } 4237 if m.Selector != nil { 4238 i -= len(*m.Selector) 4239 copy(dAtA[i:], *m.Selector) 4240 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Selector))) 4241 i-- 4242 dAtA[i] = 0x2a 4243 } 4244 if m.ResourceVersion != nil { 4245 i -= len(*m.ResourceVersion) 4246 copy(dAtA[i:], *m.ResourceVersion) 4247 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceVersion))) 4248 i-- 4249 dAtA[i] = 0x22 4250 } 4251 if len(m.Projects) > 0 { 4252 for iNdEx := len(m.Projects) - 1; iNdEx >= 0; iNdEx-- { 4253 i -= len(m.Projects[iNdEx]) 4254 copy(dAtA[i:], m.Projects[iNdEx]) 4255 i = encodeVarintApplication(dAtA, i, uint64(len(m.Projects[iNdEx]))) 4256 i-- 4257 dAtA[i] = 0x1a 4258 } 4259 } 4260 if m.Refresh != nil { 4261 i -= len(*m.Refresh) 4262 copy(dAtA[i:], *m.Refresh) 4263 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Refresh))) 4264 i-- 4265 dAtA[i] = 0x12 4266 } 4267 if m.Name != nil { 4268 i -= len(*m.Name) 4269 copy(dAtA[i:], *m.Name) 4270 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4271 i-- 4272 dAtA[i] = 0xa 4273 } 4274 return len(dAtA) - i, nil 4275 } 4276 4277 func (m *NodeQuery) Marshal() (dAtA []byte, err error) { 4278 size := m.Size() 4279 dAtA = make([]byte, size) 4280 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4281 if err != nil { 4282 return nil, err 4283 } 4284 return dAtA[:n], nil 4285 } 4286 4287 func (m *NodeQuery) MarshalTo(dAtA []byte) (int, error) { 4288 size := m.Size() 4289 return m.MarshalToSizedBuffer(dAtA[:size]) 4290 } 4291 4292 func (m *NodeQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4293 i := len(dAtA) 4294 _ = i 4295 var l int 4296 _ = l 4297 if m.XXX_unrecognized != nil { 4298 i -= len(m.XXX_unrecognized) 4299 copy(dAtA[i:], m.XXX_unrecognized) 4300 } 4301 if m.AppNamespace != nil { 4302 i -= len(*m.AppNamespace) 4303 copy(dAtA[i:], *m.AppNamespace) 4304 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4305 i-- 4306 dAtA[i] = 0x12 4307 } 4308 if m.Name != nil { 4309 i -= len(*m.Name) 4310 copy(dAtA[i:], *m.Name) 4311 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4312 i-- 4313 dAtA[i] = 0xa 4314 } 4315 return len(dAtA) - i, nil 4316 } 4317 4318 func (m *RevisionMetadataQuery) Marshal() (dAtA []byte, err error) { 4319 size := m.Size() 4320 dAtA = make([]byte, size) 4321 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4322 if err != nil { 4323 return nil, err 4324 } 4325 return dAtA[:n], nil 4326 } 4327 4328 func (m *RevisionMetadataQuery) MarshalTo(dAtA []byte) (int, error) { 4329 size := m.Size() 4330 return m.MarshalToSizedBuffer(dAtA[:size]) 4331 } 4332 4333 func (m *RevisionMetadataQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4334 i := len(dAtA) 4335 _ = i 4336 var l int 4337 _ = l 4338 if m.XXX_unrecognized != nil { 4339 i -= len(m.XXX_unrecognized) 4340 copy(dAtA[i:], m.XXX_unrecognized) 4341 } 4342 if m.Project != nil { 4343 i -= len(*m.Project) 4344 copy(dAtA[i:], *m.Project) 4345 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4346 i-- 4347 dAtA[i] = 0x22 4348 } 4349 if m.AppNamespace != nil { 4350 i -= len(*m.AppNamespace) 4351 copy(dAtA[i:], *m.AppNamespace) 4352 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4353 i-- 4354 dAtA[i] = 0x1a 4355 } 4356 if m.Revision == nil { 4357 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("revision") 4358 } else { 4359 i -= len(*m.Revision) 4360 copy(dAtA[i:], *m.Revision) 4361 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) 4362 i-- 4363 dAtA[i] = 0x12 4364 } 4365 if m.Name == nil { 4366 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4367 } else { 4368 i -= len(*m.Name) 4369 copy(dAtA[i:], *m.Name) 4370 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4371 i-- 4372 dAtA[i] = 0xa 4373 } 4374 return len(dAtA) - i, nil 4375 } 4376 4377 func (m *ApplicationResourceEventsQuery) Marshal() (dAtA []byte, err error) { 4378 size := m.Size() 4379 dAtA = make([]byte, size) 4380 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4381 if err != nil { 4382 return nil, err 4383 } 4384 return dAtA[:n], nil 4385 } 4386 4387 func (m *ApplicationResourceEventsQuery) MarshalTo(dAtA []byte) (int, error) { 4388 size := m.Size() 4389 return m.MarshalToSizedBuffer(dAtA[:size]) 4390 } 4391 4392 func (m *ApplicationResourceEventsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4393 i := len(dAtA) 4394 _ = i 4395 var l int 4396 _ = l 4397 if m.XXX_unrecognized != nil { 4398 i -= len(m.XXX_unrecognized) 4399 copy(dAtA[i:], m.XXX_unrecognized) 4400 } 4401 if m.Project != nil { 4402 i -= len(*m.Project) 4403 copy(dAtA[i:], *m.Project) 4404 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4405 i-- 4406 dAtA[i] = 0x32 4407 } 4408 if m.AppNamespace != nil { 4409 i -= len(*m.AppNamespace) 4410 copy(dAtA[i:], *m.AppNamespace) 4411 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4412 i-- 4413 dAtA[i] = 0x2a 4414 } 4415 if m.ResourceUID != nil { 4416 i -= len(*m.ResourceUID) 4417 copy(dAtA[i:], *m.ResourceUID) 4418 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceUID))) 4419 i-- 4420 dAtA[i] = 0x22 4421 } 4422 if m.ResourceName != nil { 4423 i -= len(*m.ResourceName) 4424 copy(dAtA[i:], *m.ResourceName) 4425 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 4426 i-- 4427 dAtA[i] = 0x1a 4428 } 4429 if m.ResourceNamespace != nil { 4430 i -= len(*m.ResourceNamespace) 4431 copy(dAtA[i:], *m.ResourceNamespace) 4432 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceNamespace))) 4433 i-- 4434 dAtA[i] = 0x12 4435 } 4436 if m.Name == nil { 4437 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4438 } else { 4439 i -= len(*m.Name) 4440 copy(dAtA[i:], *m.Name) 4441 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4442 i-- 4443 dAtA[i] = 0xa 4444 } 4445 return len(dAtA) - i, nil 4446 } 4447 4448 func (m *ApplicationManifestQuery) Marshal() (dAtA []byte, err error) { 4449 size := m.Size() 4450 dAtA = make([]byte, size) 4451 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4452 if err != nil { 4453 return nil, err 4454 } 4455 return dAtA[:n], nil 4456 } 4457 4458 func (m *ApplicationManifestQuery) MarshalTo(dAtA []byte) (int, error) { 4459 size := m.Size() 4460 return m.MarshalToSizedBuffer(dAtA[:size]) 4461 } 4462 4463 func (m *ApplicationManifestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4464 i := len(dAtA) 4465 _ = i 4466 var l int 4467 _ = l 4468 if m.XXX_unrecognized != nil { 4469 i -= len(m.XXX_unrecognized) 4470 copy(dAtA[i:], m.XXX_unrecognized) 4471 } 4472 if m.Project != nil { 4473 i -= len(*m.Project) 4474 copy(dAtA[i:], *m.Project) 4475 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4476 i-- 4477 dAtA[i] = 0x22 4478 } 4479 if m.AppNamespace != nil { 4480 i -= len(*m.AppNamespace) 4481 copy(dAtA[i:], *m.AppNamespace) 4482 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4483 i-- 4484 dAtA[i] = 0x1a 4485 } 4486 if m.Revision != nil { 4487 i -= len(*m.Revision) 4488 copy(dAtA[i:], *m.Revision) 4489 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) 4490 i-- 4491 dAtA[i] = 0x12 4492 } 4493 if m.Name == nil { 4494 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4495 } else { 4496 i -= len(*m.Name) 4497 copy(dAtA[i:], *m.Name) 4498 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4499 i-- 4500 dAtA[i] = 0xa 4501 } 4502 return len(dAtA) - i, nil 4503 } 4504 4505 func (m *FileChunk) Marshal() (dAtA []byte, err error) { 4506 size := m.Size() 4507 dAtA = make([]byte, size) 4508 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4509 if err != nil { 4510 return nil, err 4511 } 4512 return dAtA[:n], nil 4513 } 4514 4515 func (m *FileChunk) MarshalTo(dAtA []byte) (int, error) { 4516 size := m.Size() 4517 return m.MarshalToSizedBuffer(dAtA[:size]) 4518 } 4519 4520 func (m *FileChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4521 i := len(dAtA) 4522 _ = i 4523 var l int 4524 _ = l 4525 if m.XXX_unrecognized != nil { 4526 i -= len(m.XXX_unrecognized) 4527 copy(dAtA[i:], m.XXX_unrecognized) 4528 } 4529 if m.Chunk == nil { 4530 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("chunk") 4531 } else { 4532 i -= len(m.Chunk) 4533 copy(dAtA[i:], m.Chunk) 4534 i = encodeVarintApplication(dAtA, i, uint64(len(m.Chunk))) 4535 i-- 4536 dAtA[i] = 0xa 4537 } 4538 return len(dAtA) - i, nil 4539 } 4540 4541 func (m *ApplicationManifestQueryWithFiles) Marshal() (dAtA []byte, err error) { 4542 size := m.Size() 4543 dAtA = make([]byte, size) 4544 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4545 if err != nil { 4546 return nil, err 4547 } 4548 return dAtA[:n], nil 4549 } 4550 4551 func (m *ApplicationManifestQueryWithFiles) MarshalTo(dAtA []byte) (int, error) { 4552 size := m.Size() 4553 return m.MarshalToSizedBuffer(dAtA[:size]) 4554 } 4555 4556 func (m *ApplicationManifestQueryWithFiles) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4557 i := len(dAtA) 4558 _ = i 4559 var l int 4560 _ = l 4561 if m.XXX_unrecognized != nil { 4562 i -= len(m.XXX_unrecognized) 4563 copy(dAtA[i:], m.XXX_unrecognized) 4564 } 4565 if m.Project != nil { 4566 i -= len(*m.Project) 4567 copy(dAtA[i:], *m.Project) 4568 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4569 i-- 4570 dAtA[i] = 0x22 4571 } 4572 if m.AppNamespace != nil { 4573 i -= len(*m.AppNamespace) 4574 copy(dAtA[i:], *m.AppNamespace) 4575 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4576 i-- 4577 dAtA[i] = 0x1a 4578 } 4579 if m.Checksum == nil { 4580 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("checksum") 4581 } else { 4582 i -= len(*m.Checksum) 4583 copy(dAtA[i:], *m.Checksum) 4584 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Checksum))) 4585 i-- 4586 dAtA[i] = 0x12 4587 } 4588 if m.Name == nil { 4589 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4590 } else { 4591 i -= len(*m.Name) 4592 copy(dAtA[i:], *m.Name) 4593 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4594 i-- 4595 dAtA[i] = 0xa 4596 } 4597 return len(dAtA) - i, nil 4598 } 4599 4600 func (m *ApplicationManifestQueryWithFilesWrapper) Marshal() (dAtA []byte, err error) { 4601 size := m.Size() 4602 dAtA = make([]byte, size) 4603 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4604 if err != nil { 4605 return nil, err 4606 } 4607 return dAtA[:n], nil 4608 } 4609 4610 func (m *ApplicationManifestQueryWithFilesWrapper) MarshalTo(dAtA []byte) (int, error) { 4611 size := m.Size() 4612 return m.MarshalToSizedBuffer(dAtA[:size]) 4613 } 4614 4615 func (m *ApplicationManifestQueryWithFilesWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4616 i := len(dAtA) 4617 _ = i 4618 var l int 4619 _ = l 4620 if m.XXX_unrecognized != nil { 4621 i -= len(m.XXX_unrecognized) 4622 copy(dAtA[i:], m.XXX_unrecognized) 4623 } 4624 if m.Part != nil { 4625 { 4626 size := m.Part.Size() 4627 i -= size 4628 if _, err := m.Part.MarshalTo(dAtA[i:]); err != nil { 4629 return 0, err 4630 } 4631 } 4632 } 4633 return len(dAtA) - i, nil 4634 } 4635 4636 func (m *ApplicationManifestQueryWithFilesWrapper_Query) MarshalTo(dAtA []byte) (int, error) { 4637 size := m.Size() 4638 return m.MarshalToSizedBuffer(dAtA[:size]) 4639 } 4640 4641 func (m *ApplicationManifestQueryWithFilesWrapper_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4642 i := len(dAtA) 4643 if m.Query != nil { 4644 { 4645 size, err := m.Query.MarshalToSizedBuffer(dAtA[:i]) 4646 if err != nil { 4647 return 0, err 4648 } 4649 i -= size 4650 i = encodeVarintApplication(dAtA, i, uint64(size)) 4651 } 4652 i-- 4653 dAtA[i] = 0xa 4654 } 4655 return len(dAtA) - i, nil 4656 } 4657 func (m *ApplicationManifestQueryWithFilesWrapper_Chunk) MarshalTo(dAtA []byte) (int, error) { 4658 size := m.Size() 4659 return m.MarshalToSizedBuffer(dAtA[:size]) 4660 } 4661 4662 func (m *ApplicationManifestQueryWithFilesWrapper_Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4663 i := len(dAtA) 4664 if m.Chunk != nil { 4665 { 4666 size, err := m.Chunk.MarshalToSizedBuffer(dAtA[:i]) 4667 if err != nil { 4668 return 0, err 4669 } 4670 i -= size 4671 i = encodeVarintApplication(dAtA, i, uint64(size)) 4672 } 4673 i-- 4674 dAtA[i] = 0x12 4675 } 4676 return len(dAtA) - i, nil 4677 } 4678 func (m *ApplicationResponse) Marshal() (dAtA []byte, err error) { 4679 size := m.Size() 4680 dAtA = make([]byte, size) 4681 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4682 if err != nil { 4683 return nil, err 4684 } 4685 return dAtA[:n], nil 4686 } 4687 4688 func (m *ApplicationResponse) MarshalTo(dAtA []byte) (int, error) { 4689 size := m.Size() 4690 return m.MarshalToSizedBuffer(dAtA[:size]) 4691 } 4692 4693 func (m *ApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4694 i := len(dAtA) 4695 _ = i 4696 var l int 4697 _ = l 4698 if m.XXX_unrecognized != nil { 4699 i -= len(m.XXX_unrecognized) 4700 copy(dAtA[i:], m.XXX_unrecognized) 4701 } 4702 return len(dAtA) - i, nil 4703 } 4704 4705 func (m *ApplicationCreateRequest) Marshal() (dAtA []byte, err error) { 4706 size := m.Size() 4707 dAtA = make([]byte, size) 4708 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4709 if err != nil { 4710 return nil, err 4711 } 4712 return dAtA[:n], nil 4713 } 4714 4715 func (m *ApplicationCreateRequest) MarshalTo(dAtA []byte) (int, error) { 4716 size := m.Size() 4717 return m.MarshalToSizedBuffer(dAtA[:size]) 4718 } 4719 4720 func (m *ApplicationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4721 i := len(dAtA) 4722 _ = i 4723 var l int 4724 _ = l 4725 if m.XXX_unrecognized != nil { 4726 i -= len(m.XXX_unrecognized) 4727 copy(dAtA[i:], m.XXX_unrecognized) 4728 } 4729 if m.Validate != nil { 4730 i-- 4731 if *m.Validate { 4732 dAtA[i] = 1 4733 } else { 4734 dAtA[i] = 0 4735 } 4736 i-- 4737 dAtA[i] = 0x18 4738 } 4739 if m.Upsert != nil { 4740 i-- 4741 if *m.Upsert { 4742 dAtA[i] = 1 4743 } else { 4744 dAtA[i] = 0 4745 } 4746 i-- 4747 dAtA[i] = 0x10 4748 } 4749 if m.Application == nil { 4750 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 4751 } else { 4752 { 4753 size, err := m.Application.MarshalToSizedBuffer(dAtA[:i]) 4754 if err != nil { 4755 return 0, err 4756 } 4757 i -= size 4758 i = encodeVarintApplication(dAtA, i, uint64(size)) 4759 } 4760 i-- 4761 dAtA[i] = 0xa 4762 } 4763 return len(dAtA) - i, nil 4764 } 4765 4766 func (m *ApplicationUpdateRequest) Marshal() (dAtA []byte, err error) { 4767 size := m.Size() 4768 dAtA = make([]byte, size) 4769 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4770 if err != nil { 4771 return nil, err 4772 } 4773 return dAtA[:n], nil 4774 } 4775 4776 func (m *ApplicationUpdateRequest) MarshalTo(dAtA []byte) (int, error) { 4777 size := m.Size() 4778 return m.MarshalToSizedBuffer(dAtA[:size]) 4779 } 4780 4781 func (m *ApplicationUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4782 i := len(dAtA) 4783 _ = i 4784 var l int 4785 _ = l 4786 if m.XXX_unrecognized != nil { 4787 i -= len(m.XXX_unrecognized) 4788 copy(dAtA[i:], m.XXX_unrecognized) 4789 } 4790 if m.Project != nil { 4791 i -= len(*m.Project) 4792 copy(dAtA[i:], *m.Project) 4793 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4794 i-- 4795 dAtA[i] = 0x1a 4796 } 4797 if m.Validate != nil { 4798 i-- 4799 if *m.Validate { 4800 dAtA[i] = 1 4801 } else { 4802 dAtA[i] = 0 4803 } 4804 i-- 4805 dAtA[i] = 0x10 4806 } 4807 if m.Application == nil { 4808 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 4809 } else { 4810 { 4811 size, err := m.Application.MarshalToSizedBuffer(dAtA[:i]) 4812 if err != nil { 4813 return 0, err 4814 } 4815 i -= size 4816 i = encodeVarintApplication(dAtA, i, uint64(size)) 4817 } 4818 i-- 4819 dAtA[i] = 0xa 4820 } 4821 return len(dAtA) - i, nil 4822 } 4823 4824 func (m *ApplicationDeleteRequest) Marshal() (dAtA []byte, err error) { 4825 size := m.Size() 4826 dAtA = make([]byte, size) 4827 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4828 if err != nil { 4829 return nil, err 4830 } 4831 return dAtA[:n], nil 4832 } 4833 4834 func (m *ApplicationDeleteRequest) MarshalTo(dAtA []byte) (int, error) { 4835 size := m.Size() 4836 return m.MarshalToSizedBuffer(dAtA[:size]) 4837 } 4838 4839 func (m *ApplicationDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4840 i := len(dAtA) 4841 _ = i 4842 var l int 4843 _ = l 4844 if m.XXX_unrecognized != nil { 4845 i -= len(m.XXX_unrecognized) 4846 copy(dAtA[i:], m.XXX_unrecognized) 4847 } 4848 if m.Project != nil { 4849 i -= len(*m.Project) 4850 copy(dAtA[i:], *m.Project) 4851 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4852 i-- 4853 dAtA[i] = 0x2a 4854 } 4855 if m.AppNamespace != nil { 4856 i -= len(*m.AppNamespace) 4857 copy(dAtA[i:], *m.AppNamespace) 4858 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4859 i-- 4860 dAtA[i] = 0x22 4861 } 4862 if m.PropagationPolicy != nil { 4863 i -= len(*m.PropagationPolicy) 4864 copy(dAtA[i:], *m.PropagationPolicy) 4865 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PropagationPolicy))) 4866 i-- 4867 dAtA[i] = 0x1a 4868 } 4869 if m.Cascade != nil { 4870 i-- 4871 if *m.Cascade { 4872 dAtA[i] = 1 4873 } else { 4874 dAtA[i] = 0 4875 } 4876 i-- 4877 dAtA[i] = 0x10 4878 } 4879 if m.Name == nil { 4880 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 4881 } else { 4882 i -= len(*m.Name) 4883 copy(dAtA[i:], *m.Name) 4884 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 4885 i-- 4886 dAtA[i] = 0xa 4887 } 4888 return len(dAtA) - i, nil 4889 } 4890 4891 func (m *SyncOptions) Marshal() (dAtA []byte, err error) { 4892 size := m.Size() 4893 dAtA = make([]byte, size) 4894 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4895 if err != nil { 4896 return nil, err 4897 } 4898 return dAtA[:n], nil 4899 } 4900 4901 func (m *SyncOptions) MarshalTo(dAtA []byte) (int, error) { 4902 size := m.Size() 4903 return m.MarshalToSizedBuffer(dAtA[:size]) 4904 } 4905 4906 func (m *SyncOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4907 i := len(dAtA) 4908 _ = i 4909 var l int 4910 _ = l 4911 if m.XXX_unrecognized != nil { 4912 i -= len(m.XXX_unrecognized) 4913 copy(dAtA[i:], m.XXX_unrecognized) 4914 } 4915 if len(m.Items) > 0 { 4916 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 4917 i -= len(m.Items[iNdEx]) 4918 copy(dAtA[i:], m.Items[iNdEx]) 4919 i = encodeVarintApplication(dAtA, i, uint64(len(m.Items[iNdEx]))) 4920 i-- 4921 dAtA[i] = 0xa 4922 } 4923 } 4924 return len(dAtA) - i, nil 4925 } 4926 4927 func (m *ApplicationSyncRequest) Marshal() (dAtA []byte, err error) { 4928 size := m.Size() 4929 dAtA = make([]byte, size) 4930 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4931 if err != nil { 4932 return nil, err 4933 } 4934 return dAtA[:n], nil 4935 } 4936 4937 func (m *ApplicationSyncRequest) MarshalTo(dAtA []byte) (int, error) { 4938 size := m.Size() 4939 return m.MarshalToSizedBuffer(dAtA[:size]) 4940 } 4941 4942 func (m *ApplicationSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4943 i := len(dAtA) 4944 _ = i 4945 var l int 4946 _ = l 4947 if m.XXX_unrecognized != nil { 4948 i -= len(m.XXX_unrecognized) 4949 copy(dAtA[i:], m.XXX_unrecognized) 4950 } 4951 if m.Project != nil { 4952 i -= len(*m.Project) 4953 copy(dAtA[i:], *m.Project) 4954 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 4955 i-- 4956 dAtA[i] = 0x6a 4957 } 4958 if m.AppNamespace != nil { 4959 i -= len(*m.AppNamespace) 4960 copy(dAtA[i:], *m.AppNamespace) 4961 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 4962 i-- 4963 dAtA[i] = 0x62 4964 } 4965 if m.SyncOptions != nil { 4966 { 4967 size, err := m.SyncOptions.MarshalToSizedBuffer(dAtA[:i]) 4968 if err != nil { 4969 return 0, err 4970 } 4971 i -= size 4972 i = encodeVarintApplication(dAtA, i, uint64(size)) 4973 } 4974 i-- 4975 dAtA[i] = 0x5a 4976 } 4977 if m.RetryStrategy != nil { 4978 { 4979 size, err := m.RetryStrategy.MarshalToSizedBuffer(dAtA[:i]) 4980 if err != nil { 4981 return 0, err 4982 } 4983 i -= size 4984 i = encodeVarintApplication(dAtA, i, uint64(size)) 4985 } 4986 i-- 4987 dAtA[i] = 0x52 4988 } 4989 if len(m.Infos) > 0 { 4990 for iNdEx := len(m.Infos) - 1; iNdEx >= 0; iNdEx-- { 4991 { 4992 size, err := m.Infos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4993 if err != nil { 4994 return 0, err 4995 } 4996 i -= size 4997 i = encodeVarintApplication(dAtA, i, uint64(size)) 4998 } 4999 i-- 5000 dAtA[i] = 0x4a 5001 } 5002 } 5003 if len(m.Manifests) > 0 { 5004 for iNdEx := len(m.Manifests) - 1; iNdEx >= 0; iNdEx-- { 5005 i -= len(m.Manifests[iNdEx]) 5006 copy(dAtA[i:], m.Manifests[iNdEx]) 5007 i = encodeVarintApplication(dAtA, i, uint64(len(m.Manifests[iNdEx]))) 5008 i-- 5009 dAtA[i] = 0x42 5010 } 5011 } 5012 if len(m.Resources) > 0 { 5013 for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { 5014 { 5015 size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 5016 if err != nil { 5017 return 0, err 5018 } 5019 i -= size 5020 i = encodeVarintApplication(dAtA, i, uint64(size)) 5021 } 5022 i-- 5023 dAtA[i] = 0x3a 5024 } 5025 } 5026 if m.Strategy != nil { 5027 { 5028 size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i]) 5029 if err != nil { 5030 return 0, err 5031 } 5032 i -= size 5033 i = encodeVarintApplication(dAtA, i, uint64(size)) 5034 } 5035 i-- 5036 dAtA[i] = 0x2a 5037 } 5038 if m.Prune != nil { 5039 i-- 5040 if *m.Prune { 5041 dAtA[i] = 1 5042 } else { 5043 dAtA[i] = 0 5044 } 5045 i-- 5046 dAtA[i] = 0x20 5047 } 5048 if m.DryRun != nil { 5049 i-- 5050 if *m.DryRun { 5051 dAtA[i] = 1 5052 } else { 5053 dAtA[i] = 0 5054 } 5055 i-- 5056 dAtA[i] = 0x18 5057 } 5058 if m.Revision != nil { 5059 i -= len(*m.Revision) 5060 copy(dAtA[i:], *m.Revision) 5061 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) 5062 i-- 5063 dAtA[i] = 0x12 5064 } 5065 if m.Name == nil { 5066 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5067 } else { 5068 i -= len(*m.Name) 5069 copy(dAtA[i:], *m.Name) 5070 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5071 i-- 5072 dAtA[i] = 0xa 5073 } 5074 return len(dAtA) - i, nil 5075 } 5076 5077 func (m *ApplicationUpdateSpecRequest) Marshal() (dAtA []byte, err error) { 5078 size := m.Size() 5079 dAtA = make([]byte, size) 5080 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5081 if err != nil { 5082 return nil, err 5083 } 5084 return dAtA[:n], nil 5085 } 5086 5087 func (m *ApplicationUpdateSpecRequest) MarshalTo(dAtA []byte) (int, error) { 5088 size := m.Size() 5089 return m.MarshalToSizedBuffer(dAtA[:size]) 5090 } 5091 5092 func (m *ApplicationUpdateSpecRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5093 i := len(dAtA) 5094 _ = i 5095 var l int 5096 _ = l 5097 if m.XXX_unrecognized != nil { 5098 i -= len(m.XXX_unrecognized) 5099 copy(dAtA[i:], m.XXX_unrecognized) 5100 } 5101 if m.Project != nil { 5102 i -= len(*m.Project) 5103 copy(dAtA[i:], *m.Project) 5104 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5105 i-- 5106 dAtA[i] = 0x2a 5107 } 5108 if m.AppNamespace != nil { 5109 i -= len(*m.AppNamespace) 5110 copy(dAtA[i:], *m.AppNamespace) 5111 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5112 i-- 5113 dAtA[i] = 0x22 5114 } 5115 if m.Validate != nil { 5116 i-- 5117 if *m.Validate { 5118 dAtA[i] = 1 5119 } else { 5120 dAtA[i] = 0 5121 } 5122 i-- 5123 dAtA[i] = 0x18 5124 } 5125 if m.Spec == nil { 5126 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec") 5127 } else { 5128 { 5129 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 5130 if err != nil { 5131 return 0, err 5132 } 5133 i -= size 5134 i = encodeVarintApplication(dAtA, i, uint64(size)) 5135 } 5136 i-- 5137 dAtA[i] = 0x12 5138 } 5139 if m.Name == nil { 5140 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5141 } else { 5142 i -= len(*m.Name) 5143 copy(dAtA[i:], *m.Name) 5144 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5145 i-- 5146 dAtA[i] = 0xa 5147 } 5148 return len(dAtA) - i, nil 5149 } 5150 5151 func (m *ApplicationPatchRequest) Marshal() (dAtA []byte, err error) { 5152 size := m.Size() 5153 dAtA = make([]byte, size) 5154 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5155 if err != nil { 5156 return nil, err 5157 } 5158 return dAtA[:n], nil 5159 } 5160 5161 func (m *ApplicationPatchRequest) MarshalTo(dAtA []byte) (int, error) { 5162 size := m.Size() 5163 return m.MarshalToSizedBuffer(dAtA[:size]) 5164 } 5165 5166 func (m *ApplicationPatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5167 i := len(dAtA) 5168 _ = i 5169 var l int 5170 _ = l 5171 if m.XXX_unrecognized != nil { 5172 i -= len(m.XXX_unrecognized) 5173 copy(dAtA[i:], m.XXX_unrecognized) 5174 } 5175 if m.Project != nil { 5176 i -= len(*m.Project) 5177 copy(dAtA[i:], *m.Project) 5178 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5179 i-- 5180 dAtA[i] = 0x32 5181 } 5182 if m.AppNamespace != nil { 5183 i -= len(*m.AppNamespace) 5184 copy(dAtA[i:], *m.AppNamespace) 5185 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5186 i-- 5187 dAtA[i] = 0x2a 5188 } 5189 if m.PatchType == nil { 5190 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 5191 } else { 5192 i -= len(*m.PatchType) 5193 copy(dAtA[i:], *m.PatchType) 5194 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PatchType))) 5195 i-- 5196 dAtA[i] = 0x1a 5197 } 5198 if m.Patch == nil { 5199 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 5200 } else { 5201 i -= len(*m.Patch) 5202 copy(dAtA[i:], *m.Patch) 5203 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Patch))) 5204 i-- 5205 dAtA[i] = 0x12 5206 } 5207 if m.Name == nil { 5208 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5209 } else { 5210 i -= len(*m.Name) 5211 copy(dAtA[i:], *m.Name) 5212 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5213 i-- 5214 dAtA[i] = 0xa 5215 } 5216 return len(dAtA) - i, nil 5217 } 5218 5219 func (m *ApplicationRollbackRequest) Marshal() (dAtA []byte, err error) { 5220 size := m.Size() 5221 dAtA = make([]byte, size) 5222 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5223 if err != nil { 5224 return nil, err 5225 } 5226 return dAtA[:n], nil 5227 } 5228 5229 func (m *ApplicationRollbackRequest) MarshalTo(dAtA []byte) (int, error) { 5230 size := m.Size() 5231 return m.MarshalToSizedBuffer(dAtA[:size]) 5232 } 5233 5234 func (m *ApplicationRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5235 i := len(dAtA) 5236 _ = i 5237 var l int 5238 _ = l 5239 if m.XXX_unrecognized != nil { 5240 i -= len(m.XXX_unrecognized) 5241 copy(dAtA[i:], m.XXX_unrecognized) 5242 } 5243 if m.Project != nil { 5244 i -= len(*m.Project) 5245 copy(dAtA[i:], *m.Project) 5246 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5247 i-- 5248 dAtA[i] = 0x3a 5249 } 5250 if m.AppNamespace != nil { 5251 i -= len(*m.AppNamespace) 5252 copy(dAtA[i:], *m.AppNamespace) 5253 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5254 i-- 5255 dAtA[i] = 0x32 5256 } 5257 if m.Prune != nil { 5258 i-- 5259 if *m.Prune { 5260 dAtA[i] = 1 5261 } else { 5262 dAtA[i] = 0 5263 } 5264 i-- 5265 dAtA[i] = 0x20 5266 } 5267 if m.DryRun != nil { 5268 i-- 5269 if *m.DryRun { 5270 dAtA[i] = 1 5271 } else { 5272 dAtA[i] = 0 5273 } 5274 i-- 5275 dAtA[i] = 0x18 5276 } 5277 if m.Id == nil { 5278 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") 5279 } else { 5280 i = encodeVarintApplication(dAtA, i, uint64(*m.Id)) 5281 i-- 5282 dAtA[i] = 0x10 5283 } 5284 if m.Name == nil { 5285 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5286 } else { 5287 i -= len(*m.Name) 5288 copy(dAtA[i:], *m.Name) 5289 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5290 i-- 5291 dAtA[i] = 0xa 5292 } 5293 return len(dAtA) - i, nil 5294 } 5295 5296 func (m *ApplicationResourceRequest) Marshal() (dAtA []byte, err error) { 5297 size := m.Size() 5298 dAtA = make([]byte, size) 5299 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5300 if err != nil { 5301 return nil, err 5302 } 5303 return dAtA[:n], nil 5304 } 5305 5306 func (m *ApplicationResourceRequest) MarshalTo(dAtA []byte) (int, error) { 5307 size := m.Size() 5308 return m.MarshalToSizedBuffer(dAtA[:size]) 5309 } 5310 5311 func (m *ApplicationResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5312 i := len(dAtA) 5313 _ = i 5314 var l int 5315 _ = l 5316 if m.XXX_unrecognized != nil { 5317 i -= len(m.XXX_unrecognized) 5318 copy(dAtA[i:], m.XXX_unrecognized) 5319 } 5320 if m.Project != nil { 5321 i -= len(*m.Project) 5322 copy(dAtA[i:], *m.Project) 5323 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5324 i-- 5325 dAtA[i] = 0x42 5326 } 5327 if m.AppNamespace != nil { 5328 i -= len(*m.AppNamespace) 5329 copy(dAtA[i:], *m.AppNamespace) 5330 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5331 i-- 5332 dAtA[i] = 0x3a 5333 } 5334 if m.Kind == nil { 5335 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 5336 } else { 5337 i -= len(*m.Kind) 5338 copy(dAtA[i:], *m.Kind) 5339 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 5340 i-- 5341 dAtA[i] = 0x32 5342 } 5343 if m.Group != nil { 5344 i -= len(*m.Group) 5345 copy(dAtA[i:], *m.Group) 5346 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 5347 i-- 5348 dAtA[i] = 0x2a 5349 } 5350 if m.Version == nil { 5351 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 5352 } else { 5353 i -= len(*m.Version) 5354 copy(dAtA[i:], *m.Version) 5355 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 5356 i-- 5357 dAtA[i] = 0x22 5358 } 5359 if m.ResourceName == nil { 5360 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 5361 } else { 5362 i -= len(*m.ResourceName) 5363 copy(dAtA[i:], *m.ResourceName) 5364 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 5365 i-- 5366 dAtA[i] = 0x1a 5367 } 5368 if m.Namespace != nil { 5369 i -= len(*m.Namespace) 5370 copy(dAtA[i:], *m.Namespace) 5371 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 5372 i-- 5373 dAtA[i] = 0x12 5374 } 5375 if m.Name == nil { 5376 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5377 } else { 5378 i -= len(*m.Name) 5379 copy(dAtA[i:], *m.Name) 5380 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5381 i-- 5382 dAtA[i] = 0xa 5383 } 5384 return len(dAtA) - i, nil 5385 } 5386 5387 func (m *ApplicationResourcePatchRequest) Marshal() (dAtA []byte, err error) { 5388 size := m.Size() 5389 dAtA = make([]byte, size) 5390 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5391 if err != nil { 5392 return nil, err 5393 } 5394 return dAtA[:n], nil 5395 } 5396 5397 func (m *ApplicationResourcePatchRequest) MarshalTo(dAtA []byte) (int, error) { 5398 size := m.Size() 5399 return m.MarshalToSizedBuffer(dAtA[:size]) 5400 } 5401 5402 func (m *ApplicationResourcePatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5403 i := len(dAtA) 5404 _ = i 5405 var l int 5406 _ = l 5407 if m.XXX_unrecognized != nil { 5408 i -= len(m.XXX_unrecognized) 5409 copy(dAtA[i:], m.XXX_unrecognized) 5410 } 5411 if m.Project != nil { 5412 i -= len(*m.Project) 5413 copy(dAtA[i:], *m.Project) 5414 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5415 i-- 5416 dAtA[i] = 0x52 5417 } 5418 if m.AppNamespace != nil { 5419 i -= len(*m.AppNamespace) 5420 copy(dAtA[i:], *m.AppNamespace) 5421 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5422 i-- 5423 dAtA[i] = 0x4a 5424 } 5425 if m.PatchType == nil { 5426 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 5427 } else { 5428 i -= len(*m.PatchType) 5429 copy(dAtA[i:], *m.PatchType) 5430 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PatchType))) 5431 i-- 5432 dAtA[i] = 0x42 5433 } 5434 if m.Patch == nil { 5435 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 5436 } else { 5437 i -= len(*m.Patch) 5438 copy(dAtA[i:], *m.Patch) 5439 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Patch))) 5440 i-- 5441 dAtA[i] = 0x3a 5442 } 5443 if m.Kind == nil { 5444 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 5445 } else { 5446 i -= len(*m.Kind) 5447 copy(dAtA[i:], *m.Kind) 5448 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 5449 i-- 5450 dAtA[i] = 0x32 5451 } 5452 if m.Group != nil { 5453 i -= len(*m.Group) 5454 copy(dAtA[i:], *m.Group) 5455 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 5456 i-- 5457 dAtA[i] = 0x2a 5458 } 5459 if m.Version == nil { 5460 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 5461 } else { 5462 i -= len(*m.Version) 5463 copy(dAtA[i:], *m.Version) 5464 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 5465 i-- 5466 dAtA[i] = 0x22 5467 } 5468 if m.ResourceName == nil { 5469 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 5470 } else { 5471 i -= len(*m.ResourceName) 5472 copy(dAtA[i:], *m.ResourceName) 5473 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 5474 i-- 5475 dAtA[i] = 0x1a 5476 } 5477 if m.Namespace != nil { 5478 i -= len(*m.Namespace) 5479 copy(dAtA[i:], *m.Namespace) 5480 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 5481 i-- 5482 dAtA[i] = 0x12 5483 } 5484 if m.Name == nil { 5485 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5486 } else { 5487 i -= len(*m.Name) 5488 copy(dAtA[i:], *m.Name) 5489 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5490 i-- 5491 dAtA[i] = 0xa 5492 } 5493 return len(dAtA) - i, nil 5494 } 5495 5496 func (m *ApplicationResourceDeleteRequest) Marshal() (dAtA []byte, err error) { 5497 size := m.Size() 5498 dAtA = make([]byte, size) 5499 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5500 if err != nil { 5501 return nil, err 5502 } 5503 return dAtA[:n], nil 5504 } 5505 5506 func (m *ApplicationResourceDeleteRequest) MarshalTo(dAtA []byte) (int, error) { 5507 size := m.Size() 5508 return m.MarshalToSizedBuffer(dAtA[:size]) 5509 } 5510 5511 func (m *ApplicationResourceDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5512 i := len(dAtA) 5513 _ = i 5514 var l int 5515 _ = l 5516 if m.XXX_unrecognized != nil { 5517 i -= len(m.XXX_unrecognized) 5518 copy(dAtA[i:], m.XXX_unrecognized) 5519 } 5520 if m.Project != nil { 5521 i -= len(*m.Project) 5522 copy(dAtA[i:], *m.Project) 5523 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5524 i-- 5525 dAtA[i] = 0x52 5526 } 5527 if m.AppNamespace != nil { 5528 i -= len(*m.AppNamespace) 5529 copy(dAtA[i:], *m.AppNamespace) 5530 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5531 i-- 5532 dAtA[i] = 0x4a 5533 } 5534 if m.Orphan != nil { 5535 i-- 5536 if *m.Orphan { 5537 dAtA[i] = 1 5538 } else { 5539 dAtA[i] = 0 5540 } 5541 i-- 5542 dAtA[i] = 0x40 5543 } 5544 if m.Force != nil { 5545 i-- 5546 if *m.Force { 5547 dAtA[i] = 1 5548 } else { 5549 dAtA[i] = 0 5550 } 5551 i-- 5552 dAtA[i] = 0x38 5553 } 5554 if m.Kind == nil { 5555 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 5556 } else { 5557 i -= len(*m.Kind) 5558 copy(dAtA[i:], *m.Kind) 5559 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 5560 i-- 5561 dAtA[i] = 0x32 5562 } 5563 if m.Group != nil { 5564 i -= len(*m.Group) 5565 copy(dAtA[i:], *m.Group) 5566 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 5567 i-- 5568 dAtA[i] = 0x2a 5569 } 5570 if m.Version == nil { 5571 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 5572 } else { 5573 i -= len(*m.Version) 5574 copy(dAtA[i:], *m.Version) 5575 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 5576 i-- 5577 dAtA[i] = 0x22 5578 } 5579 if m.ResourceName == nil { 5580 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 5581 } else { 5582 i -= len(*m.ResourceName) 5583 copy(dAtA[i:], *m.ResourceName) 5584 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 5585 i-- 5586 dAtA[i] = 0x1a 5587 } 5588 if m.Namespace != nil { 5589 i -= len(*m.Namespace) 5590 copy(dAtA[i:], *m.Namespace) 5591 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 5592 i-- 5593 dAtA[i] = 0x12 5594 } 5595 if m.Name == nil { 5596 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5597 } else { 5598 i -= len(*m.Name) 5599 copy(dAtA[i:], *m.Name) 5600 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5601 i-- 5602 dAtA[i] = 0xa 5603 } 5604 return len(dAtA) - i, nil 5605 } 5606 5607 func (m *ResourceActionRunRequest) Marshal() (dAtA []byte, err error) { 5608 size := m.Size() 5609 dAtA = make([]byte, size) 5610 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5611 if err != nil { 5612 return nil, err 5613 } 5614 return dAtA[:n], nil 5615 } 5616 5617 func (m *ResourceActionRunRequest) MarshalTo(dAtA []byte) (int, error) { 5618 size := m.Size() 5619 return m.MarshalToSizedBuffer(dAtA[:size]) 5620 } 5621 5622 func (m *ResourceActionRunRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5623 i := len(dAtA) 5624 _ = i 5625 var l int 5626 _ = l 5627 if m.XXX_unrecognized != nil { 5628 i -= len(m.XXX_unrecognized) 5629 copy(dAtA[i:], m.XXX_unrecognized) 5630 } 5631 if m.Project != nil { 5632 i -= len(*m.Project) 5633 copy(dAtA[i:], *m.Project) 5634 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5635 i-- 5636 dAtA[i] = 0x4a 5637 } 5638 if m.AppNamespace != nil { 5639 i -= len(*m.AppNamespace) 5640 copy(dAtA[i:], *m.AppNamespace) 5641 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5642 i-- 5643 dAtA[i] = 0x42 5644 } 5645 if m.Action == nil { 5646 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") 5647 } else { 5648 i -= len(*m.Action) 5649 copy(dAtA[i:], *m.Action) 5650 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Action))) 5651 i-- 5652 dAtA[i] = 0x3a 5653 } 5654 if m.Kind == nil { 5655 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 5656 } else { 5657 i -= len(*m.Kind) 5658 copy(dAtA[i:], *m.Kind) 5659 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 5660 i-- 5661 dAtA[i] = 0x32 5662 } 5663 if m.Group != nil { 5664 i -= len(*m.Group) 5665 copy(dAtA[i:], *m.Group) 5666 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 5667 i-- 5668 dAtA[i] = 0x2a 5669 } 5670 if m.Version == nil { 5671 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 5672 } else { 5673 i -= len(*m.Version) 5674 copy(dAtA[i:], *m.Version) 5675 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 5676 i-- 5677 dAtA[i] = 0x22 5678 } 5679 if m.ResourceName == nil { 5680 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 5681 } else { 5682 i -= len(*m.ResourceName) 5683 copy(dAtA[i:], *m.ResourceName) 5684 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 5685 i-- 5686 dAtA[i] = 0x1a 5687 } 5688 if m.Namespace != nil { 5689 i -= len(*m.Namespace) 5690 copy(dAtA[i:], *m.Namespace) 5691 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 5692 i-- 5693 dAtA[i] = 0x12 5694 } 5695 if m.Name == nil { 5696 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5697 } else { 5698 i -= len(*m.Name) 5699 copy(dAtA[i:], *m.Name) 5700 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5701 i-- 5702 dAtA[i] = 0xa 5703 } 5704 return len(dAtA) - i, nil 5705 } 5706 5707 func (m *ResourceActionsListResponse) Marshal() (dAtA []byte, err error) { 5708 size := m.Size() 5709 dAtA = make([]byte, size) 5710 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5711 if err != nil { 5712 return nil, err 5713 } 5714 return dAtA[:n], nil 5715 } 5716 5717 func (m *ResourceActionsListResponse) MarshalTo(dAtA []byte) (int, error) { 5718 size := m.Size() 5719 return m.MarshalToSizedBuffer(dAtA[:size]) 5720 } 5721 5722 func (m *ResourceActionsListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5723 i := len(dAtA) 5724 _ = i 5725 var l int 5726 _ = l 5727 if m.XXX_unrecognized != nil { 5728 i -= len(m.XXX_unrecognized) 5729 copy(dAtA[i:], m.XXX_unrecognized) 5730 } 5731 if len(m.Actions) > 0 { 5732 for iNdEx := len(m.Actions) - 1; iNdEx >= 0; iNdEx-- { 5733 { 5734 size, err := m.Actions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 5735 if err != nil { 5736 return 0, err 5737 } 5738 i -= size 5739 i = encodeVarintApplication(dAtA, i, uint64(size)) 5740 } 5741 i-- 5742 dAtA[i] = 0xa 5743 } 5744 } 5745 return len(dAtA) - i, nil 5746 } 5747 5748 func (m *ApplicationResourceResponse) Marshal() (dAtA []byte, err error) { 5749 size := m.Size() 5750 dAtA = make([]byte, size) 5751 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5752 if err != nil { 5753 return nil, err 5754 } 5755 return dAtA[:n], nil 5756 } 5757 5758 func (m *ApplicationResourceResponse) MarshalTo(dAtA []byte) (int, error) { 5759 size := m.Size() 5760 return m.MarshalToSizedBuffer(dAtA[:size]) 5761 } 5762 5763 func (m *ApplicationResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5764 i := len(dAtA) 5765 _ = i 5766 var l int 5767 _ = l 5768 if m.XXX_unrecognized != nil { 5769 i -= len(m.XXX_unrecognized) 5770 copy(dAtA[i:], m.XXX_unrecognized) 5771 } 5772 if m.Manifest == nil { 5773 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest") 5774 } else { 5775 i -= len(*m.Manifest) 5776 copy(dAtA[i:], *m.Manifest) 5777 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Manifest))) 5778 i-- 5779 dAtA[i] = 0xa 5780 } 5781 return len(dAtA) - i, nil 5782 } 5783 5784 func (m *ApplicationPodLogsQuery) Marshal() (dAtA []byte, err error) { 5785 size := m.Size() 5786 dAtA = make([]byte, size) 5787 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5788 if err != nil { 5789 return nil, err 5790 } 5791 return dAtA[:n], nil 5792 } 5793 5794 func (m *ApplicationPodLogsQuery) MarshalTo(dAtA []byte) (int, error) { 5795 size := m.Size() 5796 return m.MarshalToSizedBuffer(dAtA[:size]) 5797 } 5798 5799 func (m *ApplicationPodLogsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5800 i := len(dAtA) 5801 _ = i 5802 var l int 5803 _ = l 5804 if m.XXX_unrecognized != nil { 5805 i -= len(m.XXX_unrecognized) 5806 copy(dAtA[i:], m.XXX_unrecognized) 5807 } 5808 if m.Project != nil { 5809 i -= len(*m.Project) 5810 copy(dAtA[i:], *m.Project) 5811 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 5812 i-- 5813 dAtA[i] = 0x1 5814 i-- 5815 dAtA[i] = 0x82 5816 } 5817 if m.AppNamespace != nil { 5818 i -= len(*m.AppNamespace) 5819 copy(dAtA[i:], *m.AppNamespace) 5820 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 5821 i-- 5822 dAtA[i] = 0x7a 5823 } 5824 if m.Previous != nil { 5825 i-- 5826 if *m.Previous { 5827 dAtA[i] = 1 5828 } else { 5829 dAtA[i] = 0 5830 } 5831 i-- 5832 dAtA[i] = 0x70 5833 } 5834 if m.ResourceName != nil { 5835 i -= len(*m.ResourceName) 5836 copy(dAtA[i:], *m.ResourceName) 5837 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) 5838 i-- 5839 dAtA[i] = 0x6a 5840 } 5841 if m.Group != nil { 5842 i -= len(*m.Group) 5843 copy(dAtA[i:], *m.Group) 5844 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 5845 i-- 5846 dAtA[i] = 0x62 5847 } 5848 if m.Kind != nil { 5849 i -= len(*m.Kind) 5850 copy(dAtA[i:], *m.Kind) 5851 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 5852 i-- 5853 dAtA[i] = 0x5a 5854 } 5855 if m.Filter != nil { 5856 i -= len(*m.Filter) 5857 copy(dAtA[i:], *m.Filter) 5858 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Filter))) 5859 i-- 5860 dAtA[i] = 0x52 5861 } 5862 if m.UntilTime != nil { 5863 i -= len(*m.UntilTime) 5864 copy(dAtA[i:], *m.UntilTime) 5865 i = encodeVarintApplication(dAtA, i, uint64(len(*m.UntilTime))) 5866 i-- 5867 dAtA[i] = 0x4a 5868 } 5869 if m.Follow != nil { 5870 i-- 5871 if *m.Follow { 5872 dAtA[i] = 1 5873 } else { 5874 dAtA[i] = 0 5875 } 5876 i-- 5877 dAtA[i] = 0x40 5878 } 5879 if m.TailLines != nil { 5880 i = encodeVarintApplication(dAtA, i, uint64(*m.TailLines)) 5881 i-- 5882 dAtA[i] = 0x38 5883 } 5884 if m.SinceTime != nil { 5885 { 5886 size, err := m.SinceTime.MarshalToSizedBuffer(dAtA[:i]) 5887 if err != nil { 5888 return 0, err 5889 } 5890 i -= size 5891 i = encodeVarintApplication(dAtA, i, uint64(size)) 5892 } 5893 i-- 5894 dAtA[i] = 0x32 5895 } 5896 if m.SinceSeconds != nil { 5897 i = encodeVarintApplication(dAtA, i, uint64(*m.SinceSeconds)) 5898 i-- 5899 dAtA[i] = 0x28 5900 } 5901 if m.Container != nil { 5902 i -= len(*m.Container) 5903 copy(dAtA[i:], *m.Container) 5904 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Container))) 5905 i-- 5906 dAtA[i] = 0x22 5907 } 5908 if m.PodName != nil { 5909 i -= len(*m.PodName) 5910 copy(dAtA[i:], *m.PodName) 5911 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName))) 5912 i-- 5913 dAtA[i] = 0x1a 5914 } 5915 if m.Namespace != nil { 5916 i -= len(*m.Namespace) 5917 copy(dAtA[i:], *m.Namespace) 5918 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 5919 i-- 5920 dAtA[i] = 0x12 5921 } 5922 if m.Name == nil { 5923 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 5924 } else { 5925 i -= len(*m.Name) 5926 copy(dAtA[i:], *m.Name) 5927 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 5928 i-- 5929 dAtA[i] = 0xa 5930 } 5931 return len(dAtA) - i, nil 5932 } 5933 5934 func (m *LogEntry) Marshal() (dAtA []byte, err error) { 5935 size := m.Size() 5936 dAtA = make([]byte, size) 5937 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 5938 if err != nil { 5939 return nil, err 5940 } 5941 return dAtA[:n], nil 5942 } 5943 5944 func (m *LogEntry) MarshalTo(dAtA []byte) (int, error) { 5945 size := m.Size() 5946 return m.MarshalToSizedBuffer(dAtA[:size]) 5947 } 5948 5949 func (m *LogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 5950 i := len(dAtA) 5951 _ = i 5952 var l int 5953 _ = l 5954 if m.XXX_unrecognized != nil { 5955 i -= len(m.XXX_unrecognized) 5956 copy(dAtA[i:], m.XXX_unrecognized) 5957 } 5958 if m.PodName == nil { 5959 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName") 5960 } else { 5961 i -= len(*m.PodName) 5962 copy(dAtA[i:], *m.PodName) 5963 i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName))) 5964 i-- 5965 dAtA[i] = 0x2a 5966 } 5967 if m.TimeStampStr == nil { 5968 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStampStr") 5969 } else { 5970 i -= len(*m.TimeStampStr) 5971 copy(dAtA[i:], *m.TimeStampStr) 5972 i = encodeVarintApplication(dAtA, i, uint64(len(*m.TimeStampStr))) 5973 i-- 5974 dAtA[i] = 0x22 5975 } 5976 if m.Last == nil { 5977 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("last") 5978 } else { 5979 i-- 5980 if *m.Last { 5981 dAtA[i] = 1 5982 } else { 5983 dAtA[i] = 0 5984 } 5985 i-- 5986 dAtA[i] = 0x18 5987 } 5988 if m.TimeStamp == nil { 5989 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp") 5990 } else { 5991 { 5992 size, err := m.TimeStamp.MarshalToSizedBuffer(dAtA[:i]) 5993 if err != nil { 5994 return 0, err 5995 } 5996 i -= size 5997 i = encodeVarintApplication(dAtA, i, uint64(size)) 5998 } 5999 i-- 6000 dAtA[i] = 0x12 6001 } 6002 if m.Content == nil { 6003 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("content") 6004 } else { 6005 i -= len(*m.Content) 6006 copy(dAtA[i:], *m.Content) 6007 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Content))) 6008 i-- 6009 dAtA[i] = 0xa 6010 } 6011 return len(dAtA) - i, nil 6012 } 6013 6014 func (m *OperationTerminateRequest) Marshal() (dAtA []byte, err error) { 6015 size := m.Size() 6016 dAtA = make([]byte, size) 6017 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6018 if err != nil { 6019 return nil, err 6020 } 6021 return dAtA[:n], nil 6022 } 6023 6024 func (m *OperationTerminateRequest) MarshalTo(dAtA []byte) (int, error) { 6025 size := m.Size() 6026 return m.MarshalToSizedBuffer(dAtA[:size]) 6027 } 6028 6029 func (m *OperationTerminateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6030 i := len(dAtA) 6031 _ = i 6032 var l int 6033 _ = l 6034 if m.XXX_unrecognized != nil { 6035 i -= len(m.XXX_unrecognized) 6036 copy(dAtA[i:], m.XXX_unrecognized) 6037 } 6038 if m.Project != nil { 6039 i -= len(*m.Project) 6040 copy(dAtA[i:], *m.Project) 6041 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6042 i-- 6043 dAtA[i] = 0x1a 6044 } 6045 if m.AppNamespace != nil { 6046 i -= len(*m.AppNamespace) 6047 copy(dAtA[i:], *m.AppNamespace) 6048 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6049 i-- 6050 dAtA[i] = 0x12 6051 } 6052 if m.Name == nil { 6053 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6054 } else { 6055 i -= len(*m.Name) 6056 copy(dAtA[i:], *m.Name) 6057 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6058 i-- 6059 dAtA[i] = 0xa 6060 } 6061 return len(dAtA) - i, nil 6062 } 6063 6064 func (m *ApplicationSyncWindowsQuery) Marshal() (dAtA []byte, err error) { 6065 size := m.Size() 6066 dAtA = make([]byte, size) 6067 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6068 if err != nil { 6069 return nil, err 6070 } 6071 return dAtA[:n], nil 6072 } 6073 6074 func (m *ApplicationSyncWindowsQuery) MarshalTo(dAtA []byte) (int, error) { 6075 size := m.Size() 6076 return m.MarshalToSizedBuffer(dAtA[:size]) 6077 } 6078 6079 func (m *ApplicationSyncWindowsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6080 i := len(dAtA) 6081 _ = i 6082 var l int 6083 _ = l 6084 if m.XXX_unrecognized != nil { 6085 i -= len(m.XXX_unrecognized) 6086 copy(dAtA[i:], m.XXX_unrecognized) 6087 } 6088 if m.Project != nil { 6089 i -= len(*m.Project) 6090 copy(dAtA[i:], *m.Project) 6091 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6092 i-- 6093 dAtA[i] = 0x1a 6094 } 6095 if m.AppNamespace != nil { 6096 i -= len(*m.AppNamespace) 6097 copy(dAtA[i:], *m.AppNamespace) 6098 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6099 i-- 6100 dAtA[i] = 0x12 6101 } 6102 if m.Name == nil { 6103 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6104 } else { 6105 i -= len(*m.Name) 6106 copy(dAtA[i:], *m.Name) 6107 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6108 i-- 6109 dAtA[i] = 0xa 6110 } 6111 return len(dAtA) - i, nil 6112 } 6113 6114 func (m *ApplicationSyncWindowsResponse) Marshal() (dAtA []byte, err error) { 6115 size := m.Size() 6116 dAtA = make([]byte, size) 6117 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6118 if err != nil { 6119 return nil, err 6120 } 6121 return dAtA[:n], nil 6122 } 6123 6124 func (m *ApplicationSyncWindowsResponse) MarshalTo(dAtA []byte) (int, error) { 6125 size := m.Size() 6126 return m.MarshalToSizedBuffer(dAtA[:size]) 6127 } 6128 6129 func (m *ApplicationSyncWindowsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6130 i := len(dAtA) 6131 _ = i 6132 var l int 6133 _ = l 6134 if m.XXX_unrecognized != nil { 6135 i -= len(m.XXX_unrecognized) 6136 copy(dAtA[i:], m.XXX_unrecognized) 6137 } 6138 if m.CanSync == nil { 6139 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("canSync") 6140 } else { 6141 i-- 6142 if *m.CanSync { 6143 dAtA[i] = 1 6144 } else { 6145 dAtA[i] = 0 6146 } 6147 i-- 6148 dAtA[i] = 0x18 6149 } 6150 if len(m.AssignedWindows) > 0 { 6151 for iNdEx := len(m.AssignedWindows) - 1; iNdEx >= 0; iNdEx-- { 6152 { 6153 size, err := m.AssignedWindows[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6154 if err != nil { 6155 return 0, err 6156 } 6157 i -= size 6158 i = encodeVarintApplication(dAtA, i, uint64(size)) 6159 } 6160 i-- 6161 dAtA[i] = 0x12 6162 } 6163 } 6164 if len(m.ActiveWindows) > 0 { 6165 for iNdEx := len(m.ActiveWindows) - 1; iNdEx >= 0; iNdEx-- { 6166 { 6167 size, err := m.ActiveWindows[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6168 if err != nil { 6169 return 0, err 6170 } 6171 i -= size 6172 i = encodeVarintApplication(dAtA, i, uint64(size)) 6173 } 6174 i-- 6175 dAtA[i] = 0xa 6176 } 6177 } 6178 return len(dAtA) - i, nil 6179 } 6180 6181 func (m *ApplicationSyncWindow) Marshal() (dAtA []byte, err error) { 6182 size := m.Size() 6183 dAtA = make([]byte, size) 6184 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6185 if err != nil { 6186 return nil, err 6187 } 6188 return dAtA[:n], nil 6189 } 6190 6191 func (m *ApplicationSyncWindow) MarshalTo(dAtA []byte) (int, error) { 6192 size := m.Size() 6193 return m.MarshalToSizedBuffer(dAtA[:size]) 6194 } 6195 6196 func (m *ApplicationSyncWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6197 i := len(dAtA) 6198 _ = i 6199 var l int 6200 _ = l 6201 if m.XXX_unrecognized != nil { 6202 i -= len(m.XXX_unrecognized) 6203 copy(dAtA[i:], m.XXX_unrecognized) 6204 } 6205 if m.ManualSync == nil { 6206 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("manualSync") 6207 } else { 6208 i-- 6209 if *m.ManualSync { 6210 dAtA[i] = 1 6211 } else { 6212 dAtA[i] = 0 6213 } 6214 i-- 6215 dAtA[i] = 0x20 6216 } 6217 if m.Duration == nil { 6218 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration") 6219 } else { 6220 i -= len(*m.Duration) 6221 copy(dAtA[i:], *m.Duration) 6222 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Duration))) 6223 i-- 6224 dAtA[i] = 0x1a 6225 } 6226 if m.Schedule == nil { 6227 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("schedule") 6228 } else { 6229 i -= len(*m.Schedule) 6230 copy(dAtA[i:], *m.Schedule) 6231 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Schedule))) 6232 i-- 6233 dAtA[i] = 0x12 6234 } 6235 if m.Kind == nil { 6236 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 6237 } else { 6238 i -= len(*m.Kind) 6239 copy(dAtA[i:], *m.Kind) 6240 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6241 i-- 6242 dAtA[i] = 0xa 6243 } 6244 return len(dAtA) - i, nil 6245 } 6246 6247 func (m *OperationTerminateResponse) Marshal() (dAtA []byte, err error) { 6248 size := m.Size() 6249 dAtA = make([]byte, size) 6250 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6251 if err != nil { 6252 return nil, err 6253 } 6254 return dAtA[:n], nil 6255 } 6256 6257 func (m *OperationTerminateResponse) MarshalTo(dAtA []byte) (int, error) { 6258 size := m.Size() 6259 return m.MarshalToSizedBuffer(dAtA[:size]) 6260 } 6261 6262 func (m *OperationTerminateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6263 i := len(dAtA) 6264 _ = i 6265 var l int 6266 _ = l 6267 if m.XXX_unrecognized != nil { 6268 i -= len(m.XXX_unrecognized) 6269 copy(dAtA[i:], m.XXX_unrecognized) 6270 } 6271 return len(dAtA) - i, nil 6272 } 6273 6274 func (m *ResourcesQuery) Marshal() (dAtA []byte, err error) { 6275 size := m.Size() 6276 dAtA = make([]byte, size) 6277 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6278 if err != nil { 6279 return nil, err 6280 } 6281 return dAtA[:n], nil 6282 } 6283 6284 func (m *ResourcesQuery) MarshalTo(dAtA []byte) (int, error) { 6285 size := m.Size() 6286 return m.MarshalToSizedBuffer(dAtA[:size]) 6287 } 6288 6289 func (m *ResourcesQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6290 i := len(dAtA) 6291 _ = i 6292 var l int 6293 _ = l 6294 if m.XXX_unrecognized != nil { 6295 i -= len(m.XXX_unrecognized) 6296 copy(dAtA[i:], m.XXX_unrecognized) 6297 } 6298 if m.Project != nil { 6299 i -= len(*m.Project) 6300 copy(dAtA[i:], *m.Project) 6301 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6302 i-- 6303 dAtA[i] = 0x42 6304 } 6305 if m.AppNamespace != nil { 6306 i -= len(*m.AppNamespace) 6307 copy(dAtA[i:], *m.AppNamespace) 6308 i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) 6309 i-- 6310 dAtA[i] = 0x3a 6311 } 6312 if m.Kind != nil { 6313 i -= len(*m.Kind) 6314 copy(dAtA[i:], *m.Kind) 6315 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) 6316 i-- 6317 dAtA[i] = 0x32 6318 } 6319 if m.Group != nil { 6320 i -= len(*m.Group) 6321 copy(dAtA[i:], *m.Group) 6322 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) 6323 i-- 6324 dAtA[i] = 0x2a 6325 } 6326 if m.Version != nil { 6327 i -= len(*m.Version) 6328 copy(dAtA[i:], *m.Version) 6329 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) 6330 i-- 6331 dAtA[i] = 0x22 6332 } 6333 if m.Name != nil { 6334 i -= len(*m.Name) 6335 copy(dAtA[i:], *m.Name) 6336 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6337 i-- 6338 dAtA[i] = 0x1a 6339 } 6340 if m.Namespace != nil { 6341 i -= len(*m.Namespace) 6342 copy(dAtA[i:], *m.Namespace) 6343 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6344 i-- 6345 dAtA[i] = 0x12 6346 } 6347 if m.ApplicationName == nil { 6348 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName") 6349 } else { 6350 i -= len(*m.ApplicationName) 6351 copy(dAtA[i:], *m.ApplicationName) 6352 i = encodeVarintApplication(dAtA, i, uint64(len(*m.ApplicationName))) 6353 i-- 6354 dAtA[i] = 0xa 6355 } 6356 return len(dAtA) - i, nil 6357 } 6358 6359 func (m *ManagedResourcesResponse) Marshal() (dAtA []byte, err error) { 6360 size := m.Size() 6361 dAtA = make([]byte, size) 6362 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6363 if err != nil { 6364 return nil, err 6365 } 6366 return dAtA[:n], nil 6367 } 6368 6369 func (m *ManagedResourcesResponse) MarshalTo(dAtA []byte) (int, error) { 6370 size := m.Size() 6371 return m.MarshalToSizedBuffer(dAtA[:size]) 6372 } 6373 6374 func (m *ManagedResourcesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6375 i := len(dAtA) 6376 _ = i 6377 var l int 6378 _ = l 6379 if m.XXX_unrecognized != nil { 6380 i -= len(m.XXX_unrecognized) 6381 copy(dAtA[i:], m.XXX_unrecognized) 6382 } 6383 if len(m.Items) > 0 { 6384 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 6385 { 6386 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6387 if err != nil { 6388 return 0, err 6389 } 6390 i -= size 6391 i = encodeVarintApplication(dAtA, i, uint64(size)) 6392 } 6393 i-- 6394 dAtA[i] = 0xa 6395 } 6396 } 6397 return len(dAtA) - i, nil 6398 } 6399 6400 func (m *LinkInfo) Marshal() (dAtA []byte, err error) { 6401 size := m.Size() 6402 dAtA = make([]byte, size) 6403 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6404 if err != nil { 6405 return nil, err 6406 } 6407 return dAtA[:n], nil 6408 } 6409 6410 func (m *LinkInfo) MarshalTo(dAtA []byte) (int, error) { 6411 size := m.Size() 6412 return m.MarshalToSizedBuffer(dAtA[:size]) 6413 } 6414 6415 func (m *LinkInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6416 i := len(dAtA) 6417 _ = i 6418 var l int 6419 _ = l 6420 if m.XXX_unrecognized != nil { 6421 i -= len(m.XXX_unrecognized) 6422 copy(dAtA[i:], m.XXX_unrecognized) 6423 } 6424 if m.IconClass != nil { 6425 i -= len(*m.IconClass) 6426 copy(dAtA[i:], *m.IconClass) 6427 i = encodeVarintApplication(dAtA, i, uint64(len(*m.IconClass))) 6428 i-- 6429 dAtA[i] = 0x22 6430 } 6431 if m.Description != nil { 6432 i -= len(*m.Description) 6433 copy(dAtA[i:], *m.Description) 6434 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Description))) 6435 i-- 6436 dAtA[i] = 0x1a 6437 } 6438 if m.Url == nil { 6439 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("url") 6440 } else { 6441 i -= len(*m.Url) 6442 copy(dAtA[i:], *m.Url) 6443 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Url))) 6444 i-- 6445 dAtA[i] = 0x12 6446 } 6447 if m.Title == nil { 6448 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("title") 6449 } else { 6450 i -= len(*m.Title) 6451 copy(dAtA[i:], *m.Title) 6452 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Title))) 6453 i-- 6454 dAtA[i] = 0xa 6455 } 6456 return len(dAtA) - i, nil 6457 } 6458 6459 func (m *LinksResponse) Marshal() (dAtA []byte, err error) { 6460 size := m.Size() 6461 dAtA = make([]byte, size) 6462 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6463 if err != nil { 6464 return nil, err 6465 } 6466 return dAtA[:n], nil 6467 } 6468 6469 func (m *LinksResponse) MarshalTo(dAtA []byte) (int, error) { 6470 size := m.Size() 6471 return m.MarshalToSizedBuffer(dAtA[:size]) 6472 } 6473 6474 func (m *LinksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6475 i := len(dAtA) 6476 _ = i 6477 var l int 6478 _ = l 6479 if m.XXX_unrecognized != nil { 6480 i -= len(m.XXX_unrecognized) 6481 copy(dAtA[i:], m.XXX_unrecognized) 6482 } 6483 if len(m.Items) > 0 { 6484 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 6485 { 6486 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 6487 if err != nil { 6488 return 0, err 6489 } 6490 i -= size 6491 i = encodeVarintApplication(dAtA, i, uint64(size)) 6492 } 6493 i-- 6494 dAtA[i] = 0xa 6495 } 6496 } 6497 return len(dAtA) - i, nil 6498 } 6499 6500 func (m *ListAppLinksRequest) Marshal() (dAtA []byte, err error) { 6501 size := m.Size() 6502 dAtA = make([]byte, size) 6503 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 6504 if err != nil { 6505 return nil, err 6506 } 6507 return dAtA[:n], nil 6508 } 6509 6510 func (m *ListAppLinksRequest) MarshalTo(dAtA []byte) (int, error) { 6511 size := m.Size() 6512 return m.MarshalToSizedBuffer(dAtA[:size]) 6513 } 6514 6515 func (m *ListAppLinksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 6516 i := len(dAtA) 6517 _ = i 6518 var l int 6519 _ = l 6520 if m.XXX_unrecognized != nil { 6521 i -= len(m.XXX_unrecognized) 6522 copy(dAtA[i:], m.XXX_unrecognized) 6523 } 6524 if m.Project != nil { 6525 i -= len(*m.Project) 6526 copy(dAtA[i:], *m.Project) 6527 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) 6528 i-- 6529 dAtA[i] = 0x22 6530 } 6531 if m.Namespace != nil { 6532 i -= len(*m.Namespace) 6533 copy(dAtA[i:], *m.Namespace) 6534 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) 6535 i-- 6536 dAtA[i] = 0x1a 6537 } 6538 if m.Name == nil { 6539 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 6540 } else { 6541 i -= len(*m.Name) 6542 copy(dAtA[i:], *m.Name) 6543 i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) 6544 i-- 6545 dAtA[i] = 0xa 6546 } 6547 return len(dAtA) - i, nil 6548 } 6549 6550 func encodeVarintApplication(dAtA []byte, offset int, v uint64) int { 6551 offset -= sovApplication(v) 6552 base := offset 6553 for v >= 1<<7 { 6554 dAtA[offset] = uint8(v&0x7f | 0x80) 6555 v >>= 7 6556 offset++ 6557 } 6558 dAtA[offset] = uint8(v) 6559 return base 6560 } 6561 func (m *ApplicationQuery) Size() (n int) { 6562 if m == nil { 6563 return 0 6564 } 6565 var l int 6566 _ = l 6567 if m.Name != nil { 6568 l = len(*m.Name) 6569 n += 1 + l + sovApplication(uint64(l)) 6570 } 6571 if m.Refresh != nil { 6572 l = len(*m.Refresh) 6573 n += 1 + l + sovApplication(uint64(l)) 6574 } 6575 if len(m.Projects) > 0 { 6576 for _, s := range m.Projects { 6577 l = len(s) 6578 n += 1 + l + sovApplication(uint64(l)) 6579 } 6580 } 6581 if m.ResourceVersion != nil { 6582 l = len(*m.ResourceVersion) 6583 n += 1 + l + sovApplication(uint64(l)) 6584 } 6585 if m.Selector != nil { 6586 l = len(*m.Selector) 6587 n += 1 + l + sovApplication(uint64(l)) 6588 } 6589 if m.Repo != nil { 6590 l = len(*m.Repo) 6591 n += 1 + l + sovApplication(uint64(l)) 6592 } 6593 if m.AppNamespace != nil { 6594 l = len(*m.AppNamespace) 6595 n += 1 + l + sovApplication(uint64(l)) 6596 } 6597 if len(m.Project) > 0 { 6598 for _, s := range m.Project { 6599 l = len(s) 6600 n += 1 + l + sovApplication(uint64(l)) 6601 } 6602 } 6603 if m.XXX_unrecognized != nil { 6604 n += len(m.XXX_unrecognized) 6605 } 6606 return n 6607 } 6608 6609 func (m *NodeQuery) Size() (n int) { 6610 if m == nil { 6611 return 0 6612 } 6613 var l int 6614 _ = l 6615 if m.Name != nil { 6616 l = len(*m.Name) 6617 n += 1 + l + sovApplication(uint64(l)) 6618 } 6619 if m.AppNamespace != nil { 6620 l = len(*m.AppNamespace) 6621 n += 1 + l + sovApplication(uint64(l)) 6622 } 6623 if m.XXX_unrecognized != nil { 6624 n += len(m.XXX_unrecognized) 6625 } 6626 return n 6627 } 6628 6629 func (m *RevisionMetadataQuery) Size() (n int) { 6630 if m == nil { 6631 return 0 6632 } 6633 var l int 6634 _ = l 6635 if m.Name != nil { 6636 l = len(*m.Name) 6637 n += 1 + l + sovApplication(uint64(l)) 6638 } 6639 if m.Revision != nil { 6640 l = len(*m.Revision) 6641 n += 1 + l + sovApplication(uint64(l)) 6642 } 6643 if m.AppNamespace != nil { 6644 l = len(*m.AppNamespace) 6645 n += 1 + l + sovApplication(uint64(l)) 6646 } 6647 if m.Project != nil { 6648 l = len(*m.Project) 6649 n += 1 + l + sovApplication(uint64(l)) 6650 } 6651 if m.XXX_unrecognized != nil { 6652 n += len(m.XXX_unrecognized) 6653 } 6654 return n 6655 } 6656 6657 func (m *ApplicationResourceEventsQuery) Size() (n int) { 6658 if m == nil { 6659 return 0 6660 } 6661 var l int 6662 _ = l 6663 if m.Name != nil { 6664 l = len(*m.Name) 6665 n += 1 + l + sovApplication(uint64(l)) 6666 } 6667 if m.ResourceNamespace != nil { 6668 l = len(*m.ResourceNamespace) 6669 n += 1 + l + sovApplication(uint64(l)) 6670 } 6671 if m.ResourceName != nil { 6672 l = len(*m.ResourceName) 6673 n += 1 + l + sovApplication(uint64(l)) 6674 } 6675 if m.ResourceUID != nil { 6676 l = len(*m.ResourceUID) 6677 n += 1 + l + sovApplication(uint64(l)) 6678 } 6679 if m.AppNamespace != nil { 6680 l = len(*m.AppNamespace) 6681 n += 1 + l + sovApplication(uint64(l)) 6682 } 6683 if m.Project != nil { 6684 l = len(*m.Project) 6685 n += 1 + l + sovApplication(uint64(l)) 6686 } 6687 if m.XXX_unrecognized != nil { 6688 n += len(m.XXX_unrecognized) 6689 } 6690 return n 6691 } 6692 6693 func (m *ApplicationManifestQuery) Size() (n int) { 6694 if m == nil { 6695 return 0 6696 } 6697 var l int 6698 _ = l 6699 if m.Name != nil { 6700 l = len(*m.Name) 6701 n += 1 + l + sovApplication(uint64(l)) 6702 } 6703 if m.Revision != nil { 6704 l = len(*m.Revision) 6705 n += 1 + l + sovApplication(uint64(l)) 6706 } 6707 if m.AppNamespace != nil { 6708 l = len(*m.AppNamespace) 6709 n += 1 + l + sovApplication(uint64(l)) 6710 } 6711 if m.Project != nil { 6712 l = len(*m.Project) 6713 n += 1 + l + sovApplication(uint64(l)) 6714 } 6715 if m.XXX_unrecognized != nil { 6716 n += len(m.XXX_unrecognized) 6717 } 6718 return n 6719 } 6720 6721 func (m *FileChunk) Size() (n int) { 6722 if m == nil { 6723 return 0 6724 } 6725 var l int 6726 _ = l 6727 if m.Chunk != nil { 6728 l = len(m.Chunk) 6729 n += 1 + l + sovApplication(uint64(l)) 6730 } 6731 if m.XXX_unrecognized != nil { 6732 n += len(m.XXX_unrecognized) 6733 } 6734 return n 6735 } 6736 6737 func (m *ApplicationManifestQueryWithFiles) Size() (n int) { 6738 if m == nil { 6739 return 0 6740 } 6741 var l int 6742 _ = l 6743 if m.Name != nil { 6744 l = len(*m.Name) 6745 n += 1 + l + sovApplication(uint64(l)) 6746 } 6747 if m.Checksum != nil { 6748 l = len(*m.Checksum) 6749 n += 1 + l + sovApplication(uint64(l)) 6750 } 6751 if m.AppNamespace != nil { 6752 l = len(*m.AppNamespace) 6753 n += 1 + l + sovApplication(uint64(l)) 6754 } 6755 if m.Project != nil { 6756 l = len(*m.Project) 6757 n += 1 + l + sovApplication(uint64(l)) 6758 } 6759 if m.XXX_unrecognized != nil { 6760 n += len(m.XXX_unrecognized) 6761 } 6762 return n 6763 } 6764 6765 func (m *ApplicationManifestQueryWithFilesWrapper) Size() (n int) { 6766 if m == nil { 6767 return 0 6768 } 6769 var l int 6770 _ = l 6771 if m.Part != nil { 6772 n += m.Part.Size() 6773 } 6774 if m.XXX_unrecognized != nil { 6775 n += len(m.XXX_unrecognized) 6776 } 6777 return n 6778 } 6779 6780 func (m *ApplicationManifestQueryWithFilesWrapper_Query) Size() (n int) { 6781 if m == nil { 6782 return 0 6783 } 6784 var l int 6785 _ = l 6786 if m.Query != nil { 6787 l = m.Query.Size() 6788 n += 1 + l + sovApplication(uint64(l)) 6789 } 6790 return n 6791 } 6792 func (m *ApplicationManifestQueryWithFilesWrapper_Chunk) Size() (n int) { 6793 if m == nil { 6794 return 0 6795 } 6796 var l int 6797 _ = l 6798 if m.Chunk != nil { 6799 l = m.Chunk.Size() 6800 n += 1 + l + sovApplication(uint64(l)) 6801 } 6802 return n 6803 } 6804 func (m *ApplicationResponse) Size() (n int) { 6805 if m == nil { 6806 return 0 6807 } 6808 var l int 6809 _ = l 6810 if m.XXX_unrecognized != nil { 6811 n += len(m.XXX_unrecognized) 6812 } 6813 return n 6814 } 6815 6816 func (m *ApplicationCreateRequest) Size() (n int) { 6817 if m == nil { 6818 return 0 6819 } 6820 var l int 6821 _ = l 6822 if m.Application != nil { 6823 l = m.Application.Size() 6824 n += 1 + l + sovApplication(uint64(l)) 6825 } 6826 if m.Upsert != nil { 6827 n += 2 6828 } 6829 if m.Validate != nil { 6830 n += 2 6831 } 6832 if m.XXX_unrecognized != nil { 6833 n += len(m.XXX_unrecognized) 6834 } 6835 return n 6836 } 6837 6838 func (m *ApplicationUpdateRequest) Size() (n int) { 6839 if m == nil { 6840 return 0 6841 } 6842 var l int 6843 _ = l 6844 if m.Application != nil { 6845 l = m.Application.Size() 6846 n += 1 + l + sovApplication(uint64(l)) 6847 } 6848 if m.Validate != nil { 6849 n += 2 6850 } 6851 if m.Project != nil { 6852 l = len(*m.Project) 6853 n += 1 + l + sovApplication(uint64(l)) 6854 } 6855 if m.XXX_unrecognized != nil { 6856 n += len(m.XXX_unrecognized) 6857 } 6858 return n 6859 } 6860 6861 func (m *ApplicationDeleteRequest) Size() (n int) { 6862 if m == nil { 6863 return 0 6864 } 6865 var l int 6866 _ = l 6867 if m.Name != nil { 6868 l = len(*m.Name) 6869 n += 1 + l + sovApplication(uint64(l)) 6870 } 6871 if m.Cascade != nil { 6872 n += 2 6873 } 6874 if m.PropagationPolicy != nil { 6875 l = len(*m.PropagationPolicy) 6876 n += 1 + l + sovApplication(uint64(l)) 6877 } 6878 if m.AppNamespace != nil { 6879 l = len(*m.AppNamespace) 6880 n += 1 + l + sovApplication(uint64(l)) 6881 } 6882 if m.Project != nil { 6883 l = len(*m.Project) 6884 n += 1 + l + sovApplication(uint64(l)) 6885 } 6886 if m.XXX_unrecognized != nil { 6887 n += len(m.XXX_unrecognized) 6888 } 6889 return n 6890 } 6891 6892 func (m *SyncOptions) Size() (n int) { 6893 if m == nil { 6894 return 0 6895 } 6896 var l int 6897 _ = l 6898 if len(m.Items) > 0 { 6899 for _, s := range m.Items { 6900 l = len(s) 6901 n += 1 + l + sovApplication(uint64(l)) 6902 } 6903 } 6904 if m.XXX_unrecognized != nil { 6905 n += len(m.XXX_unrecognized) 6906 } 6907 return n 6908 } 6909 6910 func (m *ApplicationSyncRequest) Size() (n int) { 6911 if m == nil { 6912 return 0 6913 } 6914 var l int 6915 _ = l 6916 if m.Name != nil { 6917 l = len(*m.Name) 6918 n += 1 + l + sovApplication(uint64(l)) 6919 } 6920 if m.Revision != nil { 6921 l = len(*m.Revision) 6922 n += 1 + l + sovApplication(uint64(l)) 6923 } 6924 if m.DryRun != nil { 6925 n += 2 6926 } 6927 if m.Prune != nil { 6928 n += 2 6929 } 6930 if m.Strategy != nil { 6931 l = m.Strategy.Size() 6932 n += 1 + l + sovApplication(uint64(l)) 6933 } 6934 if len(m.Resources) > 0 { 6935 for _, e := range m.Resources { 6936 l = e.Size() 6937 n += 1 + l + sovApplication(uint64(l)) 6938 } 6939 } 6940 if len(m.Manifests) > 0 { 6941 for _, s := range m.Manifests { 6942 l = len(s) 6943 n += 1 + l + sovApplication(uint64(l)) 6944 } 6945 } 6946 if len(m.Infos) > 0 { 6947 for _, e := range m.Infos { 6948 l = e.Size() 6949 n += 1 + l + sovApplication(uint64(l)) 6950 } 6951 } 6952 if m.RetryStrategy != nil { 6953 l = m.RetryStrategy.Size() 6954 n += 1 + l + sovApplication(uint64(l)) 6955 } 6956 if m.SyncOptions != nil { 6957 l = m.SyncOptions.Size() 6958 n += 1 + l + sovApplication(uint64(l)) 6959 } 6960 if m.AppNamespace != nil { 6961 l = len(*m.AppNamespace) 6962 n += 1 + l + sovApplication(uint64(l)) 6963 } 6964 if m.Project != nil { 6965 l = len(*m.Project) 6966 n += 1 + l + sovApplication(uint64(l)) 6967 } 6968 if m.XXX_unrecognized != nil { 6969 n += len(m.XXX_unrecognized) 6970 } 6971 return n 6972 } 6973 6974 func (m *ApplicationUpdateSpecRequest) Size() (n int) { 6975 if m == nil { 6976 return 0 6977 } 6978 var l int 6979 _ = l 6980 if m.Name != nil { 6981 l = len(*m.Name) 6982 n += 1 + l + sovApplication(uint64(l)) 6983 } 6984 if m.Spec != nil { 6985 l = m.Spec.Size() 6986 n += 1 + l + sovApplication(uint64(l)) 6987 } 6988 if m.Validate != nil { 6989 n += 2 6990 } 6991 if m.AppNamespace != nil { 6992 l = len(*m.AppNamespace) 6993 n += 1 + l + sovApplication(uint64(l)) 6994 } 6995 if m.Project != nil { 6996 l = len(*m.Project) 6997 n += 1 + l + sovApplication(uint64(l)) 6998 } 6999 if m.XXX_unrecognized != nil { 7000 n += len(m.XXX_unrecognized) 7001 } 7002 return n 7003 } 7004 7005 func (m *ApplicationPatchRequest) Size() (n int) { 7006 if m == nil { 7007 return 0 7008 } 7009 var l int 7010 _ = l 7011 if m.Name != nil { 7012 l = len(*m.Name) 7013 n += 1 + l + sovApplication(uint64(l)) 7014 } 7015 if m.Patch != nil { 7016 l = len(*m.Patch) 7017 n += 1 + l + sovApplication(uint64(l)) 7018 } 7019 if m.PatchType != nil { 7020 l = len(*m.PatchType) 7021 n += 1 + l + sovApplication(uint64(l)) 7022 } 7023 if m.AppNamespace != nil { 7024 l = len(*m.AppNamespace) 7025 n += 1 + l + sovApplication(uint64(l)) 7026 } 7027 if m.Project != nil { 7028 l = len(*m.Project) 7029 n += 1 + l + sovApplication(uint64(l)) 7030 } 7031 if m.XXX_unrecognized != nil { 7032 n += len(m.XXX_unrecognized) 7033 } 7034 return n 7035 } 7036 7037 func (m *ApplicationRollbackRequest) Size() (n int) { 7038 if m == nil { 7039 return 0 7040 } 7041 var l int 7042 _ = l 7043 if m.Name != nil { 7044 l = len(*m.Name) 7045 n += 1 + l + sovApplication(uint64(l)) 7046 } 7047 if m.Id != nil { 7048 n += 1 + sovApplication(uint64(*m.Id)) 7049 } 7050 if m.DryRun != nil { 7051 n += 2 7052 } 7053 if m.Prune != nil { 7054 n += 2 7055 } 7056 if m.AppNamespace != nil { 7057 l = len(*m.AppNamespace) 7058 n += 1 + l + sovApplication(uint64(l)) 7059 } 7060 if m.Project != nil { 7061 l = len(*m.Project) 7062 n += 1 + l + sovApplication(uint64(l)) 7063 } 7064 if m.XXX_unrecognized != nil { 7065 n += len(m.XXX_unrecognized) 7066 } 7067 return n 7068 } 7069 7070 func (m *ApplicationResourceRequest) Size() (n int) { 7071 if m == nil { 7072 return 0 7073 } 7074 var l int 7075 _ = l 7076 if m.Name != nil { 7077 l = len(*m.Name) 7078 n += 1 + l + sovApplication(uint64(l)) 7079 } 7080 if m.Namespace != nil { 7081 l = len(*m.Namespace) 7082 n += 1 + l + sovApplication(uint64(l)) 7083 } 7084 if m.ResourceName != nil { 7085 l = len(*m.ResourceName) 7086 n += 1 + l + sovApplication(uint64(l)) 7087 } 7088 if m.Version != nil { 7089 l = len(*m.Version) 7090 n += 1 + l + sovApplication(uint64(l)) 7091 } 7092 if m.Group != nil { 7093 l = len(*m.Group) 7094 n += 1 + l + sovApplication(uint64(l)) 7095 } 7096 if m.Kind != nil { 7097 l = len(*m.Kind) 7098 n += 1 + l + sovApplication(uint64(l)) 7099 } 7100 if m.AppNamespace != nil { 7101 l = len(*m.AppNamespace) 7102 n += 1 + l + sovApplication(uint64(l)) 7103 } 7104 if m.Project != nil { 7105 l = len(*m.Project) 7106 n += 1 + l + sovApplication(uint64(l)) 7107 } 7108 if m.XXX_unrecognized != nil { 7109 n += len(m.XXX_unrecognized) 7110 } 7111 return n 7112 } 7113 7114 func (m *ApplicationResourcePatchRequest) Size() (n int) { 7115 if m == nil { 7116 return 0 7117 } 7118 var l int 7119 _ = l 7120 if m.Name != nil { 7121 l = len(*m.Name) 7122 n += 1 + l + sovApplication(uint64(l)) 7123 } 7124 if m.Namespace != nil { 7125 l = len(*m.Namespace) 7126 n += 1 + l + sovApplication(uint64(l)) 7127 } 7128 if m.ResourceName != nil { 7129 l = len(*m.ResourceName) 7130 n += 1 + l + sovApplication(uint64(l)) 7131 } 7132 if m.Version != nil { 7133 l = len(*m.Version) 7134 n += 1 + l + sovApplication(uint64(l)) 7135 } 7136 if m.Group != nil { 7137 l = len(*m.Group) 7138 n += 1 + l + sovApplication(uint64(l)) 7139 } 7140 if m.Kind != nil { 7141 l = len(*m.Kind) 7142 n += 1 + l + sovApplication(uint64(l)) 7143 } 7144 if m.Patch != nil { 7145 l = len(*m.Patch) 7146 n += 1 + l + sovApplication(uint64(l)) 7147 } 7148 if m.PatchType != nil { 7149 l = len(*m.PatchType) 7150 n += 1 + l + sovApplication(uint64(l)) 7151 } 7152 if m.AppNamespace != nil { 7153 l = len(*m.AppNamespace) 7154 n += 1 + l + sovApplication(uint64(l)) 7155 } 7156 if m.Project != nil { 7157 l = len(*m.Project) 7158 n += 1 + l + sovApplication(uint64(l)) 7159 } 7160 if m.XXX_unrecognized != nil { 7161 n += len(m.XXX_unrecognized) 7162 } 7163 return n 7164 } 7165 7166 func (m *ApplicationResourceDeleteRequest) Size() (n int) { 7167 if m == nil { 7168 return 0 7169 } 7170 var l int 7171 _ = l 7172 if m.Name != nil { 7173 l = len(*m.Name) 7174 n += 1 + l + sovApplication(uint64(l)) 7175 } 7176 if m.Namespace != nil { 7177 l = len(*m.Namespace) 7178 n += 1 + l + sovApplication(uint64(l)) 7179 } 7180 if m.ResourceName != nil { 7181 l = len(*m.ResourceName) 7182 n += 1 + l + sovApplication(uint64(l)) 7183 } 7184 if m.Version != nil { 7185 l = len(*m.Version) 7186 n += 1 + l + sovApplication(uint64(l)) 7187 } 7188 if m.Group != nil { 7189 l = len(*m.Group) 7190 n += 1 + l + sovApplication(uint64(l)) 7191 } 7192 if m.Kind != nil { 7193 l = len(*m.Kind) 7194 n += 1 + l + sovApplication(uint64(l)) 7195 } 7196 if m.Force != nil { 7197 n += 2 7198 } 7199 if m.Orphan != nil { 7200 n += 2 7201 } 7202 if m.AppNamespace != nil { 7203 l = len(*m.AppNamespace) 7204 n += 1 + l + sovApplication(uint64(l)) 7205 } 7206 if m.Project != nil { 7207 l = len(*m.Project) 7208 n += 1 + l + sovApplication(uint64(l)) 7209 } 7210 if m.XXX_unrecognized != nil { 7211 n += len(m.XXX_unrecognized) 7212 } 7213 return n 7214 } 7215 7216 func (m *ResourceActionRunRequest) Size() (n int) { 7217 if m == nil { 7218 return 0 7219 } 7220 var l int 7221 _ = l 7222 if m.Name != nil { 7223 l = len(*m.Name) 7224 n += 1 + l + sovApplication(uint64(l)) 7225 } 7226 if m.Namespace != nil { 7227 l = len(*m.Namespace) 7228 n += 1 + l + sovApplication(uint64(l)) 7229 } 7230 if m.ResourceName != nil { 7231 l = len(*m.ResourceName) 7232 n += 1 + l + sovApplication(uint64(l)) 7233 } 7234 if m.Version != nil { 7235 l = len(*m.Version) 7236 n += 1 + l + sovApplication(uint64(l)) 7237 } 7238 if m.Group != nil { 7239 l = len(*m.Group) 7240 n += 1 + l + sovApplication(uint64(l)) 7241 } 7242 if m.Kind != nil { 7243 l = len(*m.Kind) 7244 n += 1 + l + sovApplication(uint64(l)) 7245 } 7246 if m.Action != nil { 7247 l = len(*m.Action) 7248 n += 1 + l + sovApplication(uint64(l)) 7249 } 7250 if m.AppNamespace != nil { 7251 l = len(*m.AppNamespace) 7252 n += 1 + l + sovApplication(uint64(l)) 7253 } 7254 if m.Project != nil { 7255 l = len(*m.Project) 7256 n += 1 + l + sovApplication(uint64(l)) 7257 } 7258 if m.XXX_unrecognized != nil { 7259 n += len(m.XXX_unrecognized) 7260 } 7261 return n 7262 } 7263 7264 func (m *ResourceActionsListResponse) Size() (n int) { 7265 if m == nil { 7266 return 0 7267 } 7268 var l int 7269 _ = l 7270 if len(m.Actions) > 0 { 7271 for _, e := range m.Actions { 7272 l = e.Size() 7273 n += 1 + l + sovApplication(uint64(l)) 7274 } 7275 } 7276 if m.XXX_unrecognized != nil { 7277 n += len(m.XXX_unrecognized) 7278 } 7279 return n 7280 } 7281 7282 func (m *ApplicationResourceResponse) Size() (n int) { 7283 if m == nil { 7284 return 0 7285 } 7286 var l int 7287 _ = l 7288 if m.Manifest != nil { 7289 l = len(*m.Manifest) 7290 n += 1 + l + sovApplication(uint64(l)) 7291 } 7292 if m.XXX_unrecognized != nil { 7293 n += len(m.XXX_unrecognized) 7294 } 7295 return n 7296 } 7297 7298 func (m *ApplicationPodLogsQuery) Size() (n int) { 7299 if m == nil { 7300 return 0 7301 } 7302 var l int 7303 _ = l 7304 if m.Name != nil { 7305 l = len(*m.Name) 7306 n += 1 + l + sovApplication(uint64(l)) 7307 } 7308 if m.Namespace != nil { 7309 l = len(*m.Namespace) 7310 n += 1 + l + sovApplication(uint64(l)) 7311 } 7312 if m.PodName != nil { 7313 l = len(*m.PodName) 7314 n += 1 + l + sovApplication(uint64(l)) 7315 } 7316 if m.Container != nil { 7317 l = len(*m.Container) 7318 n += 1 + l + sovApplication(uint64(l)) 7319 } 7320 if m.SinceSeconds != nil { 7321 n += 1 + sovApplication(uint64(*m.SinceSeconds)) 7322 } 7323 if m.SinceTime != nil { 7324 l = m.SinceTime.Size() 7325 n += 1 + l + sovApplication(uint64(l)) 7326 } 7327 if m.TailLines != nil { 7328 n += 1 + sovApplication(uint64(*m.TailLines)) 7329 } 7330 if m.Follow != nil { 7331 n += 2 7332 } 7333 if m.UntilTime != nil { 7334 l = len(*m.UntilTime) 7335 n += 1 + l + sovApplication(uint64(l)) 7336 } 7337 if m.Filter != nil { 7338 l = len(*m.Filter) 7339 n += 1 + l + sovApplication(uint64(l)) 7340 } 7341 if m.Kind != nil { 7342 l = len(*m.Kind) 7343 n += 1 + l + sovApplication(uint64(l)) 7344 } 7345 if m.Group != nil { 7346 l = len(*m.Group) 7347 n += 1 + l + sovApplication(uint64(l)) 7348 } 7349 if m.ResourceName != nil { 7350 l = len(*m.ResourceName) 7351 n += 1 + l + sovApplication(uint64(l)) 7352 } 7353 if m.Previous != nil { 7354 n += 2 7355 } 7356 if m.AppNamespace != nil { 7357 l = len(*m.AppNamespace) 7358 n += 1 + l + sovApplication(uint64(l)) 7359 } 7360 if m.Project != nil { 7361 l = len(*m.Project) 7362 n += 2 + l + sovApplication(uint64(l)) 7363 } 7364 if m.XXX_unrecognized != nil { 7365 n += len(m.XXX_unrecognized) 7366 } 7367 return n 7368 } 7369 7370 func (m *LogEntry) Size() (n int) { 7371 if m == nil { 7372 return 0 7373 } 7374 var l int 7375 _ = l 7376 if m.Content != nil { 7377 l = len(*m.Content) 7378 n += 1 + l + sovApplication(uint64(l)) 7379 } 7380 if m.TimeStamp != nil { 7381 l = m.TimeStamp.Size() 7382 n += 1 + l + sovApplication(uint64(l)) 7383 } 7384 if m.Last != nil { 7385 n += 2 7386 } 7387 if m.TimeStampStr != nil { 7388 l = len(*m.TimeStampStr) 7389 n += 1 + l + sovApplication(uint64(l)) 7390 } 7391 if m.PodName != nil { 7392 l = len(*m.PodName) 7393 n += 1 + l + sovApplication(uint64(l)) 7394 } 7395 if m.XXX_unrecognized != nil { 7396 n += len(m.XXX_unrecognized) 7397 } 7398 return n 7399 } 7400 7401 func (m *OperationTerminateRequest) Size() (n int) { 7402 if m == nil { 7403 return 0 7404 } 7405 var l int 7406 _ = l 7407 if m.Name != nil { 7408 l = len(*m.Name) 7409 n += 1 + l + sovApplication(uint64(l)) 7410 } 7411 if m.AppNamespace != nil { 7412 l = len(*m.AppNamespace) 7413 n += 1 + l + sovApplication(uint64(l)) 7414 } 7415 if m.Project != nil { 7416 l = len(*m.Project) 7417 n += 1 + l + sovApplication(uint64(l)) 7418 } 7419 if m.XXX_unrecognized != nil { 7420 n += len(m.XXX_unrecognized) 7421 } 7422 return n 7423 } 7424 7425 func (m *ApplicationSyncWindowsQuery) Size() (n int) { 7426 if m == nil { 7427 return 0 7428 } 7429 var l int 7430 _ = l 7431 if m.Name != nil { 7432 l = len(*m.Name) 7433 n += 1 + l + sovApplication(uint64(l)) 7434 } 7435 if m.AppNamespace != nil { 7436 l = len(*m.AppNamespace) 7437 n += 1 + l + sovApplication(uint64(l)) 7438 } 7439 if m.Project != nil { 7440 l = len(*m.Project) 7441 n += 1 + l + sovApplication(uint64(l)) 7442 } 7443 if m.XXX_unrecognized != nil { 7444 n += len(m.XXX_unrecognized) 7445 } 7446 return n 7447 } 7448 7449 func (m *ApplicationSyncWindowsResponse) Size() (n int) { 7450 if m == nil { 7451 return 0 7452 } 7453 var l int 7454 _ = l 7455 if len(m.ActiveWindows) > 0 { 7456 for _, e := range m.ActiveWindows { 7457 l = e.Size() 7458 n += 1 + l + sovApplication(uint64(l)) 7459 } 7460 } 7461 if len(m.AssignedWindows) > 0 { 7462 for _, e := range m.AssignedWindows { 7463 l = e.Size() 7464 n += 1 + l + sovApplication(uint64(l)) 7465 } 7466 } 7467 if m.CanSync != nil { 7468 n += 2 7469 } 7470 if m.XXX_unrecognized != nil { 7471 n += len(m.XXX_unrecognized) 7472 } 7473 return n 7474 } 7475 7476 func (m *ApplicationSyncWindow) Size() (n int) { 7477 if m == nil { 7478 return 0 7479 } 7480 var l int 7481 _ = l 7482 if m.Kind != nil { 7483 l = len(*m.Kind) 7484 n += 1 + l + sovApplication(uint64(l)) 7485 } 7486 if m.Schedule != nil { 7487 l = len(*m.Schedule) 7488 n += 1 + l + sovApplication(uint64(l)) 7489 } 7490 if m.Duration != nil { 7491 l = len(*m.Duration) 7492 n += 1 + l + sovApplication(uint64(l)) 7493 } 7494 if m.ManualSync != nil { 7495 n += 2 7496 } 7497 if m.XXX_unrecognized != nil { 7498 n += len(m.XXX_unrecognized) 7499 } 7500 return n 7501 } 7502 7503 func (m *OperationTerminateResponse) Size() (n int) { 7504 if m == nil { 7505 return 0 7506 } 7507 var l int 7508 _ = l 7509 if m.XXX_unrecognized != nil { 7510 n += len(m.XXX_unrecognized) 7511 } 7512 return n 7513 } 7514 7515 func (m *ResourcesQuery) Size() (n int) { 7516 if m == nil { 7517 return 0 7518 } 7519 var l int 7520 _ = l 7521 if m.ApplicationName != nil { 7522 l = len(*m.ApplicationName) 7523 n += 1 + l + sovApplication(uint64(l)) 7524 } 7525 if m.Namespace != nil { 7526 l = len(*m.Namespace) 7527 n += 1 + l + sovApplication(uint64(l)) 7528 } 7529 if m.Name != nil { 7530 l = len(*m.Name) 7531 n += 1 + l + sovApplication(uint64(l)) 7532 } 7533 if m.Version != nil { 7534 l = len(*m.Version) 7535 n += 1 + l + sovApplication(uint64(l)) 7536 } 7537 if m.Group != nil { 7538 l = len(*m.Group) 7539 n += 1 + l + sovApplication(uint64(l)) 7540 } 7541 if m.Kind != nil { 7542 l = len(*m.Kind) 7543 n += 1 + l + sovApplication(uint64(l)) 7544 } 7545 if m.AppNamespace != nil { 7546 l = len(*m.AppNamespace) 7547 n += 1 + l + sovApplication(uint64(l)) 7548 } 7549 if m.Project != nil { 7550 l = len(*m.Project) 7551 n += 1 + l + sovApplication(uint64(l)) 7552 } 7553 if m.XXX_unrecognized != nil { 7554 n += len(m.XXX_unrecognized) 7555 } 7556 return n 7557 } 7558 7559 func (m *ManagedResourcesResponse) Size() (n int) { 7560 if m == nil { 7561 return 0 7562 } 7563 var l int 7564 _ = l 7565 if len(m.Items) > 0 { 7566 for _, e := range m.Items { 7567 l = e.Size() 7568 n += 1 + l + sovApplication(uint64(l)) 7569 } 7570 } 7571 if m.XXX_unrecognized != nil { 7572 n += len(m.XXX_unrecognized) 7573 } 7574 return n 7575 } 7576 7577 func (m *LinkInfo) Size() (n int) { 7578 if m == nil { 7579 return 0 7580 } 7581 var l int 7582 _ = l 7583 if m.Title != nil { 7584 l = len(*m.Title) 7585 n += 1 + l + sovApplication(uint64(l)) 7586 } 7587 if m.Url != nil { 7588 l = len(*m.Url) 7589 n += 1 + l + sovApplication(uint64(l)) 7590 } 7591 if m.Description != nil { 7592 l = len(*m.Description) 7593 n += 1 + l + sovApplication(uint64(l)) 7594 } 7595 if m.IconClass != nil { 7596 l = len(*m.IconClass) 7597 n += 1 + l + sovApplication(uint64(l)) 7598 } 7599 if m.XXX_unrecognized != nil { 7600 n += len(m.XXX_unrecognized) 7601 } 7602 return n 7603 } 7604 7605 func (m *LinksResponse) Size() (n int) { 7606 if m == nil { 7607 return 0 7608 } 7609 var l int 7610 _ = l 7611 if len(m.Items) > 0 { 7612 for _, e := range m.Items { 7613 l = e.Size() 7614 n += 1 + l + sovApplication(uint64(l)) 7615 } 7616 } 7617 if m.XXX_unrecognized != nil { 7618 n += len(m.XXX_unrecognized) 7619 } 7620 return n 7621 } 7622 7623 func (m *ListAppLinksRequest) Size() (n int) { 7624 if m == nil { 7625 return 0 7626 } 7627 var l int 7628 _ = l 7629 if m.Name != nil { 7630 l = len(*m.Name) 7631 n += 1 + l + sovApplication(uint64(l)) 7632 } 7633 if m.Namespace != nil { 7634 l = len(*m.Namespace) 7635 n += 1 + l + sovApplication(uint64(l)) 7636 } 7637 if m.Project != nil { 7638 l = len(*m.Project) 7639 n += 1 + l + sovApplication(uint64(l)) 7640 } 7641 if m.XXX_unrecognized != nil { 7642 n += len(m.XXX_unrecognized) 7643 } 7644 return n 7645 } 7646 7647 func sovApplication(x uint64) (n int) { 7648 return (math_bits.Len64(x|1) + 6) / 7 7649 } 7650 func sozApplication(x uint64) (n int) { 7651 return sovApplication(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 7652 } 7653 func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { 7654 l := len(dAtA) 7655 iNdEx := 0 7656 for iNdEx < l { 7657 preIndex := iNdEx 7658 var wire uint64 7659 for shift := uint(0); ; shift += 7 { 7660 if shift >= 64 { 7661 return ErrIntOverflowApplication 7662 } 7663 if iNdEx >= l { 7664 return io.ErrUnexpectedEOF 7665 } 7666 b := dAtA[iNdEx] 7667 iNdEx++ 7668 wire |= uint64(b&0x7F) << shift 7669 if b < 0x80 { 7670 break 7671 } 7672 } 7673 fieldNum := int32(wire >> 3) 7674 wireType := int(wire & 0x7) 7675 if wireType == 4 { 7676 return fmt.Errorf("proto: ApplicationQuery: wiretype end group for non-group") 7677 } 7678 if fieldNum <= 0 { 7679 return fmt.Errorf("proto: ApplicationQuery: illegal tag %d (wire type %d)", fieldNum, wire) 7680 } 7681 switch fieldNum { 7682 case 1: 7683 if wireType != 2 { 7684 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 7685 } 7686 var stringLen uint64 7687 for shift := uint(0); ; shift += 7 { 7688 if shift >= 64 { 7689 return ErrIntOverflowApplication 7690 } 7691 if iNdEx >= l { 7692 return io.ErrUnexpectedEOF 7693 } 7694 b := dAtA[iNdEx] 7695 iNdEx++ 7696 stringLen |= uint64(b&0x7F) << shift 7697 if b < 0x80 { 7698 break 7699 } 7700 } 7701 intStringLen := int(stringLen) 7702 if intStringLen < 0 { 7703 return ErrInvalidLengthApplication 7704 } 7705 postIndex := iNdEx + intStringLen 7706 if postIndex < 0 { 7707 return ErrInvalidLengthApplication 7708 } 7709 if postIndex > l { 7710 return io.ErrUnexpectedEOF 7711 } 7712 s := string(dAtA[iNdEx:postIndex]) 7713 m.Name = &s 7714 iNdEx = postIndex 7715 case 2: 7716 if wireType != 2 { 7717 return fmt.Errorf("proto: wrong wireType = %d for field Refresh", wireType) 7718 } 7719 var stringLen uint64 7720 for shift := uint(0); ; shift += 7 { 7721 if shift >= 64 { 7722 return ErrIntOverflowApplication 7723 } 7724 if iNdEx >= l { 7725 return io.ErrUnexpectedEOF 7726 } 7727 b := dAtA[iNdEx] 7728 iNdEx++ 7729 stringLen |= uint64(b&0x7F) << shift 7730 if b < 0x80 { 7731 break 7732 } 7733 } 7734 intStringLen := int(stringLen) 7735 if intStringLen < 0 { 7736 return ErrInvalidLengthApplication 7737 } 7738 postIndex := iNdEx + intStringLen 7739 if postIndex < 0 { 7740 return ErrInvalidLengthApplication 7741 } 7742 if postIndex > l { 7743 return io.ErrUnexpectedEOF 7744 } 7745 s := string(dAtA[iNdEx:postIndex]) 7746 m.Refresh = &s 7747 iNdEx = postIndex 7748 case 3: 7749 if wireType != 2 { 7750 return fmt.Errorf("proto: wrong wireType = %d for field Projects", wireType) 7751 } 7752 var stringLen uint64 7753 for shift := uint(0); ; shift += 7 { 7754 if shift >= 64 { 7755 return ErrIntOverflowApplication 7756 } 7757 if iNdEx >= l { 7758 return io.ErrUnexpectedEOF 7759 } 7760 b := dAtA[iNdEx] 7761 iNdEx++ 7762 stringLen |= uint64(b&0x7F) << shift 7763 if b < 0x80 { 7764 break 7765 } 7766 } 7767 intStringLen := int(stringLen) 7768 if intStringLen < 0 { 7769 return ErrInvalidLengthApplication 7770 } 7771 postIndex := iNdEx + intStringLen 7772 if postIndex < 0 { 7773 return ErrInvalidLengthApplication 7774 } 7775 if postIndex > l { 7776 return io.ErrUnexpectedEOF 7777 } 7778 m.Projects = append(m.Projects, string(dAtA[iNdEx:postIndex])) 7779 iNdEx = postIndex 7780 case 4: 7781 if wireType != 2 { 7782 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) 7783 } 7784 var stringLen uint64 7785 for shift := uint(0); ; shift += 7 { 7786 if shift >= 64 { 7787 return ErrIntOverflowApplication 7788 } 7789 if iNdEx >= l { 7790 return io.ErrUnexpectedEOF 7791 } 7792 b := dAtA[iNdEx] 7793 iNdEx++ 7794 stringLen |= uint64(b&0x7F) << shift 7795 if b < 0x80 { 7796 break 7797 } 7798 } 7799 intStringLen := int(stringLen) 7800 if intStringLen < 0 { 7801 return ErrInvalidLengthApplication 7802 } 7803 postIndex := iNdEx + intStringLen 7804 if postIndex < 0 { 7805 return ErrInvalidLengthApplication 7806 } 7807 if postIndex > l { 7808 return io.ErrUnexpectedEOF 7809 } 7810 s := string(dAtA[iNdEx:postIndex]) 7811 m.ResourceVersion = &s 7812 iNdEx = postIndex 7813 case 5: 7814 if wireType != 2 { 7815 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) 7816 } 7817 var stringLen uint64 7818 for shift := uint(0); ; shift += 7 { 7819 if shift >= 64 { 7820 return ErrIntOverflowApplication 7821 } 7822 if iNdEx >= l { 7823 return io.ErrUnexpectedEOF 7824 } 7825 b := dAtA[iNdEx] 7826 iNdEx++ 7827 stringLen |= uint64(b&0x7F) << shift 7828 if b < 0x80 { 7829 break 7830 } 7831 } 7832 intStringLen := int(stringLen) 7833 if intStringLen < 0 { 7834 return ErrInvalidLengthApplication 7835 } 7836 postIndex := iNdEx + intStringLen 7837 if postIndex < 0 { 7838 return ErrInvalidLengthApplication 7839 } 7840 if postIndex > l { 7841 return io.ErrUnexpectedEOF 7842 } 7843 s := string(dAtA[iNdEx:postIndex]) 7844 m.Selector = &s 7845 iNdEx = postIndex 7846 case 6: 7847 if wireType != 2 { 7848 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 7849 } 7850 var stringLen uint64 7851 for shift := uint(0); ; shift += 7 { 7852 if shift >= 64 { 7853 return ErrIntOverflowApplication 7854 } 7855 if iNdEx >= l { 7856 return io.ErrUnexpectedEOF 7857 } 7858 b := dAtA[iNdEx] 7859 iNdEx++ 7860 stringLen |= uint64(b&0x7F) << shift 7861 if b < 0x80 { 7862 break 7863 } 7864 } 7865 intStringLen := int(stringLen) 7866 if intStringLen < 0 { 7867 return ErrInvalidLengthApplication 7868 } 7869 postIndex := iNdEx + intStringLen 7870 if postIndex < 0 { 7871 return ErrInvalidLengthApplication 7872 } 7873 if postIndex > l { 7874 return io.ErrUnexpectedEOF 7875 } 7876 s := string(dAtA[iNdEx:postIndex]) 7877 m.Repo = &s 7878 iNdEx = postIndex 7879 case 7: 7880 if wireType != 2 { 7881 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 7882 } 7883 var stringLen uint64 7884 for shift := uint(0); ; shift += 7 { 7885 if shift >= 64 { 7886 return ErrIntOverflowApplication 7887 } 7888 if iNdEx >= l { 7889 return io.ErrUnexpectedEOF 7890 } 7891 b := dAtA[iNdEx] 7892 iNdEx++ 7893 stringLen |= uint64(b&0x7F) << shift 7894 if b < 0x80 { 7895 break 7896 } 7897 } 7898 intStringLen := int(stringLen) 7899 if intStringLen < 0 { 7900 return ErrInvalidLengthApplication 7901 } 7902 postIndex := iNdEx + intStringLen 7903 if postIndex < 0 { 7904 return ErrInvalidLengthApplication 7905 } 7906 if postIndex > l { 7907 return io.ErrUnexpectedEOF 7908 } 7909 s := string(dAtA[iNdEx:postIndex]) 7910 m.AppNamespace = &s 7911 iNdEx = postIndex 7912 case 8: 7913 if wireType != 2 { 7914 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 7915 } 7916 var stringLen uint64 7917 for shift := uint(0); ; shift += 7 { 7918 if shift >= 64 { 7919 return ErrIntOverflowApplication 7920 } 7921 if iNdEx >= l { 7922 return io.ErrUnexpectedEOF 7923 } 7924 b := dAtA[iNdEx] 7925 iNdEx++ 7926 stringLen |= uint64(b&0x7F) << shift 7927 if b < 0x80 { 7928 break 7929 } 7930 } 7931 intStringLen := int(stringLen) 7932 if intStringLen < 0 { 7933 return ErrInvalidLengthApplication 7934 } 7935 postIndex := iNdEx + intStringLen 7936 if postIndex < 0 { 7937 return ErrInvalidLengthApplication 7938 } 7939 if postIndex > l { 7940 return io.ErrUnexpectedEOF 7941 } 7942 m.Project = append(m.Project, string(dAtA[iNdEx:postIndex])) 7943 iNdEx = postIndex 7944 default: 7945 iNdEx = preIndex 7946 skippy, err := skipApplication(dAtA[iNdEx:]) 7947 if err != nil { 7948 return err 7949 } 7950 if (skippy < 0) || (iNdEx+skippy) < 0 { 7951 return ErrInvalidLengthApplication 7952 } 7953 if (iNdEx + skippy) > l { 7954 return io.ErrUnexpectedEOF 7955 } 7956 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7957 iNdEx += skippy 7958 } 7959 } 7960 7961 if iNdEx > l { 7962 return io.ErrUnexpectedEOF 7963 } 7964 return nil 7965 } 7966 func (m *NodeQuery) Unmarshal(dAtA []byte) error { 7967 l := len(dAtA) 7968 iNdEx := 0 7969 for iNdEx < l { 7970 preIndex := iNdEx 7971 var wire uint64 7972 for shift := uint(0); ; shift += 7 { 7973 if shift >= 64 { 7974 return ErrIntOverflowApplication 7975 } 7976 if iNdEx >= l { 7977 return io.ErrUnexpectedEOF 7978 } 7979 b := dAtA[iNdEx] 7980 iNdEx++ 7981 wire |= uint64(b&0x7F) << shift 7982 if b < 0x80 { 7983 break 7984 } 7985 } 7986 fieldNum := int32(wire >> 3) 7987 wireType := int(wire & 0x7) 7988 if wireType == 4 { 7989 return fmt.Errorf("proto: NodeQuery: wiretype end group for non-group") 7990 } 7991 if fieldNum <= 0 { 7992 return fmt.Errorf("proto: NodeQuery: illegal tag %d (wire type %d)", fieldNum, wire) 7993 } 7994 switch fieldNum { 7995 case 1: 7996 if wireType != 2 { 7997 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 7998 } 7999 var stringLen uint64 8000 for shift := uint(0); ; shift += 7 { 8001 if shift >= 64 { 8002 return ErrIntOverflowApplication 8003 } 8004 if iNdEx >= l { 8005 return io.ErrUnexpectedEOF 8006 } 8007 b := dAtA[iNdEx] 8008 iNdEx++ 8009 stringLen |= uint64(b&0x7F) << shift 8010 if b < 0x80 { 8011 break 8012 } 8013 } 8014 intStringLen := int(stringLen) 8015 if intStringLen < 0 { 8016 return ErrInvalidLengthApplication 8017 } 8018 postIndex := iNdEx + intStringLen 8019 if postIndex < 0 { 8020 return ErrInvalidLengthApplication 8021 } 8022 if postIndex > l { 8023 return io.ErrUnexpectedEOF 8024 } 8025 s := string(dAtA[iNdEx:postIndex]) 8026 m.Name = &s 8027 iNdEx = postIndex 8028 case 2: 8029 if wireType != 2 { 8030 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 8031 } 8032 var stringLen uint64 8033 for shift := uint(0); ; shift += 7 { 8034 if shift >= 64 { 8035 return ErrIntOverflowApplication 8036 } 8037 if iNdEx >= l { 8038 return io.ErrUnexpectedEOF 8039 } 8040 b := dAtA[iNdEx] 8041 iNdEx++ 8042 stringLen |= uint64(b&0x7F) << shift 8043 if b < 0x80 { 8044 break 8045 } 8046 } 8047 intStringLen := int(stringLen) 8048 if intStringLen < 0 { 8049 return ErrInvalidLengthApplication 8050 } 8051 postIndex := iNdEx + intStringLen 8052 if postIndex < 0 { 8053 return ErrInvalidLengthApplication 8054 } 8055 if postIndex > l { 8056 return io.ErrUnexpectedEOF 8057 } 8058 s := string(dAtA[iNdEx:postIndex]) 8059 m.AppNamespace = &s 8060 iNdEx = postIndex 8061 default: 8062 iNdEx = preIndex 8063 skippy, err := skipApplication(dAtA[iNdEx:]) 8064 if err != nil { 8065 return err 8066 } 8067 if (skippy < 0) || (iNdEx+skippy) < 0 { 8068 return ErrInvalidLengthApplication 8069 } 8070 if (iNdEx + skippy) > l { 8071 return io.ErrUnexpectedEOF 8072 } 8073 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8074 iNdEx += skippy 8075 } 8076 } 8077 8078 if iNdEx > l { 8079 return io.ErrUnexpectedEOF 8080 } 8081 return nil 8082 } 8083 func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { 8084 var hasFields [1]uint64 8085 l := len(dAtA) 8086 iNdEx := 0 8087 for iNdEx < l { 8088 preIndex := iNdEx 8089 var wire uint64 8090 for shift := uint(0); ; shift += 7 { 8091 if shift >= 64 { 8092 return ErrIntOverflowApplication 8093 } 8094 if iNdEx >= l { 8095 return io.ErrUnexpectedEOF 8096 } 8097 b := dAtA[iNdEx] 8098 iNdEx++ 8099 wire |= uint64(b&0x7F) << shift 8100 if b < 0x80 { 8101 break 8102 } 8103 } 8104 fieldNum := int32(wire >> 3) 8105 wireType := int(wire & 0x7) 8106 if wireType == 4 { 8107 return fmt.Errorf("proto: RevisionMetadataQuery: wiretype end group for non-group") 8108 } 8109 if fieldNum <= 0 { 8110 return fmt.Errorf("proto: RevisionMetadataQuery: illegal tag %d (wire type %d)", fieldNum, wire) 8111 } 8112 switch fieldNum { 8113 case 1: 8114 if wireType != 2 { 8115 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8116 } 8117 var stringLen uint64 8118 for shift := uint(0); ; shift += 7 { 8119 if shift >= 64 { 8120 return ErrIntOverflowApplication 8121 } 8122 if iNdEx >= l { 8123 return io.ErrUnexpectedEOF 8124 } 8125 b := dAtA[iNdEx] 8126 iNdEx++ 8127 stringLen |= uint64(b&0x7F) << shift 8128 if b < 0x80 { 8129 break 8130 } 8131 } 8132 intStringLen := int(stringLen) 8133 if intStringLen < 0 { 8134 return ErrInvalidLengthApplication 8135 } 8136 postIndex := iNdEx + intStringLen 8137 if postIndex < 0 { 8138 return ErrInvalidLengthApplication 8139 } 8140 if postIndex > l { 8141 return io.ErrUnexpectedEOF 8142 } 8143 s := string(dAtA[iNdEx:postIndex]) 8144 m.Name = &s 8145 iNdEx = postIndex 8146 hasFields[0] |= uint64(0x00000001) 8147 case 2: 8148 if wireType != 2 { 8149 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 8150 } 8151 var stringLen uint64 8152 for shift := uint(0); ; shift += 7 { 8153 if shift >= 64 { 8154 return ErrIntOverflowApplication 8155 } 8156 if iNdEx >= l { 8157 return io.ErrUnexpectedEOF 8158 } 8159 b := dAtA[iNdEx] 8160 iNdEx++ 8161 stringLen |= uint64(b&0x7F) << shift 8162 if b < 0x80 { 8163 break 8164 } 8165 } 8166 intStringLen := int(stringLen) 8167 if intStringLen < 0 { 8168 return ErrInvalidLengthApplication 8169 } 8170 postIndex := iNdEx + intStringLen 8171 if postIndex < 0 { 8172 return ErrInvalidLengthApplication 8173 } 8174 if postIndex > l { 8175 return io.ErrUnexpectedEOF 8176 } 8177 s := string(dAtA[iNdEx:postIndex]) 8178 m.Revision = &s 8179 iNdEx = postIndex 8180 hasFields[0] |= uint64(0x00000002) 8181 case 3: 8182 if wireType != 2 { 8183 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 8184 } 8185 var stringLen uint64 8186 for shift := uint(0); ; shift += 7 { 8187 if shift >= 64 { 8188 return ErrIntOverflowApplication 8189 } 8190 if iNdEx >= l { 8191 return io.ErrUnexpectedEOF 8192 } 8193 b := dAtA[iNdEx] 8194 iNdEx++ 8195 stringLen |= uint64(b&0x7F) << shift 8196 if b < 0x80 { 8197 break 8198 } 8199 } 8200 intStringLen := int(stringLen) 8201 if intStringLen < 0 { 8202 return ErrInvalidLengthApplication 8203 } 8204 postIndex := iNdEx + intStringLen 8205 if postIndex < 0 { 8206 return ErrInvalidLengthApplication 8207 } 8208 if postIndex > l { 8209 return io.ErrUnexpectedEOF 8210 } 8211 s := string(dAtA[iNdEx:postIndex]) 8212 m.AppNamespace = &s 8213 iNdEx = postIndex 8214 case 4: 8215 if wireType != 2 { 8216 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 8217 } 8218 var stringLen uint64 8219 for shift := uint(0); ; shift += 7 { 8220 if shift >= 64 { 8221 return ErrIntOverflowApplication 8222 } 8223 if iNdEx >= l { 8224 return io.ErrUnexpectedEOF 8225 } 8226 b := dAtA[iNdEx] 8227 iNdEx++ 8228 stringLen |= uint64(b&0x7F) << shift 8229 if b < 0x80 { 8230 break 8231 } 8232 } 8233 intStringLen := int(stringLen) 8234 if intStringLen < 0 { 8235 return ErrInvalidLengthApplication 8236 } 8237 postIndex := iNdEx + intStringLen 8238 if postIndex < 0 { 8239 return ErrInvalidLengthApplication 8240 } 8241 if postIndex > l { 8242 return io.ErrUnexpectedEOF 8243 } 8244 s := string(dAtA[iNdEx:postIndex]) 8245 m.Project = &s 8246 iNdEx = postIndex 8247 default: 8248 iNdEx = preIndex 8249 skippy, err := skipApplication(dAtA[iNdEx:]) 8250 if err != nil { 8251 return err 8252 } 8253 if (skippy < 0) || (iNdEx+skippy) < 0 { 8254 return ErrInvalidLengthApplication 8255 } 8256 if (iNdEx + skippy) > l { 8257 return io.ErrUnexpectedEOF 8258 } 8259 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8260 iNdEx += skippy 8261 } 8262 } 8263 if hasFields[0]&uint64(0x00000001) == 0 { 8264 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 8265 } 8266 if hasFields[0]&uint64(0x00000002) == 0 { 8267 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("revision") 8268 } 8269 8270 if iNdEx > l { 8271 return io.ErrUnexpectedEOF 8272 } 8273 return nil 8274 } 8275 func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { 8276 var hasFields [1]uint64 8277 l := len(dAtA) 8278 iNdEx := 0 8279 for iNdEx < l { 8280 preIndex := iNdEx 8281 var wire uint64 8282 for shift := uint(0); ; shift += 7 { 8283 if shift >= 64 { 8284 return ErrIntOverflowApplication 8285 } 8286 if iNdEx >= l { 8287 return io.ErrUnexpectedEOF 8288 } 8289 b := dAtA[iNdEx] 8290 iNdEx++ 8291 wire |= uint64(b&0x7F) << shift 8292 if b < 0x80 { 8293 break 8294 } 8295 } 8296 fieldNum := int32(wire >> 3) 8297 wireType := int(wire & 0x7) 8298 if wireType == 4 { 8299 return fmt.Errorf("proto: ApplicationResourceEventsQuery: wiretype end group for non-group") 8300 } 8301 if fieldNum <= 0 { 8302 return fmt.Errorf("proto: ApplicationResourceEventsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 8303 } 8304 switch fieldNum { 8305 case 1: 8306 if wireType != 2 { 8307 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8308 } 8309 var stringLen uint64 8310 for shift := uint(0); ; shift += 7 { 8311 if shift >= 64 { 8312 return ErrIntOverflowApplication 8313 } 8314 if iNdEx >= l { 8315 return io.ErrUnexpectedEOF 8316 } 8317 b := dAtA[iNdEx] 8318 iNdEx++ 8319 stringLen |= uint64(b&0x7F) << shift 8320 if b < 0x80 { 8321 break 8322 } 8323 } 8324 intStringLen := int(stringLen) 8325 if intStringLen < 0 { 8326 return ErrInvalidLengthApplication 8327 } 8328 postIndex := iNdEx + intStringLen 8329 if postIndex < 0 { 8330 return ErrInvalidLengthApplication 8331 } 8332 if postIndex > l { 8333 return io.ErrUnexpectedEOF 8334 } 8335 s := string(dAtA[iNdEx:postIndex]) 8336 m.Name = &s 8337 iNdEx = postIndex 8338 hasFields[0] |= uint64(0x00000001) 8339 case 2: 8340 if wireType != 2 { 8341 return fmt.Errorf("proto: wrong wireType = %d for field ResourceNamespace", wireType) 8342 } 8343 var stringLen uint64 8344 for shift := uint(0); ; shift += 7 { 8345 if shift >= 64 { 8346 return ErrIntOverflowApplication 8347 } 8348 if iNdEx >= l { 8349 return io.ErrUnexpectedEOF 8350 } 8351 b := dAtA[iNdEx] 8352 iNdEx++ 8353 stringLen |= uint64(b&0x7F) << shift 8354 if b < 0x80 { 8355 break 8356 } 8357 } 8358 intStringLen := int(stringLen) 8359 if intStringLen < 0 { 8360 return ErrInvalidLengthApplication 8361 } 8362 postIndex := iNdEx + intStringLen 8363 if postIndex < 0 { 8364 return ErrInvalidLengthApplication 8365 } 8366 if postIndex > l { 8367 return io.ErrUnexpectedEOF 8368 } 8369 s := string(dAtA[iNdEx:postIndex]) 8370 m.ResourceNamespace = &s 8371 iNdEx = postIndex 8372 case 3: 8373 if wireType != 2 { 8374 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 8375 } 8376 var stringLen uint64 8377 for shift := uint(0); ; shift += 7 { 8378 if shift >= 64 { 8379 return ErrIntOverflowApplication 8380 } 8381 if iNdEx >= l { 8382 return io.ErrUnexpectedEOF 8383 } 8384 b := dAtA[iNdEx] 8385 iNdEx++ 8386 stringLen |= uint64(b&0x7F) << shift 8387 if b < 0x80 { 8388 break 8389 } 8390 } 8391 intStringLen := int(stringLen) 8392 if intStringLen < 0 { 8393 return ErrInvalidLengthApplication 8394 } 8395 postIndex := iNdEx + intStringLen 8396 if postIndex < 0 { 8397 return ErrInvalidLengthApplication 8398 } 8399 if postIndex > l { 8400 return io.ErrUnexpectedEOF 8401 } 8402 s := string(dAtA[iNdEx:postIndex]) 8403 m.ResourceName = &s 8404 iNdEx = postIndex 8405 case 4: 8406 if wireType != 2 { 8407 return fmt.Errorf("proto: wrong wireType = %d for field ResourceUID", wireType) 8408 } 8409 var stringLen uint64 8410 for shift := uint(0); ; shift += 7 { 8411 if shift >= 64 { 8412 return ErrIntOverflowApplication 8413 } 8414 if iNdEx >= l { 8415 return io.ErrUnexpectedEOF 8416 } 8417 b := dAtA[iNdEx] 8418 iNdEx++ 8419 stringLen |= uint64(b&0x7F) << shift 8420 if b < 0x80 { 8421 break 8422 } 8423 } 8424 intStringLen := int(stringLen) 8425 if intStringLen < 0 { 8426 return ErrInvalidLengthApplication 8427 } 8428 postIndex := iNdEx + intStringLen 8429 if postIndex < 0 { 8430 return ErrInvalidLengthApplication 8431 } 8432 if postIndex > l { 8433 return io.ErrUnexpectedEOF 8434 } 8435 s := string(dAtA[iNdEx:postIndex]) 8436 m.ResourceUID = &s 8437 iNdEx = postIndex 8438 case 5: 8439 if wireType != 2 { 8440 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 8441 } 8442 var stringLen uint64 8443 for shift := uint(0); ; shift += 7 { 8444 if shift >= 64 { 8445 return ErrIntOverflowApplication 8446 } 8447 if iNdEx >= l { 8448 return io.ErrUnexpectedEOF 8449 } 8450 b := dAtA[iNdEx] 8451 iNdEx++ 8452 stringLen |= uint64(b&0x7F) << shift 8453 if b < 0x80 { 8454 break 8455 } 8456 } 8457 intStringLen := int(stringLen) 8458 if intStringLen < 0 { 8459 return ErrInvalidLengthApplication 8460 } 8461 postIndex := iNdEx + intStringLen 8462 if postIndex < 0 { 8463 return ErrInvalidLengthApplication 8464 } 8465 if postIndex > l { 8466 return io.ErrUnexpectedEOF 8467 } 8468 s := string(dAtA[iNdEx:postIndex]) 8469 m.AppNamespace = &s 8470 iNdEx = postIndex 8471 case 6: 8472 if wireType != 2 { 8473 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 8474 } 8475 var stringLen uint64 8476 for shift := uint(0); ; shift += 7 { 8477 if shift >= 64 { 8478 return ErrIntOverflowApplication 8479 } 8480 if iNdEx >= l { 8481 return io.ErrUnexpectedEOF 8482 } 8483 b := dAtA[iNdEx] 8484 iNdEx++ 8485 stringLen |= uint64(b&0x7F) << shift 8486 if b < 0x80 { 8487 break 8488 } 8489 } 8490 intStringLen := int(stringLen) 8491 if intStringLen < 0 { 8492 return ErrInvalidLengthApplication 8493 } 8494 postIndex := iNdEx + intStringLen 8495 if postIndex < 0 { 8496 return ErrInvalidLengthApplication 8497 } 8498 if postIndex > l { 8499 return io.ErrUnexpectedEOF 8500 } 8501 s := string(dAtA[iNdEx:postIndex]) 8502 m.Project = &s 8503 iNdEx = postIndex 8504 default: 8505 iNdEx = preIndex 8506 skippy, err := skipApplication(dAtA[iNdEx:]) 8507 if err != nil { 8508 return err 8509 } 8510 if (skippy < 0) || (iNdEx+skippy) < 0 { 8511 return ErrInvalidLengthApplication 8512 } 8513 if (iNdEx + skippy) > l { 8514 return io.ErrUnexpectedEOF 8515 } 8516 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8517 iNdEx += skippy 8518 } 8519 } 8520 if hasFields[0]&uint64(0x00000001) == 0 { 8521 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 8522 } 8523 8524 if iNdEx > l { 8525 return io.ErrUnexpectedEOF 8526 } 8527 return nil 8528 } 8529 func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { 8530 var hasFields [1]uint64 8531 l := len(dAtA) 8532 iNdEx := 0 8533 for iNdEx < l { 8534 preIndex := iNdEx 8535 var wire uint64 8536 for shift := uint(0); ; shift += 7 { 8537 if shift >= 64 { 8538 return ErrIntOverflowApplication 8539 } 8540 if iNdEx >= l { 8541 return io.ErrUnexpectedEOF 8542 } 8543 b := dAtA[iNdEx] 8544 iNdEx++ 8545 wire |= uint64(b&0x7F) << shift 8546 if b < 0x80 { 8547 break 8548 } 8549 } 8550 fieldNum := int32(wire >> 3) 8551 wireType := int(wire & 0x7) 8552 if wireType == 4 { 8553 return fmt.Errorf("proto: ApplicationManifestQuery: wiretype end group for non-group") 8554 } 8555 if fieldNum <= 0 { 8556 return fmt.Errorf("proto: ApplicationManifestQuery: illegal tag %d (wire type %d)", fieldNum, wire) 8557 } 8558 switch fieldNum { 8559 case 1: 8560 if wireType != 2 { 8561 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8562 } 8563 var stringLen uint64 8564 for shift := uint(0); ; shift += 7 { 8565 if shift >= 64 { 8566 return ErrIntOverflowApplication 8567 } 8568 if iNdEx >= l { 8569 return io.ErrUnexpectedEOF 8570 } 8571 b := dAtA[iNdEx] 8572 iNdEx++ 8573 stringLen |= uint64(b&0x7F) << shift 8574 if b < 0x80 { 8575 break 8576 } 8577 } 8578 intStringLen := int(stringLen) 8579 if intStringLen < 0 { 8580 return ErrInvalidLengthApplication 8581 } 8582 postIndex := iNdEx + intStringLen 8583 if postIndex < 0 { 8584 return ErrInvalidLengthApplication 8585 } 8586 if postIndex > l { 8587 return io.ErrUnexpectedEOF 8588 } 8589 s := string(dAtA[iNdEx:postIndex]) 8590 m.Name = &s 8591 iNdEx = postIndex 8592 hasFields[0] |= uint64(0x00000001) 8593 case 2: 8594 if wireType != 2 { 8595 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 8596 } 8597 var stringLen uint64 8598 for shift := uint(0); ; shift += 7 { 8599 if shift >= 64 { 8600 return ErrIntOverflowApplication 8601 } 8602 if iNdEx >= l { 8603 return io.ErrUnexpectedEOF 8604 } 8605 b := dAtA[iNdEx] 8606 iNdEx++ 8607 stringLen |= uint64(b&0x7F) << shift 8608 if b < 0x80 { 8609 break 8610 } 8611 } 8612 intStringLen := int(stringLen) 8613 if intStringLen < 0 { 8614 return ErrInvalidLengthApplication 8615 } 8616 postIndex := iNdEx + intStringLen 8617 if postIndex < 0 { 8618 return ErrInvalidLengthApplication 8619 } 8620 if postIndex > l { 8621 return io.ErrUnexpectedEOF 8622 } 8623 s := string(dAtA[iNdEx:postIndex]) 8624 m.Revision = &s 8625 iNdEx = postIndex 8626 case 3: 8627 if wireType != 2 { 8628 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 8629 } 8630 var stringLen uint64 8631 for shift := uint(0); ; shift += 7 { 8632 if shift >= 64 { 8633 return ErrIntOverflowApplication 8634 } 8635 if iNdEx >= l { 8636 return io.ErrUnexpectedEOF 8637 } 8638 b := dAtA[iNdEx] 8639 iNdEx++ 8640 stringLen |= uint64(b&0x7F) << shift 8641 if b < 0x80 { 8642 break 8643 } 8644 } 8645 intStringLen := int(stringLen) 8646 if intStringLen < 0 { 8647 return ErrInvalidLengthApplication 8648 } 8649 postIndex := iNdEx + intStringLen 8650 if postIndex < 0 { 8651 return ErrInvalidLengthApplication 8652 } 8653 if postIndex > l { 8654 return io.ErrUnexpectedEOF 8655 } 8656 s := string(dAtA[iNdEx:postIndex]) 8657 m.AppNamespace = &s 8658 iNdEx = postIndex 8659 case 4: 8660 if wireType != 2 { 8661 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 8662 } 8663 var stringLen uint64 8664 for shift := uint(0); ; shift += 7 { 8665 if shift >= 64 { 8666 return ErrIntOverflowApplication 8667 } 8668 if iNdEx >= l { 8669 return io.ErrUnexpectedEOF 8670 } 8671 b := dAtA[iNdEx] 8672 iNdEx++ 8673 stringLen |= uint64(b&0x7F) << shift 8674 if b < 0x80 { 8675 break 8676 } 8677 } 8678 intStringLen := int(stringLen) 8679 if intStringLen < 0 { 8680 return ErrInvalidLengthApplication 8681 } 8682 postIndex := iNdEx + intStringLen 8683 if postIndex < 0 { 8684 return ErrInvalidLengthApplication 8685 } 8686 if postIndex > l { 8687 return io.ErrUnexpectedEOF 8688 } 8689 s := string(dAtA[iNdEx:postIndex]) 8690 m.Project = &s 8691 iNdEx = postIndex 8692 default: 8693 iNdEx = preIndex 8694 skippy, err := skipApplication(dAtA[iNdEx:]) 8695 if err != nil { 8696 return err 8697 } 8698 if (skippy < 0) || (iNdEx+skippy) < 0 { 8699 return ErrInvalidLengthApplication 8700 } 8701 if (iNdEx + skippy) > l { 8702 return io.ErrUnexpectedEOF 8703 } 8704 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8705 iNdEx += skippy 8706 } 8707 } 8708 if hasFields[0]&uint64(0x00000001) == 0 { 8709 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 8710 } 8711 8712 if iNdEx > l { 8713 return io.ErrUnexpectedEOF 8714 } 8715 return nil 8716 } 8717 func (m *FileChunk) Unmarshal(dAtA []byte) error { 8718 var hasFields [1]uint64 8719 l := len(dAtA) 8720 iNdEx := 0 8721 for iNdEx < l { 8722 preIndex := iNdEx 8723 var wire uint64 8724 for shift := uint(0); ; shift += 7 { 8725 if shift >= 64 { 8726 return ErrIntOverflowApplication 8727 } 8728 if iNdEx >= l { 8729 return io.ErrUnexpectedEOF 8730 } 8731 b := dAtA[iNdEx] 8732 iNdEx++ 8733 wire |= uint64(b&0x7F) << shift 8734 if b < 0x80 { 8735 break 8736 } 8737 } 8738 fieldNum := int32(wire >> 3) 8739 wireType := int(wire & 0x7) 8740 if wireType == 4 { 8741 return fmt.Errorf("proto: FileChunk: wiretype end group for non-group") 8742 } 8743 if fieldNum <= 0 { 8744 return fmt.Errorf("proto: FileChunk: illegal tag %d (wire type %d)", fieldNum, wire) 8745 } 8746 switch fieldNum { 8747 case 1: 8748 if wireType != 2 { 8749 return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) 8750 } 8751 var byteLen int 8752 for shift := uint(0); ; shift += 7 { 8753 if shift >= 64 { 8754 return ErrIntOverflowApplication 8755 } 8756 if iNdEx >= l { 8757 return io.ErrUnexpectedEOF 8758 } 8759 b := dAtA[iNdEx] 8760 iNdEx++ 8761 byteLen |= int(b&0x7F) << shift 8762 if b < 0x80 { 8763 break 8764 } 8765 } 8766 if byteLen < 0 { 8767 return ErrInvalidLengthApplication 8768 } 8769 postIndex := iNdEx + byteLen 8770 if postIndex < 0 { 8771 return ErrInvalidLengthApplication 8772 } 8773 if postIndex > l { 8774 return io.ErrUnexpectedEOF 8775 } 8776 m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...) 8777 if m.Chunk == nil { 8778 m.Chunk = []byte{} 8779 } 8780 iNdEx = postIndex 8781 hasFields[0] |= uint64(0x00000001) 8782 default: 8783 iNdEx = preIndex 8784 skippy, err := skipApplication(dAtA[iNdEx:]) 8785 if err != nil { 8786 return err 8787 } 8788 if (skippy < 0) || (iNdEx+skippy) < 0 { 8789 return ErrInvalidLengthApplication 8790 } 8791 if (iNdEx + skippy) > l { 8792 return io.ErrUnexpectedEOF 8793 } 8794 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8795 iNdEx += skippy 8796 } 8797 } 8798 if hasFields[0]&uint64(0x00000001) == 0 { 8799 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("chunk") 8800 } 8801 8802 if iNdEx > l { 8803 return io.ErrUnexpectedEOF 8804 } 8805 return nil 8806 } 8807 func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { 8808 var hasFields [1]uint64 8809 l := len(dAtA) 8810 iNdEx := 0 8811 for iNdEx < l { 8812 preIndex := iNdEx 8813 var wire uint64 8814 for shift := uint(0); ; shift += 7 { 8815 if shift >= 64 { 8816 return ErrIntOverflowApplication 8817 } 8818 if iNdEx >= l { 8819 return io.ErrUnexpectedEOF 8820 } 8821 b := dAtA[iNdEx] 8822 iNdEx++ 8823 wire |= uint64(b&0x7F) << shift 8824 if b < 0x80 { 8825 break 8826 } 8827 } 8828 fieldNum := int32(wire >> 3) 8829 wireType := int(wire & 0x7) 8830 if wireType == 4 { 8831 return fmt.Errorf("proto: ApplicationManifestQueryWithFiles: wiretype end group for non-group") 8832 } 8833 if fieldNum <= 0 { 8834 return fmt.Errorf("proto: ApplicationManifestQueryWithFiles: illegal tag %d (wire type %d)", fieldNum, wire) 8835 } 8836 switch fieldNum { 8837 case 1: 8838 if wireType != 2 { 8839 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 8840 } 8841 var stringLen uint64 8842 for shift := uint(0); ; shift += 7 { 8843 if shift >= 64 { 8844 return ErrIntOverflowApplication 8845 } 8846 if iNdEx >= l { 8847 return io.ErrUnexpectedEOF 8848 } 8849 b := dAtA[iNdEx] 8850 iNdEx++ 8851 stringLen |= uint64(b&0x7F) << shift 8852 if b < 0x80 { 8853 break 8854 } 8855 } 8856 intStringLen := int(stringLen) 8857 if intStringLen < 0 { 8858 return ErrInvalidLengthApplication 8859 } 8860 postIndex := iNdEx + intStringLen 8861 if postIndex < 0 { 8862 return ErrInvalidLengthApplication 8863 } 8864 if postIndex > l { 8865 return io.ErrUnexpectedEOF 8866 } 8867 s := string(dAtA[iNdEx:postIndex]) 8868 m.Name = &s 8869 iNdEx = postIndex 8870 hasFields[0] |= uint64(0x00000001) 8871 case 2: 8872 if wireType != 2 { 8873 return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) 8874 } 8875 var stringLen uint64 8876 for shift := uint(0); ; shift += 7 { 8877 if shift >= 64 { 8878 return ErrIntOverflowApplication 8879 } 8880 if iNdEx >= l { 8881 return io.ErrUnexpectedEOF 8882 } 8883 b := dAtA[iNdEx] 8884 iNdEx++ 8885 stringLen |= uint64(b&0x7F) << shift 8886 if b < 0x80 { 8887 break 8888 } 8889 } 8890 intStringLen := int(stringLen) 8891 if intStringLen < 0 { 8892 return ErrInvalidLengthApplication 8893 } 8894 postIndex := iNdEx + intStringLen 8895 if postIndex < 0 { 8896 return ErrInvalidLengthApplication 8897 } 8898 if postIndex > l { 8899 return io.ErrUnexpectedEOF 8900 } 8901 s := string(dAtA[iNdEx:postIndex]) 8902 m.Checksum = &s 8903 iNdEx = postIndex 8904 hasFields[0] |= uint64(0x00000002) 8905 case 3: 8906 if wireType != 2 { 8907 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 8908 } 8909 var stringLen uint64 8910 for shift := uint(0); ; shift += 7 { 8911 if shift >= 64 { 8912 return ErrIntOverflowApplication 8913 } 8914 if iNdEx >= l { 8915 return io.ErrUnexpectedEOF 8916 } 8917 b := dAtA[iNdEx] 8918 iNdEx++ 8919 stringLen |= uint64(b&0x7F) << shift 8920 if b < 0x80 { 8921 break 8922 } 8923 } 8924 intStringLen := int(stringLen) 8925 if intStringLen < 0 { 8926 return ErrInvalidLengthApplication 8927 } 8928 postIndex := iNdEx + intStringLen 8929 if postIndex < 0 { 8930 return ErrInvalidLengthApplication 8931 } 8932 if postIndex > l { 8933 return io.ErrUnexpectedEOF 8934 } 8935 s := string(dAtA[iNdEx:postIndex]) 8936 m.AppNamespace = &s 8937 iNdEx = postIndex 8938 case 4: 8939 if wireType != 2 { 8940 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 8941 } 8942 var stringLen uint64 8943 for shift := uint(0); ; shift += 7 { 8944 if shift >= 64 { 8945 return ErrIntOverflowApplication 8946 } 8947 if iNdEx >= l { 8948 return io.ErrUnexpectedEOF 8949 } 8950 b := dAtA[iNdEx] 8951 iNdEx++ 8952 stringLen |= uint64(b&0x7F) << shift 8953 if b < 0x80 { 8954 break 8955 } 8956 } 8957 intStringLen := int(stringLen) 8958 if intStringLen < 0 { 8959 return ErrInvalidLengthApplication 8960 } 8961 postIndex := iNdEx + intStringLen 8962 if postIndex < 0 { 8963 return ErrInvalidLengthApplication 8964 } 8965 if postIndex > l { 8966 return io.ErrUnexpectedEOF 8967 } 8968 s := string(dAtA[iNdEx:postIndex]) 8969 m.Project = &s 8970 iNdEx = postIndex 8971 default: 8972 iNdEx = preIndex 8973 skippy, err := skipApplication(dAtA[iNdEx:]) 8974 if err != nil { 8975 return err 8976 } 8977 if (skippy < 0) || (iNdEx+skippy) < 0 { 8978 return ErrInvalidLengthApplication 8979 } 8980 if (iNdEx + skippy) > l { 8981 return io.ErrUnexpectedEOF 8982 } 8983 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 8984 iNdEx += skippy 8985 } 8986 } 8987 if hasFields[0]&uint64(0x00000001) == 0 { 8988 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 8989 } 8990 if hasFields[0]&uint64(0x00000002) == 0 { 8991 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("checksum") 8992 } 8993 8994 if iNdEx > l { 8995 return io.ErrUnexpectedEOF 8996 } 8997 return nil 8998 } 8999 func (m *ApplicationManifestQueryWithFilesWrapper) Unmarshal(dAtA []byte) error { 9000 l := len(dAtA) 9001 iNdEx := 0 9002 for iNdEx < l { 9003 preIndex := iNdEx 9004 var wire uint64 9005 for shift := uint(0); ; shift += 7 { 9006 if shift >= 64 { 9007 return ErrIntOverflowApplication 9008 } 9009 if iNdEx >= l { 9010 return io.ErrUnexpectedEOF 9011 } 9012 b := dAtA[iNdEx] 9013 iNdEx++ 9014 wire |= uint64(b&0x7F) << shift 9015 if b < 0x80 { 9016 break 9017 } 9018 } 9019 fieldNum := int32(wire >> 3) 9020 wireType := int(wire & 0x7) 9021 if wireType == 4 { 9022 return fmt.Errorf("proto: ApplicationManifestQueryWithFilesWrapper: wiretype end group for non-group") 9023 } 9024 if fieldNum <= 0 { 9025 return fmt.Errorf("proto: ApplicationManifestQueryWithFilesWrapper: illegal tag %d (wire type %d)", fieldNum, wire) 9026 } 9027 switch fieldNum { 9028 case 1: 9029 if wireType != 2 { 9030 return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) 9031 } 9032 var msglen int 9033 for shift := uint(0); ; shift += 7 { 9034 if shift >= 64 { 9035 return ErrIntOverflowApplication 9036 } 9037 if iNdEx >= l { 9038 return io.ErrUnexpectedEOF 9039 } 9040 b := dAtA[iNdEx] 9041 iNdEx++ 9042 msglen |= int(b&0x7F) << shift 9043 if b < 0x80 { 9044 break 9045 } 9046 } 9047 if msglen < 0 { 9048 return ErrInvalidLengthApplication 9049 } 9050 postIndex := iNdEx + msglen 9051 if postIndex < 0 { 9052 return ErrInvalidLengthApplication 9053 } 9054 if postIndex > l { 9055 return io.ErrUnexpectedEOF 9056 } 9057 v := &ApplicationManifestQueryWithFiles{} 9058 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9059 return err 9060 } 9061 m.Part = &ApplicationManifestQueryWithFilesWrapper_Query{v} 9062 iNdEx = postIndex 9063 case 2: 9064 if wireType != 2 { 9065 return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType) 9066 } 9067 var msglen int 9068 for shift := uint(0); ; shift += 7 { 9069 if shift >= 64 { 9070 return ErrIntOverflowApplication 9071 } 9072 if iNdEx >= l { 9073 return io.ErrUnexpectedEOF 9074 } 9075 b := dAtA[iNdEx] 9076 iNdEx++ 9077 msglen |= int(b&0x7F) << shift 9078 if b < 0x80 { 9079 break 9080 } 9081 } 9082 if msglen < 0 { 9083 return ErrInvalidLengthApplication 9084 } 9085 postIndex := iNdEx + msglen 9086 if postIndex < 0 { 9087 return ErrInvalidLengthApplication 9088 } 9089 if postIndex > l { 9090 return io.ErrUnexpectedEOF 9091 } 9092 v := &FileChunk{} 9093 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9094 return err 9095 } 9096 m.Part = &ApplicationManifestQueryWithFilesWrapper_Chunk{v} 9097 iNdEx = postIndex 9098 default: 9099 iNdEx = preIndex 9100 skippy, err := skipApplication(dAtA[iNdEx:]) 9101 if err != nil { 9102 return err 9103 } 9104 if (skippy < 0) || (iNdEx+skippy) < 0 { 9105 return ErrInvalidLengthApplication 9106 } 9107 if (iNdEx + skippy) > l { 9108 return io.ErrUnexpectedEOF 9109 } 9110 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9111 iNdEx += skippy 9112 } 9113 } 9114 9115 if iNdEx > l { 9116 return io.ErrUnexpectedEOF 9117 } 9118 return nil 9119 } 9120 func (m *ApplicationResponse) Unmarshal(dAtA []byte) error { 9121 l := len(dAtA) 9122 iNdEx := 0 9123 for iNdEx < l { 9124 preIndex := iNdEx 9125 var wire uint64 9126 for shift := uint(0); ; shift += 7 { 9127 if shift >= 64 { 9128 return ErrIntOverflowApplication 9129 } 9130 if iNdEx >= l { 9131 return io.ErrUnexpectedEOF 9132 } 9133 b := dAtA[iNdEx] 9134 iNdEx++ 9135 wire |= uint64(b&0x7F) << shift 9136 if b < 0x80 { 9137 break 9138 } 9139 } 9140 fieldNum := int32(wire >> 3) 9141 wireType := int(wire & 0x7) 9142 if wireType == 4 { 9143 return fmt.Errorf("proto: ApplicationResponse: wiretype end group for non-group") 9144 } 9145 if fieldNum <= 0 { 9146 return fmt.Errorf("proto: ApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) 9147 } 9148 switch fieldNum { 9149 default: 9150 iNdEx = preIndex 9151 skippy, err := skipApplication(dAtA[iNdEx:]) 9152 if err != nil { 9153 return err 9154 } 9155 if (skippy < 0) || (iNdEx+skippy) < 0 { 9156 return ErrInvalidLengthApplication 9157 } 9158 if (iNdEx + skippy) > l { 9159 return io.ErrUnexpectedEOF 9160 } 9161 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9162 iNdEx += skippy 9163 } 9164 } 9165 9166 if iNdEx > l { 9167 return io.ErrUnexpectedEOF 9168 } 9169 return nil 9170 } 9171 func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { 9172 var hasFields [1]uint64 9173 l := len(dAtA) 9174 iNdEx := 0 9175 for iNdEx < l { 9176 preIndex := iNdEx 9177 var wire uint64 9178 for shift := uint(0); ; shift += 7 { 9179 if shift >= 64 { 9180 return ErrIntOverflowApplication 9181 } 9182 if iNdEx >= l { 9183 return io.ErrUnexpectedEOF 9184 } 9185 b := dAtA[iNdEx] 9186 iNdEx++ 9187 wire |= uint64(b&0x7F) << shift 9188 if b < 0x80 { 9189 break 9190 } 9191 } 9192 fieldNum := int32(wire >> 3) 9193 wireType := int(wire & 0x7) 9194 if wireType == 4 { 9195 return fmt.Errorf("proto: ApplicationCreateRequest: wiretype end group for non-group") 9196 } 9197 if fieldNum <= 0 { 9198 return fmt.Errorf("proto: ApplicationCreateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 9199 } 9200 switch fieldNum { 9201 case 1: 9202 if wireType != 2 { 9203 return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType) 9204 } 9205 var msglen int 9206 for shift := uint(0); ; shift += 7 { 9207 if shift >= 64 { 9208 return ErrIntOverflowApplication 9209 } 9210 if iNdEx >= l { 9211 return io.ErrUnexpectedEOF 9212 } 9213 b := dAtA[iNdEx] 9214 iNdEx++ 9215 msglen |= int(b&0x7F) << shift 9216 if b < 0x80 { 9217 break 9218 } 9219 } 9220 if msglen < 0 { 9221 return ErrInvalidLengthApplication 9222 } 9223 postIndex := iNdEx + msglen 9224 if postIndex < 0 { 9225 return ErrInvalidLengthApplication 9226 } 9227 if postIndex > l { 9228 return io.ErrUnexpectedEOF 9229 } 9230 if m.Application == nil { 9231 m.Application = &v1alpha1.Application{} 9232 } 9233 if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9234 return err 9235 } 9236 iNdEx = postIndex 9237 hasFields[0] |= uint64(0x00000001) 9238 case 2: 9239 if wireType != 0 { 9240 return fmt.Errorf("proto: wrong wireType = %d for field Upsert", wireType) 9241 } 9242 var v int 9243 for shift := uint(0); ; shift += 7 { 9244 if shift >= 64 { 9245 return ErrIntOverflowApplication 9246 } 9247 if iNdEx >= l { 9248 return io.ErrUnexpectedEOF 9249 } 9250 b := dAtA[iNdEx] 9251 iNdEx++ 9252 v |= int(b&0x7F) << shift 9253 if b < 0x80 { 9254 break 9255 } 9256 } 9257 b := bool(v != 0) 9258 m.Upsert = &b 9259 case 3: 9260 if wireType != 0 { 9261 return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) 9262 } 9263 var v int 9264 for shift := uint(0); ; shift += 7 { 9265 if shift >= 64 { 9266 return ErrIntOverflowApplication 9267 } 9268 if iNdEx >= l { 9269 return io.ErrUnexpectedEOF 9270 } 9271 b := dAtA[iNdEx] 9272 iNdEx++ 9273 v |= int(b&0x7F) << shift 9274 if b < 0x80 { 9275 break 9276 } 9277 } 9278 b := bool(v != 0) 9279 m.Validate = &b 9280 default: 9281 iNdEx = preIndex 9282 skippy, err := skipApplication(dAtA[iNdEx:]) 9283 if err != nil { 9284 return err 9285 } 9286 if (skippy < 0) || (iNdEx+skippy) < 0 { 9287 return ErrInvalidLengthApplication 9288 } 9289 if (iNdEx + skippy) > l { 9290 return io.ErrUnexpectedEOF 9291 } 9292 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9293 iNdEx += skippy 9294 } 9295 } 9296 if hasFields[0]&uint64(0x00000001) == 0 { 9297 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 9298 } 9299 9300 if iNdEx > l { 9301 return io.ErrUnexpectedEOF 9302 } 9303 return nil 9304 } 9305 func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { 9306 var hasFields [1]uint64 9307 l := len(dAtA) 9308 iNdEx := 0 9309 for iNdEx < l { 9310 preIndex := iNdEx 9311 var wire uint64 9312 for shift := uint(0); ; shift += 7 { 9313 if shift >= 64 { 9314 return ErrIntOverflowApplication 9315 } 9316 if iNdEx >= l { 9317 return io.ErrUnexpectedEOF 9318 } 9319 b := dAtA[iNdEx] 9320 iNdEx++ 9321 wire |= uint64(b&0x7F) << shift 9322 if b < 0x80 { 9323 break 9324 } 9325 } 9326 fieldNum := int32(wire >> 3) 9327 wireType := int(wire & 0x7) 9328 if wireType == 4 { 9329 return fmt.Errorf("proto: ApplicationUpdateRequest: wiretype end group for non-group") 9330 } 9331 if fieldNum <= 0 { 9332 return fmt.Errorf("proto: ApplicationUpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 9333 } 9334 switch fieldNum { 9335 case 1: 9336 if wireType != 2 { 9337 return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType) 9338 } 9339 var msglen int 9340 for shift := uint(0); ; shift += 7 { 9341 if shift >= 64 { 9342 return ErrIntOverflowApplication 9343 } 9344 if iNdEx >= l { 9345 return io.ErrUnexpectedEOF 9346 } 9347 b := dAtA[iNdEx] 9348 iNdEx++ 9349 msglen |= int(b&0x7F) << shift 9350 if b < 0x80 { 9351 break 9352 } 9353 } 9354 if msglen < 0 { 9355 return ErrInvalidLengthApplication 9356 } 9357 postIndex := iNdEx + msglen 9358 if postIndex < 0 { 9359 return ErrInvalidLengthApplication 9360 } 9361 if postIndex > l { 9362 return io.ErrUnexpectedEOF 9363 } 9364 if m.Application == nil { 9365 m.Application = &v1alpha1.Application{} 9366 } 9367 if err := m.Application.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9368 return err 9369 } 9370 iNdEx = postIndex 9371 hasFields[0] |= uint64(0x00000001) 9372 case 2: 9373 if wireType != 0 { 9374 return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) 9375 } 9376 var v int 9377 for shift := uint(0); ; shift += 7 { 9378 if shift >= 64 { 9379 return ErrIntOverflowApplication 9380 } 9381 if iNdEx >= l { 9382 return io.ErrUnexpectedEOF 9383 } 9384 b := dAtA[iNdEx] 9385 iNdEx++ 9386 v |= int(b&0x7F) << shift 9387 if b < 0x80 { 9388 break 9389 } 9390 } 9391 b := bool(v != 0) 9392 m.Validate = &b 9393 case 3: 9394 if wireType != 2 { 9395 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 9396 } 9397 var stringLen uint64 9398 for shift := uint(0); ; shift += 7 { 9399 if shift >= 64 { 9400 return ErrIntOverflowApplication 9401 } 9402 if iNdEx >= l { 9403 return io.ErrUnexpectedEOF 9404 } 9405 b := dAtA[iNdEx] 9406 iNdEx++ 9407 stringLen |= uint64(b&0x7F) << shift 9408 if b < 0x80 { 9409 break 9410 } 9411 } 9412 intStringLen := int(stringLen) 9413 if intStringLen < 0 { 9414 return ErrInvalidLengthApplication 9415 } 9416 postIndex := iNdEx + intStringLen 9417 if postIndex < 0 { 9418 return ErrInvalidLengthApplication 9419 } 9420 if postIndex > l { 9421 return io.ErrUnexpectedEOF 9422 } 9423 s := string(dAtA[iNdEx:postIndex]) 9424 m.Project = &s 9425 iNdEx = postIndex 9426 default: 9427 iNdEx = preIndex 9428 skippy, err := skipApplication(dAtA[iNdEx:]) 9429 if err != nil { 9430 return err 9431 } 9432 if (skippy < 0) || (iNdEx+skippy) < 0 { 9433 return ErrInvalidLengthApplication 9434 } 9435 if (iNdEx + skippy) > l { 9436 return io.ErrUnexpectedEOF 9437 } 9438 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9439 iNdEx += skippy 9440 } 9441 } 9442 if hasFields[0]&uint64(0x00000001) == 0 { 9443 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") 9444 } 9445 9446 if iNdEx > l { 9447 return io.ErrUnexpectedEOF 9448 } 9449 return nil 9450 } 9451 func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { 9452 var hasFields [1]uint64 9453 l := len(dAtA) 9454 iNdEx := 0 9455 for iNdEx < l { 9456 preIndex := iNdEx 9457 var wire uint64 9458 for shift := uint(0); ; shift += 7 { 9459 if shift >= 64 { 9460 return ErrIntOverflowApplication 9461 } 9462 if iNdEx >= l { 9463 return io.ErrUnexpectedEOF 9464 } 9465 b := dAtA[iNdEx] 9466 iNdEx++ 9467 wire |= uint64(b&0x7F) << shift 9468 if b < 0x80 { 9469 break 9470 } 9471 } 9472 fieldNum := int32(wire >> 3) 9473 wireType := int(wire & 0x7) 9474 if wireType == 4 { 9475 return fmt.Errorf("proto: ApplicationDeleteRequest: wiretype end group for non-group") 9476 } 9477 if fieldNum <= 0 { 9478 return fmt.Errorf("proto: ApplicationDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) 9479 } 9480 switch fieldNum { 9481 case 1: 9482 if wireType != 2 { 9483 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9484 } 9485 var stringLen uint64 9486 for shift := uint(0); ; shift += 7 { 9487 if shift >= 64 { 9488 return ErrIntOverflowApplication 9489 } 9490 if iNdEx >= l { 9491 return io.ErrUnexpectedEOF 9492 } 9493 b := dAtA[iNdEx] 9494 iNdEx++ 9495 stringLen |= uint64(b&0x7F) << shift 9496 if b < 0x80 { 9497 break 9498 } 9499 } 9500 intStringLen := int(stringLen) 9501 if intStringLen < 0 { 9502 return ErrInvalidLengthApplication 9503 } 9504 postIndex := iNdEx + intStringLen 9505 if postIndex < 0 { 9506 return ErrInvalidLengthApplication 9507 } 9508 if postIndex > l { 9509 return io.ErrUnexpectedEOF 9510 } 9511 s := string(dAtA[iNdEx:postIndex]) 9512 m.Name = &s 9513 iNdEx = postIndex 9514 hasFields[0] |= uint64(0x00000001) 9515 case 2: 9516 if wireType != 0 { 9517 return fmt.Errorf("proto: wrong wireType = %d for field Cascade", wireType) 9518 } 9519 var v int 9520 for shift := uint(0); ; shift += 7 { 9521 if shift >= 64 { 9522 return ErrIntOverflowApplication 9523 } 9524 if iNdEx >= l { 9525 return io.ErrUnexpectedEOF 9526 } 9527 b := dAtA[iNdEx] 9528 iNdEx++ 9529 v |= int(b&0x7F) << shift 9530 if b < 0x80 { 9531 break 9532 } 9533 } 9534 b := bool(v != 0) 9535 m.Cascade = &b 9536 case 3: 9537 if wireType != 2 { 9538 return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType) 9539 } 9540 var stringLen uint64 9541 for shift := uint(0); ; shift += 7 { 9542 if shift >= 64 { 9543 return ErrIntOverflowApplication 9544 } 9545 if iNdEx >= l { 9546 return io.ErrUnexpectedEOF 9547 } 9548 b := dAtA[iNdEx] 9549 iNdEx++ 9550 stringLen |= uint64(b&0x7F) << shift 9551 if b < 0x80 { 9552 break 9553 } 9554 } 9555 intStringLen := int(stringLen) 9556 if intStringLen < 0 { 9557 return ErrInvalidLengthApplication 9558 } 9559 postIndex := iNdEx + intStringLen 9560 if postIndex < 0 { 9561 return ErrInvalidLengthApplication 9562 } 9563 if postIndex > l { 9564 return io.ErrUnexpectedEOF 9565 } 9566 s := string(dAtA[iNdEx:postIndex]) 9567 m.PropagationPolicy = &s 9568 iNdEx = postIndex 9569 case 4: 9570 if wireType != 2 { 9571 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 9572 } 9573 var stringLen uint64 9574 for shift := uint(0); ; shift += 7 { 9575 if shift >= 64 { 9576 return ErrIntOverflowApplication 9577 } 9578 if iNdEx >= l { 9579 return io.ErrUnexpectedEOF 9580 } 9581 b := dAtA[iNdEx] 9582 iNdEx++ 9583 stringLen |= uint64(b&0x7F) << shift 9584 if b < 0x80 { 9585 break 9586 } 9587 } 9588 intStringLen := int(stringLen) 9589 if intStringLen < 0 { 9590 return ErrInvalidLengthApplication 9591 } 9592 postIndex := iNdEx + intStringLen 9593 if postIndex < 0 { 9594 return ErrInvalidLengthApplication 9595 } 9596 if postIndex > l { 9597 return io.ErrUnexpectedEOF 9598 } 9599 s := string(dAtA[iNdEx:postIndex]) 9600 m.AppNamespace = &s 9601 iNdEx = postIndex 9602 case 5: 9603 if wireType != 2 { 9604 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 9605 } 9606 var stringLen uint64 9607 for shift := uint(0); ; shift += 7 { 9608 if shift >= 64 { 9609 return ErrIntOverflowApplication 9610 } 9611 if iNdEx >= l { 9612 return io.ErrUnexpectedEOF 9613 } 9614 b := dAtA[iNdEx] 9615 iNdEx++ 9616 stringLen |= uint64(b&0x7F) << shift 9617 if b < 0x80 { 9618 break 9619 } 9620 } 9621 intStringLen := int(stringLen) 9622 if intStringLen < 0 { 9623 return ErrInvalidLengthApplication 9624 } 9625 postIndex := iNdEx + intStringLen 9626 if postIndex < 0 { 9627 return ErrInvalidLengthApplication 9628 } 9629 if postIndex > l { 9630 return io.ErrUnexpectedEOF 9631 } 9632 s := string(dAtA[iNdEx:postIndex]) 9633 m.Project = &s 9634 iNdEx = postIndex 9635 default: 9636 iNdEx = preIndex 9637 skippy, err := skipApplication(dAtA[iNdEx:]) 9638 if err != nil { 9639 return err 9640 } 9641 if (skippy < 0) || (iNdEx+skippy) < 0 { 9642 return ErrInvalidLengthApplication 9643 } 9644 if (iNdEx + skippy) > l { 9645 return io.ErrUnexpectedEOF 9646 } 9647 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9648 iNdEx += skippy 9649 } 9650 } 9651 if hasFields[0]&uint64(0x00000001) == 0 { 9652 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 9653 } 9654 9655 if iNdEx > l { 9656 return io.ErrUnexpectedEOF 9657 } 9658 return nil 9659 } 9660 func (m *SyncOptions) Unmarshal(dAtA []byte) error { 9661 l := len(dAtA) 9662 iNdEx := 0 9663 for iNdEx < l { 9664 preIndex := iNdEx 9665 var wire uint64 9666 for shift := uint(0); ; shift += 7 { 9667 if shift >= 64 { 9668 return ErrIntOverflowApplication 9669 } 9670 if iNdEx >= l { 9671 return io.ErrUnexpectedEOF 9672 } 9673 b := dAtA[iNdEx] 9674 iNdEx++ 9675 wire |= uint64(b&0x7F) << shift 9676 if b < 0x80 { 9677 break 9678 } 9679 } 9680 fieldNum := int32(wire >> 3) 9681 wireType := int(wire & 0x7) 9682 if wireType == 4 { 9683 return fmt.Errorf("proto: SyncOptions: wiretype end group for non-group") 9684 } 9685 if fieldNum <= 0 { 9686 return fmt.Errorf("proto: SyncOptions: illegal tag %d (wire type %d)", fieldNum, wire) 9687 } 9688 switch fieldNum { 9689 case 1: 9690 if wireType != 2 { 9691 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 9692 } 9693 var stringLen uint64 9694 for shift := uint(0); ; shift += 7 { 9695 if shift >= 64 { 9696 return ErrIntOverflowApplication 9697 } 9698 if iNdEx >= l { 9699 return io.ErrUnexpectedEOF 9700 } 9701 b := dAtA[iNdEx] 9702 iNdEx++ 9703 stringLen |= uint64(b&0x7F) << shift 9704 if b < 0x80 { 9705 break 9706 } 9707 } 9708 intStringLen := int(stringLen) 9709 if intStringLen < 0 { 9710 return ErrInvalidLengthApplication 9711 } 9712 postIndex := iNdEx + intStringLen 9713 if postIndex < 0 { 9714 return ErrInvalidLengthApplication 9715 } 9716 if postIndex > l { 9717 return io.ErrUnexpectedEOF 9718 } 9719 m.Items = append(m.Items, string(dAtA[iNdEx:postIndex])) 9720 iNdEx = postIndex 9721 default: 9722 iNdEx = preIndex 9723 skippy, err := skipApplication(dAtA[iNdEx:]) 9724 if err != nil { 9725 return err 9726 } 9727 if (skippy < 0) || (iNdEx+skippy) < 0 { 9728 return ErrInvalidLengthApplication 9729 } 9730 if (iNdEx + skippy) > l { 9731 return io.ErrUnexpectedEOF 9732 } 9733 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 9734 iNdEx += skippy 9735 } 9736 } 9737 9738 if iNdEx > l { 9739 return io.ErrUnexpectedEOF 9740 } 9741 return nil 9742 } 9743 func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { 9744 var hasFields [1]uint64 9745 l := len(dAtA) 9746 iNdEx := 0 9747 for iNdEx < l { 9748 preIndex := iNdEx 9749 var wire uint64 9750 for shift := uint(0); ; shift += 7 { 9751 if shift >= 64 { 9752 return ErrIntOverflowApplication 9753 } 9754 if iNdEx >= l { 9755 return io.ErrUnexpectedEOF 9756 } 9757 b := dAtA[iNdEx] 9758 iNdEx++ 9759 wire |= uint64(b&0x7F) << shift 9760 if b < 0x80 { 9761 break 9762 } 9763 } 9764 fieldNum := int32(wire >> 3) 9765 wireType := int(wire & 0x7) 9766 if wireType == 4 { 9767 return fmt.Errorf("proto: ApplicationSyncRequest: wiretype end group for non-group") 9768 } 9769 if fieldNum <= 0 { 9770 return fmt.Errorf("proto: ApplicationSyncRequest: illegal tag %d (wire type %d)", fieldNum, wire) 9771 } 9772 switch fieldNum { 9773 case 1: 9774 if wireType != 2 { 9775 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 9776 } 9777 var stringLen uint64 9778 for shift := uint(0); ; shift += 7 { 9779 if shift >= 64 { 9780 return ErrIntOverflowApplication 9781 } 9782 if iNdEx >= l { 9783 return io.ErrUnexpectedEOF 9784 } 9785 b := dAtA[iNdEx] 9786 iNdEx++ 9787 stringLen |= uint64(b&0x7F) << shift 9788 if b < 0x80 { 9789 break 9790 } 9791 } 9792 intStringLen := int(stringLen) 9793 if intStringLen < 0 { 9794 return ErrInvalidLengthApplication 9795 } 9796 postIndex := iNdEx + intStringLen 9797 if postIndex < 0 { 9798 return ErrInvalidLengthApplication 9799 } 9800 if postIndex > l { 9801 return io.ErrUnexpectedEOF 9802 } 9803 s := string(dAtA[iNdEx:postIndex]) 9804 m.Name = &s 9805 iNdEx = postIndex 9806 hasFields[0] |= uint64(0x00000001) 9807 case 2: 9808 if wireType != 2 { 9809 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 9810 } 9811 var stringLen uint64 9812 for shift := uint(0); ; shift += 7 { 9813 if shift >= 64 { 9814 return ErrIntOverflowApplication 9815 } 9816 if iNdEx >= l { 9817 return io.ErrUnexpectedEOF 9818 } 9819 b := dAtA[iNdEx] 9820 iNdEx++ 9821 stringLen |= uint64(b&0x7F) << shift 9822 if b < 0x80 { 9823 break 9824 } 9825 } 9826 intStringLen := int(stringLen) 9827 if intStringLen < 0 { 9828 return ErrInvalidLengthApplication 9829 } 9830 postIndex := iNdEx + intStringLen 9831 if postIndex < 0 { 9832 return ErrInvalidLengthApplication 9833 } 9834 if postIndex > l { 9835 return io.ErrUnexpectedEOF 9836 } 9837 s := string(dAtA[iNdEx:postIndex]) 9838 m.Revision = &s 9839 iNdEx = postIndex 9840 case 3: 9841 if wireType != 0 { 9842 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 9843 } 9844 var v int 9845 for shift := uint(0); ; shift += 7 { 9846 if shift >= 64 { 9847 return ErrIntOverflowApplication 9848 } 9849 if iNdEx >= l { 9850 return io.ErrUnexpectedEOF 9851 } 9852 b := dAtA[iNdEx] 9853 iNdEx++ 9854 v |= int(b&0x7F) << shift 9855 if b < 0x80 { 9856 break 9857 } 9858 } 9859 b := bool(v != 0) 9860 m.DryRun = &b 9861 case 4: 9862 if wireType != 0 { 9863 return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType) 9864 } 9865 var v int 9866 for shift := uint(0); ; shift += 7 { 9867 if shift >= 64 { 9868 return ErrIntOverflowApplication 9869 } 9870 if iNdEx >= l { 9871 return io.ErrUnexpectedEOF 9872 } 9873 b := dAtA[iNdEx] 9874 iNdEx++ 9875 v |= int(b&0x7F) << shift 9876 if b < 0x80 { 9877 break 9878 } 9879 } 9880 b := bool(v != 0) 9881 m.Prune = &b 9882 case 5: 9883 if wireType != 2 { 9884 return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) 9885 } 9886 var msglen int 9887 for shift := uint(0); ; shift += 7 { 9888 if shift >= 64 { 9889 return ErrIntOverflowApplication 9890 } 9891 if iNdEx >= l { 9892 return io.ErrUnexpectedEOF 9893 } 9894 b := dAtA[iNdEx] 9895 iNdEx++ 9896 msglen |= int(b&0x7F) << shift 9897 if b < 0x80 { 9898 break 9899 } 9900 } 9901 if msglen < 0 { 9902 return ErrInvalidLengthApplication 9903 } 9904 postIndex := iNdEx + msglen 9905 if postIndex < 0 { 9906 return ErrInvalidLengthApplication 9907 } 9908 if postIndex > l { 9909 return io.ErrUnexpectedEOF 9910 } 9911 if m.Strategy == nil { 9912 m.Strategy = &v1alpha1.SyncStrategy{} 9913 } 9914 if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9915 return err 9916 } 9917 iNdEx = postIndex 9918 case 7: 9919 if wireType != 2 { 9920 return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) 9921 } 9922 var msglen int 9923 for shift := uint(0); ; shift += 7 { 9924 if shift >= 64 { 9925 return ErrIntOverflowApplication 9926 } 9927 if iNdEx >= l { 9928 return io.ErrUnexpectedEOF 9929 } 9930 b := dAtA[iNdEx] 9931 iNdEx++ 9932 msglen |= int(b&0x7F) << shift 9933 if b < 0x80 { 9934 break 9935 } 9936 } 9937 if msglen < 0 { 9938 return ErrInvalidLengthApplication 9939 } 9940 postIndex := iNdEx + msglen 9941 if postIndex < 0 { 9942 return ErrInvalidLengthApplication 9943 } 9944 if postIndex > l { 9945 return io.ErrUnexpectedEOF 9946 } 9947 m.Resources = append(m.Resources, &v1alpha1.SyncOperationResource{}) 9948 if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 9949 return err 9950 } 9951 iNdEx = postIndex 9952 case 8: 9953 if wireType != 2 { 9954 return fmt.Errorf("proto: wrong wireType = %d for field Manifests", wireType) 9955 } 9956 var stringLen uint64 9957 for shift := uint(0); ; shift += 7 { 9958 if shift >= 64 { 9959 return ErrIntOverflowApplication 9960 } 9961 if iNdEx >= l { 9962 return io.ErrUnexpectedEOF 9963 } 9964 b := dAtA[iNdEx] 9965 iNdEx++ 9966 stringLen |= uint64(b&0x7F) << shift 9967 if b < 0x80 { 9968 break 9969 } 9970 } 9971 intStringLen := int(stringLen) 9972 if intStringLen < 0 { 9973 return ErrInvalidLengthApplication 9974 } 9975 postIndex := iNdEx + intStringLen 9976 if postIndex < 0 { 9977 return ErrInvalidLengthApplication 9978 } 9979 if postIndex > l { 9980 return io.ErrUnexpectedEOF 9981 } 9982 m.Manifests = append(m.Manifests, string(dAtA[iNdEx:postIndex])) 9983 iNdEx = postIndex 9984 case 9: 9985 if wireType != 2 { 9986 return fmt.Errorf("proto: wrong wireType = %d for field Infos", wireType) 9987 } 9988 var msglen int 9989 for shift := uint(0); ; shift += 7 { 9990 if shift >= 64 { 9991 return ErrIntOverflowApplication 9992 } 9993 if iNdEx >= l { 9994 return io.ErrUnexpectedEOF 9995 } 9996 b := dAtA[iNdEx] 9997 iNdEx++ 9998 msglen |= int(b&0x7F) << shift 9999 if b < 0x80 { 10000 break 10001 } 10002 } 10003 if msglen < 0 { 10004 return ErrInvalidLengthApplication 10005 } 10006 postIndex := iNdEx + msglen 10007 if postIndex < 0 { 10008 return ErrInvalidLengthApplication 10009 } 10010 if postIndex > l { 10011 return io.ErrUnexpectedEOF 10012 } 10013 m.Infos = append(m.Infos, &v1alpha1.Info{}) 10014 if err := m.Infos[len(m.Infos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10015 return err 10016 } 10017 iNdEx = postIndex 10018 case 10: 10019 if wireType != 2 { 10020 return fmt.Errorf("proto: wrong wireType = %d for field RetryStrategy", wireType) 10021 } 10022 var msglen int 10023 for shift := uint(0); ; shift += 7 { 10024 if shift >= 64 { 10025 return ErrIntOverflowApplication 10026 } 10027 if iNdEx >= l { 10028 return io.ErrUnexpectedEOF 10029 } 10030 b := dAtA[iNdEx] 10031 iNdEx++ 10032 msglen |= int(b&0x7F) << shift 10033 if b < 0x80 { 10034 break 10035 } 10036 } 10037 if msglen < 0 { 10038 return ErrInvalidLengthApplication 10039 } 10040 postIndex := iNdEx + msglen 10041 if postIndex < 0 { 10042 return ErrInvalidLengthApplication 10043 } 10044 if postIndex > l { 10045 return io.ErrUnexpectedEOF 10046 } 10047 if m.RetryStrategy == nil { 10048 m.RetryStrategy = &v1alpha1.RetryStrategy{} 10049 } 10050 if err := m.RetryStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10051 return err 10052 } 10053 iNdEx = postIndex 10054 case 11: 10055 if wireType != 2 { 10056 return fmt.Errorf("proto: wrong wireType = %d for field SyncOptions", wireType) 10057 } 10058 var msglen int 10059 for shift := uint(0); ; shift += 7 { 10060 if shift >= 64 { 10061 return ErrIntOverflowApplication 10062 } 10063 if iNdEx >= l { 10064 return io.ErrUnexpectedEOF 10065 } 10066 b := dAtA[iNdEx] 10067 iNdEx++ 10068 msglen |= int(b&0x7F) << shift 10069 if b < 0x80 { 10070 break 10071 } 10072 } 10073 if msglen < 0 { 10074 return ErrInvalidLengthApplication 10075 } 10076 postIndex := iNdEx + msglen 10077 if postIndex < 0 { 10078 return ErrInvalidLengthApplication 10079 } 10080 if postIndex > l { 10081 return io.ErrUnexpectedEOF 10082 } 10083 if m.SyncOptions == nil { 10084 m.SyncOptions = &SyncOptions{} 10085 } 10086 if err := m.SyncOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10087 return err 10088 } 10089 iNdEx = postIndex 10090 case 12: 10091 if wireType != 2 { 10092 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 10093 } 10094 var stringLen uint64 10095 for shift := uint(0); ; shift += 7 { 10096 if shift >= 64 { 10097 return ErrIntOverflowApplication 10098 } 10099 if iNdEx >= l { 10100 return io.ErrUnexpectedEOF 10101 } 10102 b := dAtA[iNdEx] 10103 iNdEx++ 10104 stringLen |= uint64(b&0x7F) << shift 10105 if b < 0x80 { 10106 break 10107 } 10108 } 10109 intStringLen := int(stringLen) 10110 if intStringLen < 0 { 10111 return ErrInvalidLengthApplication 10112 } 10113 postIndex := iNdEx + intStringLen 10114 if postIndex < 0 { 10115 return ErrInvalidLengthApplication 10116 } 10117 if postIndex > l { 10118 return io.ErrUnexpectedEOF 10119 } 10120 s := string(dAtA[iNdEx:postIndex]) 10121 m.AppNamespace = &s 10122 iNdEx = postIndex 10123 case 13: 10124 if wireType != 2 { 10125 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10126 } 10127 var stringLen uint64 10128 for shift := uint(0); ; shift += 7 { 10129 if shift >= 64 { 10130 return ErrIntOverflowApplication 10131 } 10132 if iNdEx >= l { 10133 return io.ErrUnexpectedEOF 10134 } 10135 b := dAtA[iNdEx] 10136 iNdEx++ 10137 stringLen |= uint64(b&0x7F) << shift 10138 if b < 0x80 { 10139 break 10140 } 10141 } 10142 intStringLen := int(stringLen) 10143 if intStringLen < 0 { 10144 return ErrInvalidLengthApplication 10145 } 10146 postIndex := iNdEx + intStringLen 10147 if postIndex < 0 { 10148 return ErrInvalidLengthApplication 10149 } 10150 if postIndex > l { 10151 return io.ErrUnexpectedEOF 10152 } 10153 s := string(dAtA[iNdEx:postIndex]) 10154 m.Project = &s 10155 iNdEx = postIndex 10156 default: 10157 iNdEx = preIndex 10158 skippy, err := skipApplication(dAtA[iNdEx:]) 10159 if err != nil { 10160 return err 10161 } 10162 if (skippy < 0) || (iNdEx+skippy) < 0 { 10163 return ErrInvalidLengthApplication 10164 } 10165 if (iNdEx + skippy) > l { 10166 return io.ErrUnexpectedEOF 10167 } 10168 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10169 iNdEx += skippy 10170 } 10171 } 10172 if hasFields[0]&uint64(0x00000001) == 0 { 10173 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 10174 } 10175 10176 if iNdEx > l { 10177 return io.ErrUnexpectedEOF 10178 } 10179 return nil 10180 } 10181 func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { 10182 var hasFields [1]uint64 10183 l := len(dAtA) 10184 iNdEx := 0 10185 for iNdEx < l { 10186 preIndex := iNdEx 10187 var wire uint64 10188 for shift := uint(0); ; shift += 7 { 10189 if shift >= 64 { 10190 return ErrIntOverflowApplication 10191 } 10192 if iNdEx >= l { 10193 return io.ErrUnexpectedEOF 10194 } 10195 b := dAtA[iNdEx] 10196 iNdEx++ 10197 wire |= uint64(b&0x7F) << shift 10198 if b < 0x80 { 10199 break 10200 } 10201 } 10202 fieldNum := int32(wire >> 3) 10203 wireType := int(wire & 0x7) 10204 if wireType == 4 { 10205 return fmt.Errorf("proto: ApplicationUpdateSpecRequest: wiretype end group for non-group") 10206 } 10207 if fieldNum <= 0 { 10208 return fmt.Errorf("proto: ApplicationUpdateSpecRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10209 } 10210 switch fieldNum { 10211 case 1: 10212 if wireType != 2 { 10213 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10214 } 10215 var stringLen uint64 10216 for shift := uint(0); ; shift += 7 { 10217 if shift >= 64 { 10218 return ErrIntOverflowApplication 10219 } 10220 if iNdEx >= l { 10221 return io.ErrUnexpectedEOF 10222 } 10223 b := dAtA[iNdEx] 10224 iNdEx++ 10225 stringLen |= uint64(b&0x7F) << shift 10226 if b < 0x80 { 10227 break 10228 } 10229 } 10230 intStringLen := int(stringLen) 10231 if intStringLen < 0 { 10232 return ErrInvalidLengthApplication 10233 } 10234 postIndex := iNdEx + intStringLen 10235 if postIndex < 0 { 10236 return ErrInvalidLengthApplication 10237 } 10238 if postIndex > l { 10239 return io.ErrUnexpectedEOF 10240 } 10241 s := string(dAtA[iNdEx:postIndex]) 10242 m.Name = &s 10243 iNdEx = postIndex 10244 hasFields[0] |= uint64(0x00000001) 10245 case 2: 10246 if wireType != 2 { 10247 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 10248 } 10249 var msglen int 10250 for shift := uint(0); ; shift += 7 { 10251 if shift >= 64 { 10252 return ErrIntOverflowApplication 10253 } 10254 if iNdEx >= l { 10255 return io.ErrUnexpectedEOF 10256 } 10257 b := dAtA[iNdEx] 10258 iNdEx++ 10259 msglen |= int(b&0x7F) << shift 10260 if b < 0x80 { 10261 break 10262 } 10263 } 10264 if msglen < 0 { 10265 return ErrInvalidLengthApplication 10266 } 10267 postIndex := iNdEx + msglen 10268 if postIndex < 0 { 10269 return ErrInvalidLengthApplication 10270 } 10271 if postIndex > l { 10272 return io.ErrUnexpectedEOF 10273 } 10274 if m.Spec == nil { 10275 m.Spec = &v1alpha1.ApplicationSpec{} 10276 } 10277 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 10278 return err 10279 } 10280 iNdEx = postIndex 10281 hasFields[0] |= uint64(0x00000002) 10282 case 3: 10283 if wireType != 0 { 10284 return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) 10285 } 10286 var v int 10287 for shift := uint(0); ; shift += 7 { 10288 if shift >= 64 { 10289 return ErrIntOverflowApplication 10290 } 10291 if iNdEx >= l { 10292 return io.ErrUnexpectedEOF 10293 } 10294 b := dAtA[iNdEx] 10295 iNdEx++ 10296 v |= int(b&0x7F) << shift 10297 if b < 0x80 { 10298 break 10299 } 10300 } 10301 b := bool(v != 0) 10302 m.Validate = &b 10303 case 4: 10304 if wireType != 2 { 10305 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 10306 } 10307 var stringLen uint64 10308 for shift := uint(0); ; shift += 7 { 10309 if shift >= 64 { 10310 return ErrIntOverflowApplication 10311 } 10312 if iNdEx >= l { 10313 return io.ErrUnexpectedEOF 10314 } 10315 b := dAtA[iNdEx] 10316 iNdEx++ 10317 stringLen |= uint64(b&0x7F) << shift 10318 if b < 0x80 { 10319 break 10320 } 10321 } 10322 intStringLen := int(stringLen) 10323 if intStringLen < 0 { 10324 return ErrInvalidLengthApplication 10325 } 10326 postIndex := iNdEx + intStringLen 10327 if postIndex < 0 { 10328 return ErrInvalidLengthApplication 10329 } 10330 if postIndex > l { 10331 return io.ErrUnexpectedEOF 10332 } 10333 s := string(dAtA[iNdEx:postIndex]) 10334 m.AppNamespace = &s 10335 iNdEx = postIndex 10336 case 5: 10337 if wireType != 2 { 10338 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10339 } 10340 var stringLen uint64 10341 for shift := uint(0); ; shift += 7 { 10342 if shift >= 64 { 10343 return ErrIntOverflowApplication 10344 } 10345 if iNdEx >= l { 10346 return io.ErrUnexpectedEOF 10347 } 10348 b := dAtA[iNdEx] 10349 iNdEx++ 10350 stringLen |= uint64(b&0x7F) << shift 10351 if b < 0x80 { 10352 break 10353 } 10354 } 10355 intStringLen := int(stringLen) 10356 if intStringLen < 0 { 10357 return ErrInvalidLengthApplication 10358 } 10359 postIndex := iNdEx + intStringLen 10360 if postIndex < 0 { 10361 return ErrInvalidLengthApplication 10362 } 10363 if postIndex > l { 10364 return io.ErrUnexpectedEOF 10365 } 10366 s := string(dAtA[iNdEx:postIndex]) 10367 m.Project = &s 10368 iNdEx = postIndex 10369 default: 10370 iNdEx = preIndex 10371 skippy, err := skipApplication(dAtA[iNdEx:]) 10372 if err != nil { 10373 return err 10374 } 10375 if (skippy < 0) || (iNdEx+skippy) < 0 { 10376 return ErrInvalidLengthApplication 10377 } 10378 if (iNdEx + skippy) > l { 10379 return io.ErrUnexpectedEOF 10380 } 10381 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10382 iNdEx += skippy 10383 } 10384 } 10385 if hasFields[0]&uint64(0x00000001) == 0 { 10386 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 10387 } 10388 if hasFields[0]&uint64(0x00000002) == 0 { 10389 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec") 10390 } 10391 10392 if iNdEx > l { 10393 return io.ErrUnexpectedEOF 10394 } 10395 return nil 10396 } 10397 func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { 10398 var hasFields [1]uint64 10399 l := len(dAtA) 10400 iNdEx := 0 10401 for iNdEx < l { 10402 preIndex := iNdEx 10403 var wire uint64 10404 for shift := uint(0); ; shift += 7 { 10405 if shift >= 64 { 10406 return ErrIntOverflowApplication 10407 } 10408 if iNdEx >= l { 10409 return io.ErrUnexpectedEOF 10410 } 10411 b := dAtA[iNdEx] 10412 iNdEx++ 10413 wire |= uint64(b&0x7F) << shift 10414 if b < 0x80 { 10415 break 10416 } 10417 } 10418 fieldNum := int32(wire >> 3) 10419 wireType := int(wire & 0x7) 10420 if wireType == 4 { 10421 return fmt.Errorf("proto: ApplicationPatchRequest: wiretype end group for non-group") 10422 } 10423 if fieldNum <= 0 { 10424 return fmt.Errorf("proto: ApplicationPatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10425 } 10426 switch fieldNum { 10427 case 1: 10428 if wireType != 2 { 10429 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10430 } 10431 var stringLen uint64 10432 for shift := uint(0); ; shift += 7 { 10433 if shift >= 64 { 10434 return ErrIntOverflowApplication 10435 } 10436 if iNdEx >= l { 10437 return io.ErrUnexpectedEOF 10438 } 10439 b := dAtA[iNdEx] 10440 iNdEx++ 10441 stringLen |= uint64(b&0x7F) << shift 10442 if b < 0x80 { 10443 break 10444 } 10445 } 10446 intStringLen := int(stringLen) 10447 if intStringLen < 0 { 10448 return ErrInvalidLengthApplication 10449 } 10450 postIndex := iNdEx + intStringLen 10451 if postIndex < 0 { 10452 return ErrInvalidLengthApplication 10453 } 10454 if postIndex > l { 10455 return io.ErrUnexpectedEOF 10456 } 10457 s := string(dAtA[iNdEx:postIndex]) 10458 m.Name = &s 10459 iNdEx = postIndex 10460 hasFields[0] |= uint64(0x00000001) 10461 case 2: 10462 if wireType != 2 { 10463 return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) 10464 } 10465 var stringLen uint64 10466 for shift := uint(0); ; shift += 7 { 10467 if shift >= 64 { 10468 return ErrIntOverflowApplication 10469 } 10470 if iNdEx >= l { 10471 return io.ErrUnexpectedEOF 10472 } 10473 b := dAtA[iNdEx] 10474 iNdEx++ 10475 stringLen |= uint64(b&0x7F) << shift 10476 if b < 0x80 { 10477 break 10478 } 10479 } 10480 intStringLen := int(stringLen) 10481 if intStringLen < 0 { 10482 return ErrInvalidLengthApplication 10483 } 10484 postIndex := iNdEx + intStringLen 10485 if postIndex < 0 { 10486 return ErrInvalidLengthApplication 10487 } 10488 if postIndex > l { 10489 return io.ErrUnexpectedEOF 10490 } 10491 s := string(dAtA[iNdEx:postIndex]) 10492 m.Patch = &s 10493 iNdEx = postIndex 10494 hasFields[0] |= uint64(0x00000002) 10495 case 3: 10496 if wireType != 2 { 10497 return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType) 10498 } 10499 var stringLen uint64 10500 for shift := uint(0); ; shift += 7 { 10501 if shift >= 64 { 10502 return ErrIntOverflowApplication 10503 } 10504 if iNdEx >= l { 10505 return io.ErrUnexpectedEOF 10506 } 10507 b := dAtA[iNdEx] 10508 iNdEx++ 10509 stringLen |= uint64(b&0x7F) << shift 10510 if b < 0x80 { 10511 break 10512 } 10513 } 10514 intStringLen := int(stringLen) 10515 if intStringLen < 0 { 10516 return ErrInvalidLengthApplication 10517 } 10518 postIndex := iNdEx + intStringLen 10519 if postIndex < 0 { 10520 return ErrInvalidLengthApplication 10521 } 10522 if postIndex > l { 10523 return io.ErrUnexpectedEOF 10524 } 10525 s := string(dAtA[iNdEx:postIndex]) 10526 m.PatchType = &s 10527 iNdEx = postIndex 10528 hasFields[0] |= uint64(0x00000004) 10529 case 5: 10530 if wireType != 2 { 10531 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 10532 } 10533 var stringLen uint64 10534 for shift := uint(0); ; shift += 7 { 10535 if shift >= 64 { 10536 return ErrIntOverflowApplication 10537 } 10538 if iNdEx >= l { 10539 return io.ErrUnexpectedEOF 10540 } 10541 b := dAtA[iNdEx] 10542 iNdEx++ 10543 stringLen |= uint64(b&0x7F) << shift 10544 if b < 0x80 { 10545 break 10546 } 10547 } 10548 intStringLen := int(stringLen) 10549 if intStringLen < 0 { 10550 return ErrInvalidLengthApplication 10551 } 10552 postIndex := iNdEx + intStringLen 10553 if postIndex < 0 { 10554 return ErrInvalidLengthApplication 10555 } 10556 if postIndex > l { 10557 return io.ErrUnexpectedEOF 10558 } 10559 s := string(dAtA[iNdEx:postIndex]) 10560 m.AppNamespace = &s 10561 iNdEx = postIndex 10562 case 6: 10563 if wireType != 2 { 10564 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10565 } 10566 var stringLen uint64 10567 for shift := uint(0); ; shift += 7 { 10568 if shift >= 64 { 10569 return ErrIntOverflowApplication 10570 } 10571 if iNdEx >= l { 10572 return io.ErrUnexpectedEOF 10573 } 10574 b := dAtA[iNdEx] 10575 iNdEx++ 10576 stringLen |= uint64(b&0x7F) << shift 10577 if b < 0x80 { 10578 break 10579 } 10580 } 10581 intStringLen := int(stringLen) 10582 if intStringLen < 0 { 10583 return ErrInvalidLengthApplication 10584 } 10585 postIndex := iNdEx + intStringLen 10586 if postIndex < 0 { 10587 return ErrInvalidLengthApplication 10588 } 10589 if postIndex > l { 10590 return io.ErrUnexpectedEOF 10591 } 10592 s := string(dAtA[iNdEx:postIndex]) 10593 m.Project = &s 10594 iNdEx = postIndex 10595 default: 10596 iNdEx = preIndex 10597 skippy, err := skipApplication(dAtA[iNdEx:]) 10598 if err != nil { 10599 return err 10600 } 10601 if (skippy < 0) || (iNdEx+skippy) < 0 { 10602 return ErrInvalidLengthApplication 10603 } 10604 if (iNdEx + skippy) > l { 10605 return io.ErrUnexpectedEOF 10606 } 10607 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10608 iNdEx += skippy 10609 } 10610 } 10611 if hasFields[0]&uint64(0x00000001) == 0 { 10612 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 10613 } 10614 if hasFields[0]&uint64(0x00000002) == 0 { 10615 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 10616 } 10617 if hasFields[0]&uint64(0x00000004) == 0 { 10618 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 10619 } 10620 10621 if iNdEx > l { 10622 return io.ErrUnexpectedEOF 10623 } 10624 return nil 10625 } 10626 func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { 10627 var hasFields [1]uint64 10628 l := len(dAtA) 10629 iNdEx := 0 10630 for iNdEx < l { 10631 preIndex := iNdEx 10632 var wire uint64 10633 for shift := uint(0); ; shift += 7 { 10634 if shift >= 64 { 10635 return ErrIntOverflowApplication 10636 } 10637 if iNdEx >= l { 10638 return io.ErrUnexpectedEOF 10639 } 10640 b := dAtA[iNdEx] 10641 iNdEx++ 10642 wire |= uint64(b&0x7F) << shift 10643 if b < 0x80 { 10644 break 10645 } 10646 } 10647 fieldNum := int32(wire >> 3) 10648 wireType := int(wire & 0x7) 10649 if wireType == 4 { 10650 return fmt.Errorf("proto: ApplicationRollbackRequest: wiretype end group for non-group") 10651 } 10652 if fieldNum <= 0 { 10653 return fmt.Errorf("proto: ApplicationRollbackRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10654 } 10655 switch fieldNum { 10656 case 1: 10657 if wireType != 2 { 10658 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10659 } 10660 var stringLen uint64 10661 for shift := uint(0); ; shift += 7 { 10662 if shift >= 64 { 10663 return ErrIntOverflowApplication 10664 } 10665 if iNdEx >= l { 10666 return io.ErrUnexpectedEOF 10667 } 10668 b := dAtA[iNdEx] 10669 iNdEx++ 10670 stringLen |= uint64(b&0x7F) << shift 10671 if b < 0x80 { 10672 break 10673 } 10674 } 10675 intStringLen := int(stringLen) 10676 if intStringLen < 0 { 10677 return ErrInvalidLengthApplication 10678 } 10679 postIndex := iNdEx + intStringLen 10680 if postIndex < 0 { 10681 return ErrInvalidLengthApplication 10682 } 10683 if postIndex > l { 10684 return io.ErrUnexpectedEOF 10685 } 10686 s := string(dAtA[iNdEx:postIndex]) 10687 m.Name = &s 10688 iNdEx = postIndex 10689 hasFields[0] |= uint64(0x00000001) 10690 case 2: 10691 if wireType != 0 { 10692 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 10693 } 10694 var v int64 10695 for shift := uint(0); ; shift += 7 { 10696 if shift >= 64 { 10697 return ErrIntOverflowApplication 10698 } 10699 if iNdEx >= l { 10700 return io.ErrUnexpectedEOF 10701 } 10702 b := dAtA[iNdEx] 10703 iNdEx++ 10704 v |= int64(b&0x7F) << shift 10705 if b < 0x80 { 10706 break 10707 } 10708 } 10709 m.Id = &v 10710 hasFields[0] |= uint64(0x00000002) 10711 case 3: 10712 if wireType != 0 { 10713 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 10714 } 10715 var v int 10716 for shift := uint(0); ; shift += 7 { 10717 if shift >= 64 { 10718 return ErrIntOverflowApplication 10719 } 10720 if iNdEx >= l { 10721 return io.ErrUnexpectedEOF 10722 } 10723 b := dAtA[iNdEx] 10724 iNdEx++ 10725 v |= int(b&0x7F) << shift 10726 if b < 0x80 { 10727 break 10728 } 10729 } 10730 b := bool(v != 0) 10731 m.DryRun = &b 10732 case 4: 10733 if wireType != 0 { 10734 return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType) 10735 } 10736 var v int 10737 for shift := uint(0); ; shift += 7 { 10738 if shift >= 64 { 10739 return ErrIntOverflowApplication 10740 } 10741 if iNdEx >= l { 10742 return io.ErrUnexpectedEOF 10743 } 10744 b := dAtA[iNdEx] 10745 iNdEx++ 10746 v |= int(b&0x7F) << shift 10747 if b < 0x80 { 10748 break 10749 } 10750 } 10751 b := bool(v != 0) 10752 m.Prune = &b 10753 case 6: 10754 if wireType != 2 { 10755 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 10756 } 10757 var stringLen uint64 10758 for shift := uint(0); ; shift += 7 { 10759 if shift >= 64 { 10760 return ErrIntOverflowApplication 10761 } 10762 if iNdEx >= l { 10763 return io.ErrUnexpectedEOF 10764 } 10765 b := dAtA[iNdEx] 10766 iNdEx++ 10767 stringLen |= uint64(b&0x7F) << shift 10768 if b < 0x80 { 10769 break 10770 } 10771 } 10772 intStringLen := int(stringLen) 10773 if intStringLen < 0 { 10774 return ErrInvalidLengthApplication 10775 } 10776 postIndex := iNdEx + intStringLen 10777 if postIndex < 0 { 10778 return ErrInvalidLengthApplication 10779 } 10780 if postIndex > l { 10781 return io.ErrUnexpectedEOF 10782 } 10783 s := string(dAtA[iNdEx:postIndex]) 10784 m.AppNamespace = &s 10785 iNdEx = postIndex 10786 case 7: 10787 if wireType != 2 { 10788 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 10789 } 10790 var stringLen uint64 10791 for shift := uint(0); ; shift += 7 { 10792 if shift >= 64 { 10793 return ErrIntOverflowApplication 10794 } 10795 if iNdEx >= l { 10796 return io.ErrUnexpectedEOF 10797 } 10798 b := dAtA[iNdEx] 10799 iNdEx++ 10800 stringLen |= uint64(b&0x7F) << shift 10801 if b < 0x80 { 10802 break 10803 } 10804 } 10805 intStringLen := int(stringLen) 10806 if intStringLen < 0 { 10807 return ErrInvalidLengthApplication 10808 } 10809 postIndex := iNdEx + intStringLen 10810 if postIndex < 0 { 10811 return ErrInvalidLengthApplication 10812 } 10813 if postIndex > l { 10814 return io.ErrUnexpectedEOF 10815 } 10816 s := string(dAtA[iNdEx:postIndex]) 10817 m.Project = &s 10818 iNdEx = postIndex 10819 default: 10820 iNdEx = preIndex 10821 skippy, err := skipApplication(dAtA[iNdEx:]) 10822 if err != nil { 10823 return err 10824 } 10825 if (skippy < 0) || (iNdEx+skippy) < 0 { 10826 return ErrInvalidLengthApplication 10827 } 10828 if (iNdEx + skippy) > l { 10829 return io.ErrUnexpectedEOF 10830 } 10831 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 10832 iNdEx += skippy 10833 } 10834 } 10835 if hasFields[0]&uint64(0x00000001) == 0 { 10836 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 10837 } 10838 if hasFields[0]&uint64(0x00000002) == 0 { 10839 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") 10840 } 10841 10842 if iNdEx > l { 10843 return io.ErrUnexpectedEOF 10844 } 10845 return nil 10846 } 10847 func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { 10848 var hasFields [1]uint64 10849 l := len(dAtA) 10850 iNdEx := 0 10851 for iNdEx < l { 10852 preIndex := iNdEx 10853 var wire uint64 10854 for shift := uint(0); ; shift += 7 { 10855 if shift >= 64 { 10856 return ErrIntOverflowApplication 10857 } 10858 if iNdEx >= l { 10859 return io.ErrUnexpectedEOF 10860 } 10861 b := dAtA[iNdEx] 10862 iNdEx++ 10863 wire |= uint64(b&0x7F) << shift 10864 if b < 0x80 { 10865 break 10866 } 10867 } 10868 fieldNum := int32(wire >> 3) 10869 wireType := int(wire & 0x7) 10870 if wireType == 4 { 10871 return fmt.Errorf("proto: ApplicationResourceRequest: wiretype end group for non-group") 10872 } 10873 if fieldNum <= 0 { 10874 return fmt.Errorf("proto: ApplicationResourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 10875 } 10876 switch fieldNum { 10877 case 1: 10878 if wireType != 2 { 10879 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 10880 } 10881 var stringLen uint64 10882 for shift := uint(0); ; shift += 7 { 10883 if shift >= 64 { 10884 return ErrIntOverflowApplication 10885 } 10886 if iNdEx >= l { 10887 return io.ErrUnexpectedEOF 10888 } 10889 b := dAtA[iNdEx] 10890 iNdEx++ 10891 stringLen |= uint64(b&0x7F) << shift 10892 if b < 0x80 { 10893 break 10894 } 10895 } 10896 intStringLen := int(stringLen) 10897 if intStringLen < 0 { 10898 return ErrInvalidLengthApplication 10899 } 10900 postIndex := iNdEx + intStringLen 10901 if postIndex < 0 { 10902 return ErrInvalidLengthApplication 10903 } 10904 if postIndex > l { 10905 return io.ErrUnexpectedEOF 10906 } 10907 s := string(dAtA[iNdEx:postIndex]) 10908 m.Name = &s 10909 iNdEx = postIndex 10910 hasFields[0] |= uint64(0x00000001) 10911 case 2: 10912 if wireType != 2 { 10913 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 10914 } 10915 var stringLen uint64 10916 for shift := uint(0); ; shift += 7 { 10917 if shift >= 64 { 10918 return ErrIntOverflowApplication 10919 } 10920 if iNdEx >= l { 10921 return io.ErrUnexpectedEOF 10922 } 10923 b := dAtA[iNdEx] 10924 iNdEx++ 10925 stringLen |= uint64(b&0x7F) << shift 10926 if b < 0x80 { 10927 break 10928 } 10929 } 10930 intStringLen := int(stringLen) 10931 if intStringLen < 0 { 10932 return ErrInvalidLengthApplication 10933 } 10934 postIndex := iNdEx + intStringLen 10935 if postIndex < 0 { 10936 return ErrInvalidLengthApplication 10937 } 10938 if postIndex > l { 10939 return io.ErrUnexpectedEOF 10940 } 10941 s := string(dAtA[iNdEx:postIndex]) 10942 m.Namespace = &s 10943 iNdEx = postIndex 10944 case 3: 10945 if wireType != 2 { 10946 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 10947 } 10948 var stringLen uint64 10949 for shift := uint(0); ; shift += 7 { 10950 if shift >= 64 { 10951 return ErrIntOverflowApplication 10952 } 10953 if iNdEx >= l { 10954 return io.ErrUnexpectedEOF 10955 } 10956 b := dAtA[iNdEx] 10957 iNdEx++ 10958 stringLen |= uint64(b&0x7F) << shift 10959 if b < 0x80 { 10960 break 10961 } 10962 } 10963 intStringLen := int(stringLen) 10964 if intStringLen < 0 { 10965 return ErrInvalidLengthApplication 10966 } 10967 postIndex := iNdEx + intStringLen 10968 if postIndex < 0 { 10969 return ErrInvalidLengthApplication 10970 } 10971 if postIndex > l { 10972 return io.ErrUnexpectedEOF 10973 } 10974 s := string(dAtA[iNdEx:postIndex]) 10975 m.ResourceName = &s 10976 iNdEx = postIndex 10977 hasFields[0] |= uint64(0x00000002) 10978 case 4: 10979 if wireType != 2 { 10980 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 10981 } 10982 var stringLen uint64 10983 for shift := uint(0); ; shift += 7 { 10984 if shift >= 64 { 10985 return ErrIntOverflowApplication 10986 } 10987 if iNdEx >= l { 10988 return io.ErrUnexpectedEOF 10989 } 10990 b := dAtA[iNdEx] 10991 iNdEx++ 10992 stringLen |= uint64(b&0x7F) << shift 10993 if b < 0x80 { 10994 break 10995 } 10996 } 10997 intStringLen := int(stringLen) 10998 if intStringLen < 0 { 10999 return ErrInvalidLengthApplication 11000 } 11001 postIndex := iNdEx + intStringLen 11002 if postIndex < 0 { 11003 return ErrInvalidLengthApplication 11004 } 11005 if postIndex > l { 11006 return io.ErrUnexpectedEOF 11007 } 11008 s := string(dAtA[iNdEx:postIndex]) 11009 m.Version = &s 11010 iNdEx = postIndex 11011 hasFields[0] |= uint64(0x00000004) 11012 case 5: 11013 if wireType != 2 { 11014 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 11015 } 11016 var stringLen uint64 11017 for shift := uint(0); ; shift += 7 { 11018 if shift >= 64 { 11019 return ErrIntOverflowApplication 11020 } 11021 if iNdEx >= l { 11022 return io.ErrUnexpectedEOF 11023 } 11024 b := dAtA[iNdEx] 11025 iNdEx++ 11026 stringLen |= uint64(b&0x7F) << shift 11027 if b < 0x80 { 11028 break 11029 } 11030 } 11031 intStringLen := int(stringLen) 11032 if intStringLen < 0 { 11033 return ErrInvalidLengthApplication 11034 } 11035 postIndex := iNdEx + intStringLen 11036 if postIndex < 0 { 11037 return ErrInvalidLengthApplication 11038 } 11039 if postIndex > l { 11040 return io.ErrUnexpectedEOF 11041 } 11042 s := string(dAtA[iNdEx:postIndex]) 11043 m.Group = &s 11044 iNdEx = postIndex 11045 case 6: 11046 if wireType != 2 { 11047 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 11048 } 11049 var stringLen uint64 11050 for shift := uint(0); ; shift += 7 { 11051 if shift >= 64 { 11052 return ErrIntOverflowApplication 11053 } 11054 if iNdEx >= l { 11055 return io.ErrUnexpectedEOF 11056 } 11057 b := dAtA[iNdEx] 11058 iNdEx++ 11059 stringLen |= uint64(b&0x7F) << shift 11060 if b < 0x80 { 11061 break 11062 } 11063 } 11064 intStringLen := int(stringLen) 11065 if intStringLen < 0 { 11066 return ErrInvalidLengthApplication 11067 } 11068 postIndex := iNdEx + intStringLen 11069 if postIndex < 0 { 11070 return ErrInvalidLengthApplication 11071 } 11072 if postIndex > l { 11073 return io.ErrUnexpectedEOF 11074 } 11075 s := string(dAtA[iNdEx:postIndex]) 11076 m.Kind = &s 11077 iNdEx = postIndex 11078 hasFields[0] |= uint64(0x00000008) 11079 case 7: 11080 if wireType != 2 { 11081 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 11082 } 11083 var stringLen uint64 11084 for shift := uint(0); ; shift += 7 { 11085 if shift >= 64 { 11086 return ErrIntOverflowApplication 11087 } 11088 if iNdEx >= l { 11089 return io.ErrUnexpectedEOF 11090 } 11091 b := dAtA[iNdEx] 11092 iNdEx++ 11093 stringLen |= uint64(b&0x7F) << shift 11094 if b < 0x80 { 11095 break 11096 } 11097 } 11098 intStringLen := int(stringLen) 11099 if intStringLen < 0 { 11100 return ErrInvalidLengthApplication 11101 } 11102 postIndex := iNdEx + intStringLen 11103 if postIndex < 0 { 11104 return ErrInvalidLengthApplication 11105 } 11106 if postIndex > l { 11107 return io.ErrUnexpectedEOF 11108 } 11109 s := string(dAtA[iNdEx:postIndex]) 11110 m.AppNamespace = &s 11111 iNdEx = postIndex 11112 case 8: 11113 if wireType != 2 { 11114 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 11115 } 11116 var stringLen uint64 11117 for shift := uint(0); ; shift += 7 { 11118 if shift >= 64 { 11119 return ErrIntOverflowApplication 11120 } 11121 if iNdEx >= l { 11122 return io.ErrUnexpectedEOF 11123 } 11124 b := dAtA[iNdEx] 11125 iNdEx++ 11126 stringLen |= uint64(b&0x7F) << shift 11127 if b < 0x80 { 11128 break 11129 } 11130 } 11131 intStringLen := int(stringLen) 11132 if intStringLen < 0 { 11133 return ErrInvalidLengthApplication 11134 } 11135 postIndex := iNdEx + intStringLen 11136 if postIndex < 0 { 11137 return ErrInvalidLengthApplication 11138 } 11139 if postIndex > l { 11140 return io.ErrUnexpectedEOF 11141 } 11142 s := string(dAtA[iNdEx:postIndex]) 11143 m.Project = &s 11144 iNdEx = postIndex 11145 default: 11146 iNdEx = preIndex 11147 skippy, err := skipApplication(dAtA[iNdEx:]) 11148 if err != nil { 11149 return err 11150 } 11151 if (skippy < 0) || (iNdEx+skippy) < 0 { 11152 return ErrInvalidLengthApplication 11153 } 11154 if (iNdEx + skippy) > l { 11155 return io.ErrUnexpectedEOF 11156 } 11157 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11158 iNdEx += skippy 11159 } 11160 } 11161 if hasFields[0]&uint64(0x00000001) == 0 { 11162 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 11163 } 11164 if hasFields[0]&uint64(0x00000002) == 0 { 11165 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 11166 } 11167 if hasFields[0]&uint64(0x00000004) == 0 { 11168 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 11169 } 11170 if hasFields[0]&uint64(0x00000008) == 0 { 11171 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 11172 } 11173 11174 if iNdEx > l { 11175 return io.ErrUnexpectedEOF 11176 } 11177 return nil 11178 } 11179 func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { 11180 var hasFields [1]uint64 11181 l := len(dAtA) 11182 iNdEx := 0 11183 for iNdEx < l { 11184 preIndex := iNdEx 11185 var wire uint64 11186 for shift := uint(0); ; shift += 7 { 11187 if shift >= 64 { 11188 return ErrIntOverflowApplication 11189 } 11190 if iNdEx >= l { 11191 return io.ErrUnexpectedEOF 11192 } 11193 b := dAtA[iNdEx] 11194 iNdEx++ 11195 wire |= uint64(b&0x7F) << shift 11196 if b < 0x80 { 11197 break 11198 } 11199 } 11200 fieldNum := int32(wire >> 3) 11201 wireType := int(wire & 0x7) 11202 if wireType == 4 { 11203 return fmt.Errorf("proto: ApplicationResourcePatchRequest: wiretype end group for non-group") 11204 } 11205 if fieldNum <= 0 { 11206 return fmt.Errorf("proto: ApplicationResourcePatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11207 } 11208 switch fieldNum { 11209 case 1: 11210 if wireType != 2 { 11211 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 11212 } 11213 var stringLen uint64 11214 for shift := uint(0); ; shift += 7 { 11215 if shift >= 64 { 11216 return ErrIntOverflowApplication 11217 } 11218 if iNdEx >= l { 11219 return io.ErrUnexpectedEOF 11220 } 11221 b := dAtA[iNdEx] 11222 iNdEx++ 11223 stringLen |= uint64(b&0x7F) << shift 11224 if b < 0x80 { 11225 break 11226 } 11227 } 11228 intStringLen := int(stringLen) 11229 if intStringLen < 0 { 11230 return ErrInvalidLengthApplication 11231 } 11232 postIndex := iNdEx + intStringLen 11233 if postIndex < 0 { 11234 return ErrInvalidLengthApplication 11235 } 11236 if postIndex > l { 11237 return io.ErrUnexpectedEOF 11238 } 11239 s := string(dAtA[iNdEx:postIndex]) 11240 m.Name = &s 11241 iNdEx = postIndex 11242 hasFields[0] |= uint64(0x00000001) 11243 case 2: 11244 if wireType != 2 { 11245 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 11246 } 11247 var stringLen uint64 11248 for shift := uint(0); ; shift += 7 { 11249 if shift >= 64 { 11250 return ErrIntOverflowApplication 11251 } 11252 if iNdEx >= l { 11253 return io.ErrUnexpectedEOF 11254 } 11255 b := dAtA[iNdEx] 11256 iNdEx++ 11257 stringLen |= uint64(b&0x7F) << shift 11258 if b < 0x80 { 11259 break 11260 } 11261 } 11262 intStringLen := int(stringLen) 11263 if intStringLen < 0 { 11264 return ErrInvalidLengthApplication 11265 } 11266 postIndex := iNdEx + intStringLen 11267 if postIndex < 0 { 11268 return ErrInvalidLengthApplication 11269 } 11270 if postIndex > l { 11271 return io.ErrUnexpectedEOF 11272 } 11273 s := string(dAtA[iNdEx:postIndex]) 11274 m.Namespace = &s 11275 iNdEx = postIndex 11276 case 3: 11277 if wireType != 2 { 11278 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 11279 } 11280 var stringLen uint64 11281 for shift := uint(0); ; shift += 7 { 11282 if shift >= 64 { 11283 return ErrIntOverflowApplication 11284 } 11285 if iNdEx >= l { 11286 return io.ErrUnexpectedEOF 11287 } 11288 b := dAtA[iNdEx] 11289 iNdEx++ 11290 stringLen |= uint64(b&0x7F) << shift 11291 if b < 0x80 { 11292 break 11293 } 11294 } 11295 intStringLen := int(stringLen) 11296 if intStringLen < 0 { 11297 return ErrInvalidLengthApplication 11298 } 11299 postIndex := iNdEx + intStringLen 11300 if postIndex < 0 { 11301 return ErrInvalidLengthApplication 11302 } 11303 if postIndex > l { 11304 return io.ErrUnexpectedEOF 11305 } 11306 s := string(dAtA[iNdEx:postIndex]) 11307 m.ResourceName = &s 11308 iNdEx = postIndex 11309 hasFields[0] |= uint64(0x00000002) 11310 case 4: 11311 if wireType != 2 { 11312 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 11313 } 11314 var stringLen uint64 11315 for shift := uint(0); ; shift += 7 { 11316 if shift >= 64 { 11317 return ErrIntOverflowApplication 11318 } 11319 if iNdEx >= l { 11320 return io.ErrUnexpectedEOF 11321 } 11322 b := dAtA[iNdEx] 11323 iNdEx++ 11324 stringLen |= uint64(b&0x7F) << shift 11325 if b < 0x80 { 11326 break 11327 } 11328 } 11329 intStringLen := int(stringLen) 11330 if intStringLen < 0 { 11331 return ErrInvalidLengthApplication 11332 } 11333 postIndex := iNdEx + intStringLen 11334 if postIndex < 0 { 11335 return ErrInvalidLengthApplication 11336 } 11337 if postIndex > l { 11338 return io.ErrUnexpectedEOF 11339 } 11340 s := string(dAtA[iNdEx:postIndex]) 11341 m.Version = &s 11342 iNdEx = postIndex 11343 hasFields[0] |= uint64(0x00000004) 11344 case 5: 11345 if wireType != 2 { 11346 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 11347 } 11348 var stringLen uint64 11349 for shift := uint(0); ; shift += 7 { 11350 if shift >= 64 { 11351 return ErrIntOverflowApplication 11352 } 11353 if iNdEx >= l { 11354 return io.ErrUnexpectedEOF 11355 } 11356 b := dAtA[iNdEx] 11357 iNdEx++ 11358 stringLen |= uint64(b&0x7F) << shift 11359 if b < 0x80 { 11360 break 11361 } 11362 } 11363 intStringLen := int(stringLen) 11364 if intStringLen < 0 { 11365 return ErrInvalidLengthApplication 11366 } 11367 postIndex := iNdEx + intStringLen 11368 if postIndex < 0 { 11369 return ErrInvalidLengthApplication 11370 } 11371 if postIndex > l { 11372 return io.ErrUnexpectedEOF 11373 } 11374 s := string(dAtA[iNdEx:postIndex]) 11375 m.Group = &s 11376 iNdEx = postIndex 11377 case 6: 11378 if wireType != 2 { 11379 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 11380 } 11381 var stringLen uint64 11382 for shift := uint(0); ; shift += 7 { 11383 if shift >= 64 { 11384 return ErrIntOverflowApplication 11385 } 11386 if iNdEx >= l { 11387 return io.ErrUnexpectedEOF 11388 } 11389 b := dAtA[iNdEx] 11390 iNdEx++ 11391 stringLen |= uint64(b&0x7F) << shift 11392 if b < 0x80 { 11393 break 11394 } 11395 } 11396 intStringLen := int(stringLen) 11397 if intStringLen < 0 { 11398 return ErrInvalidLengthApplication 11399 } 11400 postIndex := iNdEx + intStringLen 11401 if postIndex < 0 { 11402 return ErrInvalidLengthApplication 11403 } 11404 if postIndex > l { 11405 return io.ErrUnexpectedEOF 11406 } 11407 s := string(dAtA[iNdEx:postIndex]) 11408 m.Kind = &s 11409 iNdEx = postIndex 11410 hasFields[0] |= uint64(0x00000008) 11411 case 7: 11412 if wireType != 2 { 11413 return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) 11414 } 11415 var stringLen uint64 11416 for shift := uint(0); ; shift += 7 { 11417 if shift >= 64 { 11418 return ErrIntOverflowApplication 11419 } 11420 if iNdEx >= l { 11421 return io.ErrUnexpectedEOF 11422 } 11423 b := dAtA[iNdEx] 11424 iNdEx++ 11425 stringLen |= uint64(b&0x7F) << shift 11426 if b < 0x80 { 11427 break 11428 } 11429 } 11430 intStringLen := int(stringLen) 11431 if intStringLen < 0 { 11432 return ErrInvalidLengthApplication 11433 } 11434 postIndex := iNdEx + intStringLen 11435 if postIndex < 0 { 11436 return ErrInvalidLengthApplication 11437 } 11438 if postIndex > l { 11439 return io.ErrUnexpectedEOF 11440 } 11441 s := string(dAtA[iNdEx:postIndex]) 11442 m.Patch = &s 11443 iNdEx = postIndex 11444 hasFields[0] |= uint64(0x00000010) 11445 case 8: 11446 if wireType != 2 { 11447 return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType) 11448 } 11449 var stringLen uint64 11450 for shift := uint(0); ; shift += 7 { 11451 if shift >= 64 { 11452 return ErrIntOverflowApplication 11453 } 11454 if iNdEx >= l { 11455 return io.ErrUnexpectedEOF 11456 } 11457 b := dAtA[iNdEx] 11458 iNdEx++ 11459 stringLen |= uint64(b&0x7F) << shift 11460 if b < 0x80 { 11461 break 11462 } 11463 } 11464 intStringLen := int(stringLen) 11465 if intStringLen < 0 { 11466 return ErrInvalidLengthApplication 11467 } 11468 postIndex := iNdEx + intStringLen 11469 if postIndex < 0 { 11470 return ErrInvalidLengthApplication 11471 } 11472 if postIndex > l { 11473 return io.ErrUnexpectedEOF 11474 } 11475 s := string(dAtA[iNdEx:postIndex]) 11476 m.PatchType = &s 11477 iNdEx = postIndex 11478 hasFields[0] |= uint64(0x00000020) 11479 case 9: 11480 if wireType != 2 { 11481 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 11482 } 11483 var stringLen uint64 11484 for shift := uint(0); ; shift += 7 { 11485 if shift >= 64 { 11486 return ErrIntOverflowApplication 11487 } 11488 if iNdEx >= l { 11489 return io.ErrUnexpectedEOF 11490 } 11491 b := dAtA[iNdEx] 11492 iNdEx++ 11493 stringLen |= uint64(b&0x7F) << shift 11494 if b < 0x80 { 11495 break 11496 } 11497 } 11498 intStringLen := int(stringLen) 11499 if intStringLen < 0 { 11500 return ErrInvalidLengthApplication 11501 } 11502 postIndex := iNdEx + intStringLen 11503 if postIndex < 0 { 11504 return ErrInvalidLengthApplication 11505 } 11506 if postIndex > l { 11507 return io.ErrUnexpectedEOF 11508 } 11509 s := string(dAtA[iNdEx:postIndex]) 11510 m.AppNamespace = &s 11511 iNdEx = postIndex 11512 case 10: 11513 if wireType != 2 { 11514 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 11515 } 11516 var stringLen uint64 11517 for shift := uint(0); ; shift += 7 { 11518 if shift >= 64 { 11519 return ErrIntOverflowApplication 11520 } 11521 if iNdEx >= l { 11522 return io.ErrUnexpectedEOF 11523 } 11524 b := dAtA[iNdEx] 11525 iNdEx++ 11526 stringLen |= uint64(b&0x7F) << shift 11527 if b < 0x80 { 11528 break 11529 } 11530 } 11531 intStringLen := int(stringLen) 11532 if intStringLen < 0 { 11533 return ErrInvalidLengthApplication 11534 } 11535 postIndex := iNdEx + intStringLen 11536 if postIndex < 0 { 11537 return ErrInvalidLengthApplication 11538 } 11539 if postIndex > l { 11540 return io.ErrUnexpectedEOF 11541 } 11542 s := string(dAtA[iNdEx:postIndex]) 11543 m.Project = &s 11544 iNdEx = postIndex 11545 default: 11546 iNdEx = preIndex 11547 skippy, err := skipApplication(dAtA[iNdEx:]) 11548 if err != nil { 11549 return err 11550 } 11551 if (skippy < 0) || (iNdEx+skippy) < 0 { 11552 return ErrInvalidLengthApplication 11553 } 11554 if (iNdEx + skippy) > l { 11555 return io.ErrUnexpectedEOF 11556 } 11557 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11558 iNdEx += skippy 11559 } 11560 } 11561 if hasFields[0]&uint64(0x00000001) == 0 { 11562 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 11563 } 11564 if hasFields[0]&uint64(0x00000002) == 0 { 11565 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 11566 } 11567 if hasFields[0]&uint64(0x00000004) == 0 { 11568 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 11569 } 11570 if hasFields[0]&uint64(0x00000008) == 0 { 11571 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 11572 } 11573 if hasFields[0]&uint64(0x00000010) == 0 { 11574 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") 11575 } 11576 if hasFields[0]&uint64(0x00000020) == 0 { 11577 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") 11578 } 11579 11580 if iNdEx > l { 11581 return io.ErrUnexpectedEOF 11582 } 11583 return nil 11584 } 11585 func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { 11586 var hasFields [1]uint64 11587 l := len(dAtA) 11588 iNdEx := 0 11589 for iNdEx < l { 11590 preIndex := iNdEx 11591 var wire uint64 11592 for shift := uint(0); ; shift += 7 { 11593 if shift >= 64 { 11594 return ErrIntOverflowApplication 11595 } 11596 if iNdEx >= l { 11597 return io.ErrUnexpectedEOF 11598 } 11599 b := dAtA[iNdEx] 11600 iNdEx++ 11601 wire |= uint64(b&0x7F) << shift 11602 if b < 0x80 { 11603 break 11604 } 11605 } 11606 fieldNum := int32(wire >> 3) 11607 wireType := int(wire & 0x7) 11608 if wireType == 4 { 11609 return fmt.Errorf("proto: ApplicationResourceDeleteRequest: wiretype end group for non-group") 11610 } 11611 if fieldNum <= 0 { 11612 return fmt.Errorf("proto: ApplicationResourceDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11613 } 11614 switch fieldNum { 11615 case 1: 11616 if wireType != 2 { 11617 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 11618 } 11619 var stringLen uint64 11620 for shift := uint(0); ; shift += 7 { 11621 if shift >= 64 { 11622 return ErrIntOverflowApplication 11623 } 11624 if iNdEx >= l { 11625 return io.ErrUnexpectedEOF 11626 } 11627 b := dAtA[iNdEx] 11628 iNdEx++ 11629 stringLen |= uint64(b&0x7F) << shift 11630 if b < 0x80 { 11631 break 11632 } 11633 } 11634 intStringLen := int(stringLen) 11635 if intStringLen < 0 { 11636 return ErrInvalidLengthApplication 11637 } 11638 postIndex := iNdEx + intStringLen 11639 if postIndex < 0 { 11640 return ErrInvalidLengthApplication 11641 } 11642 if postIndex > l { 11643 return io.ErrUnexpectedEOF 11644 } 11645 s := string(dAtA[iNdEx:postIndex]) 11646 m.Name = &s 11647 iNdEx = postIndex 11648 hasFields[0] |= uint64(0x00000001) 11649 case 2: 11650 if wireType != 2 { 11651 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 11652 } 11653 var stringLen uint64 11654 for shift := uint(0); ; shift += 7 { 11655 if shift >= 64 { 11656 return ErrIntOverflowApplication 11657 } 11658 if iNdEx >= l { 11659 return io.ErrUnexpectedEOF 11660 } 11661 b := dAtA[iNdEx] 11662 iNdEx++ 11663 stringLen |= uint64(b&0x7F) << shift 11664 if b < 0x80 { 11665 break 11666 } 11667 } 11668 intStringLen := int(stringLen) 11669 if intStringLen < 0 { 11670 return ErrInvalidLengthApplication 11671 } 11672 postIndex := iNdEx + intStringLen 11673 if postIndex < 0 { 11674 return ErrInvalidLengthApplication 11675 } 11676 if postIndex > l { 11677 return io.ErrUnexpectedEOF 11678 } 11679 s := string(dAtA[iNdEx:postIndex]) 11680 m.Namespace = &s 11681 iNdEx = postIndex 11682 case 3: 11683 if wireType != 2 { 11684 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 11685 } 11686 var stringLen uint64 11687 for shift := uint(0); ; shift += 7 { 11688 if shift >= 64 { 11689 return ErrIntOverflowApplication 11690 } 11691 if iNdEx >= l { 11692 return io.ErrUnexpectedEOF 11693 } 11694 b := dAtA[iNdEx] 11695 iNdEx++ 11696 stringLen |= uint64(b&0x7F) << shift 11697 if b < 0x80 { 11698 break 11699 } 11700 } 11701 intStringLen := int(stringLen) 11702 if intStringLen < 0 { 11703 return ErrInvalidLengthApplication 11704 } 11705 postIndex := iNdEx + intStringLen 11706 if postIndex < 0 { 11707 return ErrInvalidLengthApplication 11708 } 11709 if postIndex > l { 11710 return io.ErrUnexpectedEOF 11711 } 11712 s := string(dAtA[iNdEx:postIndex]) 11713 m.ResourceName = &s 11714 iNdEx = postIndex 11715 hasFields[0] |= uint64(0x00000002) 11716 case 4: 11717 if wireType != 2 { 11718 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 11719 } 11720 var stringLen uint64 11721 for shift := uint(0); ; shift += 7 { 11722 if shift >= 64 { 11723 return ErrIntOverflowApplication 11724 } 11725 if iNdEx >= l { 11726 return io.ErrUnexpectedEOF 11727 } 11728 b := dAtA[iNdEx] 11729 iNdEx++ 11730 stringLen |= uint64(b&0x7F) << shift 11731 if b < 0x80 { 11732 break 11733 } 11734 } 11735 intStringLen := int(stringLen) 11736 if intStringLen < 0 { 11737 return ErrInvalidLengthApplication 11738 } 11739 postIndex := iNdEx + intStringLen 11740 if postIndex < 0 { 11741 return ErrInvalidLengthApplication 11742 } 11743 if postIndex > l { 11744 return io.ErrUnexpectedEOF 11745 } 11746 s := string(dAtA[iNdEx:postIndex]) 11747 m.Version = &s 11748 iNdEx = postIndex 11749 hasFields[0] |= uint64(0x00000004) 11750 case 5: 11751 if wireType != 2 { 11752 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 11753 } 11754 var stringLen uint64 11755 for shift := uint(0); ; shift += 7 { 11756 if shift >= 64 { 11757 return ErrIntOverflowApplication 11758 } 11759 if iNdEx >= l { 11760 return io.ErrUnexpectedEOF 11761 } 11762 b := dAtA[iNdEx] 11763 iNdEx++ 11764 stringLen |= uint64(b&0x7F) << shift 11765 if b < 0x80 { 11766 break 11767 } 11768 } 11769 intStringLen := int(stringLen) 11770 if intStringLen < 0 { 11771 return ErrInvalidLengthApplication 11772 } 11773 postIndex := iNdEx + intStringLen 11774 if postIndex < 0 { 11775 return ErrInvalidLengthApplication 11776 } 11777 if postIndex > l { 11778 return io.ErrUnexpectedEOF 11779 } 11780 s := string(dAtA[iNdEx:postIndex]) 11781 m.Group = &s 11782 iNdEx = postIndex 11783 case 6: 11784 if wireType != 2 { 11785 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 11786 } 11787 var stringLen uint64 11788 for shift := uint(0); ; shift += 7 { 11789 if shift >= 64 { 11790 return ErrIntOverflowApplication 11791 } 11792 if iNdEx >= l { 11793 return io.ErrUnexpectedEOF 11794 } 11795 b := dAtA[iNdEx] 11796 iNdEx++ 11797 stringLen |= uint64(b&0x7F) << shift 11798 if b < 0x80 { 11799 break 11800 } 11801 } 11802 intStringLen := int(stringLen) 11803 if intStringLen < 0 { 11804 return ErrInvalidLengthApplication 11805 } 11806 postIndex := iNdEx + intStringLen 11807 if postIndex < 0 { 11808 return ErrInvalidLengthApplication 11809 } 11810 if postIndex > l { 11811 return io.ErrUnexpectedEOF 11812 } 11813 s := string(dAtA[iNdEx:postIndex]) 11814 m.Kind = &s 11815 iNdEx = postIndex 11816 hasFields[0] |= uint64(0x00000008) 11817 case 7: 11818 if wireType != 0 { 11819 return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) 11820 } 11821 var v int 11822 for shift := uint(0); ; shift += 7 { 11823 if shift >= 64 { 11824 return ErrIntOverflowApplication 11825 } 11826 if iNdEx >= l { 11827 return io.ErrUnexpectedEOF 11828 } 11829 b := dAtA[iNdEx] 11830 iNdEx++ 11831 v |= int(b&0x7F) << shift 11832 if b < 0x80 { 11833 break 11834 } 11835 } 11836 b := bool(v != 0) 11837 m.Force = &b 11838 case 8: 11839 if wireType != 0 { 11840 return fmt.Errorf("proto: wrong wireType = %d for field Orphan", wireType) 11841 } 11842 var v int 11843 for shift := uint(0); ; shift += 7 { 11844 if shift >= 64 { 11845 return ErrIntOverflowApplication 11846 } 11847 if iNdEx >= l { 11848 return io.ErrUnexpectedEOF 11849 } 11850 b := dAtA[iNdEx] 11851 iNdEx++ 11852 v |= int(b&0x7F) << shift 11853 if b < 0x80 { 11854 break 11855 } 11856 } 11857 b := bool(v != 0) 11858 m.Orphan = &b 11859 case 9: 11860 if wireType != 2 { 11861 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 11862 } 11863 var stringLen uint64 11864 for shift := uint(0); ; shift += 7 { 11865 if shift >= 64 { 11866 return ErrIntOverflowApplication 11867 } 11868 if iNdEx >= l { 11869 return io.ErrUnexpectedEOF 11870 } 11871 b := dAtA[iNdEx] 11872 iNdEx++ 11873 stringLen |= uint64(b&0x7F) << shift 11874 if b < 0x80 { 11875 break 11876 } 11877 } 11878 intStringLen := int(stringLen) 11879 if intStringLen < 0 { 11880 return ErrInvalidLengthApplication 11881 } 11882 postIndex := iNdEx + intStringLen 11883 if postIndex < 0 { 11884 return ErrInvalidLengthApplication 11885 } 11886 if postIndex > l { 11887 return io.ErrUnexpectedEOF 11888 } 11889 s := string(dAtA[iNdEx:postIndex]) 11890 m.AppNamespace = &s 11891 iNdEx = postIndex 11892 case 10: 11893 if wireType != 2 { 11894 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 11895 } 11896 var stringLen uint64 11897 for shift := uint(0); ; shift += 7 { 11898 if shift >= 64 { 11899 return ErrIntOverflowApplication 11900 } 11901 if iNdEx >= l { 11902 return io.ErrUnexpectedEOF 11903 } 11904 b := dAtA[iNdEx] 11905 iNdEx++ 11906 stringLen |= uint64(b&0x7F) << shift 11907 if b < 0x80 { 11908 break 11909 } 11910 } 11911 intStringLen := int(stringLen) 11912 if intStringLen < 0 { 11913 return ErrInvalidLengthApplication 11914 } 11915 postIndex := iNdEx + intStringLen 11916 if postIndex < 0 { 11917 return ErrInvalidLengthApplication 11918 } 11919 if postIndex > l { 11920 return io.ErrUnexpectedEOF 11921 } 11922 s := string(dAtA[iNdEx:postIndex]) 11923 m.Project = &s 11924 iNdEx = postIndex 11925 default: 11926 iNdEx = preIndex 11927 skippy, err := skipApplication(dAtA[iNdEx:]) 11928 if err != nil { 11929 return err 11930 } 11931 if (skippy < 0) || (iNdEx+skippy) < 0 { 11932 return ErrInvalidLengthApplication 11933 } 11934 if (iNdEx + skippy) > l { 11935 return io.ErrUnexpectedEOF 11936 } 11937 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 11938 iNdEx += skippy 11939 } 11940 } 11941 if hasFields[0]&uint64(0x00000001) == 0 { 11942 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 11943 } 11944 if hasFields[0]&uint64(0x00000002) == 0 { 11945 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 11946 } 11947 if hasFields[0]&uint64(0x00000004) == 0 { 11948 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 11949 } 11950 if hasFields[0]&uint64(0x00000008) == 0 { 11951 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 11952 } 11953 11954 if iNdEx > l { 11955 return io.ErrUnexpectedEOF 11956 } 11957 return nil 11958 } 11959 func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { 11960 var hasFields [1]uint64 11961 l := len(dAtA) 11962 iNdEx := 0 11963 for iNdEx < l { 11964 preIndex := iNdEx 11965 var wire uint64 11966 for shift := uint(0); ; shift += 7 { 11967 if shift >= 64 { 11968 return ErrIntOverflowApplication 11969 } 11970 if iNdEx >= l { 11971 return io.ErrUnexpectedEOF 11972 } 11973 b := dAtA[iNdEx] 11974 iNdEx++ 11975 wire |= uint64(b&0x7F) << shift 11976 if b < 0x80 { 11977 break 11978 } 11979 } 11980 fieldNum := int32(wire >> 3) 11981 wireType := int(wire & 0x7) 11982 if wireType == 4 { 11983 return fmt.Errorf("proto: ResourceActionRunRequest: wiretype end group for non-group") 11984 } 11985 if fieldNum <= 0 { 11986 return fmt.Errorf("proto: ResourceActionRunRequest: illegal tag %d (wire type %d)", fieldNum, wire) 11987 } 11988 switch fieldNum { 11989 case 1: 11990 if wireType != 2 { 11991 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 11992 } 11993 var stringLen uint64 11994 for shift := uint(0); ; shift += 7 { 11995 if shift >= 64 { 11996 return ErrIntOverflowApplication 11997 } 11998 if iNdEx >= l { 11999 return io.ErrUnexpectedEOF 12000 } 12001 b := dAtA[iNdEx] 12002 iNdEx++ 12003 stringLen |= uint64(b&0x7F) << shift 12004 if b < 0x80 { 12005 break 12006 } 12007 } 12008 intStringLen := int(stringLen) 12009 if intStringLen < 0 { 12010 return ErrInvalidLengthApplication 12011 } 12012 postIndex := iNdEx + intStringLen 12013 if postIndex < 0 { 12014 return ErrInvalidLengthApplication 12015 } 12016 if postIndex > l { 12017 return io.ErrUnexpectedEOF 12018 } 12019 s := string(dAtA[iNdEx:postIndex]) 12020 m.Name = &s 12021 iNdEx = postIndex 12022 hasFields[0] |= uint64(0x00000001) 12023 case 2: 12024 if wireType != 2 { 12025 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 12026 } 12027 var stringLen uint64 12028 for shift := uint(0); ; shift += 7 { 12029 if shift >= 64 { 12030 return ErrIntOverflowApplication 12031 } 12032 if iNdEx >= l { 12033 return io.ErrUnexpectedEOF 12034 } 12035 b := dAtA[iNdEx] 12036 iNdEx++ 12037 stringLen |= uint64(b&0x7F) << shift 12038 if b < 0x80 { 12039 break 12040 } 12041 } 12042 intStringLen := int(stringLen) 12043 if intStringLen < 0 { 12044 return ErrInvalidLengthApplication 12045 } 12046 postIndex := iNdEx + intStringLen 12047 if postIndex < 0 { 12048 return ErrInvalidLengthApplication 12049 } 12050 if postIndex > l { 12051 return io.ErrUnexpectedEOF 12052 } 12053 s := string(dAtA[iNdEx:postIndex]) 12054 m.Namespace = &s 12055 iNdEx = postIndex 12056 case 3: 12057 if wireType != 2 { 12058 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 12059 } 12060 var stringLen uint64 12061 for shift := uint(0); ; shift += 7 { 12062 if shift >= 64 { 12063 return ErrIntOverflowApplication 12064 } 12065 if iNdEx >= l { 12066 return io.ErrUnexpectedEOF 12067 } 12068 b := dAtA[iNdEx] 12069 iNdEx++ 12070 stringLen |= uint64(b&0x7F) << shift 12071 if b < 0x80 { 12072 break 12073 } 12074 } 12075 intStringLen := int(stringLen) 12076 if intStringLen < 0 { 12077 return ErrInvalidLengthApplication 12078 } 12079 postIndex := iNdEx + intStringLen 12080 if postIndex < 0 { 12081 return ErrInvalidLengthApplication 12082 } 12083 if postIndex > l { 12084 return io.ErrUnexpectedEOF 12085 } 12086 s := string(dAtA[iNdEx:postIndex]) 12087 m.ResourceName = &s 12088 iNdEx = postIndex 12089 hasFields[0] |= uint64(0x00000002) 12090 case 4: 12091 if wireType != 2 { 12092 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 12093 } 12094 var stringLen uint64 12095 for shift := uint(0); ; shift += 7 { 12096 if shift >= 64 { 12097 return ErrIntOverflowApplication 12098 } 12099 if iNdEx >= l { 12100 return io.ErrUnexpectedEOF 12101 } 12102 b := dAtA[iNdEx] 12103 iNdEx++ 12104 stringLen |= uint64(b&0x7F) << shift 12105 if b < 0x80 { 12106 break 12107 } 12108 } 12109 intStringLen := int(stringLen) 12110 if intStringLen < 0 { 12111 return ErrInvalidLengthApplication 12112 } 12113 postIndex := iNdEx + intStringLen 12114 if postIndex < 0 { 12115 return ErrInvalidLengthApplication 12116 } 12117 if postIndex > l { 12118 return io.ErrUnexpectedEOF 12119 } 12120 s := string(dAtA[iNdEx:postIndex]) 12121 m.Version = &s 12122 iNdEx = postIndex 12123 hasFields[0] |= uint64(0x00000004) 12124 case 5: 12125 if wireType != 2 { 12126 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 12127 } 12128 var stringLen uint64 12129 for shift := uint(0); ; shift += 7 { 12130 if shift >= 64 { 12131 return ErrIntOverflowApplication 12132 } 12133 if iNdEx >= l { 12134 return io.ErrUnexpectedEOF 12135 } 12136 b := dAtA[iNdEx] 12137 iNdEx++ 12138 stringLen |= uint64(b&0x7F) << shift 12139 if b < 0x80 { 12140 break 12141 } 12142 } 12143 intStringLen := int(stringLen) 12144 if intStringLen < 0 { 12145 return ErrInvalidLengthApplication 12146 } 12147 postIndex := iNdEx + intStringLen 12148 if postIndex < 0 { 12149 return ErrInvalidLengthApplication 12150 } 12151 if postIndex > l { 12152 return io.ErrUnexpectedEOF 12153 } 12154 s := string(dAtA[iNdEx:postIndex]) 12155 m.Group = &s 12156 iNdEx = postIndex 12157 case 6: 12158 if wireType != 2 { 12159 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 12160 } 12161 var stringLen uint64 12162 for shift := uint(0); ; shift += 7 { 12163 if shift >= 64 { 12164 return ErrIntOverflowApplication 12165 } 12166 if iNdEx >= l { 12167 return io.ErrUnexpectedEOF 12168 } 12169 b := dAtA[iNdEx] 12170 iNdEx++ 12171 stringLen |= uint64(b&0x7F) << shift 12172 if b < 0x80 { 12173 break 12174 } 12175 } 12176 intStringLen := int(stringLen) 12177 if intStringLen < 0 { 12178 return ErrInvalidLengthApplication 12179 } 12180 postIndex := iNdEx + intStringLen 12181 if postIndex < 0 { 12182 return ErrInvalidLengthApplication 12183 } 12184 if postIndex > l { 12185 return io.ErrUnexpectedEOF 12186 } 12187 s := string(dAtA[iNdEx:postIndex]) 12188 m.Kind = &s 12189 iNdEx = postIndex 12190 hasFields[0] |= uint64(0x00000008) 12191 case 7: 12192 if wireType != 2 { 12193 return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) 12194 } 12195 var stringLen uint64 12196 for shift := uint(0); ; shift += 7 { 12197 if shift >= 64 { 12198 return ErrIntOverflowApplication 12199 } 12200 if iNdEx >= l { 12201 return io.ErrUnexpectedEOF 12202 } 12203 b := dAtA[iNdEx] 12204 iNdEx++ 12205 stringLen |= uint64(b&0x7F) << shift 12206 if b < 0x80 { 12207 break 12208 } 12209 } 12210 intStringLen := int(stringLen) 12211 if intStringLen < 0 { 12212 return ErrInvalidLengthApplication 12213 } 12214 postIndex := iNdEx + intStringLen 12215 if postIndex < 0 { 12216 return ErrInvalidLengthApplication 12217 } 12218 if postIndex > l { 12219 return io.ErrUnexpectedEOF 12220 } 12221 s := string(dAtA[iNdEx:postIndex]) 12222 m.Action = &s 12223 iNdEx = postIndex 12224 hasFields[0] |= uint64(0x00000010) 12225 case 8: 12226 if wireType != 2 { 12227 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 12228 } 12229 var stringLen uint64 12230 for shift := uint(0); ; shift += 7 { 12231 if shift >= 64 { 12232 return ErrIntOverflowApplication 12233 } 12234 if iNdEx >= l { 12235 return io.ErrUnexpectedEOF 12236 } 12237 b := dAtA[iNdEx] 12238 iNdEx++ 12239 stringLen |= uint64(b&0x7F) << shift 12240 if b < 0x80 { 12241 break 12242 } 12243 } 12244 intStringLen := int(stringLen) 12245 if intStringLen < 0 { 12246 return ErrInvalidLengthApplication 12247 } 12248 postIndex := iNdEx + intStringLen 12249 if postIndex < 0 { 12250 return ErrInvalidLengthApplication 12251 } 12252 if postIndex > l { 12253 return io.ErrUnexpectedEOF 12254 } 12255 s := string(dAtA[iNdEx:postIndex]) 12256 m.AppNamespace = &s 12257 iNdEx = postIndex 12258 case 9: 12259 if wireType != 2 { 12260 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 12261 } 12262 var stringLen uint64 12263 for shift := uint(0); ; shift += 7 { 12264 if shift >= 64 { 12265 return ErrIntOverflowApplication 12266 } 12267 if iNdEx >= l { 12268 return io.ErrUnexpectedEOF 12269 } 12270 b := dAtA[iNdEx] 12271 iNdEx++ 12272 stringLen |= uint64(b&0x7F) << shift 12273 if b < 0x80 { 12274 break 12275 } 12276 } 12277 intStringLen := int(stringLen) 12278 if intStringLen < 0 { 12279 return ErrInvalidLengthApplication 12280 } 12281 postIndex := iNdEx + intStringLen 12282 if postIndex < 0 { 12283 return ErrInvalidLengthApplication 12284 } 12285 if postIndex > l { 12286 return io.ErrUnexpectedEOF 12287 } 12288 s := string(dAtA[iNdEx:postIndex]) 12289 m.Project = &s 12290 iNdEx = postIndex 12291 default: 12292 iNdEx = preIndex 12293 skippy, err := skipApplication(dAtA[iNdEx:]) 12294 if err != nil { 12295 return err 12296 } 12297 if (skippy < 0) || (iNdEx+skippy) < 0 { 12298 return ErrInvalidLengthApplication 12299 } 12300 if (iNdEx + skippy) > l { 12301 return io.ErrUnexpectedEOF 12302 } 12303 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12304 iNdEx += skippy 12305 } 12306 } 12307 if hasFields[0]&uint64(0x00000001) == 0 { 12308 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 12309 } 12310 if hasFields[0]&uint64(0x00000002) == 0 { 12311 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") 12312 } 12313 if hasFields[0]&uint64(0x00000004) == 0 { 12314 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") 12315 } 12316 if hasFields[0]&uint64(0x00000008) == 0 { 12317 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 12318 } 12319 if hasFields[0]&uint64(0x00000010) == 0 { 12320 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") 12321 } 12322 12323 if iNdEx > l { 12324 return io.ErrUnexpectedEOF 12325 } 12326 return nil 12327 } 12328 func (m *ResourceActionsListResponse) Unmarshal(dAtA []byte) error { 12329 l := len(dAtA) 12330 iNdEx := 0 12331 for iNdEx < l { 12332 preIndex := iNdEx 12333 var wire uint64 12334 for shift := uint(0); ; shift += 7 { 12335 if shift >= 64 { 12336 return ErrIntOverflowApplication 12337 } 12338 if iNdEx >= l { 12339 return io.ErrUnexpectedEOF 12340 } 12341 b := dAtA[iNdEx] 12342 iNdEx++ 12343 wire |= uint64(b&0x7F) << shift 12344 if b < 0x80 { 12345 break 12346 } 12347 } 12348 fieldNum := int32(wire >> 3) 12349 wireType := int(wire & 0x7) 12350 if wireType == 4 { 12351 return fmt.Errorf("proto: ResourceActionsListResponse: wiretype end group for non-group") 12352 } 12353 if fieldNum <= 0 { 12354 return fmt.Errorf("proto: ResourceActionsListResponse: illegal tag %d (wire type %d)", fieldNum, wire) 12355 } 12356 switch fieldNum { 12357 case 1: 12358 if wireType != 2 { 12359 return fmt.Errorf("proto: wrong wireType = %d for field Actions", wireType) 12360 } 12361 var msglen int 12362 for shift := uint(0); ; shift += 7 { 12363 if shift >= 64 { 12364 return ErrIntOverflowApplication 12365 } 12366 if iNdEx >= l { 12367 return io.ErrUnexpectedEOF 12368 } 12369 b := dAtA[iNdEx] 12370 iNdEx++ 12371 msglen |= int(b&0x7F) << shift 12372 if b < 0x80 { 12373 break 12374 } 12375 } 12376 if msglen < 0 { 12377 return ErrInvalidLengthApplication 12378 } 12379 postIndex := iNdEx + msglen 12380 if postIndex < 0 { 12381 return ErrInvalidLengthApplication 12382 } 12383 if postIndex > l { 12384 return io.ErrUnexpectedEOF 12385 } 12386 m.Actions = append(m.Actions, &v1alpha1.ResourceAction{}) 12387 if err := m.Actions[len(m.Actions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 12388 return err 12389 } 12390 iNdEx = postIndex 12391 default: 12392 iNdEx = preIndex 12393 skippy, err := skipApplication(dAtA[iNdEx:]) 12394 if err != nil { 12395 return err 12396 } 12397 if (skippy < 0) || (iNdEx+skippy) < 0 { 12398 return ErrInvalidLengthApplication 12399 } 12400 if (iNdEx + skippy) > l { 12401 return io.ErrUnexpectedEOF 12402 } 12403 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12404 iNdEx += skippy 12405 } 12406 } 12407 12408 if iNdEx > l { 12409 return io.ErrUnexpectedEOF 12410 } 12411 return nil 12412 } 12413 func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error { 12414 var hasFields [1]uint64 12415 l := len(dAtA) 12416 iNdEx := 0 12417 for iNdEx < l { 12418 preIndex := iNdEx 12419 var wire uint64 12420 for shift := uint(0); ; shift += 7 { 12421 if shift >= 64 { 12422 return ErrIntOverflowApplication 12423 } 12424 if iNdEx >= l { 12425 return io.ErrUnexpectedEOF 12426 } 12427 b := dAtA[iNdEx] 12428 iNdEx++ 12429 wire |= uint64(b&0x7F) << shift 12430 if b < 0x80 { 12431 break 12432 } 12433 } 12434 fieldNum := int32(wire >> 3) 12435 wireType := int(wire & 0x7) 12436 if wireType == 4 { 12437 return fmt.Errorf("proto: ApplicationResourceResponse: wiretype end group for non-group") 12438 } 12439 if fieldNum <= 0 { 12440 return fmt.Errorf("proto: ApplicationResourceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 12441 } 12442 switch fieldNum { 12443 case 1: 12444 if wireType != 2 { 12445 return fmt.Errorf("proto: wrong wireType = %d for field Manifest", wireType) 12446 } 12447 var stringLen uint64 12448 for shift := uint(0); ; shift += 7 { 12449 if shift >= 64 { 12450 return ErrIntOverflowApplication 12451 } 12452 if iNdEx >= l { 12453 return io.ErrUnexpectedEOF 12454 } 12455 b := dAtA[iNdEx] 12456 iNdEx++ 12457 stringLen |= uint64(b&0x7F) << shift 12458 if b < 0x80 { 12459 break 12460 } 12461 } 12462 intStringLen := int(stringLen) 12463 if intStringLen < 0 { 12464 return ErrInvalidLengthApplication 12465 } 12466 postIndex := iNdEx + intStringLen 12467 if postIndex < 0 { 12468 return ErrInvalidLengthApplication 12469 } 12470 if postIndex > l { 12471 return io.ErrUnexpectedEOF 12472 } 12473 s := string(dAtA[iNdEx:postIndex]) 12474 m.Manifest = &s 12475 iNdEx = postIndex 12476 hasFields[0] |= uint64(0x00000001) 12477 default: 12478 iNdEx = preIndex 12479 skippy, err := skipApplication(dAtA[iNdEx:]) 12480 if err != nil { 12481 return err 12482 } 12483 if (skippy < 0) || (iNdEx+skippy) < 0 { 12484 return ErrInvalidLengthApplication 12485 } 12486 if (iNdEx + skippy) > l { 12487 return io.ErrUnexpectedEOF 12488 } 12489 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 12490 iNdEx += skippy 12491 } 12492 } 12493 if hasFields[0]&uint64(0x00000001) == 0 { 12494 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest") 12495 } 12496 12497 if iNdEx > l { 12498 return io.ErrUnexpectedEOF 12499 } 12500 return nil 12501 } 12502 func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { 12503 var hasFields [1]uint64 12504 l := len(dAtA) 12505 iNdEx := 0 12506 for iNdEx < l { 12507 preIndex := iNdEx 12508 var wire uint64 12509 for shift := uint(0); ; shift += 7 { 12510 if shift >= 64 { 12511 return ErrIntOverflowApplication 12512 } 12513 if iNdEx >= l { 12514 return io.ErrUnexpectedEOF 12515 } 12516 b := dAtA[iNdEx] 12517 iNdEx++ 12518 wire |= uint64(b&0x7F) << shift 12519 if b < 0x80 { 12520 break 12521 } 12522 } 12523 fieldNum := int32(wire >> 3) 12524 wireType := int(wire & 0x7) 12525 if wireType == 4 { 12526 return fmt.Errorf("proto: ApplicationPodLogsQuery: wiretype end group for non-group") 12527 } 12528 if fieldNum <= 0 { 12529 return fmt.Errorf("proto: ApplicationPodLogsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 12530 } 12531 switch fieldNum { 12532 case 1: 12533 if wireType != 2 { 12534 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 12535 } 12536 var stringLen uint64 12537 for shift := uint(0); ; shift += 7 { 12538 if shift >= 64 { 12539 return ErrIntOverflowApplication 12540 } 12541 if iNdEx >= l { 12542 return io.ErrUnexpectedEOF 12543 } 12544 b := dAtA[iNdEx] 12545 iNdEx++ 12546 stringLen |= uint64(b&0x7F) << shift 12547 if b < 0x80 { 12548 break 12549 } 12550 } 12551 intStringLen := int(stringLen) 12552 if intStringLen < 0 { 12553 return ErrInvalidLengthApplication 12554 } 12555 postIndex := iNdEx + intStringLen 12556 if postIndex < 0 { 12557 return ErrInvalidLengthApplication 12558 } 12559 if postIndex > l { 12560 return io.ErrUnexpectedEOF 12561 } 12562 s := string(dAtA[iNdEx:postIndex]) 12563 m.Name = &s 12564 iNdEx = postIndex 12565 hasFields[0] |= uint64(0x00000001) 12566 case 2: 12567 if wireType != 2 { 12568 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 12569 } 12570 var stringLen uint64 12571 for shift := uint(0); ; shift += 7 { 12572 if shift >= 64 { 12573 return ErrIntOverflowApplication 12574 } 12575 if iNdEx >= l { 12576 return io.ErrUnexpectedEOF 12577 } 12578 b := dAtA[iNdEx] 12579 iNdEx++ 12580 stringLen |= uint64(b&0x7F) << shift 12581 if b < 0x80 { 12582 break 12583 } 12584 } 12585 intStringLen := int(stringLen) 12586 if intStringLen < 0 { 12587 return ErrInvalidLengthApplication 12588 } 12589 postIndex := iNdEx + intStringLen 12590 if postIndex < 0 { 12591 return ErrInvalidLengthApplication 12592 } 12593 if postIndex > l { 12594 return io.ErrUnexpectedEOF 12595 } 12596 s := string(dAtA[iNdEx:postIndex]) 12597 m.Namespace = &s 12598 iNdEx = postIndex 12599 case 3: 12600 if wireType != 2 { 12601 return fmt.Errorf("proto: wrong wireType = %d for field PodName", wireType) 12602 } 12603 var stringLen uint64 12604 for shift := uint(0); ; shift += 7 { 12605 if shift >= 64 { 12606 return ErrIntOverflowApplication 12607 } 12608 if iNdEx >= l { 12609 return io.ErrUnexpectedEOF 12610 } 12611 b := dAtA[iNdEx] 12612 iNdEx++ 12613 stringLen |= uint64(b&0x7F) << shift 12614 if b < 0x80 { 12615 break 12616 } 12617 } 12618 intStringLen := int(stringLen) 12619 if intStringLen < 0 { 12620 return ErrInvalidLengthApplication 12621 } 12622 postIndex := iNdEx + intStringLen 12623 if postIndex < 0 { 12624 return ErrInvalidLengthApplication 12625 } 12626 if postIndex > l { 12627 return io.ErrUnexpectedEOF 12628 } 12629 s := string(dAtA[iNdEx:postIndex]) 12630 m.PodName = &s 12631 iNdEx = postIndex 12632 case 4: 12633 if wireType != 2 { 12634 return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType) 12635 } 12636 var stringLen uint64 12637 for shift := uint(0); ; shift += 7 { 12638 if shift >= 64 { 12639 return ErrIntOverflowApplication 12640 } 12641 if iNdEx >= l { 12642 return io.ErrUnexpectedEOF 12643 } 12644 b := dAtA[iNdEx] 12645 iNdEx++ 12646 stringLen |= uint64(b&0x7F) << shift 12647 if b < 0x80 { 12648 break 12649 } 12650 } 12651 intStringLen := int(stringLen) 12652 if intStringLen < 0 { 12653 return ErrInvalidLengthApplication 12654 } 12655 postIndex := iNdEx + intStringLen 12656 if postIndex < 0 { 12657 return ErrInvalidLengthApplication 12658 } 12659 if postIndex > l { 12660 return io.ErrUnexpectedEOF 12661 } 12662 s := string(dAtA[iNdEx:postIndex]) 12663 m.Container = &s 12664 iNdEx = postIndex 12665 case 5: 12666 if wireType != 0 { 12667 return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType) 12668 } 12669 var v int64 12670 for shift := uint(0); ; shift += 7 { 12671 if shift >= 64 { 12672 return ErrIntOverflowApplication 12673 } 12674 if iNdEx >= l { 12675 return io.ErrUnexpectedEOF 12676 } 12677 b := dAtA[iNdEx] 12678 iNdEx++ 12679 v |= int64(b&0x7F) << shift 12680 if b < 0x80 { 12681 break 12682 } 12683 } 12684 m.SinceSeconds = &v 12685 case 6: 12686 if wireType != 2 { 12687 return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType) 12688 } 12689 var msglen int 12690 for shift := uint(0); ; shift += 7 { 12691 if shift >= 64 { 12692 return ErrIntOverflowApplication 12693 } 12694 if iNdEx >= l { 12695 return io.ErrUnexpectedEOF 12696 } 12697 b := dAtA[iNdEx] 12698 iNdEx++ 12699 msglen |= int(b&0x7F) << shift 12700 if b < 0x80 { 12701 break 12702 } 12703 } 12704 if msglen < 0 { 12705 return ErrInvalidLengthApplication 12706 } 12707 postIndex := iNdEx + msglen 12708 if postIndex < 0 { 12709 return ErrInvalidLengthApplication 12710 } 12711 if postIndex > l { 12712 return io.ErrUnexpectedEOF 12713 } 12714 if m.SinceTime == nil { 12715 m.SinceTime = &v1.Time{} 12716 } 12717 if err := m.SinceTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 12718 return err 12719 } 12720 iNdEx = postIndex 12721 case 7: 12722 if wireType != 0 { 12723 return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType) 12724 } 12725 var v int64 12726 for shift := uint(0); ; shift += 7 { 12727 if shift >= 64 { 12728 return ErrIntOverflowApplication 12729 } 12730 if iNdEx >= l { 12731 return io.ErrUnexpectedEOF 12732 } 12733 b := dAtA[iNdEx] 12734 iNdEx++ 12735 v |= int64(b&0x7F) << shift 12736 if b < 0x80 { 12737 break 12738 } 12739 } 12740 m.TailLines = &v 12741 case 8: 12742 if wireType != 0 { 12743 return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType) 12744 } 12745 var v int 12746 for shift := uint(0); ; shift += 7 { 12747 if shift >= 64 { 12748 return ErrIntOverflowApplication 12749 } 12750 if iNdEx >= l { 12751 return io.ErrUnexpectedEOF 12752 } 12753 b := dAtA[iNdEx] 12754 iNdEx++ 12755 v |= int(b&0x7F) << shift 12756 if b < 0x80 { 12757 break 12758 } 12759 } 12760 b := bool(v != 0) 12761 m.Follow = &b 12762 case 9: 12763 if wireType != 2 { 12764 return fmt.Errorf("proto: wrong wireType = %d for field UntilTime", wireType) 12765 } 12766 var stringLen uint64 12767 for shift := uint(0); ; shift += 7 { 12768 if shift >= 64 { 12769 return ErrIntOverflowApplication 12770 } 12771 if iNdEx >= l { 12772 return io.ErrUnexpectedEOF 12773 } 12774 b := dAtA[iNdEx] 12775 iNdEx++ 12776 stringLen |= uint64(b&0x7F) << shift 12777 if b < 0x80 { 12778 break 12779 } 12780 } 12781 intStringLen := int(stringLen) 12782 if intStringLen < 0 { 12783 return ErrInvalidLengthApplication 12784 } 12785 postIndex := iNdEx + intStringLen 12786 if postIndex < 0 { 12787 return ErrInvalidLengthApplication 12788 } 12789 if postIndex > l { 12790 return io.ErrUnexpectedEOF 12791 } 12792 s := string(dAtA[iNdEx:postIndex]) 12793 m.UntilTime = &s 12794 iNdEx = postIndex 12795 case 10: 12796 if wireType != 2 { 12797 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 12798 } 12799 var stringLen uint64 12800 for shift := uint(0); ; shift += 7 { 12801 if shift >= 64 { 12802 return ErrIntOverflowApplication 12803 } 12804 if iNdEx >= l { 12805 return io.ErrUnexpectedEOF 12806 } 12807 b := dAtA[iNdEx] 12808 iNdEx++ 12809 stringLen |= uint64(b&0x7F) << shift 12810 if b < 0x80 { 12811 break 12812 } 12813 } 12814 intStringLen := int(stringLen) 12815 if intStringLen < 0 { 12816 return ErrInvalidLengthApplication 12817 } 12818 postIndex := iNdEx + intStringLen 12819 if postIndex < 0 { 12820 return ErrInvalidLengthApplication 12821 } 12822 if postIndex > l { 12823 return io.ErrUnexpectedEOF 12824 } 12825 s := string(dAtA[iNdEx:postIndex]) 12826 m.Filter = &s 12827 iNdEx = postIndex 12828 case 11: 12829 if wireType != 2 { 12830 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 12831 } 12832 var stringLen uint64 12833 for shift := uint(0); ; shift += 7 { 12834 if shift >= 64 { 12835 return ErrIntOverflowApplication 12836 } 12837 if iNdEx >= l { 12838 return io.ErrUnexpectedEOF 12839 } 12840 b := dAtA[iNdEx] 12841 iNdEx++ 12842 stringLen |= uint64(b&0x7F) << shift 12843 if b < 0x80 { 12844 break 12845 } 12846 } 12847 intStringLen := int(stringLen) 12848 if intStringLen < 0 { 12849 return ErrInvalidLengthApplication 12850 } 12851 postIndex := iNdEx + intStringLen 12852 if postIndex < 0 { 12853 return ErrInvalidLengthApplication 12854 } 12855 if postIndex > l { 12856 return io.ErrUnexpectedEOF 12857 } 12858 s := string(dAtA[iNdEx:postIndex]) 12859 m.Kind = &s 12860 iNdEx = postIndex 12861 case 12: 12862 if wireType != 2 { 12863 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 12864 } 12865 var stringLen uint64 12866 for shift := uint(0); ; shift += 7 { 12867 if shift >= 64 { 12868 return ErrIntOverflowApplication 12869 } 12870 if iNdEx >= l { 12871 return io.ErrUnexpectedEOF 12872 } 12873 b := dAtA[iNdEx] 12874 iNdEx++ 12875 stringLen |= uint64(b&0x7F) << shift 12876 if b < 0x80 { 12877 break 12878 } 12879 } 12880 intStringLen := int(stringLen) 12881 if intStringLen < 0 { 12882 return ErrInvalidLengthApplication 12883 } 12884 postIndex := iNdEx + intStringLen 12885 if postIndex < 0 { 12886 return ErrInvalidLengthApplication 12887 } 12888 if postIndex > l { 12889 return io.ErrUnexpectedEOF 12890 } 12891 s := string(dAtA[iNdEx:postIndex]) 12892 m.Group = &s 12893 iNdEx = postIndex 12894 case 13: 12895 if wireType != 2 { 12896 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 12897 } 12898 var stringLen uint64 12899 for shift := uint(0); ; shift += 7 { 12900 if shift >= 64 { 12901 return ErrIntOverflowApplication 12902 } 12903 if iNdEx >= l { 12904 return io.ErrUnexpectedEOF 12905 } 12906 b := dAtA[iNdEx] 12907 iNdEx++ 12908 stringLen |= uint64(b&0x7F) << shift 12909 if b < 0x80 { 12910 break 12911 } 12912 } 12913 intStringLen := int(stringLen) 12914 if intStringLen < 0 { 12915 return ErrInvalidLengthApplication 12916 } 12917 postIndex := iNdEx + intStringLen 12918 if postIndex < 0 { 12919 return ErrInvalidLengthApplication 12920 } 12921 if postIndex > l { 12922 return io.ErrUnexpectedEOF 12923 } 12924 s := string(dAtA[iNdEx:postIndex]) 12925 m.ResourceName = &s 12926 iNdEx = postIndex 12927 case 14: 12928 if wireType != 0 { 12929 return fmt.Errorf("proto: wrong wireType = %d for field Previous", wireType) 12930 } 12931 var v int 12932 for shift := uint(0); ; shift += 7 { 12933 if shift >= 64 { 12934 return ErrIntOverflowApplication 12935 } 12936 if iNdEx >= l { 12937 return io.ErrUnexpectedEOF 12938 } 12939 b := dAtA[iNdEx] 12940 iNdEx++ 12941 v |= int(b&0x7F) << shift 12942 if b < 0x80 { 12943 break 12944 } 12945 } 12946 b := bool(v != 0) 12947 m.Previous = &b 12948 case 15: 12949 if wireType != 2 { 12950 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 12951 } 12952 var stringLen uint64 12953 for shift := uint(0); ; shift += 7 { 12954 if shift >= 64 { 12955 return ErrIntOverflowApplication 12956 } 12957 if iNdEx >= l { 12958 return io.ErrUnexpectedEOF 12959 } 12960 b := dAtA[iNdEx] 12961 iNdEx++ 12962 stringLen |= uint64(b&0x7F) << shift 12963 if b < 0x80 { 12964 break 12965 } 12966 } 12967 intStringLen := int(stringLen) 12968 if intStringLen < 0 { 12969 return ErrInvalidLengthApplication 12970 } 12971 postIndex := iNdEx + intStringLen 12972 if postIndex < 0 { 12973 return ErrInvalidLengthApplication 12974 } 12975 if postIndex > l { 12976 return io.ErrUnexpectedEOF 12977 } 12978 s := string(dAtA[iNdEx:postIndex]) 12979 m.AppNamespace = &s 12980 iNdEx = postIndex 12981 case 16: 12982 if wireType != 2 { 12983 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 12984 } 12985 var stringLen uint64 12986 for shift := uint(0); ; shift += 7 { 12987 if shift >= 64 { 12988 return ErrIntOverflowApplication 12989 } 12990 if iNdEx >= l { 12991 return io.ErrUnexpectedEOF 12992 } 12993 b := dAtA[iNdEx] 12994 iNdEx++ 12995 stringLen |= uint64(b&0x7F) << shift 12996 if b < 0x80 { 12997 break 12998 } 12999 } 13000 intStringLen := int(stringLen) 13001 if intStringLen < 0 { 13002 return ErrInvalidLengthApplication 13003 } 13004 postIndex := iNdEx + intStringLen 13005 if postIndex < 0 { 13006 return ErrInvalidLengthApplication 13007 } 13008 if postIndex > l { 13009 return io.ErrUnexpectedEOF 13010 } 13011 s := string(dAtA[iNdEx:postIndex]) 13012 m.Project = &s 13013 iNdEx = postIndex 13014 default: 13015 iNdEx = preIndex 13016 skippy, err := skipApplication(dAtA[iNdEx:]) 13017 if err != nil { 13018 return err 13019 } 13020 if (skippy < 0) || (iNdEx+skippy) < 0 { 13021 return ErrInvalidLengthApplication 13022 } 13023 if (iNdEx + skippy) > l { 13024 return io.ErrUnexpectedEOF 13025 } 13026 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13027 iNdEx += skippy 13028 } 13029 } 13030 if hasFields[0]&uint64(0x00000001) == 0 { 13031 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 13032 } 13033 13034 if iNdEx > l { 13035 return io.ErrUnexpectedEOF 13036 } 13037 return nil 13038 } 13039 func (m *LogEntry) Unmarshal(dAtA []byte) error { 13040 var hasFields [1]uint64 13041 l := len(dAtA) 13042 iNdEx := 0 13043 for iNdEx < l { 13044 preIndex := iNdEx 13045 var wire uint64 13046 for shift := uint(0); ; shift += 7 { 13047 if shift >= 64 { 13048 return ErrIntOverflowApplication 13049 } 13050 if iNdEx >= l { 13051 return io.ErrUnexpectedEOF 13052 } 13053 b := dAtA[iNdEx] 13054 iNdEx++ 13055 wire |= uint64(b&0x7F) << shift 13056 if b < 0x80 { 13057 break 13058 } 13059 } 13060 fieldNum := int32(wire >> 3) 13061 wireType := int(wire & 0x7) 13062 if wireType == 4 { 13063 return fmt.Errorf("proto: LogEntry: wiretype end group for non-group") 13064 } 13065 if fieldNum <= 0 { 13066 return fmt.Errorf("proto: LogEntry: illegal tag %d (wire type %d)", fieldNum, wire) 13067 } 13068 switch fieldNum { 13069 case 1: 13070 if wireType != 2 { 13071 return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType) 13072 } 13073 var stringLen uint64 13074 for shift := uint(0); ; shift += 7 { 13075 if shift >= 64 { 13076 return ErrIntOverflowApplication 13077 } 13078 if iNdEx >= l { 13079 return io.ErrUnexpectedEOF 13080 } 13081 b := dAtA[iNdEx] 13082 iNdEx++ 13083 stringLen |= uint64(b&0x7F) << shift 13084 if b < 0x80 { 13085 break 13086 } 13087 } 13088 intStringLen := int(stringLen) 13089 if intStringLen < 0 { 13090 return ErrInvalidLengthApplication 13091 } 13092 postIndex := iNdEx + intStringLen 13093 if postIndex < 0 { 13094 return ErrInvalidLengthApplication 13095 } 13096 if postIndex > l { 13097 return io.ErrUnexpectedEOF 13098 } 13099 s := string(dAtA[iNdEx:postIndex]) 13100 m.Content = &s 13101 iNdEx = postIndex 13102 hasFields[0] |= uint64(0x00000001) 13103 case 2: 13104 if wireType != 2 { 13105 return fmt.Errorf("proto: wrong wireType = %d for field TimeStamp", wireType) 13106 } 13107 var msglen int 13108 for shift := uint(0); ; shift += 7 { 13109 if shift >= 64 { 13110 return ErrIntOverflowApplication 13111 } 13112 if iNdEx >= l { 13113 return io.ErrUnexpectedEOF 13114 } 13115 b := dAtA[iNdEx] 13116 iNdEx++ 13117 msglen |= int(b&0x7F) << shift 13118 if b < 0x80 { 13119 break 13120 } 13121 } 13122 if msglen < 0 { 13123 return ErrInvalidLengthApplication 13124 } 13125 postIndex := iNdEx + msglen 13126 if postIndex < 0 { 13127 return ErrInvalidLengthApplication 13128 } 13129 if postIndex > l { 13130 return io.ErrUnexpectedEOF 13131 } 13132 if m.TimeStamp == nil { 13133 m.TimeStamp = &v1.Time{} 13134 } 13135 if err := m.TimeStamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 13136 return err 13137 } 13138 iNdEx = postIndex 13139 hasFields[0] |= uint64(0x00000002) 13140 case 3: 13141 if wireType != 0 { 13142 return fmt.Errorf("proto: wrong wireType = %d for field Last", wireType) 13143 } 13144 var v int 13145 for shift := uint(0); ; shift += 7 { 13146 if shift >= 64 { 13147 return ErrIntOverflowApplication 13148 } 13149 if iNdEx >= l { 13150 return io.ErrUnexpectedEOF 13151 } 13152 b := dAtA[iNdEx] 13153 iNdEx++ 13154 v |= int(b&0x7F) << shift 13155 if b < 0x80 { 13156 break 13157 } 13158 } 13159 b := bool(v != 0) 13160 m.Last = &b 13161 hasFields[0] |= uint64(0x00000004) 13162 case 4: 13163 if wireType != 2 { 13164 return fmt.Errorf("proto: wrong wireType = %d for field TimeStampStr", wireType) 13165 } 13166 var stringLen uint64 13167 for shift := uint(0); ; shift += 7 { 13168 if shift >= 64 { 13169 return ErrIntOverflowApplication 13170 } 13171 if iNdEx >= l { 13172 return io.ErrUnexpectedEOF 13173 } 13174 b := dAtA[iNdEx] 13175 iNdEx++ 13176 stringLen |= uint64(b&0x7F) << shift 13177 if b < 0x80 { 13178 break 13179 } 13180 } 13181 intStringLen := int(stringLen) 13182 if intStringLen < 0 { 13183 return ErrInvalidLengthApplication 13184 } 13185 postIndex := iNdEx + intStringLen 13186 if postIndex < 0 { 13187 return ErrInvalidLengthApplication 13188 } 13189 if postIndex > l { 13190 return io.ErrUnexpectedEOF 13191 } 13192 s := string(dAtA[iNdEx:postIndex]) 13193 m.TimeStampStr = &s 13194 iNdEx = postIndex 13195 hasFields[0] |= uint64(0x00000008) 13196 case 5: 13197 if wireType != 2 { 13198 return fmt.Errorf("proto: wrong wireType = %d for field PodName", wireType) 13199 } 13200 var stringLen uint64 13201 for shift := uint(0); ; shift += 7 { 13202 if shift >= 64 { 13203 return ErrIntOverflowApplication 13204 } 13205 if iNdEx >= l { 13206 return io.ErrUnexpectedEOF 13207 } 13208 b := dAtA[iNdEx] 13209 iNdEx++ 13210 stringLen |= uint64(b&0x7F) << shift 13211 if b < 0x80 { 13212 break 13213 } 13214 } 13215 intStringLen := int(stringLen) 13216 if intStringLen < 0 { 13217 return ErrInvalidLengthApplication 13218 } 13219 postIndex := iNdEx + intStringLen 13220 if postIndex < 0 { 13221 return ErrInvalidLengthApplication 13222 } 13223 if postIndex > l { 13224 return io.ErrUnexpectedEOF 13225 } 13226 s := string(dAtA[iNdEx:postIndex]) 13227 m.PodName = &s 13228 iNdEx = postIndex 13229 hasFields[0] |= uint64(0x00000010) 13230 default: 13231 iNdEx = preIndex 13232 skippy, err := skipApplication(dAtA[iNdEx:]) 13233 if err != nil { 13234 return err 13235 } 13236 if (skippy < 0) || (iNdEx+skippy) < 0 { 13237 return ErrInvalidLengthApplication 13238 } 13239 if (iNdEx + skippy) > l { 13240 return io.ErrUnexpectedEOF 13241 } 13242 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13243 iNdEx += skippy 13244 } 13245 } 13246 if hasFields[0]&uint64(0x00000001) == 0 { 13247 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("content") 13248 } 13249 if hasFields[0]&uint64(0x00000002) == 0 { 13250 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp") 13251 } 13252 if hasFields[0]&uint64(0x00000004) == 0 { 13253 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("last") 13254 } 13255 if hasFields[0]&uint64(0x00000008) == 0 { 13256 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStampStr") 13257 } 13258 if hasFields[0]&uint64(0x00000010) == 0 { 13259 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName") 13260 } 13261 13262 if iNdEx > l { 13263 return io.ErrUnexpectedEOF 13264 } 13265 return nil 13266 } 13267 func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { 13268 var hasFields [1]uint64 13269 l := len(dAtA) 13270 iNdEx := 0 13271 for iNdEx < l { 13272 preIndex := iNdEx 13273 var wire uint64 13274 for shift := uint(0); ; shift += 7 { 13275 if shift >= 64 { 13276 return ErrIntOverflowApplication 13277 } 13278 if iNdEx >= l { 13279 return io.ErrUnexpectedEOF 13280 } 13281 b := dAtA[iNdEx] 13282 iNdEx++ 13283 wire |= uint64(b&0x7F) << shift 13284 if b < 0x80 { 13285 break 13286 } 13287 } 13288 fieldNum := int32(wire >> 3) 13289 wireType := int(wire & 0x7) 13290 if wireType == 4 { 13291 return fmt.Errorf("proto: OperationTerminateRequest: wiretype end group for non-group") 13292 } 13293 if fieldNum <= 0 { 13294 return fmt.Errorf("proto: OperationTerminateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 13295 } 13296 switch fieldNum { 13297 case 1: 13298 if wireType != 2 { 13299 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 13300 } 13301 var stringLen uint64 13302 for shift := uint(0); ; shift += 7 { 13303 if shift >= 64 { 13304 return ErrIntOverflowApplication 13305 } 13306 if iNdEx >= l { 13307 return io.ErrUnexpectedEOF 13308 } 13309 b := dAtA[iNdEx] 13310 iNdEx++ 13311 stringLen |= uint64(b&0x7F) << shift 13312 if b < 0x80 { 13313 break 13314 } 13315 } 13316 intStringLen := int(stringLen) 13317 if intStringLen < 0 { 13318 return ErrInvalidLengthApplication 13319 } 13320 postIndex := iNdEx + intStringLen 13321 if postIndex < 0 { 13322 return ErrInvalidLengthApplication 13323 } 13324 if postIndex > l { 13325 return io.ErrUnexpectedEOF 13326 } 13327 s := string(dAtA[iNdEx:postIndex]) 13328 m.Name = &s 13329 iNdEx = postIndex 13330 hasFields[0] |= uint64(0x00000001) 13331 case 2: 13332 if wireType != 2 { 13333 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 13334 } 13335 var stringLen uint64 13336 for shift := uint(0); ; shift += 7 { 13337 if shift >= 64 { 13338 return ErrIntOverflowApplication 13339 } 13340 if iNdEx >= l { 13341 return io.ErrUnexpectedEOF 13342 } 13343 b := dAtA[iNdEx] 13344 iNdEx++ 13345 stringLen |= uint64(b&0x7F) << shift 13346 if b < 0x80 { 13347 break 13348 } 13349 } 13350 intStringLen := int(stringLen) 13351 if intStringLen < 0 { 13352 return ErrInvalidLengthApplication 13353 } 13354 postIndex := iNdEx + intStringLen 13355 if postIndex < 0 { 13356 return ErrInvalidLengthApplication 13357 } 13358 if postIndex > l { 13359 return io.ErrUnexpectedEOF 13360 } 13361 s := string(dAtA[iNdEx:postIndex]) 13362 m.AppNamespace = &s 13363 iNdEx = postIndex 13364 case 3: 13365 if wireType != 2 { 13366 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 13367 } 13368 var stringLen uint64 13369 for shift := uint(0); ; shift += 7 { 13370 if shift >= 64 { 13371 return ErrIntOverflowApplication 13372 } 13373 if iNdEx >= l { 13374 return io.ErrUnexpectedEOF 13375 } 13376 b := dAtA[iNdEx] 13377 iNdEx++ 13378 stringLen |= uint64(b&0x7F) << shift 13379 if b < 0x80 { 13380 break 13381 } 13382 } 13383 intStringLen := int(stringLen) 13384 if intStringLen < 0 { 13385 return ErrInvalidLengthApplication 13386 } 13387 postIndex := iNdEx + intStringLen 13388 if postIndex < 0 { 13389 return ErrInvalidLengthApplication 13390 } 13391 if postIndex > l { 13392 return io.ErrUnexpectedEOF 13393 } 13394 s := string(dAtA[iNdEx:postIndex]) 13395 m.Project = &s 13396 iNdEx = postIndex 13397 default: 13398 iNdEx = preIndex 13399 skippy, err := skipApplication(dAtA[iNdEx:]) 13400 if err != nil { 13401 return err 13402 } 13403 if (skippy < 0) || (iNdEx+skippy) < 0 { 13404 return ErrInvalidLengthApplication 13405 } 13406 if (iNdEx + skippy) > l { 13407 return io.ErrUnexpectedEOF 13408 } 13409 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13410 iNdEx += skippy 13411 } 13412 } 13413 if hasFields[0]&uint64(0x00000001) == 0 { 13414 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 13415 } 13416 13417 if iNdEx > l { 13418 return io.ErrUnexpectedEOF 13419 } 13420 return nil 13421 } 13422 func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { 13423 var hasFields [1]uint64 13424 l := len(dAtA) 13425 iNdEx := 0 13426 for iNdEx < l { 13427 preIndex := iNdEx 13428 var wire uint64 13429 for shift := uint(0); ; shift += 7 { 13430 if shift >= 64 { 13431 return ErrIntOverflowApplication 13432 } 13433 if iNdEx >= l { 13434 return io.ErrUnexpectedEOF 13435 } 13436 b := dAtA[iNdEx] 13437 iNdEx++ 13438 wire |= uint64(b&0x7F) << shift 13439 if b < 0x80 { 13440 break 13441 } 13442 } 13443 fieldNum := int32(wire >> 3) 13444 wireType := int(wire & 0x7) 13445 if wireType == 4 { 13446 return fmt.Errorf("proto: ApplicationSyncWindowsQuery: wiretype end group for non-group") 13447 } 13448 if fieldNum <= 0 { 13449 return fmt.Errorf("proto: ApplicationSyncWindowsQuery: illegal tag %d (wire type %d)", fieldNum, wire) 13450 } 13451 switch fieldNum { 13452 case 1: 13453 if wireType != 2 { 13454 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 13455 } 13456 var stringLen uint64 13457 for shift := uint(0); ; shift += 7 { 13458 if shift >= 64 { 13459 return ErrIntOverflowApplication 13460 } 13461 if iNdEx >= l { 13462 return io.ErrUnexpectedEOF 13463 } 13464 b := dAtA[iNdEx] 13465 iNdEx++ 13466 stringLen |= uint64(b&0x7F) << shift 13467 if b < 0x80 { 13468 break 13469 } 13470 } 13471 intStringLen := int(stringLen) 13472 if intStringLen < 0 { 13473 return ErrInvalidLengthApplication 13474 } 13475 postIndex := iNdEx + intStringLen 13476 if postIndex < 0 { 13477 return ErrInvalidLengthApplication 13478 } 13479 if postIndex > l { 13480 return io.ErrUnexpectedEOF 13481 } 13482 s := string(dAtA[iNdEx:postIndex]) 13483 m.Name = &s 13484 iNdEx = postIndex 13485 hasFields[0] |= uint64(0x00000001) 13486 case 2: 13487 if wireType != 2 { 13488 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 13489 } 13490 var stringLen uint64 13491 for shift := uint(0); ; shift += 7 { 13492 if shift >= 64 { 13493 return ErrIntOverflowApplication 13494 } 13495 if iNdEx >= l { 13496 return io.ErrUnexpectedEOF 13497 } 13498 b := dAtA[iNdEx] 13499 iNdEx++ 13500 stringLen |= uint64(b&0x7F) << shift 13501 if b < 0x80 { 13502 break 13503 } 13504 } 13505 intStringLen := int(stringLen) 13506 if intStringLen < 0 { 13507 return ErrInvalidLengthApplication 13508 } 13509 postIndex := iNdEx + intStringLen 13510 if postIndex < 0 { 13511 return ErrInvalidLengthApplication 13512 } 13513 if postIndex > l { 13514 return io.ErrUnexpectedEOF 13515 } 13516 s := string(dAtA[iNdEx:postIndex]) 13517 m.AppNamespace = &s 13518 iNdEx = postIndex 13519 case 3: 13520 if wireType != 2 { 13521 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 13522 } 13523 var stringLen uint64 13524 for shift := uint(0); ; shift += 7 { 13525 if shift >= 64 { 13526 return ErrIntOverflowApplication 13527 } 13528 if iNdEx >= l { 13529 return io.ErrUnexpectedEOF 13530 } 13531 b := dAtA[iNdEx] 13532 iNdEx++ 13533 stringLen |= uint64(b&0x7F) << shift 13534 if b < 0x80 { 13535 break 13536 } 13537 } 13538 intStringLen := int(stringLen) 13539 if intStringLen < 0 { 13540 return ErrInvalidLengthApplication 13541 } 13542 postIndex := iNdEx + intStringLen 13543 if postIndex < 0 { 13544 return ErrInvalidLengthApplication 13545 } 13546 if postIndex > l { 13547 return io.ErrUnexpectedEOF 13548 } 13549 s := string(dAtA[iNdEx:postIndex]) 13550 m.Project = &s 13551 iNdEx = postIndex 13552 default: 13553 iNdEx = preIndex 13554 skippy, err := skipApplication(dAtA[iNdEx:]) 13555 if err != nil { 13556 return err 13557 } 13558 if (skippy < 0) || (iNdEx+skippy) < 0 { 13559 return ErrInvalidLengthApplication 13560 } 13561 if (iNdEx + skippy) > l { 13562 return io.ErrUnexpectedEOF 13563 } 13564 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13565 iNdEx += skippy 13566 } 13567 } 13568 if hasFields[0]&uint64(0x00000001) == 0 { 13569 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 13570 } 13571 13572 if iNdEx > l { 13573 return io.ErrUnexpectedEOF 13574 } 13575 return nil 13576 } 13577 func (m *ApplicationSyncWindowsResponse) Unmarshal(dAtA []byte) error { 13578 var hasFields [1]uint64 13579 l := len(dAtA) 13580 iNdEx := 0 13581 for iNdEx < l { 13582 preIndex := iNdEx 13583 var wire uint64 13584 for shift := uint(0); ; shift += 7 { 13585 if shift >= 64 { 13586 return ErrIntOverflowApplication 13587 } 13588 if iNdEx >= l { 13589 return io.ErrUnexpectedEOF 13590 } 13591 b := dAtA[iNdEx] 13592 iNdEx++ 13593 wire |= uint64(b&0x7F) << shift 13594 if b < 0x80 { 13595 break 13596 } 13597 } 13598 fieldNum := int32(wire >> 3) 13599 wireType := int(wire & 0x7) 13600 if wireType == 4 { 13601 return fmt.Errorf("proto: ApplicationSyncWindowsResponse: wiretype end group for non-group") 13602 } 13603 if fieldNum <= 0 { 13604 return fmt.Errorf("proto: ApplicationSyncWindowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 13605 } 13606 switch fieldNum { 13607 case 1: 13608 if wireType != 2 { 13609 return fmt.Errorf("proto: wrong wireType = %d for field ActiveWindows", wireType) 13610 } 13611 var msglen int 13612 for shift := uint(0); ; shift += 7 { 13613 if shift >= 64 { 13614 return ErrIntOverflowApplication 13615 } 13616 if iNdEx >= l { 13617 return io.ErrUnexpectedEOF 13618 } 13619 b := dAtA[iNdEx] 13620 iNdEx++ 13621 msglen |= int(b&0x7F) << shift 13622 if b < 0x80 { 13623 break 13624 } 13625 } 13626 if msglen < 0 { 13627 return ErrInvalidLengthApplication 13628 } 13629 postIndex := iNdEx + msglen 13630 if postIndex < 0 { 13631 return ErrInvalidLengthApplication 13632 } 13633 if postIndex > l { 13634 return io.ErrUnexpectedEOF 13635 } 13636 m.ActiveWindows = append(m.ActiveWindows, &ApplicationSyncWindow{}) 13637 if err := m.ActiveWindows[len(m.ActiveWindows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 13638 return err 13639 } 13640 iNdEx = postIndex 13641 case 2: 13642 if wireType != 2 { 13643 return fmt.Errorf("proto: wrong wireType = %d for field AssignedWindows", wireType) 13644 } 13645 var msglen int 13646 for shift := uint(0); ; shift += 7 { 13647 if shift >= 64 { 13648 return ErrIntOverflowApplication 13649 } 13650 if iNdEx >= l { 13651 return io.ErrUnexpectedEOF 13652 } 13653 b := dAtA[iNdEx] 13654 iNdEx++ 13655 msglen |= int(b&0x7F) << shift 13656 if b < 0x80 { 13657 break 13658 } 13659 } 13660 if msglen < 0 { 13661 return ErrInvalidLengthApplication 13662 } 13663 postIndex := iNdEx + msglen 13664 if postIndex < 0 { 13665 return ErrInvalidLengthApplication 13666 } 13667 if postIndex > l { 13668 return io.ErrUnexpectedEOF 13669 } 13670 m.AssignedWindows = append(m.AssignedWindows, &ApplicationSyncWindow{}) 13671 if err := m.AssignedWindows[len(m.AssignedWindows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 13672 return err 13673 } 13674 iNdEx = postIndex 13675 case 3: 13676 if wireType != 0 { 13677 return fmt.Errorf("proto: wrong wireType = %d for field CanSync", wireType) 13678 } 13679 var v int 13680 for shift := uint(0); ; shift += 7 { 13681 if shift >= 64 { 13682 return ErrIntOverflowApplication 13683 } 13684 if iNdEx >= l { 13685 return io.ErrUnexpectedEOF 13686 } 13687 b := dAtA[iNdEx] 13688 iNdEx++ 13689 v |= int(b&0x7F) << shift 13690 if b < 0x80 { 13691 break 13692 } 13693 } 13694 b := bool(v != 0) 13695 m.CanSync = &b 13696 hasFields[0] |= uint64(0x00000001) 13697 default: 13698 iNdEx = preIndex 13699 skippy, err := skipApplication(dAtA[iNdEx:]) 13700 if err != nil { 13701 return err 13702 } 13703 if (skippy < 0) || (iNdEx+skippy) < 0 { 13704 return ErrInvalidLengthApplication 13705 } 13706 if (iNdEx + skippy) > l { 13707 return io.ErrUnexpectedEOF 13708 } 13709 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13710 iNdEx += skippy 13711 } 13712 } 13713 if hasFields[0]&uint64(0x00000001) == 0 { 13714 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("canSync") 13715 } 13716 13717 if iNdEx > l { 13718 return io.ErrUnexpectedEOF 13719 } 13720 return nil 13721 } 13722 func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { 13723 var hasFields [1]uint64 13724 l := len(dAtA) 13725 iNdEx := 0 13726 for iNdEx < l { 13727 preIndex := iNdEx 13728 var wire uint64 13729 for shift := uint(0); ; shift += 7 { 13730 if shift >= 64 { 13731 return ErrIntOverflowApplication 13732 } 13733 if iNdEx >= l { 13734 return io.ErrUnexpectedEOF 13735 } 13736 b := dAtA[iNdEx] 13737 iNdEx++ 13738 wire |= uint64(b&0x7F) << shift 13739 if b < 0x80 { 13740 break 13741 } 13742 } 13743 fieldNum := int32(wire >> 3) 13744 wireType := int(wire & 0x7) 13745 if wireType == 4 { 13746 return fmt.Errorf("proto: ApplicationSyncWindow: wiretype end group for non-group") 13747 } 13748 if fieldNum <= 0 { 13749 return fmt.Errorf("proto: ApplicationSyncWindow: illegal tag %d (wire type %d)", fieldNum, wire) 13750 } 13751 switch fieldNum { 13752 case 1: 13753 if wireType != 2 { 13754 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 13755 } 13756 var stringLen uint64 13757 for shift := uint(0); ; shift += 7 { 13758 if shift >= 64 { 13759 return ErrIntOverflowApplication 13760 } 13761 if iNdEx >= l { 13762 return io.ErrUnexpectedEOF 13763 } 13764 b := dAtA[iNdEx] 13765 iNdEx++ 13766 stringLen |= uint64(b&0x7F) << shift 13767 if b < 0x80 { 13768 break 13769 } 13770 } 13771 intStringLen := int(stringLen) 13772 if intStringLen < 0 { 13773 return ErrInvalidLengthApplication 13774 } 13775 postIndex := iNdEx + intStringLen 13776 if postIndex < 0 { 13777 return ErrInvalidLengthApplication 13778 } 13779 if postIndex > l { 13780 return io.ErrUnexpectedEOF 13781 } 13782 s := string(dAtA[iNdEx:postIndex]) 13783 m.Kind = &s 13784 iNdEx = postIndex 13785 hasFields[0] |= uint64(0x00000001) 13786 case 2: 13787 if wireType != 2 { 13788 return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType) 13789 } 13790 var stringLen uint64 13791 for shift := uint(0); ; shift += 7 { 13792 if shift >= 64 { 13793 return ErrIntOverflowApplication 13794 } 13795 if iNdEx >= l { 13796 return io.ErrUnexpectedEOF 13797 } 13798 b := dAtA[iNdEx] 13799 iNdEx++ 13800 stringLen |= uint64(b&0x7F) << shift 13801 if b < 0x80 { 13802 break 13803 } 13804 } 13805 intStringLen := int(stringLen) 13806 if intStringLen < 0 { 13807 return ErrInvalidLengthApplication 13808 } 13809 postIndex := iNdEx + intStringLen 13810 if postIndex < 0 { 13811 return ErrInvalidLengthApplication 13812 } 13813 if postIndex > l { 13814 return io.ErrUnexpectedEOF 13815 } 13816 s := string(dAtA[iNdEx:postIndex]) 13817 m.Schedule = &s 13818 iNdEx = postIndex 13819 hasFields[0] |= uint64(0x00000002) 13820 case 3: 13821 if wireType != 2 { 13822 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 13823 } 13824 var stringLen uint64 13825 for shift := uint(0); ; shift += 7 { 13826 if shift >= 64 { 13827 return ErrIntOverflowApplication 13828 } 13829 if iNdEx >= l { 13830 return io.ErrUnexpectedEOF 13831 } 13832 b := dAtA[iNdEx] 13833 iNdEx++ 13834 stringLen |= uint64(b&0x7F) << shift 13835 if b < 0x80 { 13836 break 13837 } 13838 } 13839 intStringLen := int(stringLen) 13840 if intStringLen < 0 { 13841 return ErrInvalidLengthApplication 13842 } 13843 postIndex := iNdEx + intStringLen 13844 if postIndex < 0 { 13845 return ErrInvalidLengthApplication 13846 } 13847 if postIndex > l { 13848 return io.ErrUnexpectedEOF 13849 } 13850 s := string(dAtA[iNdEx:postIndex]) 13851 m.Duration = &s 13852 iNdEx = postIndex 13853 hasFields[0] |= uint64(0x00000004) 13854 case 4: 13855 if wireType != 0 { 13856 return fmt.Errorf("proto: wrong wireType = %d for field ManualSync", wireType) 13857 } 13858 var v int 13859 for shift := uint(0); ; shift += 7 { 13860 if shift >= 64 { 13861 return ErrIntOverflowApplication 13862 } 13863 if iNdEx >= l { 13864 return io.ErrUnexpectedEOF 13865 } 13866 b := dAtA[iNdEx] 13867 iNdEx++ 13868 v |= int(b&0x7F) << shift 13869 if b < 0x80 { 13870 break 13871 } 13872 } 13873 b := bool(v != 0) 13874 m.ManualSync = &b 13875 hasFields[0] |= uint64(0x00000008) 13876 default: 13877 iNdEx = preIndex 13878 skippy, err := skipApplication(dAtA[iNdEx:]) 13879 if err != nil { 13880 return err 13881 } 13882 if (skippy < 0) || (iNdEx+skippy) < 0 { 13883 return ErrInvalidLengthApplication 13884 } 13885 if (iNdEx + skippy) > l { 13886 return io.ErrUnexpectedEOF 13887 } 13888 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13889 iNdEx += skippy 13890 } 13891 } 13892 if hasFields[0]&uint64(0x00000001) == 0 { 13893 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") 13894 } 13895 if hasFields[0]&uint64(0x00000002) == 0 { 13896 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("schedule") 13897 } 13898 if hasFields[0]&uint64(0x00000004) == 0 { 13899 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration") 13900 } 13901 if hasFields[0]&uint64(0x00000008) == 0 { 13902 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manualSync") 13903 } 13904 13905 if iNdEx > l { 13906 return io.ErrUnexpectedEOF 13907 } 13908 return nil 13909 } 13910 func (m *OperationTerminateResponse) Unmarshal(dAtA []byte) error { 13911 l := len(dAtA) 13912 iNdEx := 0 13913 for iNdEx < l { 13914 preIndex := iNdEx 13915 var wire uint64 13916 for shift := uint(0); ; shift += 7 { 13917 if shift >= 64 { 13918 return ErrIntOverflowApplication 13919 } 13920 if iNdEx >= l { 13921 return io.ErrUnexpectedEOF 13922 } 13923 b := dAtA[iNdEx] 13924 iNdEx++ 13925 wire |= uint64(b&0x7F) << shift 13926 if b < 0x80 { 13927 break 13928 } 13929 } 13930 fieldNum := int32(wire >> 3) 13931 wireType := int(wire & 0x7) 13932 if wireType == 4 { 13933 return fmt.Errorf("proto: OperationTerminateResponse: wiretype end group for non-group") 13934 } 13935 if fieldNum <= 0 { 13936 return fmt.Errorf("proto: OperationTerminateResponse: illegal tag %d (wire type %d)", fieldNum, wire) 13937 } 13938 switch fieldNum { 13939 default: 13940 iNdEx = preIndex 13941 skippy, err := skipApplication(dAtA[iNdEx:]) 13942 if err != nil { 13943 return err 13944 } 13945 if (skippy < 0) || (iNdEx+skippy) < 0 { 13946 return ErrInvalidLengthApplication 13947 } 13948 if (iNdEx + skippy) > l { 13949 return io.ErrUnexpectedEOF 13950 } 13951 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 13952 iNdEx += skippy 13953 } 13954 } 13955 13956 if iNdEx > l { 13957 return io.ErrUnexpectedEOF 13958 } 13959 return nil 13960 } 13961 func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { 13962 var hasFields [1]uint64 13963 l := len(dAtA) 13964 iNdEx := 0 13965 for iNdEx < l { 13966 preIndex := iNdEx 13967 var wire uint64 13968 for shift := uint(0); ; shift += 7 { 13969 if shift >= 64 { 13970 return ErrIntOverflowApplication 13971 } 13972 if iNdEx >= l { 13973 return io.ErrUnexpectedEOF 13974 } 13975 b := dAtA[iNdEx] 13976 iNdEx++ 13977 wire |= uint64(b&0x7F) << shift 13978 if b < 0x80 { 13979 break 13980 } 13981 } 13982 fieldNum := int32(wire >> 3) 13983 wireType := int(wire & 0x7) 13984 if wireType == 4 { 13985 return fmt.Errorf("proto: ResourcesQuery: wiretype end group for non-group") 13986 } 13987 if fieldNum <= 0 { 13988 return fmt.Errorf("proto: ResourcesQuery: illegal tag %d (wire type %d)", fieldNum, wire) 13989 } 13990 switch fieldNum { 13991 case 1: 13992 if wireType != 2 { 13993 return fmt.Errorf("proto: wrong wireType = %d for field ApplicationName", wireType) 13994 } 13995 var stringLen uint64 13996 for shift := uint(0); ; shift += 7 { 13997 if shift >= 64 { 13998 return ErrIntOverflowApplication 13999 } 14000 if iNdEx >= l { 14001 return io.ErrUnexpectedEOF 14002 } 14003 b := dAtA[iNdEx] 14004 iNdEx++ 14005 stringLen |= uint64(b&0x7F) << shift 14006 if b < 0x80 { 14007 break 14008 } 14009 } 14010 intStringLen := int(stringLen) 14011 if intStringLen < 0 { 14012 return ErrInvalidLengthApplication 14013 } 14014 postIndex := iNdEx + intStringLen 14015 if postIndex < 0 { 14016 return ErrInvalidLengthApplication 14017 } 14018 if postIndex > l { 14019 return io.ErrUnexpectedEOF 14020 } 14021 s := string(dAtA[iNdEx:postIndex]) 14022 m.ApplicationName = &s 14023 iNdEx = postIndex 14024 hasFields[0] |= uint64(0x00000001) 14025 case 2: 14026 if wireType != 2 { 14027 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 14028 } 14029 var stringLen uint64 14030 for shift := uint(0); ; shift += 7 { 14031 if shift >= 64 { 14032 return ErrIntOverflowApplication 14033 } 14034 if iNdEx >= l { 14035 return io.ErrUnexpectedEOF 14036 } 14037 b := dAtA[iNdEx] 14038 iNdEx++ 14039 stringLen |= uint64(b&0x7F) << shift 14040 if b < 0x80 { 14041 break 14042 } 14043 } 14044 intStringLen := int(stringLen) 14045 if intStringLen < 0 { 14046 return ErrInvalidLengthApplication 14047 } 14048 postIndex := iNdEx + intStringLen 14049 if postIndex < 0 { 14050 return ErrInvalidLengthApplication 14051 } 14052 if postIndex > l { 14053 return io.ErrUnexpectedEOF 14054 } 14055 s := string(dAtA[iNdEx:postIndex]) 14056 m.Namespace = &s 14057 iNdEx = postIndex 14058 case 3: 14059 if wireType != 2 { 14060 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 14061 } 14062 var stringLen uint64 14063 for shift := uint(0); ; shift += 7 { 14064 if shift >= 64 { 14065 return ErrIntOverflowApplication 14066 } 14067 if iNdEx >= l { 14068 return io.ErrUnexpectedEOF 14069 } 14070 b := dAtA[iNdEx] 14071 iNdEx++ 14072 stringLen |= uint64(b&0x7F) << shift 14073 if b < 0x80 { 14074 break 14075 } 14076 } 14077 intStringLen := int(stringLen) 14078 if intStringLen < 0 { 14079 return ErrInvalidLengthApplication 14080 } 14081 postIndex := iNdEx + intStringLen 14082 if postIndex < 0 { 14083 return ErrInvalidLengthApplication 14084 } 14085 if postIndex > l { 14086 return io.ErrUnexpectedEOF 14087 } 14088 s := string(dAtA[iNdEx:postIndex]) 14089 m.Name = &s 14090 iNdEx = postIndex 14091 case 4: 14092 if wireType != 2 { 14093 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 14094 } 14095 var stringLen uint64 14096 for shift := uint(0); ; shift += 7 { 14097 if shift >= 64 { 14098 return ErrIntOverflowApplication 14099 } 14100 if iNdEx >= l { 14101 return io.ErrUnexpectedEOF 14102 } 14103 b := dAtA[iNdEx] 14104 iNdEx++ 14105 stringLen |= uint64(b&0x7F) << shift 14106 if b < 0x80 { 14107 break 14108 } 14109 } 14110 intStringLen := int(stringLen) 14111 if intStringLen < 0 { 14112 return ErrInvalidLengthApplication 14113 } 14114 postIndex := iNdEx + intStringLen 14115 if postIndex < 0 { 14116 return ErrInvalidLengthApplication 14117 } 14118 if postIndex > l { 14119 return io.ErrUnexpectedEOF 14120 } 14121 s := string(dAtA[iNdEx:postIndex]) 14122 m.Version = &s 14123 iNdEx = postIndex 14124 case 5: 14125 if wireType != 2 { 14126 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) 14127 } 14128 var stringLen uint64 14129 for shift := uint(0); ; shift += 7 { 14130 if shift >= 64 { 14131 return ErrIntOverflowApplication 14132 } 14133 if iNdEx >= l { 14134 return io.ErrUnexpectedEOF 14135 } 14136 b := dAtA[iNdEx] 14137 iNdEx++ 14138 stringLen |= uint64(b&0x7F) << shift 14139 if b < 0x80 { 14140 break 14141 } 14142 } 14143 intStringLen := int(stringLen) 14144 if intStringLen < 0 { 14145 return ErrInvalidLengthApplication 14146 } 14147 postIndex := iNdEx + intStringLen 14148 if postIndex < 0 { 14149 return ErrInvalidLengthApplication 14150 } 14151 if postIndex > l { 14152 return io.ErrUnexpectedEOF 14153 } 14154 s := string(dAtA[iNdEx:postIndex]) 14155 m.Group = &s 14156 iNdEx = postIndex 14157 case 6: 14158 if wireType != 2 { 14159 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 14160 } 14161 var stringLen uint64 14162 for shift := uint(0); ; shift += 7 { 14163 if shift >= 64 { 14164 return ErrIntOverflowApplication 14165 } 14166 if iNdEx >= l { 14167 return io.ErrUnexpectedEOF 14168 } 14169 b := dAtA[iNdEx] 14170 iNdEx++ 14171 stringLen |= uint64(b&0x7F) << shift 14172 if b < 0x80 { 14173 break 14174 } 14175 } 14176 intStringLen := int(stringLen) 14177 if intStringLen < 0 { 14178 return ErrInvalidLengthApplication 14179 } 14180 postIndex := iNdEx + intStringLen 14181 if postIndex < 0 { 14182 return ErrInvalidLengthApplication 14183 } 14184 if postIndex > l { 14185 return io.ErrUnexpectedEOF 14186 } 14187 s := string(dAtA[iNdEx:postIndex]) 14188 m.Kind = &s 14189 iNdEx = postIndex 14190 case 7: 14191 if wireType != 2 { 14192 return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) 14193 } 14194 var stringLen uint64 14195 for shift := uint(0); ; shift += 7 { 14196 if shift >= 64 { 14197 return ErrIntOverflowApplication 14198 } 14199 if iNdEx >= l { 14200 return io.ErrUnexpectedEOF 14201 } 14202 b := dAtA[iNdEx] 14203 iNdEx++ 14204 stringLen |= uint64(b&0x7F) << shift 14205 if b < 0x80 { 14206 break 14207 } 14208 } 14209 intStringLen := int(stringLen) 14210 if intStringLen < 0 { 14211 return ErrInvalidLengthApplication 14212 } 14213 postIndex := iNdEx + intStringLen 14214 if postIndex < 0 { 14215 return ErrInvalidLengthApplication 14216 } 14217 if postIndex > l { 14218 return io.ErrUnexpectedEOF 14219 } 14220 s := string(dAtA[iNdEx:postIndex]) 14221 m.AppNamespace = &s 14222 iNdEx = postIndex 14223 case 8: 14224 if wireType != 2 { 14225 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 14226 } 14227 var stringLen uint64 14228 for shift := uint(0); ; shift += 7 { 14229 if shift >= 64 { 14230 return ErrIntOverflowApplication 14231 } 14232 if iNdEx >= l { 14233 return io.ErrUnexpectedEOF 14234 } 14235 b := dAtA[iNdEx] 14236 iNdEx++ 14237 stringLen |= uint64(b&0x7F) << shift 14238 if b < 0x80 { 14239 break 14240 } 14241 } 14242 intStringLen := int(stringLen) 14243 if intStringLen < 0 { 14244 return ErrInvalidLengthApplication 14245 } 14246 postIndex := iNdEx + intStringLen 14247 if postIndex < 0 { 14248 return ErrInvalidLengthApplication 14249 } 14250 if postIndex > l { 14251 return io.ErrUnexpectedEOF 14252 } 14253 s := string(dAtA[iNdEx:postIndex]) 14254 m.Project = &s 14255 iNdEx = postIndex 14256 default: 14257 iNdEx = preIndex 14258 skippy, err := skipApplication(dAtA[iNdEx:]) 14259 if err != nil { 14260 return err 14261 } 14262 if (skippy < 0) || (iNdEx+skippy) < 0 { 14263 return ErrInvalidLengthApplication 14264 } 14265 if (iNdEx + skippy) > l { 14266 return io.ErrUnexpectedEOF 14267 } 14268 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14269 iNdEx += skippy 14270 } 14271 } 14272 if hasFields[0]&uint64(0x00000001) == 0 { 14273 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName") 14274 } 14275 14276 if iNdEx > l { 14277 return io.ErrUnexpectedEOF 14278 } 14279 return nil 14280 } 14281 func (m *ManagedResourcesResponse) Unmarshal(dAtA []byte) error { 14282 l := len(dAtA) 14283 iNdEx := 0 14284 for iNdEx < l { 14285 preIndex := iNdEx 14286 var wire uint64 14287 for shift := uint(0); ; shift += 7 { 14288 if shift >= 64 { 14289 return ErrIntOverflowApplication 14290 } 14291 if iNdEx >= l { 14292 return io.ErrUnexpectedEOF 14293 } 14294 b := dAtA[iNdEx] 14295 iNdEx++ 14296 wire |= uint64(b&0x7F) << shift 14297 if b < 0x80 { 14298 break 14299 } 14300 } 14301 fieldNum := int32(wire >> 3) 14302 wireType := int(wire & 0x7) 14303 if wireType == 4 { 14304 return fmt.Errorf("proto: ManagedResourcesResponse: wiretype end group for non-group") 14305 } 14306 if fieldNum <= 0 { 14307 return fmt.Errorf("proto: ManagedResourcesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 14308 } 14309 switch fieldNum { 14310 case 1: 14311 if wireType != 2 { 14312 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 14313 } 14314 var msglen int 14315 for shift := uint(0); ; shift += 7 { 14316 if shift >= 64 { 14317 return ErrIntOverflowApplication 14318 } 14319 if iNdEx >= l { 14320 return io.ErrUnexpectedEOF 14321 } 14322 b := dAtA[iNdEx] 14323 iNdEx++ 14324 msglen |= int(b&0x7F) << shift 14325 if b < 0x80 { 14326 break 14327 } 14328 } 14329 if msglen < 0 { 14330 return ErrInvalidLengthApplication 14331 } 14332 postIndex := iNdEx + msglen 14333 if postIndex < 0 { 14334 return ErrInvalidLengthApplication 14335 } 14336 if postIndex > l { 14337 return io.ErrUnexpectedEOF 14338 } 14339 m.Items = append(m.Items, &v1alpha1.ResourceDiff{}) 14340 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 14341 return err 14342 } 14343 iNdEx = postIndex 14344 default: 14345 iNdEx = preIndex 14346 skippy, err := skipApplication(dAtA[iNdEx:]) 14347 if err != nil { 14348 return err 14349 } 14350 if (skippy < 0) || (iNdEx+skippy) < 0 { 14351 return ErrInvalidLengthApplication 14352 } 14353 if (iNdEx + skippy) > l { 14354 return io.ErrUnexpectedEOF 14355 } 14356 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14357 iNdEx += skippy 14358 } 14359 } 14360 14361 if iNdEx > l { 14362 return io.ErrUnexpectedEOF 14363 } 14364 return nil 14365 } 14366 func (m *LinkInfo) Unmarshal(dAtA []byte) error { 14367 var hasFields [1]uint64 14368 l := len(dAtA) 14369 iNdEx := 0 14370 for iNdEx < l { 14371 preIndex := iNdEx 14372 var wire uint64 14373 for shift := uint(0); ; shift += 7 { 14374 if shift >= 64 { 14375 return ErrIntOverflowApplication 14376 } 14377 if iNdEx >= l { 14378 return io.ErrUnexpectedEOF 14379 } 14380 b := dAtA[iNdEx] 14381 iNdEx++ 14382 wire |= uint64(b&0x7F) << shift 14383 if b < 0x80 { 14384 break 14385 } 14386 } 14387 fieldNum := int32(wire >> 3) 14388 wireType := int(wire & 0x7) 14389 if wireType == 4 { 14390 return fmt.Errorf("proto: LinkInfo: wiretype end group for non-group") 14391 } 14392 if fieldNum <= 0 { 14393 return fmt.Errorf("proto: LinkInfo: illegal tag %d (wire type %d)", fieldNum, wire) 14394 } 14395 switch fieldNum { 14396 case 1: 14397 if wireType != 2 { 14398 return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) 14399 } 14400 var stringLen uint64 14401 for shift := uint(0); ; shift += 7 { 14402 if shift >= 64 { 14403 return ErrIntOverflowApplication 14404 } 14405 if iNdEx >= l { 14406 return io.ErrUnexpectedEOF 14407 } 14408 b := dAtA[iNdEx] 14409 iNdEx++ 14410 stringLen |= uint64(b&0x7F) << shift 14411 if b < 0x80 { 14412 break 14413 } 14414 } 14415 intStringLen := int(stringLen) 14416 if intStringLen < 0 { 14417 return ErrInvalidLengthApplication 14418 } 14419 postIndex := iNdEx + intStringLen 14420 if postIndex < 0 { 14421 return ErrInvalidLengthApplication 14422 } 14423 if postIndex > l { 14424 return io.ErrUnexpectedEOF 14425 } 14426 s := string(dAtA[iNdEx:postIndex]) 14427 m.Title = &s 14428 iNdEx = postIndex 14429 hasFields[0] |= uint64(0x00000001) 14430 case 2: 14431 if wireType != 2 { 14432 return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) 14433 } 14434 var stringLen uint64 14435 for shift := uint(0); ; shift += 7 { 14436 if shift >= 64 { 14437 return ErrIntOverflowApplication 14438 } 14439 if iNdEx >= l { 14440 return io.ErrUnexpectedEOF 14441 } 14442 b := dAtA[iNdEx] 14443 iNdEx++ 14444 stringLen |= uint64(b&0x7F) << shift 14445 if b < 0x80 { 14446 break 14447 } 14448 } 14449 intStringLen := int(stringLen) 14450 if intStringLen < 0 { 14451 return ErrInvalidLengthApplication 14452 } 14453 postIndex := iNdEx + intStringLen 14454 if postIndex < 0 { 14455 return ErrInvalidLengthApplication 14456 } 14457 if postIndex > l { 14458 return io.ErrUnexpectedEOF 14459 } 14460 s := string(dAtA[iNdEx:postIndex]) 14461 m.Url = &s 14462 iNdEx = postIndex 14463 hasFields[0] |= uint64(0x00000002) 14464 case 3: 14465 if wireType != 2 { 14466 return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) 14467 } 14468 var stringLen uint64 14469 for shift := uint(0); ; shift += 7 { 14470 if shift >= 64 { 14471 return ErrIntOverflowApplication 14472 } 14473 if iNdEx >= l { 14474 return io.ErrUnexpectedEOF 14475 } 14476 b := dAtA[iNdEx] 14477 iNdEx++ 14478 stringLen |= uint64(b&0x7F) << shift 14479 if b < 0x80 { 14480 break 14481 } 14482 } 14483 intStringLen := int(stringLen) 14484 if intStringLen < 0 { 14485 return ErrInvalidLengthApplication 14486 } 14487 postIndex := iNdEx + intStringLen 14488 if postIndex < 0 { 14489 return ErrInvalidLengthApplication 14490 } 14491 if postIndex > l { 14492 return io.ErrUnexpectedEOF 14493 } 14494 s := string(dAtA[iNdEx:postIndex]) 14495 m.Description = &s 14496 iNdEx = postIndex 14497 case 4: 14498 if wireType != 2 { 14499 return fmt.Errorf("proto: wrong wireType = %d for field IconClass", wireType) 14500 } 14501 var stringLen uint64 14502 for shift := uint(0); ; shift += 7 { 14503 if shift >= 64 { 14504 return ErrIntOverflowApplication 14505 } 14506 if iNdEx >= l { 14507 return io.ErrUnexpectedEOF 14508 } 14509 b := dAtA[iNdEx] 14510 iNdEx++ 14511 stringLen |= uint64(b&0x7F) << shift 14512 if b < 0x80 { 14513 break 14514 } 14515 } 14516 intStringLen := int(stringLen) 14517 if intStringLen < 0 { 14518 return ErrInvalidLengthApplication 14519 } 14520 postIndex := iNdEx + intStringLen 14521 if postIndex < 0 { 14522 return ErrInvalidLengthApplication 14523 } 14524 if postIndex > l { 14525 return io.ErrUnexpectedEOF 14526 } 14527 s := string(dAtA[iNdEx:postIndex]) 14528 m.IconClass = &s 14529 iNdEx = postIndex 14530 default: 14531 iNdEx = preIndex 14532 skippy, err := skipApplication(dAtA[iNdEx:]) 14533 if err != nil { 14534 return err 14535 } 14536 if (skippy < 0) || (iNdEx+skippy) < 0 { 14537 return ErrInvalidLengthApplication 14538 } 14539 if (iNdEx + skippy) > l { 14540 return io.ErrUnexpectedEOF 14541 } 14542 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14543 iNdEx += skippy 14544 } 14545 } 14546 if hasFields[0]&uint64(0x00000001) == 0 { 14547 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("title") 14548 } 14549 if hasFields[0]&uint64(0x00000002) == 0 { 14550 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("url") 14551 } 14552 14553 if iNdEx > l { 14554 return io.ErrUnexpectedEOF 14555 } 14556 return nil 14557 } 14558 func (m *LinksResponse) Unmarshal(dAtA []byte) error { 14559 l := len(dAtA) 14560 iNdEx := 0 14561 for iNdEx < l { 14562 preIndex := iNdEx 14563 var wire uint64 14564 for shift := uint(0); ; shift += 7 { 14565 if shift >= 64 { 14566 return ErrIntOverflowApplication 14567 } 14568 if iNdEx >= l { 14569 return io.ErrUnexpectedEOF 14570 } 14571 b := dAtA[iNdEx] 14572 iNdEx++ 14573 wire |= uint64(b&0x7F) << shift 14574 if b < 0x80 { 14575 break 14576 } 14577 } 14578 fieldNum := int32(wire >> 3) 14579 wireType := int(wire & 0x7) 14580 if wireType == 4 { 14581 return fmt.Errorf("proto: LinksResponse: wiretype end group for non-group") 14582 } 14583 if fieldNum <= 0 { 14584 return fmt.Errorf("proto: LinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) 14585 } 14586 switch fieldNum { 14587 case 1: 14588 if wireType != 2 { 14589 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 14590 } 14591 var msglen int 14592 for shift := uint(0); ; shift += 7 { 14593 if shift >= 64 { 14594 return ErrIntOverflowApplication 14595 } 14596 if iNdEx >= l { 14597 return io.ErrUnexpectedEOF 14598 } 14599 b := dAtA[iNdEx] 14600 iNdEx++ 14601 msglen |= int(b&0x7F) << shift 14602 if b < 0x80 { 14603 break 14604 } 14605 } 14606 if msglen < 0 { 14607 return ErrInvalidLengthApplication 14608 } 14609 postIndex := iNdEx + msglen 14610 if postIndex < 0 { 14611 return ErrInvalidLengthApplication 14612 } 14613 if postIndex > l { 14614 return io.ErrUnexpectedEOF 14615 } 14616 m.Items = append(m.Items, &LinkInfo{}) 14617 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 14618 return err 14619 } 14620 iNdEx = postIndex 14621 default: 14622 iNdEx = preIndex 14623 skippy, err := skipApplication(dAtA[iNdEx:]) 14624 if err != nil { 14625 return err 14626 } 14627 if (skippy < 0) || (iNdEx+skippy) < 0 { 14628 return ErrInvalidLengthApplication 14629 } 14630 if (iNdEx + skippy) > l { 14631 return io.ErrUnexpectedEOF 14632 } 14633 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14634 iNdEx += skippy 14635 } 14636 } 14637 14638 if iNdEx > l { 14639 return io.ErrUnexpectedEOF 14640 } 14641 return nil 14642 } 14643 func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { 14644 var hasFields [1]uint64 14645 l := len(dAtA) 14646 iNdEx := 0 14647 for iNdEx < l { 14648 preIndex := iNdEx 14649 var wire uint64 14650 for shift := uint(0); ; shift += 7 { 14651 if shift >= 64 { 14652 return ErrIntOverflowApplication 14653 } 14654 if iNdEx >= l { 14655 return io.ErrUnexpectedEOF 14656 } 14657 b := dAtA[iNdEx] 14658 iNdEx++ 14659 wire |= uint64(b&0x7F) << shift 14660 if b < 0x80 { 14661 break 14662 } 14663 } 14664 fieldNum := int32(wire >> 3) 14665 wireType := int(wire & 0x7) 14666 if wireType == 4 { 14667 return fmt.Errorf("proto: ListAppLinksRequest: wiretype end group for non-group") 14668 } 14669 if fieldNum <= 0 { 14670 return fmt.Errorf("proto: ListAppLinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) 14671 } 14672 switch fieldNum { 14673 case 1: 14674 if wireType != 2 { 14675 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 14676 } 14677 var stringLen uint64 14678 for shift := uint(0); ; shift += 7 { 14679 if shift >= 64 { 14680 return ErrIntOverflowApplication 14681 } 14682 if iNdEx >= l { 14683 return io.ErrUnexpectedEOF 14684 } 14685 b := dAtA[iNdEx] 14686 iNdEx++ 14687 stringLen |= uint64(b&0x7F) << shift 14688 if b < 0x80 { 14689 break 14690 } 14691 } 14692 intStringLen := int(stringLen) 14693 if intStringLen < 0 { 14694 return ErrInvalidLengthApplication 14695 } 14696 postIndex := iNdEx + intStringLen 14697 if postIndex < 0 { 14698 return ErrInvalidLengthApplication 14699 } 14700 if postIndex > l { 14701 return io.ErrUnexpectedEOF 14702 } 14703 s := string(dAtA[iNdEx:postIndex]) 14704 m.Name = &s 14705 iNdEx = postIndex 14706 hasFields[0] |= uint64(0x00000001) 14707 case 3: 14708 if wireType != 2 { 14709 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 14710 } 14711 var stringLen uint64 14712 for shift := uint(0); ; shift += 7 { 14713 if shift >= 64 { 14714 return ErrIntOverflowApplication 14715 } 14716 if iNdEx >= l { 14717 return io.ErrUnexpectedEOF 14718 } 14719 b := dAtA[iNdEx] 14720 iNdEx++ 14721 stringLen |= uint64(b&0x7F) << shift 14722 if b < 0x80 { 14723 break 14724 } 14725 } 14726 intStringLen := int(stringLen) 14727 if intStringLen < 0 { 14728 return ErrInvalidLengthApplication 14729 } 14730 postIndex := iNdEx + intStringLen 14731 if postIndex < 0 { 14732 return ErrInvalidLengthApplication 14733 } 14734 if postIndex > l { 14735 return io.ErrUnexpectedEOF 14736 } 14737 s := string(dAtA[iNdEx:postIndex]) 14738 m.Namespace = &s 14739 iNdEx = postIndex 14740 case 4: 14741 if wireType != 2 { 14742 return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) 14743 } 14744 var stringLen uint64 14745 for shift := uint(0); ; shift += 7 { 14746 if shift >= 64 { 14747 return ErrIntOverflowApplication 14748 } 14749 if iNdEx >= l { 14750 return io.ErrUnexpectedEOF 14751 } 14752 b := dAtA[iNdEx] 14753 iNdEx++ 14754 stringLen |= uint64(b&0x7F) << shift 14755 if b < 0x80 { 14756 break 14757 } 14758 } 14759 intStringLen := int(stringLen) 14760 if intStringLen < 0 { 14761 return ErrInvalidLengthApplication 14762 } 14763 postIndex := iNdEx + intStringLen 14764 if postIndex < 0 { 14765 return ErrInvalidLengthApplication 14766 } 14767 if postIndex > l { 14768 return io.ErrUnexpectedEOF 14769 } 14770 s := string(dAtA[iNdEx:postIndex]) 14771 m.Project = &s 14772 iNdEx = postIndex 14773 default: 14774 iNdEx = preIndex 14775 skippy, err := skipApplication(dAtA[iNdEx:]) 14776 if err != nil { 14777 return err 14778 } 14779 if (skippy < 0) || (iNdEx+skippy) < 0 { 14780 return ErrInvalidLengthApplication 14781 } 14782 if (iNdEx + skippy) > l { 14783 return io.ErrUnexpectedEOF 14784 } 14785 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 14786 iNdEx += skippy 14787 } 14788 } 14789 if hasFields[0]&uint64(0x00000001) == 0 { 14790 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") 14791 } 14792 14793 if iNdEx > l { 14794 return io.ErrUnexpectedEOF 14795 } 14796 return nil 14797 } 14798 func skipApplication(dAtA []byte) (n int, err error) { 14799 l := len(dAtA) 14800 iNdEx := 0 14801 depth := 0 14802 for iNdEx < l { 14803 var wire uint64 14804 for shift := uint(0); ; shift += 7 { 14805 if shift >= 64 { 14806 return 0, ErrIntOverflowApplication 14807 } 14808 if iNdEx >= l { 14809 return 0, io.ErrUnexpectedEOF 14810 } 14811 b := dAtA[iNdEx] 14812 iNdEx++ 14813 wire |= (uint64(b) & 0x7F) << shift 14814 if b < 0x80 { 14815 break 14816 } 14817 } 14818 wireType := int(wire & 0x7) 14819 switch wireType { 14820 case 0: 14821 for shift := uint(0); ; shift += 7 { 14822 if shift >= 64 { 14823 return 0, ErrIntOverflowApplication 14824 } 14825 if iNdEx >= l { 14826 return 0, io.ErrUnexpectedEOF 14827 } 14828 iNdEx++ 14829 if dAtA[iNdEx-1] < 0x80 { 14830 break 14831 } 14832 } 14833 case 1: 14834 iNdEx += 8 14835 case 2: 14836 var length int 14837 for shift := uint(0); ; shift += 7 { 14838 if shift >= 64 { 14839 return 0, ErrIntOverflowApplication 14840 } 14841 if iNdEx >= l { 14842 return 0, io.ErrUnexpectedEOF 14843 } 14844 b := dAtA[iNdEx] 14845 iNdEx++ 14846 length |= (int(b) & 0x7F) << shift 14847 if b < 0x80 { 14848 break 14849 } 14850 } 14851 if length < 0 { 14852 return 0, ErrInvalidLengthApplication 14853 } 14854 iNdEx += length 14855 case 3: 14856 depth++ 14857 case 4: 14858 if depth == 0 { 14859 return 0, ErrUnexpectedEndOfGroupApplication 14860 } 14861 depth-- 14862 case 5: 14863 iNdEx += 4 14864 default: 14865 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 14866 } 14867 if iNdEx < 0 { 14868 return 0, ErrInvalidLengthApplication 14869 } 14870 if depth == 0 { 14871 return iNdEx, nil 14872 } 14873 } 14874 return 0, io.ErrUnexpectedEOF 14875 } 14876 14877 var ( 14878 ErrInvalidLengthApplication = fmt.Errorf("proto: negative length found during unmarshaling") 14879 ErrIntOverflowApplication = fmt.Errorf("proto: integer overflow") 14880 ErrUnexpectedEndOfGroupApplication = fmt.Errorf("proto: unexpected end of group") 14881 )