github.com/pachyderm/pachyderm@v1.13.4/src/client/admin/admin.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: client/admin/admin.proto 3 4 package admin 5 6 import ( 7 context "context" 8 fmt "fmt" 9 _ "github.com/gogo/protobuf/gogoproto" 10 proto "github.com/gogo/protobuf/proto" 11 types "github.com/gogo/protobuf/types" 12 pfs3 "github.com/pachyderm/pachyderm/src/client/admin/v1_10/pfs" 13 pps3 "github.com/pachyderm/pachyderm/src/client/admin/v1_10/pps" 14 auth "github.com/pachyderm/pachyderm/src/client/admin/v1_11/auth" 15 enterprise "github.com/pachyderm/pachyderm/src/client/admin/v1_11/enterprise" 16 pfs4 "github.com/pachyderm/pachyderm/src/client/admin/v1_11/pfs" 17 pps4 "github.com/pachyderm/pachyderm/src/client/admin/v1_11/pps" 18 auth1 "github.com/pachyderm/pachyderm/src/client/admin/v1_12/auth" 19 enterprise1 "github.com/pachyderm/pachyderm/src/client/admin/v1_12/enterprise" 20 pfs5 "github.com/pachyderm/pachyderm/src/client/admin/v1_12/pfs" 21 pps5 "github.com/pachyderm/pachyderm/src/client/admin/v1_12/pps" 22 pfs "github.com/pachyderm/pachyderm/src/client/admin/v1_7/pfs" 23 pps "github.com/pachyderm/pachyderm/src/client/admin/v1_7/pps" 24 pfs1 "github.com/pachyderm/pachyderm/src/client/admin/v1_8/pfs" 25 pps1 "github.com/pachyderm/pachyderm/src/client/admin/v1_8/pps" 26 pfs2 "github.com/pachyderm/pachyderm/src/client/admin/v1_9/pfs" 27 pps2 "github.com/pachyderm/pachyderm/src/client/admin/v1_9/pps" 28 auth2 "github.com/pachyderm/pachyderm/src/client/auth" 29 enterprise2 "github.com/pachyderm/pachyderm/src/client/enterprise" 30 pfs6 "github.com/pachyderm/pachyderm/src/client/pfs" 31 pps6 "github.com/pachyderm/pachyderm/src/client/pps" 32 grpc "google.golang.org/grpc" 33 codes "google.golang.org/grpc/codes" 34 status "google.golang.org/grpc/status" 35 io "io" 36 math "math" 37 math_bits "math/bits" 38 ) 39 40 // Reference imports to suppress errors if they are not otherwise used. 41 var _ = proto.Marshal 42 var _ = fmt.Errorf 43 var _ = math.Inf 44 45 // This is a compile-time assertion to ensure that this generated file 46 // is compatible with the proto package it is being compiled against. 47 // A compilation error at this line likely means your copy of the 48 // proto package needs to be updated. 49 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 50 51 // CheckAuthToken is the first message in an extract on a cluster 52 // where auth is enabled. It ensures the calling context contains 53 // an auth token. 54 type CheckAuthToken struct { 55 XXX_NoUnkeyedLiteral struct{} `json:"-"` 56 XXX_unrecognized []byte `json:"-"` 57 XXX_sizecache int32 `json:"-"` 58 } 59 60 func (m *CheckAuthToken) Reset() { *m = CheckAuthToken{} } 61 func (m *CheckAuthToken) String() string { return proto.CompactTextString(m) } 62 func (*CheckAuthToken) ProtoMessage() {} 63 func (*CheckAuthToken) Descriptor() ([]byte, []int) { 64 return fileDescriptor_6597bb2f2302afbd, []int{0} 65 } 66 func (m *CheckAuthToken) XXX_Unmarshal(b []byte) error { 67 return m.Unmarshal(b) 68 } 69 func (m *CheckAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 70 if deterministic { 71 return xxx_messageInfo_CheckAuthToken.Marshal(b, m, deterministic) 72 } else { 73 b = b[:cap(b)] 74 n, err := m.MarshalToSizedBuffer(b) 75 if err != nil { 76 return nil, err 77 } 78 return b[:n], nil 79 } 80 } 81 func (m *CheckAuthToken) XXX_Merge(src proto.Message) { 82 xxx_messageInfo_CheckAuthToken.Merge(m, src) 83 } 84 func (m *CheckAuthToken) XXX_Size() int { 85 return m.Size() 86 } 87 func (m *CheckAuthToken) XXX_DiscardUnknown() { 88 xxx_messageInfo_CheckAuthToken.DiscardUnknown(m) 89 } 90 91 var xxx_messageInfo_CheckAuthToken proto.InternalMessageInfo 92 93 type Op1_7 struct { 94 Object *pfs.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 95 Tag *pfs.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 96 Repo *pfs.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 97 Commit *pfs.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 98 Branch *pfs.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 99 Pipeline *pps.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 100 XXX_NoUnkeyedLiteral struct{} `json:"-"` 101 XXX_unrecognized []byte `json:"-"` 102 XXX_sizecache int32 `json:"-"` 103 } 104 105 func (m *Op1_7) Reset() { *m = Op1_7{} } 106 func (m *Op1_7) String() string { return proto.CompactTextString(m) } 107 func (*Op1_7) ProtoMessage() {} 108 func (*Op1_7) Descriptor() ([]byte, []int) { 109 return fileDescriptor_6597bb2f2302afbd, []int{1} 110 } 111 func (m *Op1_7) XXX_Unmarshal(b []byte) error { 112 return m.Unmarshal(b) 113 } 114 func (m *Op1_7) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 115 if deterministic { 116 return xxx_messageInfo_Op1_7.Marshal(b, m, deterministic) 117 } else { 118 b = b[:cap(b)] 119 n, err := m.MarshalToSizedBuffer(b) 120 if err != nil { 121 return nil, err 122 } 123 return b[:n], nil 124 } 125 } 126 func (m *Op1_7) XXX_Merge(src proto.Message) { 127 xxx_messageInfo_Op1_7.Merge(m, src) 128 } 129 func (m *Op1_7) XXX_Size() int { 130 return m.Size() 131 } 132 func (m *Op1_7) XXX_DiscardUnknown() { 133 xxx_messageInfo_Op1_7.DiscardUnknown(m) 134 } 135 136 var xxx_messageInfo_Op1_7 proto.InternalMessageInfo 137 138 func (m *Op1_7) GetObject() *pfs.PutObjectRequest { 139 if m != nil { 140 return m.Object 141 } 142 return nil 143 } 144 145 func (m *Op1_7) GetTag() *pfs.TagObjectRequest { 146 if m != nil { 147 return m.Tag 148 } 149 return nil 150 } 151 152 func (m *Op1_7) GetRepo() *pfs.CreateRepoRequest { 153 if m != nil { 154 return m.Repo 155 } 156 return nil 157 } 158 159 func (m *Op1_7) GetCommit() *pfs.BuildCommitRequest { 160 if m != nil { 161 return m.Commit 162 } 163 return nil 164 } 165 166 func (m *Op1_7) GetBranch() *pfs.CreateBranchRequest { 167 if m != nil { 168 return m.Branch 169 } 170 return nil 171 } 172 173 func (m *Op1_7) GetPipeline() *pps.CreatePipelineRequest { 174 if m != nil { 175 return m.Pipeline 176 } 177 return nil 178 } 179 180 type Op1_8 struct { 181 Object *pfs1.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 182 Tag *pfs1.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 183 Repo *pfs1.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 184 Commit *pfs1.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 185 Branch *pfs1.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 186 Pipeline *pps1.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 187 XXX_NoUnkeyedLiteral struct{} `json:"-"` 188 XXX_unrecognized []byte `json:"-"` 189 XXX_sizecache int32 `json:"-"` 190 } 191 192 func (m *Op1_8) Reset() { *m = Op1_8{} } 193 func (m *Op1_8) String() string { return proto.CompactTextString(m) } 194 func (*Op1_8) ProtoMessage() {} 195 func (*Op1_8) Descriptor() ([]byte, []int) { 196 return fileDescriptor_6597bb2f2302afbd, []int{2} 197 } 198 func (m *Op1_8) XXX_Unmarshal(b []byte) error { 199 return m.Unmarshal(b) 200 } 201 func (m *Op1_8) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 202 if deterministic { 203 return xxx_messageInfo_Op1_8.Marshal(b, m, deterministic) 204 } else { 205 b = b[:cap(b)] 206 n, err := m.MarshalToSizedBuffer(b) 207 if err != nil { 208 return nil, err 209 } 210 return b[:n], nil 211 } 212 } 213 func (m *Op1_8) XXX_Merge(src proto.Message) { 214 xxx_messageInfo_Op1_8.Merge(m, src) 215 } 216 func (m *Op1_8) XXX_Size() int { 217 return m.Size() 218 } 219 func (m *Op1_8) XXX_DiscardUnknown() { 220 xxx_messageInfo_Op1_8.DiscardUnknown(m) 221 } 222 223 var xxx_messageInfo_Op1_8 proto.InternalMessageInfo 224 225 func (m *Op1_8) GetObject() *pfs1.PutObjectRequest { 226 if m != nil { 227 return m.Object 228 } 229 return nil 230 } 231 232 func (m *Op1_8) GetTag() *pfs1.TagObjectRequest { 233 if m != nil { 234 return m.Tag 235 } 236 return nil 237 } 238 239 func (m *Op1_8) GetRepo() *pfs1.CreateRepoRequest { 240 if m != nil { 241 return m.Repo 242 } 243 return nil 244 } 245 246 func (m *Op1_8) GetCommit() *pfs1.BuildCommitRequest { 247 if m != nil { 248 return m.Commit 249 } 250 return nil 251 } 252 253 func (m *Op1_8) GetBranch() *pfs1.CreateBranchRequest { 254 if m != nil { 255 return m.Branch 256 } 257 return nil 258 } 259 260 func (m *Op1_8) GetPipeline() *pps1.CreatePipelineRequest { 261 if m != nil { 262 return m.Pipeline 263 } 264 return nil 265 } 266 267 type Op1_9 struct { 268 Object *pfs2.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 269 CreateObject *pfs2.CreateObjectRequest `protobuf:"bytes,9,opt,name=create_object,json=createObject,proto3" json:"create_object,omitempty"` 270 Tag *pfs2.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 271 Block *pfs2.PutBlockRequest `protobuf:"bytes,10,opt,name=block,proto3" json:"block,omitempty"` 272 Repo *pfs2.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 273 Commit *pfs2.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 274 Branch *pfs2.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 275 Pipeline *pps2.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 276 Job *pps2.CreateJobRequest `protobuf:"bytes,8,opt,name=job,proto3" json:"job,omitempty"` 277 XXX_NoUnkeyedLiteral struct{} `json:"-"` 278 XXX_unrecognized []byte `json:"-"` 279 XXX_sizecache int32 `json:"-"` 280 } 281 282 func (m *Op1_9) Reset() { *m = Op1_9{} } 283 func (m *Op1_9) String() string { return proto.CompactTextString(m) } 284 func (*Op1_9) ProtoMessage() {} 285 func (*Op1_9) Descriptor() ([]byte, []int) { 286 return fileDescriptor_6597bb2f2302afbd, []int{3} 287 } 288 func (m *Op1_9) XXX_Unmarshal(b []byte) error { 289 return m.Unmarshal(b) 290 } 291 func (m *Op1_9) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 292 if deterministic { 293 return xxx_messageInfo_Op1_9.Marshal(b, m, deterministic) 294 } else { 295 b = b[:cap(b)] 296 n, err := m.MarshalToSizedBuffer(b) 297 if err != nil { 298 return nil, err 299 } 300 return b[:n], nil 301 } 302 } 303 func (m *Op1_9) XXX_Merge(src proto.Message) { 304 xxx_messageInfo_Op1_9.Merge(m, src) 305 } 306 func (m *Op1_9) XXX_Size() int { 307 return m.Size() 308 } 309 func (m *Op1_9) XXX_DiscardUnknown() { 310 xxx_messageInfo_Op1_9.DiscardUnknown(m) 311 } 312 313 var xxx_messageInfo_Op1_9 proto.InternalMessageInfo 314 315 func (m *Op1_9) GetObject() *pfs2.PutObjectRequest { 316 if m != nil { 317 return m.Object 318 } 319 return nil 320 } 321 322 func (m *Op1_9) GetCreateObject() *pfs2.CreateObjectRequest { 323 if m != nil { 324 return m.CreateObject 325 } 326 return nil 327 } 328 329 func (m *Op1_9) GetTag() *pfs2.TagObjectRequest { 330 if m != nil { 331 return m.Tag 332 } 333 return nil 334 } 335 336 func (m *Op1_9) GetBlock() *pfs2.PutBlockRequest { 337 if m != nil { 338 return m.Block 339 } 340 return nil 341 } 342 343 func (m *Op1_9) GetRepo() *pfs2.CreateRepoRequest { 344 if m != nil { 345 return m.Repo 346 } 347 return nil 348 } 349 350 func (m *Op1_9) GetCommit() *pfs2.BuildCommitRequest { 351 if m != nil { 352 return m.Commit 353 } 354 return nil 355 } 356 357 func (m *Op1_9) GetBranch() *pfs2.CreateBranchRequest { 358 if m != nil { 359 return m.Branch 360 } 361 return nil 362 } 363 364 func (m *Op1_9) GetPipeline() *pps2.CreatePipelineRequest { 365 if m != nil { 366 return m.Pipeline 367 } 368 return nil 369 } 370 371 func (m *Op1_9) GetJob() *pps2.CreateJobRequest { 372 if m != nil { 373 return m.Job 374 } 375 return nil 376 } 377 378 type Op1_10 struct { 379 Object *pfs3.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 380 CreateObject *pfs3.CreateObjectRequest `protobuf:"bytes,9,opt,name=create_object,json=createObject,proto3" json:"create_object,omitempty"` 381 Tag *pfs3.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 382 Block *pfs3.PutBlockRequest `protobuf:"bytes,10,opt,name=block,proto3" json:"block,omitempty"` 383 Repo *pfs3.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 384 Commit *pfs3.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 385 Branch *pfs3.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 386 Pipeline *pps3.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 387 Job *pps3.CreateJobRequest `protobuf:"bytes,8,opt,name=job,proto3" json:"job,omitempty"` 388 XXX_NoUnkeyedLiteral struct{} `json:"-"` 389 XXX_unrecognized []byte `json:"-"` 390 XXX_sizecache int32 `json:"-"` 391 } 392 393 func (m *Op1_10) Reset() { *m = Op1_10{} } 394 func (m *Op1_10) String() string { return proto.CompactTextString(m) } 395 func (*Op1_10) ProtoMessage() {} 396 func (*Op1_10) Descriptor() ([]byte, []int) { 397 return fileDescriptor_6597bb2f2302afbd, []int{4} 398 } 399 func (m *Op1_10) XXX_Unmarshal(b []byte) error { 400 return m.Unmarshal(b) 401 } 402 func (m *Op1_10) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 403 if deterministic { 404 return xxx_messageInfo_Op1_10.Marshal(b, m, deterministic) 405 } else { 406 b = b[:cap(b)] 407 n, err := m.MarshalToSizedBuffer(b) 408 if err != nil { 409 return nil, err 410 } 411 return b[:n], nil 412 } 413 } 414 func (m *Op1_10) XXX_Merge(src proto.Message) { 415 xxx_messageInfo_Op1_10.Merge(m, src) 416 } 417 func (m *Op1_10) XXX_Size() int { 418 return m.Size() 419 } 420 func (m *Op1_10) XXX_DiscardUnknown() { 421 xxx_messageInfo_Op1_10.DiscardUnknown(m) 422 } 423 424 var xxx_messageInfo_Op1_10 proto.InternalMessageInfo 425 426 func (m *Op1_10) GetObject() *pfs3.PutObjectRequest { 427 if m != nil { 428 return m.Object 429 } 430 return nil 431 } 432 433 func (m *Op1_10) GetCreateObject() *pfs3.CreateObjectRequest { 434 if m != nil { 435 return m.CreateObject 436 } 437 return nil 438 } 439 440 func (m *Op1_10) GetTag() *pfs3.TagObjectRequest { 441 if m != nil { 442 return m.Tag 443 } 444 return nil 445 } 446 447 func (m *Op1_10) GetBlock() *pfs3.PutBlockRequest { 448 if m != nil { 449 return m.Block 450 } 451 return nil 452 } 453 454 func (m *Op1_10) GetRepo() *pfs3.CreateRepoRequest { 455 if m != nil { 456 return m.Repo 457 } 458 return nil 459 } 460 461 func (m *Op1_10) GetCommit() *pfs3.BuildCommitRequest { 462 if m != nil { 463 return m.Commit 464 } 465 return nil 466 } 467 468 func (m *Op1_10) GetBranch() *pfs3.CreateBranchRequest { 469 if m != nil { 470 return m.Branch 471 } 472 return nil 473 } 474 475 func (m *Op1_10) GetPipeline() *pps3.CreatePipelineRequest { 476 if m != nil { 477 return m.Pipeline 478 } 479 return nil 480 } 481 482 func (m *Op1_10) GetJob() *pps3.CreateJobRequest { 483 if m != nil { 484 return m.Job 485 } 486 return nil 487 } 488 489 type Op1_11 struct { 490 Object *pfs4.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 491 CreateObject *pfs4.CreateObjectRequest `protobuf:"bytes,9,opt,name=create_object,json=createObject,proto3" json:"create_object,omitempty"` 492 Tag *pfs4.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 493 Block *pfs4.PutBlockRequest `protobuf:"bytes,10,opt,name=block,proto3" json:"block,omitempty"` 494 Repo *pfs4.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 495 Commit *pfs4.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 496 Branch *pfs4.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 497 Pipeline *pps4.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 498 Job *pps4.CreateJobRequest `protobuf:"bytes,8,opt,name=job,proto3" json:"job,omitempty"` 499 SetAcl *auth.SetACLRequest `protobuf:"bytes,11,opt,name=set_acl,json=setAcl,proto3" json:"set_acl,omitempty"` 500 SetClusterRoleBinding *auth.ModifyClusterRoleBindingRequest `protobuf:"bytes,12,opt,name=set_cluster_role_binding,json=setClusterRoleBinding,proto3" json:"set_cluster_role_binding,omitempty"` 501 SetAuthConfig *auth.SetConfigurationRequest `protobuf:"bytes,13,opt,name=set_auth_config,json=setAuthConfig,proto3" json:"set_auth_config,omitempty"` 502 ActivateAuth *auth.ActivateRequest `protobuf:"bytes,14,opt,name=activate_auth,json=activateAuth,proto3" json:"activate_auth,omitempty"` 503 RestoreAuthToken *auth.RestoreAuthTokenRequest `protobuf:"bytes,15,opt,name=restore_auth_token,json=restoreAuthToken,proto3" json:"restore_auth_token,omitempty"` 504 ActivateEnterprise *enterprise.ActivateRequest `protobuf:"bytes,16,opt,name=activate_enterprise,json=activateEnterprise,proto3" json:"activate_enterprise,omitempty"` 505 CheckAuthToken *CheckAuthToken `protobuf:"bytes,17,opt,name=check_auth_token,json=checkAuthToken,proto3" json:"check_auth_token,omitempty"` 506 XXX_NoUnkeyedLiteral struct{} `json:"-"` 507 XXX_unrecognized []byte `json:"-"` 508 XXX_sizecache int32 `json:"-"` 509 } 510 511 func (m *Op1_11) Reset() { *m = Op1_11{} } 512 func (m *Op1_11) String() string { return proto.CompactTextString(m) } 513 func (*Op1_11) ProtoMessage() {} 514 func (*Op1_11) Descriptor() ([]byte, []int) { 515 return fileDescriptor_6597bb2f2302afbd, []int{5} 516 } 517 func (m *Op1_11) XXX_Unmarshal(b []byte) error { 518 return m.Unmarshal(b) 519 } 520 func (m *Op1_11) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 521 if deterministic { 522 return xxx_messageInfo_Op1_11.Marshal(b, m, deterministic) 523 } else { 524 b = b[:cap(b)] 525 n, err := m.MarshalToSizedBuffer(b) 526 if err != nil { 527 return nil, err 528 } 529 return b[:n], nil 530 } 531 } 532 func (m *Op1_11) XXX_Merge(src proto.Message) { 533 xxx_messageInfo_Op1_11.Merge(m, src) 534 } 535 func (m *Op1_11) XXX_Size() int { 536 return m.Size() 537 } 538 func (m *Op1_11) XXX_DiscardUnknown() { 539 xxx_messageInfo_Op1_11.DiscardUnknown(m) 540 } 541 542 var xxx_messageInfo_Op1_11 proto.InternalMessageInfo 543 544 func (m *Op1_11) GetObject() *pfs4.PutObjectRequest { 545 if m != nil { 546 return m.Object 547 } 548 return nil 549 } 550 551 func (m *Op1_11) GetCreateObject() *pfs4.CreateObjectRequest { 552 if m != nil { 553 return m.CreateObject 554 } 555 return nil 556 } 557 558 func (m *Op1_11) GetTag() *pfs4.TagObjectRequest { 559 if m != nil { 560 return m.Tag 561 } 562 return nil 563 } 564 565 func (m *Op1_11) GetBlock() *pfs4.PutBlockRequest { 566 if m != nil { 567 return m.Block 568 } 569 return nil 570 } 571 572 func (m *Op1_11) GetRepo() *pfs4.CreateRepoRequest { 573 if m != nil { 574 return m.Repo 575 } 576 return nil 577 } 578 579 func (m *Op1_11) GetCommit() *pfs4.BuildCommitRequest { 580 if m != nil { 581 return m.Commit 582 } 583 return nil 584 } 585 586 func (m *Op1_11) GetBranch() *pfs4.CreateBranchRequest { 587 if m != nil { 588 return m.Branch 589 } 590 return nil 591 } 592 593 func (m *Op1_11) GetPipeline() *pps4.CreatePipelineRequest { 594 if m != nil { 595 return m.Pipeline 596 } 597 return nil 598 } 599 600 func (m *Op1_11) GetJob() *pps4.CreateJobRequest { 601 if m != nil { 602 return m.Job 603 } 604 return nil 605 } 606 607 func (m *Op1_11) GetSetAcl() *auth.SetACLRequest { 608 if m != nil { 609 return m.SetAcl 610 } 611 return nil 612 } 613 614 func (m *Op1_11) GetSetClusterRoleBinding() *auth.ModifyClusterRoleBindingRequest { 615 if m != nil { 616 return m.SetClusterRoleBinding 617 } 618 return nil 619 } 620 621 func (m *Op1_11) GetSetAuthConfig() *auth.SetConfigurationRequest { 622 if m != nil { 623 return m.SetAuthConfig 624 } 625 return nil 626 } 627 628 func (m *Op1_11) GetActivateAuth() *auth.ActivateRequest { 629 if m != nil { 630 return m.ActivateAuth 631 } 632 return nil 633 } 634 635 func (m *Op1_11) GetRestoreAuthToken() *auth.RestoreAuthTokenRequest { 636 if m != nil { 637 return m.RestoreAuthToken 638 } 639 return nil 640 } 641 642 func (m *Op1_11) GetActivateEnterprise() *enterprise.ActivateRequest { 643 if m != nil { 644 return m.ActivateEnterprise 645 } 646 return nil 647 } 648 649 func (m *Op1_11) GetCheckAuthToken() *CheckAuthToken { 650 if m != nil { 651 return m.CheckAuthToken 652 } 653 return nil 654 } 655 656 type Op1_12 struct { 657 Object *pfs5.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 658 CreateObject *pfs5.CreateObjectRequest `protobuf:"bytes,9,opt,name=create_object,json=createObject,proto3" json:"create_object,omitempty"` 659 Tag *pfs5.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 660 Block *pfs5.PutBlockRequest `protobuf:"bytes,10,opt,name=block,proto3" json:"block,omitempty"` 661 Repo *pfs5.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 662 Commit *pfs5.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 663 Branch *pfs5.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 664 Pipeline *pps5.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 665 Job *pps5.CreateJobRequest `protobuf:"bytes,8,opt,name=job,proto3" json:"job,omitempty"` 666 SetAcl *auth1.SetACLRequest `protobuf:"bytes,11,opt,name=set_acl,json=setAcl,proto3" json:"set_acl,omitempty"` 667 SetClusterRoleBinding *auth1.ModifyClusterRoleBindingRequest `protobuf:"bytes,12,opt,name=set_cluster_role_binding,json=setClusterRoleBinding,proto3" json:"set_cluster_role_binding,omitempty"` 668 SetAuthConfig *auth1.SetConfigurationRequest `protobuf:"bytes,13,opt,name=set_auth_config,json=setAuthConfig,proto3" json:"set_auth_config,omitempty"` 669 ActivateAuth *auth1.ActivateRequest `protobuf:"bytes,14,opt,name=activate_auth,json=activateAuth,proto3" json:"activate_auth,omitempty"` 670 RestoreAuthToken *auth1.RestoreAuthTokenRequest `protobuf:"bytes,15,opt,name=restore_auth_token,json=restoreAuthToken,proto3" json:"restore_auth_token,omitempty"` 671 ActivateEnterprise *enterprise1.ActivateRequest `protobuf:"bytes,16,opt,name=activate_enterprise,json=activateEnterprise,proto3" json:"activate_enterprise,omitempty"` 672 CheckAuthToken *CheckAuthToken `protobuf:"bytes,17,opt,name=check_auth_token,json=checkAuthToken,proto3" json:"check_auth_token,omitempty"` 673 XXX_NoUnkeyedLiteral struct{} `json:"-"` 674 XXX_unrecognized []byte `json:"-"` 675 XXX_sizecache int32 `json:"-"` 676 } 677 678 func (m *Op1_12) Reset() { *m = Op1_12{} } 679 func (m *Op1_12) String() string { return proto.CompactTextString(m) } 680 func (*Op1_12) ProtoMessage() {} 681 func (*Op1_12) Descriptor() ([]byte, []int) { 682 return fileDescriptor_6597bb2f2302afbd, []int{6} 683 } 684 func (m *Op1_12) XXX_Unmarshal(b []byte) error { 685 return m.Unmarshal(b) 686 } 687 func (m *Op1_12) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 688 if deterministic { 689 return xxx_messageInfo_Op1_12.Marshal(b, m, deterministic) 690 } else { 691 b = b[:cap(b)] 692 n, err := m.MarshalToSizedBuffer(b) 693 if err != nil { 694 return nil, err 695 } 696 return b[:n], nil 697 } 698 } 699 func (m *Op1_12) XXX_Merge(src proto.Message) { 700 xxx_messageInfo_Op1_12.Merge(m, src) 701 } 702 func (m *Op1_12) XXX_Size() int { 703 return m.Size() 704 } 705 func (m *Op1_12) XXX_DiscardUnknown() { 706 xxx_messageInfo_Op1_12.DiscardUnknown(m) 707 } 708 709 var xxx_messageInfo_Op1_12 proto.InternalMessageInfo 710 711 func (m *Op1_12) GetObject() *pfs5.PutObjectRequest { 712 if m != nil { 713 return m.Object 714 } 715 return nil 716 } 717 718 func (m *Op1_12) GetCreateObject() *pfs5.CreateObjectRequest { 719 if m != nil { 720 return m.CreateObject 721 } 722 return nil 723 } 724 725 func (m *Op1_12) GetTag() *pfs5.TagObjectRequest { 726 if m != nil { 727 return m.Tag 728 } 729 return nil 730 } 731 732 func (m *Op1_12) GetBlock() *pfs5.PutBlockRequest { 733 if m != nil { 734 return m.Block 735 } 736 return nil 737 } 738 739 func (m *Op1_12) GetRepo() *pfs5.CreateRepoRequest { 740 if m != nil { 741 return m.Repo 742 } 743 return nil 744 } 745 746 func (m *Op1_12) GetCommit() *pfs5.BuildCommitRequest { 747 if m != nil { 748 return m.Commit 749 } 750 return nil 751 } 752 753 func (m *Op1_12) GetBranch() *pfs5.CreateBranchRequest { 754 if m != nil { 755 return m.Branch 756 } 757 return nil 758 } 759 760 func (m *Op1_12) GetPipeline() *pps5.CreatePipelineRequest { 761 if m != nil { 762 return m.Pipeline 763 } 764 return nil 765 } 766 767 func (m *Op1_12) GetJob() *pps5.CreateJobRequest { 768 if m != nil { 769 return m.Job 770 } 771 return nil 772 } 773 774 func (m *Op1_12) GetSetAcl() *auth1.SetACLRequest { 775 if m != nil { 776 return m.SetAcl 777 } 778 return nil 779 } 780 781 func (m *Op1_12) GetSetClusterRoleBinding() *auth1.ModifyClusterRoleBindingRequest { 782 if m != nil { 783 return m.SetClusterRoleBinding 784 } 785 return nil 786 } 787 788 func (m *Op1_12) GetSetAuthConfig() *auth1.SetConfigurationRequest { 789 if m != nil { 790 return m.SetAuthConfig 791 } 792 return nil 793 } 794 795 func (m *Op1_12) GetActivateAuth() *auth1.ActivateRequest { 796 if m != nil { 797 return m.ActivateAuth 798 } 799 return nil 800 } 801 802 func (m *Op1_12) GetRestoreAuthToken() *auth1.RestoreAuthTokenRequest { 803 if m != nil { 804 return m.RestoreAuthToken 805 } 806 return nil 807 } 808 809 func (m *Op1_12) GetActivateEnterprise() *enterprise1.ActivateRequest { 810 if m != nil { 811 return m.ActivateEnterprise 812 } 813 return nil 814 } 815 816 func (m *Op1_12) GetCheckAuthToken() *CheckAuthToken { 817 if m != nil { 818 return m.CheckAuthToken 819 } 820 return nil 821 } 822 823 type Op1_13 struct { 824 Object *pfs6.PutObjectRequest `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` 825 CreateObject *pfs6.CreateObjectRequest `protobuf:"bytes,9,opt,name=create_object,json=createObject,proto3" json:"create_object,omitempty"` 826 Tag *pfs6.TagObjectRequest `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` 827 Block *pfs6.PutBlockRequest `protobuf:"bytes,10,opt,name=block,proto3" json:"block,omitempty"` 828 Repo *pfs6.CreateRepoRequest `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"` 829 Commit *pfs6.BuildCommitRequest `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` 830 Branch *pfs6.CreateBranchRequest `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"` 831 Pipeline *pps6.CreatePipelineRequest `protobuf:"bytes,7,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 832 Job *pps6.CreateJobRequest `protobuf:"bytes,8,opt,name=job,proto3" json:"job,omitempty"` 833 SetAcl *auth2.SetACLRequest `protobuf:"bytes,11,opt,name=set_acl,json=setAcl,proto3" json:"set_acl,omitempty"` 834 SetClusterRoleBinding *auth2.ModifyClusterRoleBindingRequest `protobuf:"bytes,12,opt,name=set_cluster_role_binding,json=setClusterRoleBinding,proto3" json:"set_cluster_role_binding,omitempty"` 835 SetAuthConfig *auth2.SetConfigurationRequest `protobuf:"bytes,13,opt,name=set_auth_config,json=setAuthConfig,proto3" json:"set_auth_config,omitempty"` 836 ActivateAuth *auth2.ActivateRequest `protobuf:"bytes,14,opt,name=activate_auth,json=activateAuth,proto3" json:"activate_auth,omitempty"` 837 RestoreAuthToken *auth2.RestoreAuthTokenRequest `protobuf:"bytes,15,opt,name=restore_auth_token,json=restoreAuthToken,proto3" json:"restore_auth_token,omitempty"` 838 ActivateEnterprise *enterprise2.ActivateRequest `protobuf:"bytes,16,opt,name=activate_enterprise,json=activateEnterprise,proto3" json:"activate_enterprise,omitempty"` 839 CheckAuthToken *CheckAuthToken `protobuf:"bytes,17,opt,name=check_auth_token,json=checkAuthToken,proto3" json:"check_auth_token,omitempty"` 840 XXX_NoUnkeyedLiteral struct{} `json:"-"` 841 XXX_unrecognized []byte `json:"-"` 842 XXX_sizecache int32 `json:"-"` 843 } 844 845 func (m *Op1_13) Reset() { *m = Op1_13{} } 846 func (m *Op1_13) String() string { return proto.CompactTextString(m) } 847 func (*Op1_13) ProtoMessage() {} 848 func (*Op1_13) Descriptor() ([]byte, []int) { 849 return fileDescriptor_6597bb2f2302afbd, []int{7} 850 } 851 func (m *Op1_13) XXX_Unmarshal(b []byte) error { 852 return m.Unmarshal(b) 853 } 854 func (m *Op1_13) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 855 if deterministic { 856 return xxx_messageInfo_Op1_13.Marshal(b, m, deterministic) 857 } else { 858 b = b[:cap(b)] 859 n, err := m.MarshalToSizedBuffer(b) 860 if err != nil { 861 return nil, err 862 } 863 return b[:n], nil 864 } 865 } 866 func (m *Op1_13) XXX_Merge(src proto.Message) { 867 xxx_messageInfo_Op1_13.Merge(m, src) 868 } 869 func (m *Op1_13) XXX_Size() int { 870 return m.Size() 871 } 872 func (m *Op1_13) XXX_DiscardUnknown() { 873 xxx_messageInfo_Op1_13.DiscardUnknown(m) 874 } 875 876 var xxx_messageInfo_Op1_13 proto.InternalMessageInfo 877 878 func (m *Op1_13) GetObject() *pfs6.PutObjectRequest { 879 if m != nil { 880 return m.Object 881 } 882 return nil 883 } 884 885 func (m *Op1_13) GetCreateObject() *pfs6.CreateObjectRequest { 886 if m != nil { 887 return m.CreateObject 888 } 889 return nil 890 } 891 892 func (m *Op1_13) GetTag() *pfs6.TagObjectRequest { 893 if m != nil { 894 return m.Tag 895 } 896 return nil 897 } 898 899 func (m *Op1_13) GetBlock() *pfs6.PutBlockRequest { 900 if m != nil { 901 return m.Block 902 } 903 return nil 904 } 905 906 func (m *Op1_13) GetRepo() *pfs6.CreateRepoRequest { 907 if m != nil { 908 return m.Repo 909 } 910 return nil 911 } 912 913 func (m *Op1_13) GetCommit() *pfs6.BuildCommitRequest { 914 if m != nil { 915 return m.Commit 916 } 917 return nil 918 } 919 920 func (m *Op1_13) GetBranch() *pfs6.CreateBranchRequest { 921 if m != nil { 922 return m.Branch 923 } 924 return nil 925 } 926 927 func (m *Op1_13) GetPipeline() *pps6.CreatePipelineRequest { 928 if m != nil { 929 return m.Pipeline 930 } 931 return nil 932 } 933 934 func (m *Op1_13) GetJob() *pps6.CreateJobRequest { 935 if m != nil { 936 return m.Job 937 } 938 return nil 939 } 940 941 func (m *Op1_13) GetSetAcl() *auth2.SetACLRequest { 942 if m != nil { 943 return m.SetAcl 944 } 945 return nil 946 } 947 948 func (m *Op1_13) GetSetClusterRoleBinding() *auth2.ModifyClusterRoleBindingRequest { 949 if m != nil { 950 return m.SetClusterRoleBinding 951 } 952 return nil 953 } 954 955 func (m *Op1_13) GetSetAuthConfig() *auth2.SetConfigurationRequest { 956 if m != nil { 957 return m.SetAuthConfig 958 } 959 return nil 960 } 961 962 func (m *Op1_13) GetActivateAuth() *auth2.ActivateRequest { 963 if m != nil { 964 return m.ActivateAuth 965 } 966 return nil 967 } 968 969 func (m *Op1_13) GetRestoreAuthToken() *auth2.RestoreAuthTokenRequest { 970 if m != nil { 971 return m.RestoreAuthToken 972 } 973 return nil 974 } 975 976 func (m *Op1_13) GetActivateEnterprise() *enterprise2.ActivateRequest { 977 if m != nil { 978 return m.ActivateEnterprise 979 } 980 return nil 981 } 982 983 func (m *Op1_13) GetCheckAuthToken() *CheckAuthToken { 984 if m != nil { 985 return m.CheckAuthToken 986 } 987 return nil 988 } 989 990 // Op represents a union of types, where each type is data extracted from 991 // a different major version of Pachyderm. The versioned Op types represent 992 // a union of the RPC types that need to be replayed to restore the cluster. 993 type Op struct { 994 Op1_7 *Op1_7 `protobuf:"bytes,1,opt,name=op1_7,json=op17,proto3" json:"op1_7,omitempty"` 995 Op1_8 *Op1_8 `protobuf:"bytes,2,opt,name=op1_8,json=op18,proto3" json:"op1_8,omitempty"` 996 Op1_9 *Op1_9 `protobuf:"bytes,3,opt,name=op1_9,json=op19,proto3" json:"op1_9,omitempty"` 997 Op1_10 *Op1_10 `protobuf:"bytes,4,opt,name=op1_10,json=op110,proto3" json:"op1_10,omitempty"` 998 Op1_11 *Op1_11 `protobuf:"bytes,5,opt,name=op1_11,json=op111,proto3" json:"op1_11,omitempty"` 999 Op1_12 *Op1_12 `protobuf:"bytes,6,opt,name=op1_12,json=op112,proto3" json:"op1_12,omitempty"` 1000 Op1_13 *Op1_13 `protobuf:"bytes,7,opt,name=op1_13,json=op113,proto3" json:"op1_13,omitempty"` 1001 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1002 XXX_unrecognized []byte `json:"-"` 1003 XXX_sizecache int32 `json:"-"` 1004 } 1005 1006 func (m *Op) Reset() { *m = Op{} } 1007 func (m *Op) String() string { return proto.CompactTextString(m) } 1008 func (*Op) ProtoMessage() {} 1009 func (*Op) Descriptor() ([]byte, []int) { 1010 return fileDescriptor_6597bb2f2302afbd, []int{8} 1011 } 1012 func (m *Op) XXX_Unmarshal(b []byte) error { 1013 return m.Unmarshal(b) 1014 } 1015 func (m *Op) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1016 if deterministic { 1017 return xxx_messageInfo_Op.Marshal(b, m, deterministic) 1018 } else { 1019 b = b[:cap(b)] 1020 n, err := m.MarshalToSizedBuffer(b) 1021 if err != nil { 1022 return nil, err 1023 } 1024 return b[:n], nil 1025 } 1026 } 1027 func (m *Op) XXX_Merge(src proto.Message) { 1028 xxx_messageInfo_Op.Merge(m, src) 1029 } 1030 func (m *Op) XXX_Size() int { 1031 return m.Size() 1032 } 1033 func (m *Op) XXX_DiscardUnknown() { 1034 xxx_messageInfo_Op.DiscardUnknown(m) 1035 } 1036 1037 var xxx_messageInfo_Op proto.InternalMessageInfo 1038 1039 func (m *Op) GetOp1_7() *Op1_7 { 1040 if m != nil { 1041 return m.Op1_7 1042 } 1043 return nil 1044 } 1045 1046 func (m *Op) GetOp1_8() *Op1_8 { 1047 if m != nil { 1048 return m.Op1_8 1049 } 1050 return nil 1051 } 1052 1053 func (m *Op) GetOp1_9() *Op1_9 { 1054 if m != nil { 1055 return m.Op1_9 1056 } 1057 return nil 1058 } 1059 1060 func (m *Op) GetOp1_10() *Op1_10 { 1061 if m != nil { 1062 return m.Op1_10 1063 } 1064 return nil 1065 } 1066 1067 func (m *Op) GetOp1_11() *Op1_11 { 1068 if m != nil { 1069 return m.Op1_11 1070 } 1071 return nil 1072 } 1073 1074 func (m *Op) GetOp1_12() *Op1_12 { 1075 if m != nil { 1076 return m.Op1_12 1077 } 1078 return nil 1079 } 1080 1081 func (m *Op) GetOp1_13() *Op1_13 { 1082 if m != nil { 1083 return m.Op1_13 1084 } 1085 return nil 1086 } 1087 1088 type ExtractRequest struct { 1089 // URL is an object storage URL, if it's not "" data will be extracted to 1090 // this URL rather than returned. 1091 URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` 1092 // NoObjects, if true, will cause extract to omit objects (and tags) 1093 NoObjects bool `protobuf:"varint,2,opt,name=no_objects,json=noObjects,proto3" json:"no_objects,omitempty"` 1094 // NoRepos, if true, will cause extract to omit repos, commits and branches. 1095 NoRepos bool `protobuf:"varint,3,opt,name=no_repos,json=noRepos,proto3" json:"no_repos,omitempty"` 1096 // NoPipelines, if true, will cause extract to omit pipelines. 1097 NoPipelines bool `protobuf:"varint,4,opt,name=no_pipelines,json=noPipelines,proto3" json:"no_pipelines,omitempty"` 1098 // NoEnterprise, if true, causes extract to omit the enterprise activation code 1099 NoEnterprise bool `protobuf:"varint,5,opt,name=no_enterprise,json=noEnterprise,proto3" json:"no_enterprise,omitempty"` 1100 // NoAuth, if true, causes extract to omit ACLs and robot tokens 1101 NoAuth bool `protobuf:"varint,6,opt,name=no_auth,json=noAuth,proto3" json:"no_auth,omitempty"` 1102 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1103 XXX_unrecognized []byte `json:"-"` 1104 XXX_sizecache int32 `json:"-"` 1105 } 1106 1107 func (m *ExtractRequest) Reset() { *m = ExtractRequest{} } 1108 func (m *ExtractRequest) String() string { return proto.CompactTextString(m) } 1109 func (*ExtractRequest) ProtoMessage() {} 1110 func (*ExtractRequest) Descriptor() ([]byte, []int) { 1111 return fileDescriptor_6597bb2f2302afbd, []int{9} 1112 } 1113 func (m *ExtractRequest) XXX_Unmarshal(b []byte) error { 1114 return m.Unmarshal(b) 1115 } 1116 func (m *ExtractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1117 if deterministic { 1118 return xxx_messageInfo_ExtractRequest.Marshal(b, m, deterministic) 1119 } else { 1120 b = b[:cap(b)] 1121 n, err := m.MarshalToSizedBuffer(b) 1122 if err != nil { 1123 return nil, err 1124 } 1125 return b[:n], nil 1126 } 1127 } 1128 func (m *ExtractRequest) XXX_Merge(src proto.Message) { 1129 xxx_messageInfo_ExtractRequest.Merge(m, src) 1130 } 1131 func (m *ExtractRequest) XXX_Size() int { 1132 return m.Size() 1133 } 1134 func (m *ExtractRequest) XXX_DiscardUnknown() { 1135 xxx_messageInfo_ExtractRequest.DiscardUnknown(m) 1136 } 1137 1138 var xxx_messageInfo_ExtractRequest proto.InternalMessageInfo 1139 1140 func (m *ExtractRequest) GetURL() string { 1141 if m != nil { 1142 return m.URL 1143 } 1144 return "" 1145 } 1146 1147 func (m *ExtractRequest) GetNoObjects() bool { 1148 if m != nil { 1149 return m.NoObjects 1150 } 1151 return false 1152 } 1153 1154 func (m *ExtractRequest) GetNoRepos() bool { 1155 if m != nil { 1156 return m.NoRepos 1157 } 1158 return false 1159 } 1160 1161 func (m *ExtractRequest) GetNoPipelines() bool { 1162 if m != nil { 1163 return m.NoPipelines 1164 } 1165 return false 1166 } 1167 1168 func (m *ExtractRequest) GetNoEnterprise() bool { 1169 if m != nil { 1170 return m.NoEnterprise 1171 } 1172 return false 1173 } 1174 1175 func (m *ExtractRequest) GetNoAuth() bool { 1176 if m != nil { 1177 return m.NoAuth 1178 } 1179 return false 1180 } 1181 1182 type ExtractPipelineRequest struct { 1183 Pipeline *pps6.Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"` 1184 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1185 XXX_unrecognized []byte `json:"-"` 1186 XXX_sizecache int32 `json:"-"` 1187 } 1188 1189 func (m *ExtractPipelineRequest) Reset() { *m = ExtractPipelineRequest{} } 1190 func (m *ExtractPipelineRequest) String() string { return proto.CompactTextString(m) } 1191 func (*ExtractPipelineRequest) ProtoMessage() {} 1192 func (*ExtractPipelineRequest) Descriptor() ([]byte, []int) { 1193 return fileDescriptor_6597bb2f2302afbd, []int{10} 1194 } 1195 func (m *ExtractPipelineRequest) XXX_Unmarshal(b []byte) error { 1196 return m.Unmarshal(b) 1197 } 1198 func (m *ExtractPipelineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1199 if deterministic { 1200 return xxx_messageInfo_ExtractPipelineRequest.Marshal(b, m, deterministic) 1201 } else { 1202 b = b[:cap(b)] 1203 n, err := m.MarshalToSizedBuffer(b) 1204 if err != nil { 1205 return nil, err 1206 } 1207 return b[:n], nil 1208 } 1209 } 1210 func (m *ExtractPipelineRequest) XXX_Merge(src proto.Message) { 1211 xxx_messageInfo_ExtractPipelineRequest.Merge(m, src) 1212 } 1213 func (m *ExtractPipelineRequest) XXX_Size() int { 1214 return m.Size() 1215 } 1216 func (m *ExtractPipelineRequest) XXX_DiscardUnknown() { 1217 xxx_messageInfo_ExtractPipelineRequest.DiscardUnknown(m) 1218 } 1219 1220 var xxx_messageInfo_ExtractPipelineRequest proto.InternalMessageInfo 1221 1222 func (m *ExtractPipelineRequest) GetPipeline() *pps6.Pipeline { 1223 if m != nil { 1224 return m.Pipeline 1225 } 1226 return nil 1227 } 1228 1229 type RestoreRequest struct { 1230 Op *Op `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"` 1231 // URL is an object storage URL, if it's not "" data will be restored from 1232 // this URL. 1233 URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"` 1234 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1235 XXX_unrecognized []byte `json:"-"` 1236 XXX_sizecache int32 `json:"-"` 1237 } 1238 1239 func (m *RestoreRequest) Reset() { *m = RestoreRequest{} } 1240 func (m *RestoreRequest) String() string { return proto.CompactTextString(m) } 1241 func (*RestoreRequest) ProtoMessage() {} 1242 func (*RestoreRequest) Descriptor() ([]byte, []int) { 1243 return fileDescriptor_6597bb2f2302afbd, []int{11} 1244 } 1245 func (m *RestoreRequest) XXX_Unmarshal(b []byte) error { 1246 return m.Unmarshal(b) 1247 } 1248 func (m *RestoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1249 if deterministic { 1250 return xxx_messageInfo_RestoreRequest.Marshal(b, m, deterministic) 1251 } else { 1252 b = b[:cap(b)] 1253 n, err := m.MarshalToSizedBuffer(b) 1254 if err != nil { 1255 return nil, err 1256 } 1257 return b[:n], nil 1258 } 1259 } 1260 func (m *RestoreRequest) XXX_Merge(src proto.Message) { 1261 xxx_messageInfo_RestoreRequest.Merge(m, src) 1262 } 1263 func (m *RestoreRequest) XXX_Size() int { 1264 return m.Size() 1265 } 1266 func (m *RestoreRequest) XXX_DiscardUnknown() { 1267 xxx_messageInfo_RestoreRequest.DiscardUnknown(m) 1268 } 1269 1270 var xxx_messageInfo_RestoreRequest proto.InternalMessageInfo 1271 1272 func (m *RestoreRequest) GetOp() *Op { 1273 if m != nil { 1274 return m.Op 1275 } 1276 return nil 1277 } 1278 1279 func (m *RestoreRequest) GetURL() string { 1280 if m != nil { 1281 return m.URL 1282 } 1283 return "" 1284 } 1285 1286 type ClusterInfo struct { 1287 ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 1288 DeploymentID string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` 1289 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1290 XXX_unrecognized []byte `json:"-"` 1291 XXX_sizecache int32 `json:"-"` 1292 } 1293 1294 func (m *ClusterInfo) Reset() { *m = ClusterInfo{} } 1295 func (m *ClusterInfo) String() string { return proto.CompactTextString(m) } 1296 func (*ClusterInfo) ProtoMessage() {} 1297 func (*ClusterInfo) Descriptor() ([]byte, []int) { 1298 return fileDescriptor_6597bb2f2302afbd, []int{12} 1299 } 1300 func (m *ClusterInfo) XXX_Unmarshal(b []byte) error { 1301 return m.Unmarshal(b) 1302 } 1303 func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1304 if deterministic { 1305 return xxx_messageInfo_ClusterInfo.Marshal(b, m, deterministic) 1306 } else { 1307 b = b[:cap(b)] 1308 n, err := m.MarshalToSizedBuffer(b) 1309 if err != nil { 1310 return nil, err 1311 } 1312 return b[:n], nil 1313 } 1314 } 1315 func (m *ClusterInfo) XXX_Merge(src proto.Message) { 1316 xxx_messageInfo_ClusterInfo.Merge(m, src) 1317 } 1318 func (m *ClusterInfo) XXX_Size() int { 1319 return m.Size() 1320 } 1321 func (m *ClusterInfo) XXX_DiscardUnknown() { 1322 xxx_messageInfo_ClusterInfo.DiscardUnknown(m) 1323 } 1324 1325 var xxx_messageInfo_ClusterInfo proto.InternalMessageInfo 1326 1327 func (m *ClusterInfo) GetID() string { 1328 if m != nil { 1329 return m.ID 1330 } 1331 return "" 1332 } 1333 1334 func (m *ClusterInfo) GetDeploymentID() string { 1335 if m != nil { 1336 return m.DeploymentID 1337 } 1338 return "" 1339 } 1340 1341 func init() { 1342 proto.RegisterType((*CheckAuthToken)(nil), "admin.CheckAuthToken") 1343 proto.RegisterType((*Op1_7)(nil), "admin.Op1_7") 1344 proto.RegisterType((*Op1_8)(nil), "admin.Op1_8") 1345 proto.RegisterType((*Op1_9)(nil), "admin.Op1_9") 1346 proto.RegisterType((*Op1_10)(nil), "admin.Op1_10") 1347 proto.RegisterType((*Op1_11)(nil), "admin.Op1_11") 1348 proto.RegisterType((*Op1_12)(nil), "admin.Op1_12") 1349 proto.RegisterType((*Op1_13)(nil), "admin.Op1_13") 1350 proto.RegisterType((*Op)(nil), "admin.Op") 1351 proto.RegisterType((*ExtractRequest)(nil), "admin.ExtractRequest") 1352 proto.RegisterType((*ExtractPipelineRequest)(nil), "admin.ExtractPipelineRequest") 1353 proto.RegisterType((*RestoreRequest)(nil), "admin.RestoreRequest") 1354 proto.RegisterType((*ClusterInfo)(nil), "admin.ClusterInfo") 1355 } 1356 1357 func init() { proto.RegisterFile("client/admin/admin.proto", fileDescriptor_6597bb2f2302afbd) } 1358 1359 var fileDescriptor_6597bb2f2302afbd = []byte{ 1360 // 1478 bytes of a gzipped FileDescriptorProto 1361 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x99, 0xc1, 0x72, 0xda, 0x46, 1362 0x18, 0xc7, 0x03, 0x8e, 0xc1, 0x5e, 0x83, 0xe3, 0x6e, 0x62, 0x47, 0xc6, 0xb1, 0x9d, 0xd0, 0x76, 1363 0x92, 0xa6, 0x29, 0xb0, 0xeb, 0xa4, 0x86, 0xb4, 0x6e, 0xc6, 0x10, 0x1f, 0x9c, 0xa6, 0x13, 0x57, 1364 0x4d, 0x2f, 0x9d, 0x4e, 0x35, 0x20, 0xd6, 0xa0, 0x04, 0xb4, 0xaa, 0xb4, 0x64, 0xea, 0x07, 0xe8, 1365 0xbb, 0xf4, 0x25, 0xda, 0x73, 0x8f, 0x7d, 0x82, 0x4c, 0xc7, 0xa7, 0xde, 0xf3, 0x02, 0x1d, 0xad, 1366 0x56, 0x8b, 0x24, 0x24, 0x30, 0x1a, 0x27, 0x07, 0x33, 0xb2, 0xf6, 0xff, 0x7d, 0xfb, 0xe9, 0xfb, 1367 0xef, 0x6f, 0x67, 0x11, 0x40, 0xd1, 0x07, 0x06, 0x31, 0x59, 0xb5, 0xdd, 0x1d, 0x1a, 0xa6, 0xf7, 1368 0x59, 0xb1, 0x6c, 0xca, 0x28, 0x5c, 0xe4, 0xff, 0x94, 0xb6, 0x7a, 0x94, 0xf6, 0x06, 0xa4, 0xca, 1369 0x6f, 0x76, 0x46, 0xa7, 0x55, 0x32, 0xb4, 0xd8, 0x99, 0xa7, 0x29, 0xdd, 0xe8, 0xd1, 0x1e, 0xe5, 1370 0x97, 0x55, 0xf7, 0x4a, 0xdc, 0xdd, 0x0d, 0xe5, 0x7c, 0x83, 0xb4, 0xfd, 0xaa, 0x75, 0xea, 0xb8, 1371 0x7f, 0x53, 0x04, 0x96, 0xe3, 0xfe, 0x25, 0x09, 0xea, 0xb3, 0x32, 0xd4, 0x67, 0x65, 0x68, 0xcc, 1372 0xca, 0xd0, 0x88, 0x64, 0xb8, 0x1d, 0x15, 0xa0, 0x5a, 0x24, 0x45, 0xac, 0x62, 0x46, 0x0e, 0x34, 1373 0x33, 0x07, 0x8a, 0xe4, 0x28, 0xc7, 0x28, 0xda, 0x23, 0xd6, 0xe7, 0x1f, 0x42, 0x53, 0x89, 0xd1, 1374 0x10, 0x93, 0x11, 0xdb, 0xb2, 0x0d, 0x87, 0x04, 0x2e, 0x13, 0x67, 0xc5, 0x33, 0xeb, 0xc2, 0x33, 1375 0xeb, 0xc2, 0x17, 0xa8, 0x0b, 0x4f, 0xad, 0xeb, 0x86, 0xd0, 0x87, 0x6b, 0x91, 0x77, 0x43, 0xf3, 1376 0x6f, 0xf8, 0xb9, 0x23, 0x73, 0xfa, 0x75, 0x4d, 0x99, 0xa7, 0xbc, 0x06, 0x56, 0x5b, 0x7d, 0xa2, 1377 0xbf, 0x3e, 0x1c, 0xb1, 0xfe, 0x4b, 0xfa, 0x9a, 0x98, 0xe5, 0xbf, 0xb2, 0x60, 0xf1, 0x85, 0x85, 1378 0xb4, 0x7d, 0x88, 0x40, 0x8e, 0x76, 0x5e, 0x11, 0x9d, 0x29, 0xd9, 0xdb, 0x99, 0x7b, 0x2b, 0x78, 1379 0xb3, 0x62, 0x9d, 0x3a, 0x1a, 0xd2, 0xf6, 0x2b, 0x27, 0x23, 0xf6, 0x82, 0x8f, 0xa8, 0xe4, 0xd7, 1380 0x11, 0x71, 0x98, 0x2a, 0x84, 0xf0, 0x73, 0xb0, 0xc0, 0xda, 0x3d, 0x65, 0x21, 0xa2, 0x7f, 0xd9, 1381 0xee, 0x85, 0xf5, 0xae, 0x0a, 0x56, 0xc0, 0x55, 0x9b, 0x58, 0x54, 0xb9, 0xca, 0xd5, 0x25, 0xa9, 1382 0x6e, 0xd9, 0xa4, 0xcd, 0x88, 0x4a, 0x2c, 0xea, 0xcb, 0xb9, 0x0e, 0xee, 0x81, 0x9c, 0x4e, 0x87, 1383 0x43, 0x83, 0x29, 0x8b, 0x3c, 0x62, 0x4b, 0x46, 0x34, 0x47, 0xc6, 0xa0, 0xdb, 0xe2, 0x63, 0xb2, 1384 0x22, 0x4f, 0x0a, 0x1f, 0x82, 0x5c, 0xc7, 0x6e, 0x9b, 0x7a, 0x5f, 0xc9, 0xf1, 0xa0, 0x5b, 0x91, 1385 0x69, 0x9a, 0x7c, 0x50, 0x46, 0x79, 0x5a, 0xf8, 0x18, 0x2c, 0x59, 0x86, 0x45, 0x06, 0x86, 0x49, 1386 0x94, 0x3c, 0x8f, 0xdb, 0xa9, 0x58, 0x56, 0x30, 0xee, 0x44, 0x0c, 0xfb, 0x91, 0x52, 0x2f, 0x1b, 1387 0x58, 0x4f, 0x6c, 0x60, 0x7d, 0xce, 0x06, 0xd6, 0xe7, 0x6a, 0x60, 0x7d, 0xee, 0x06, 0xd6, 0xd3, 1388 0x34, 0xb0, 0x9e, 0xb2, 0x81, 0xf5, 0x99, 0x0d, 0x7c, 0xbb, 0xe0, 0x35, 0xb0, 0x91, 0xd8, 0xc0, 1389 0x46, 0x72, 0x03, 0x0f, 0x41, 0x51, 0xe7, 0xf9, 0x35, 0x11, 0xb9, 0x1c, 0xaa, 0xba, 0x21, 0x66, 1390 0x0f, 0x07, 0x17, 0xf4, 0xc0, 0xcd, 0x78, 0x0f, 0x1a, 0x89, 0x1e, 0x2c, 0x76, 0x06, 0x54, 0x7f, 1391 0xad, 0x00, 0x2e, 0x57, 0x82, 0x15, 0x36, 0xdd, 0x01, 0x5f, 0xed, 0xc9, 0x12, 0x3c, 0x6b, 0xcc, 1392 0xed, 0x59, 0x23, 0x8d, 0x67, 0x8d, 0x94, 0x9e, 0x35, 0x66, 0x79, 0xe6, 0xf6, 0xec, 0x15, 0xed, 1393 0x28, 0x4b, 0x7e, 0xcf, 0x42, 0x61, 0xcf, 0x68, 0x47, 0xf6, 0xec, 0x15, 0xed, 0x94, 0xff, 0x5b, 1394 0x00, 0x39, 0xd7, 0x60, 0x54, 0x83, 0x38, 0xe2, 0xb0, 0xdf, 0x10, 0x54, 0x4b, 0xb6, 0xb8, 0x19, 1395 0x6f, 0xf1, 0xf6, 0x38, 0x74, 0xb6, 0xc7, 0x0f, 0x82, 0x1e, 0x07, 0x26, 0x8d, 0x37, 0xb9, 0x1a, 1396 0x36, 0x79, 0x33, 0x54, 0x64, 0x9c, 0xcb, 0xd5, 0x90, 0xcb, 0x5b, 0xd1, 0xca, 0x26, 0x6d, 0x7e, 1397 0x18, 0xb1, 0xf9, 0xd6, 0x38, 0x64, 0x8a, 0xcf, 0x8f, 0x22, 0x3e, 0x4f, 0xb4, 0x20, 0xde, 0xe8, 1398 0xaf, 0x26, 0x8c, 0xde, 0x15, 0x8e, 0xc9, 0xc0, 0x64, 0xa7, 0x1f, 0x04, 0x9d, 0x2e, 0x45, 0xe3, 1399 0xa2, 0x56, 0xbf, 0xcb, 0x0b, 0xab, 0x51, 0xb2, 0xd5, 0x28, 0xbd, 0xd5, 0x28, 0xb5, 0xd5, 0x68, 1400 0x4e, 0xab, 0xd1, 0x9c, 0x56, 0xa3, 0xf9, 0xad, 0x46, 0xa9, 0xac, 0x46, 0x69, 0xad, 0x46, 0x29, 1401 0xad, 0x46, 0xf1, 0x56, 0x43, 0x04, 0xf2, 0x0e, 0x61, 0x5a, 0x5b, 0x1f, 0x28, 0x2b, 0x62, 0x2f, 1402 0x74, 0x0f, 0x23, 0x5e, 0xc8, 0x0f, 0x84, 0x1d, 0xb6, 0x9e, 0xcb, 0xea, 0x1c, 0xc2, 0x0e, 0xf5, 1403 0x01, 0xd4, 0x81, 0xe2, 0x86, 0xe8, 0x83, 0x91, 0xc3, 0x88, 0xad, 0xd9, 0x74, 0x40, 0xb4, 0x8e, 1404 0x61, 0x76, 0x0d, 0xb3, 0xa7, 0x14, 0x78, 0x8e, 0xfb, 0x81, 0x1c, 0xdf, 0xd1, 0xae, 0x71, 0x7a, 1405 0xd6, 0xf2, 0xc4, 0x2a, 0x1d, 0x90, 0xa6, 0x27, 0xf5, 0xb3, 0xae, 0x3b, 0x84, 0x4d, 0x8e, 0xc2, 1406 0x67, 0xe0, 0x1a, 0xaf, 0xcb, 0xcd, 0xa3, 0x53, 0xf3, 0xd4, 0xe8, 0x29, 0x45, 0x9e, 0xbb, 0x1c, 1407 0xae, 0xaf, 0xc5, 0xc7, 0x46, 0x76, 0x9b, 0x19, 0xd4, 0xf4, 0x73, 0x16, 0xdd, 0x4a, 0x47, 0xac, 1408 0xef, 0x0d, 0xc2, 0x27, 0xa0, 0xd8, 0xd6, 0x99, 0xf1, 0xc6, 0x5d, 0x91, 0x6e, 0xb0, 0xb2, 0x2a, 1409 0x7a, 0x33, 0xce, 0x74, 0x28, 0xc6, 0xe5, 0x62, 0xf4, 0x03, 0xdc, 0x34, 0xf0, 0x04, 0x40, 0x9b, 1410 0x38, 0x8c, 0xda, 0x5e, 0xbc, 0xc6, 0xdc, 0x33, 0x97, 0x72, 0x6d, 0xa2, 0x1e, 0xd5, 0x13, 0xc9, 1411 0x63, 0x99, 0x9f, 0x6d, 0xcd, 0x8e, 0x0c, 0xc0, 0xef, 0xc1, 0x75, 0x59, 0xd2, 0xf8, 0x78, 0xa7, 1412 0xac, 0xf1, 0x94, 0xb7, 0x2b, 0xe3, 0x5b, 0xf1, 0xe5, 0x41, 0x3f, 0xf8, 0x48, 0x0a, 0xe1, 0x13, 1413 0xb0, 0xa6, 0xbb, 0x87, 0xc2, 0x60, 0x89, 0x1f, 0xf1, 0x7c, 0xeb, 0x15, 0xef, 0x8b, 0x51, 0xf8, 1414 0xcc, 0xa8, 0xae, 0xea, 0xe1, 0x33, 0xa4, 0xa4, 0x1e, 0x27, 0x53, 0x8f, 0xd3, 0x53, 0x8f, 0x53, 1415 0x53, 0x8f, 0xe7, 0xa4, 0x1e, 0xcf, 0x49, 0x3d, 0x9e, 0x9f, 0x7a, 0x9c, 0x8a, 0x7a, 0x9c, 0x96, 1416 0x7a, 0x9c, 0x92, 0x7a, 0x3c, 0x3f, 0xf5, 0xf8, 0x12, 0xa8, 0xc7, 0xef, 0x91, 0x7a, 0x7c, 0x69, 1417 0xd4, 0xe3, 0x4b, 0xa1, 0x1e, 0xbf, 0x2f, 0xea, 0xf1, 0x87, 0xa1, 0xfe, 0x0f, 0x9f, 0xfa, 0x3d, 1418 0xf8, 0x45, 0x84, 0xfa, 0x75, 0x77, 0xdd, 0x26, 0x03, 0x7f, 0x10, 0x0f, 0x3c, 0x3f, 0x4c, 0x5f, 1419 0x80, 0xf5, 0xbb, 0x41, 0xd6, 0xbd, 0xa9, 0xe2, 0x31, 0xbf, 0x1f, 0xc6, 0xfc, 0x86, 0x5f, 0x55, 1420 0x1c, 0xe1, 0xf7, 0x43, 0x84, 0x6f, 0x04, 0x4a, 0x99, 0x84, 0xbb, 0x1a, 0x81, 0xfb, 0x26, 0x57, 1421 0x4f, 0xe1, 0xba, 0x16, 0xe1, 0x3a, 0xf8, 0xa4, 0xf1, 0x48, 0x7f, 0x39, 0x81, 0x34, 0x47, 0x73, 1422 0x26, 0xcd, 0x77, 0x83, 0x34, 0xaf, 0x07, 0x42, 0xa2, 0x20, 0x3f, 0x88, 0x82, 0x7c, 0x9d, 0x2f, 1423 0xcc, 0x04, 0x86, 0x7f, 0x99, 0xc9, 0xf0, 0xa7, 0x5e, 0x78, 0x4a, 0x7c, 0x8f, 0x92, 0xf0, 0xdd, 1424 0x96, 0x55, 0x5d, 0x84, 0xdc, 0xc7, 0xf1, 0xe4, 0xae, 0x7b, 0x49, 0xa6, 0x43, 0xfb, 0xed, 0x14, 1425 0x68, 0x45, 0x15, 0x17, 0xe7, 0xf5, 0xf9, 0x34, 0x5e, 0xb7, 0x02, 0xbc, 0x7e, 0x18, 0x54, 0x7f, 1426 0xcf, 0x82, 0xec, 0x0b, 0x0b, 0xde, 0x01, 0x8b, 0xd4, 0x42, 0xda, 0xbe, 0x92, 0xe1, 0xc1, 0x05, 1427 0x11, 0xcc, 0x5f, 0xff, 0xa8, 0x57, 0xa9, 0x85, 0xf6, 0x7d, 0x49, 0x5d, 0x80, 0x1c, 0x94, 0xd4, 1428 0xb9, 0xa4, 0xee, 0x4b, 0x1a, 0x02, 0xc0, 0xa0, 0xa4, 0xc1, 0x25, 0x0d, 0xf8, 0x09, 0xc8, 0x51, 1429 0xfe, 0x85, 0x4f, 0xe0, 0x54, 0x0c, 0x68, 0x50, 0x4d, 0x75, 0xe3, 0x51, 0x4d, 0xaa, 0x90, 0xc0, 1430 0x28, 0xa4, 0x42, 0x9e, 0x0a, 0x49, 0x15, 0x16, 0xec, 0x84, 0x54, 0xd8, 0x53, 0x61, 0xa9, 0xda, 1431 0x13, 0xb4, 0x84, 0x54, 0x7b, 0x9e, 0x6a, 0xaf, 0xfc, 0x67, 0x06, 0xac, 0x1e, 0xfd, 0xc6, 0xec, 1432 0xb6, 0xdc, 0x28, 0xe0, 0x1a, 0x58, 0xf8, 0x51, 0x7d, 0xce, 0x3b, 0xb2, 0xac, 0xba, 0x97, 0x70, 1433 0x1b, 0x00, 0x93, 0x8a, 0x9d, 0xc9, 0xe1, 0x7d, 0x58, 0x52, 0x97, 0x4d, 0xea, 0xed, 0x2f, 0x0e, 1434 0xdc, 0x04, 0x4b, 0x26, 0xd5, 0xdc, 0x7d, 0xc0, 0xe1, 0x1d, 0x58, 0x52, 0xf3, 0x26, 0x75, 0xf7, 1435 0x08, 0x07, 0xde, 0x01, 0x05, 0x93, 0x6a, 0x3e, 0x8b, 0x0e, 0x7f, 0xf8, 0x25, 0x75, 0xc5, 0xa4, 1436 0x3e, 0xaf, 0x0e, 0xfc, 0x18, 0x14, 0x4d, 0x1a, 0x5c, 0x12, 0x8b, 0x5c, 0x53, 0x30, 0x69, 0xc0, 1437 0xef, 0x9b, 0x20, 0x6f, 0x52, 0x6f, 0x01, 0xe7, 0xf8, 0x70, 0xce, 0xa4, 0xae, 0x99, 0xe5, 0x16, 1438 0xd8, 0x10, 0xe5, 0x47, 0x76, 0x00, 0xf8, 0x59, 0x60, 0xbf, 0xc8, 0x88, 0x0e, 0xb8, 0xf0, 0x4b, 1439 0xdd, 0xf8, 0x7d, 0xcb, 0x01, 0x58, 0x15, 0x0b, 0xd9, 0x0f, 0xde, 0x04, 0x59, 0x6a, 0x89, 0xb0, 1440 0x65, 0xd9, 0x38, 0x35, 0x4b, 0x2d, 0xbf, 0x3d, 0x59, 0xd9, 0x9e, 0xf2, 0xcf, 0x60, 0x45, 0x00, 1441 0x7c, 0x6c, 0x9e, 0x52, 0xb8, 0x01, 0xb2, 0x46, 0xd7, 0x6b, 0x5f, 0x33, 0x77, 0xfe, 0x76, 0x37, 1442 0x7b, 0xfc, 0x54, 0xcd, 0x1a, 0x5d, 0xf8, 0x08, 0x14, 0xbb, 0xc4, 0x1a, 0xd0, 0xb3, 0x21, 0x31, 1443 0x99, 0x66, 0x74, 0xbd, 0x14, 0xcd, 0xb5, 0xf3, 0xb7, 0xbb, 0x85, 0xa7, 0x72, 0xe0, 0xf8, 0xa9, 1444 0x5a, 0x18, 0xcb, 0x8e, 0xbb, 0xf8, 0x5d, 0x06, 0x2c, 0x1c, 0x9e, 0x1c, 0xc3, 0x2a, 0xc8, 0x8b, 1445 0x27, 0x85, 0xfe, 0x1a, 0x0f, 0x1b, 0x57, 0x1a, 0x17, 0x5a, 0xbe, 0x52, 0xcb, 0xc0, 0x03, 0x70, 1446 0x2d, 0xd2, 0x1a, 0xb8, 0x1d, 0x0e, 0x8c, 0xb4, 0x2c, 0x94, 0x00, 0x7e, 0x0d, 0xf2, 0xa2, 0x29, 1447 0x72, 0xbe, 0x70, 0x93, 0x4a, 0x1b, 0x15, 0xef, 0x07, 0x81, 0x8a, 0xff, 0x83, 0x40, 0xe5, 0x68, 1448 0x68, 0xb1, 0xb3, 0xf2, 0x95, 0x7b, 0x19, 0xf8, 0x0d, 0x58, 0x3d, 0x36, 0x1d, 0x8b, 0xe8, 0xfe, 1449 0xde, 0x06, 0x13, 0xd4, 0x25, 0xe8, 0x03, 0x3b, 0x6e, 0x61, 0xf9, 0x4a, 0xf3, 0xe0, 0xef, 0xf3, 1450 0x9d, 0xcc, 0x3f, 0xe7, 0x3b, 0x99, 0x7f, 0xcf, 0x77, 0x32, 0x3f, 0x55, 0x7b, 0x06, 0xeb, 0x8f, 1451 0x3a, 0x15, 0x9d, 0x0e, 0xab, 0x56, 0x5b, 0xef, 0x9f, 0x75, 0x89, 0x1d, 0xbc, 0x72, 0x6c, 0xbd, 1452 0x1a, 0x7c, 0xbf, 0xdc, 0xc9, 0xf1, 0x49, 0xf6, 0xfe, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xca, 1453 0x3d, 0x60, 0xd4, 0x18, 0x00, 0x00, 1454 } 1455 1456 // Reference imports to suppress errors if they are not otherwise used. 1457 var _ context.Context 1458 var _ grpc.ClientConn 1459 1460 // This is a compile-time assertion to ensure that this generated file 1461 // is compatible with the grpc package it is being compiled against. 1462 const _ = grpc.SupportPackageIsVersion4 1463 1464 // APIClient is the client API for API service. 1465 // 1466 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1467 type APIClient interface { 1468 Extract(ctx context.Context, in *ExtractRequest, opts ...grpc.CallOption) (API_ExtractClient, error) 1469 ExtractPipeline(ctx context.Context, in *ExtractPipelineRequest, opts ...grpc.CallOption) (*Op, error) 1470 Restore(ctx context.Context, opts ...grpc.CallOption) (API_RestoreClient, error) 1471 InspectCluster(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ClusterInfo, error) 1472 } 1473 1474 type aPIClient struct { 1475 cc *grpc.ClientConn 1476 } 1477 1478 func NewAPIClient(cc *grpc.ClientConn) APIClient { 1479 return &aPIClient{cc} 1480 } 1481 1482 func (c *aPIClient) Extract(ctx context.Context, in *ExtractRequest, opts ...grpc.CallOption) (API_ExtractClient, error) { 1483 stream, err := c.cc.NewStream(ctx, &_API_serviceDesc.Streams[0], "/admin.API/Extract", opts...) 1484 if err != nil { 1485 return nil, err 1486 } 1487 x := &aPIExtractClient{stream} 1488 if err := x.ClientStream.SendMsg(in); err != nil { 1489 return nil, err 1490 } 1491 if err := x.ClientStream.CloseSend(); err != nil { 1492 return nil, err 1493 } 1494 return x, nil 1495 } 1496 1497 type API_ExtractClient interface { 1498 Recv() (*Op, error) 1499 grpc.ClientStream 1500 } 1501 1502 type aPIExtractClient struct { 1503 grpc.ClientStream 1504 } 1505 1506 func (x *aPIExtractClient) Recv() (*Op, error) { 1507 m := new(Op) 1508 if err := x.ClientStream.RecvMsg(m); err != nil { 1509 return nil, err 1510 } 1511 return m, nil 1512 } 1513 1514 func (c *aPIClient) ExtractPipeline(ctx context.Context, in *ExtractPipelineRequest, opts ...grpc.CallOption) (*Op, error) { 1515 out := new(Op) 1516 err := c.cc.Invoke(ctx, "/admin.API/ExtractPipeline", in, out, opts...) 1517 if err != nil { 1518 return nil, err 1519 } 1520 return out, nil 1521 } 1522 1523 func (c *aPIClient) Restore(ctx context.Context, opts ...grpc.CallOption) (API_RestoreClient, error) { 1524 stream, err := c.cc.NewStream(ctx, &_API_serviceDesc.Streams[1], "/admin.API/Restore", opts...) 1525 if err != nil { 1526 return nil, err 1527 } 1528 x := &aPIRestoreClient{stream} 1529 return x, nil 1530 } 1531 1532 type API_RestoreClient interface { 1533 Send(*RestoreRequest) error 1534 CloseAndRecv() (*types.Empty, error) 1535 grpc.ClientStream 1536 } 1537 1538 type aPIRestoreClient struct { 1539 grpc.ClientStream 1540 } 1541 1542 func (x *aPIRestoreClient) Send(m *RestoreRequest) error { 1543 return x.ClientStream.SendMsg(m) 1544 } 1545 1546 func (x *aPIRestoreClient) CloseAndRecv() (*types.Empty, error) { 1547 if err := x.ClientStream.CloseSend(); err != nil { 1548 return nil, err 1549 } 1550 m := new(types.Empty) 1551 if err := x.ClientStream.RecvMsg(m); err != nil { 1552 return nil, err 1553 } 1554 return m, nil 1555 } 1556 1557 func (c *aPIClient) InspectCluster(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ClusterInfo, error) { 1558 out := new(ClusterInfo) 1559 err := c.cc.Invoke(ctx, "/admin.API/InspectCluster", in, out, opts...) 1560 if err != nil { 1561 return nil, err 1562 } 1563 return out, nil 1564 } 1565 1566 // APIServer is the server API for API service. 1567 type APIServer interface { 1568 Extract(*ExtractRequest, API_ExtractServer) error 1569 ExtractPipeline(context.Context, *ExtractPipelineRequest) (*Op, error) 1570 Restore(API_RestoreServer) error 1571 InspectCluster(context.Context, *types.Empty) (*ClusterInfo, error) 1572 } 1573 1574 // UnimplementedAPIServer can be embedded to have forward compatible implementations. 1575 type UnimplementedAPIServer struct { 1576 } 1577 1578 func (*UnimplementedAPIServer) Extract(req *ExtractRequest, srv API_ExtractServer) error { 1579 return status.Errorf(codes.Unimplemented, "method Extract not implemented") 1580 } 1581 func (*UnimplementedAPIServer) ExtractPipeline(ctx context.Context, req *ExtractPipelineRequest) (*Op, error) { 1582 return nil, status.Errorf(codes.Unimplemented, "method ExtractPipeline not implemented") 1583 } 1584 func (*UnimplementedAPIServer) Restore(srv API_RestoreServer) error { 1585 return status.Errorf(codes.Unimplemented, "method Restore not implemented") 1586 } 1587 func (*UnimplementedAPIServer) InspectCluster(ctx context.Context, req *types.Empty) (*ClusterInfo, error) { 1588 return nil, status.Errorf(codes.Unimplemented, "method InspectCluster not implemented") 1589 } 1590 1591 func RegisterAPIServer(s *grpc.Server, srv APIServer) { 1592 s.RegisterService(&_API_serviceDesc, srv) 1593 } 1594 1595 func _API_Extract_Handler(srv interface{}, stream grpc.ServerStream) error { 1596 m := new(ExtractRequest) 1597 if err := stream.RecvMsg(m); err != nil { 1598 return err 1599 } 1600 return srv.(APIServer).Extract(m, &aPIExtractServer{stream}) 1601 } 1602 1603 type API_ExtractServer interface { 1604 Send(*Op) error 1605 grpc.ServerStream 1606 } 1607 1608 type aPIExtractServer struct { 1609 grpc.ServerStream 1610 } 1611 1612 func (x *aPIExtractServer) Send(m *Op) error { 1613 return x.ServerStream.SendMsg(m) 1614 } 1615 1616 func _API_ExtractPipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1617 in := new(ExtractPipelineRequest) 1618 if err := dec(in); err != nil { 1619 return nil, err 1620 } 1621 if interceptor == nil { 1622 return srv.(APIServer).ExtractPipeline(ctx, in) 1623 } 1624 info := &grpc.UnaryServerInfo{ 1625 Server: srv, 1626 FullMethod: "/admin.API/ExtractPipeline", 1627 } 1628 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1629 return srv.(APIServer).ExtractPipeline(ctx, req.(*ExtractPipelineRequest)) 1630 } 1631 return interceptor(ctx, in, info, handler) 1632 } 1633 1634 func _API_Restore_Handler(srv interface{}, stream grpc.ServerStream) error { 1635 return srv.(APIServer).Restore(&aPIRestoreServer{stream}) 1636 } 1637 1638 type API_RestoreServer interface { 1639 SendAndClose(*types.Empty) error 1640 Recv() (*RestoreRequest, error) 1641 grpc.ServerStream 1642 } 1643 1644 type aPIRestoreServer struct { 1645 grpc.ServerStream 1646 } 1647 1648 func (x *aPIRestoreServer) SendAndClose(m *types.Empty) error { 1649 return x.ServerStream.SendMsg(m) 1650 } 1651 1652 func (x *aPIRestoreServer) Recv() (*RestoreRequest, error) { 1653 m := new(RestoreRequest) 1654 if err := x.ServerStream.RecvMsg(m); err != nil { 1655 return nil, err 1656 } 1657 return m, nil 1658 } 1659 1660 func _API_InspectCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1661 in := new(types.Empty) 1662 if err := dec(in); err != nil { 1663 return nil, err 1664 } 1665 if interceptor == nil { 1666 return srv.(APIServer).InspectCluster(ctx, in) 1667 } 1668 info := &grpc.UnaryServerInfo{ 1669 Server: srv, 1670 FullMethod: "/admin.API/InspectCluster", 1671 } 1672 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1673 return srv.(APIServer).InspectCluster(ctx, req.(*types.Empty)) 1674 } 1675 return interceptor(ctx, in, info, handler) 1676 } 1677 1678 var _API_serviceDesc = grpc.ServiceDesc{ 1679 ServiceName: "admin.API", 1680 HandlerType: (*APIServer)(nil), 1681 Methods: []grpc.MethodDesc{ 1682 { 1683 MethodName: "ExtractPipeline", 1684 Handler: _API_ExtractPipeline_Handler, 1685 }, 1686 { 1687 MethodName: "InspectCluster", 1688 Handler: _API_InspectCluster_Handler, 1689 }, 1690 }, 1691 Streams: []grpc.StreamDesc{ 1692 { 1693 StreamName: "Extract", 1694 Handler: _API_Extract_Handler, 1695 ServerStreams: true, 1696 }, 1697 { 1698 StreamName: "Restore", 1699 Handler: _API_Restore_Handler, 1700 ClientStreams: true, 1701 }, 1702 }, 1703 Metadata: "client/admin/admin.proto", 1704 } 1705 1706 func (m *CheckAuthToken) Marshal() (dAtA []byte, err error) { 1707 size := m.Size() 1708 dAtA = make([]byte, size) 1709 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1710 if err != nil { 1711 return nil, err 1712 } 1713 return dAtA[:n], nil 1714 } 1715 1716 func (m *CheckAuthToken) MarshalTo(dAtA []byte) (int, error) { 1717 size := m.Size() 1718 return m.MarshalToSizedBuffer(dAtA[:size]) 1719 } 1720 1721 func (m *CheckAuthToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1722 i := len(dAtA) 1723 _ = i 1724 var l int 1725 _ = l 1726 if m.XXX_unrecognized != nil { 1727 i -= len(m.XXX_unrecognized) 1728 copy(dAtA[i:], m.XXX_unrecognized) 1729 } 1730 return len(dAtA) - i, nil 1731 } 1732 1733 func (m *Op1_7) Marshal() (dAtA []byte, err error) { 1734 size := m.Size() 1735 dAtA = make([]byte, size) 1736 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1737 if err != nil { 1738 return nil, err 1739 } 1740 return dAtA[:n], nil 1741 } 1742 1743 func (m *Op1_7) MarshalTo(dAtA []byte) (int, error) { 1744 size := m.Size() 1745 return m.MarshalToSizedBuffer(dAtA[:size]) 1746 } 1747 1748 func (m *Op1_7) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1749 i := len(dAtA) 1750 _ = i 1751 var l int 1752 _ = l 1753 if m.XXX_unrecognized != nil { 1754 i -= len(m.XXX_unrecognized) 1755 copy(dAtA[i:], m.XXX_unrecognized) 1756 } 1757 if m.Pipeline != nil { 1758 { 1759 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 1760 if err != nil { 1761 return 0, err 1762 } 1763 i -= size 1764 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1765 } 1766 i-- 1767 dAtA[i] = 0x3a 1768 } 1769 if m.Branch != nil { 1770 { 1771 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 1772 if err != nil { 1773 return 0, err 1774 } 1775 i -= size 1776 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1777 } 1778 i-- 1779 dAtA[i] = 0x32 1780 } 1781 if m.Commit != nil { 1782 { 1783 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 1784 if err != nil { 1785 return 0, err 1786 } 1787 i -= size 1788 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1789 } 1790 i-- 1791 dAtA[i] = 0x2a 1792 } 1793 if m.Repo != nil { 1794 { 1795 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 1796 if err != nil { 1797 return 0, err 1798 } 1799 i -= size 1800 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1801 } 1802 i-- 1803 dAtA[i] = 0x22 1804 } 1805 if m.Tag != nil { 1806 { 1807 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 1808 if err != nil { 1809 return 0, err 1810 } 1811 i -= size 1812 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1813 } 1814 i-- 1815 dAtA[i] = 0x1a 1816 } 1817 if m.Object != nil { 1818 { 1819 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 1820 if err != nil { 1821 return 0, err 1822 } 1823 i -= size 1824 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1825 } 1826 i-- 1827 dAtA[i] = 0x12 1828 } 1829 return len(dAtA) - i, nil 1830 } 1831 1832 func (m *Op1_8) Marshal() (dAtA []byte, err error) { 1833 size := m.Size() 1834 dAtA = make([]byte, size) 1835 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1836 if err != nil { 1837 return nil, err 1838 } 1839 return dAtA[:n], nil 1840 } 1841 1842 func (m *Op1_8) MarshalTo(dAtA []byte) (int, error) { 1843 size := m.Size() 1844 return m.MarshalToSizedBuffer(dAtA[:size]) 1845 } 1846 1847 func (m *Op1_8) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1848 i := len(dAtA) 1849 _ = i 1850 var l int 1851 _ = l 1852 if m.XXX_unrecognized != nil { 1853 i -= len(m.XXX_unrecognized) 1854 copy(dAtA[i:], m.XXX_unrecognized) 1855 } 1856 if m.Pipeline != nil { 1857 { 1858 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 1859 if err != nil { 1860 return 0, err 1861 } 1862 i -= size 1863 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1864 } 1865 i-- 1866 dAtA[i] = 0x3a 1867 } 1868 if m.Branch != nil { 1869 { 1870 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 1871 if err != nil { 1872 return 0, err 1873 } 1874 i -= size 1875 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1876 } 1877 i-- 1878 dAtA[i] = 0x32 1879 } 1880 if m.Commit != nil { 1881 { 1882 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 1883 if err != nil { 1884 return 0, err 1885 } 1886 i -= size 1887 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1888 } 1889 i-- 1890 dAtA[i] = 0x2a 1891 } 1892 if m.Repo != nil { 1893 { 1894 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 1895 if err != nil { 1896 return 0, err 1897 } 1898 i -= size 1899 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1900 } 1901 i-- 1902 dAtA[i] = 0x22 1903 } 1904 if m.Tag != nil { 1905 { 1906 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 1907 if err != nil { 1908 return 0, err 1909 } 1910 i -= size 1911 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1912 } 1913 i-- 1914 dAtA[i] = 0x1a 1915 } 1916 if m.Object != nil { 1917 { 1918 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 1919 if err != nil { 1920 return 0, err 1921 } 1922 i -= size 1923 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1924 } 1925 i-- 1926 dAtA[i] = 0x12 1927 } 1928 return len(dAtA) - i, nil 1929 } 1930 1931 func (m *Op1_9) Marshal() (dAtA []byte, err error) { 1932 size := m.Size() 1933 dAtA = make([]byte, size) 1934 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1935 if err != nil { 1936 return nil, err 1937 } 1938 return dAtA[:n], nil 1939 } 1940 1941 func (m *Op1_9) MarshalTo(dAtA []byte) (int, error) { 1942 size := m.Size() 1943 return m.MarshalToSizedBuffer(dAtA[:size]) 1944 } 1945 1946 func (m *Op1_9) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1947 i := len(dAtA) 1948 _ = i 1949 var l int 1950 _ = l 1951 if m.XXX_unrecognized != nil { 1952 i -= len(m.XXX_unrecognized) 1953 copy(dAtA[i:], m.XXX_unrecognized) 1954 } 1955 if m.Block != nil { 1956 { 1957 size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) 1958 if err != nil { 1959 return 0, err 1960 } 1961 i -= size 1962 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1963 } 1964 i-- 1965 dAtA[i] = 0x52 1966 } 1967 if m.CreateObject != nil { 1968 { 1969 size, err := m.CreateObject.MarshalToSizedBuffer(dAtA[:i]) 1970 if err != nil { 1971 return 0, err 1972 } 1973 i -= size 1974 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1975 } 1976 i-- 1977 dAtA[i] = 0x4a 1978 } 1979 if m.Job != nil { 1980 { 1981 size, err := m.Job.MarshalToSizedBuffer(dAtA[:i]) 1982 if err != nil { 1983 return 0, err 1984 } 1985 i -= size 1986 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1987 } 1988 i-- 1989 dAtA[i] = 0x42 1990 } 1991 if m.Pipeline != nil { 1992 { 1993 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 1994 if err != nil { 1995 return 0, err 1996 } 1997 i -= size 1998 i = encodeVarintAdmin(dAtA, i, uint64(size)) 1999 } 2000 i-- 2001 dAtA[i] = 0x3a 2002 } 2003 if m.Branch != nil { 2004 { 2005 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 2006 if err != nil { 2007 return 0, err 2008 } 2009 i -= size 2010 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2011 } 2012 i-- 2013 dAtA[i] = 0x32 2014 } 2015 if m.Commit != nil { 2016 { 2017 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 2018 if err != nil { 2019 return 0, err 2020 } 2021 i -= size 2022 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2023 } 2024 i-- 2025 dAtA[i] = 0x2a 2026 } 2027 if m.Repo != nil { 2028 { 2029 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 2030 if err != nil { 2031 return 0, err 2032 } 2033 i -= size 2034 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2035 } 2036 i-- 2037 dAtA[i] = 0x22 2038 } 2039 if m.Tag != nil { 2040 { 2041 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 2042 if err != nil { 2043 return 0, err 2044 } 2045 i -= size 2046 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2047 } 2048 i-- 2049 dAtA[i] = 0x1a 2050 } 2051 if m.Object != nil { 2052 { 2053 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 2054 if err != nil { 2055 return 0, err 2056 } 2057 i -= size 2058 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2059 } 2060 i-- 2061 dAtA[i] = 0x12 2062 } 2063 return len(dAtA) - i, nil 2064 } 2065 2066 func (m *Op1_10) Marshal() (dAtA []byte, err error) { 2067 size := m.Size() 2068 dAtA = make([]byte, size) 2069 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2070 if err != nil { 2071 return nil, err 2072 } 2073 return dAtA[:n], nil 2074 } 2075 2076 func (m *Op1_10) MarshalTo(dAtA []byte) (int, error) { 2077 size := m.Size() 2078 return m.MarshalToSizedBuffer(dAtA[:size]) 2079 } 2080 2081 func (m *Op1_10) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2082 i := len(dAtA) 2083 _ = i 2084 var l int 2085 _ = l 2086 if m.XXX_unrecognized != nil { 2087 i -= len(m.XXX_unrecognized) 2088 copy(dAtA[i:], m.XXX_unrecognized) 2089 } 2090 if m.Block != nil { 2091 { 2092 size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) 2093 if err != nil { 2094 return 0, err 2095 } 2096 i -= size 2097 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2098 } 2099 i-- 2100 dAtA[i] = 0x52 2101 } 2102 if m.CreateObject != nil { 2103 { 2104 size, err := m.CreateObject.MarshalToSizedBuffer(dAtA[:i]) 2105 if err != nil { 2106 return 0, err 2107 } 2108 i -= size 2109 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2110 } 2111 i-- 2112 dAtA[i] = 0x4a 2113 } 2114 if m.Job != nil { 2115 { 2116 size, err := m.Job.MarshalToSizedBuffer(dAtA[:i]) 2117 if err != nil { 2118 return 0, err 2119 } 2120 i -= size 2121 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2122 } 2123 i-- 2124 dAtA[i] = 0x42 2125 } 2126 if m.Pipeline != nil { 2127 { 2128 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 2129 if err != nil { 2130 return 0, err 2131 } 2132 i -= size 2133 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2134 } 2135 i-- 2136 dAtA[i] = 0x3a 2137 } 2138 if m.Branch != nil { 2139 { 2140 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 2141 if err != nil { 2142 return 0, err 2143 } 2144 i -= size 2145 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2146 } 2147 i-- 2148 dAtA[i] = 0x32 2149 } 2150 if m.Commit != nil { 2151 { 2152 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 2153 if err != nil { 2154 return 0, err 2155 } 2156 i -= size 2157 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2158 } 2159 i-- 2160 dAtA[i] = 0x2a 2161 } 2162 if m.Repo != nil { 2163 { 2164 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 2165 if err != nil { 2166 return 0, err 2167 } 2168 i -= size 2169 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2170 } 2171 i-- 2172 dAtA[i] = 0x22 2173 } 2174 if m.Tag != nil { 2175 { 2176 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 2177 if err != nil { 2178 return 0, err 2179 } 2180 i -= size 2181 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2182 } 2183 i-- 2184 dAtA[i] = 0x1a 2185 } 2186 if m.Object != nil { 2187 { 2188 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 2189 if err != nil { 2190 return 0, err 2191 } 2192 i -= size 2193 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2194 } 2195 i-- 2196 dAtA[i] = 0x12 2197 } 2198 return len(dAtA) - i, nil 2199 } 2200 2201 func (m *Op1_11) Marshal() (dAtA []byte, err error) { 2202 size := m.Size() 2203 dAtA = make([]byte, size) 2204 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2205 if err != nil { 2206 return nil, err 2207 } 2208 return dAtA[:n], nil 2209 } 2210 2211 func (m *Op1_11) MarshalTo(dAtA []byte) (int, error) { 2212 size := m.Size() 2213 return m.MarshalToSizedBuffer(dAtA[:size]) 2214 } 2215 2216 func (m *Op1_11) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2217 i := len(dAtA) 2218 _ = i 2219 var l int 2220 _ = l 2221 if m.XXX_unrecognized != nil { 2222 i -= len(m.XXX_unrecognized) 2223 copy(dAtA[i:], m.XXX_unrecognized) 2224 } 2225 if m.CheckAuthToken != nil { 2226 { 2227 size, err := m.CheckAuthToken.MarshalToSizedBuffer(dAtA[:i]) 2228 if err != nil { 2229 return 0, err 2230 } 2231 i -= size 2232 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2233 } 2234 i-- 2235 dAtA[i] = 0x1 2236 i-- 2237 dAtA[i] = 0x8a 2238 } 2239 if m.ActivateEnterprise != nil { 2240 { 2241 size, err := m.ActivateEnterprise.MarshalToSizedBuffer(dAtA[:i]) 2242 if err != nil { 2243 return 0, err 2244 } 2245 i -= size 2246 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2247 } 2248 i-- 2249 dAtA[i] = 0x1 2250 i-- 2251 dAtA[i] = 0x82 2252 } 2253 if m.RestoreAuthToken != nil { 2254 { 2255 size, err := m.RestoreAuthToken.MarshalToSizedBuffer(dAtA[:i]) 2256 if err != nil { 2257 return 0, err 2258 } 2259 i -= size 2260 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2261 } 2262 i-- 2263 dAtA[i] = 0x7a 2264 } 2265 if m.ActivateAuth != nil { 2266 { 2267 size, err := m.ActivateAuth.MarshalToSizedBuffer(dAtA[:i]) 2268 if err != nil { 2269 return 0, err 2270 } 2271 i -= size 2272 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2273 } 2274 i-- 2275 dAtA[i] = 0x72 2276 } 2277 if m.SetAuthConfig != nil { 2278 { 2279 size, err := m.SetAuthConfig.MarshalToSizedBuffer(dAtA[:i]) 2280 if err != nil { 2281 return 0, err 2282 } 2283 i -= size 2284 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2285 } 2286 i-- 2287 dAtA[i] = 0x6a 2288 } 2289 if m.SetClusterRoleBinding != nil { 2290 { 2291 size, err := m.SetClusterRoleBinding.MarshalToSizedBuffer(dAtA[:i]) 2292 if err != nil { 2293 return 0, err 2294 } 2295 i -= size 2296 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2297 } 2298 i-- 2299 dAtA[i] = 0x62 2300 } 2301 if m.SetAcl != nil { 2302 { 2303 size, err := m.SetAcl.MarshalToSizedBuffer(dAtA[:i]) 2304 if err != nil { 2305 return 0, err 2306 } 2307 i -= size 2308 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2309 } 2310 i-- 2311 dAtA[i] = 0x5a 2312 } 2313 if m.Block != nil { 2314 { 2315 size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) 2316 if err != nil { 2317 return 0, err 2318 } 2319 i -= size 2320 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2321 } 2322 i-- 2323 dAtA[i] = 0x52 2324 } 2325 if m.CreateObject != nil { 2326 { 2327 size, err := m.CreateObject.MarshalToSizedBuffer(dAtA[:i]) 2328 if err != nil { 2329 return 0, err 2330 } 2331 i -= size 2332 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2333 } 2334 i-- 2335 dAtA[i] = 0x4a 2336 } 2337 if m.Job != nil { 2338 { 2339 size, err := m.Job.MarshalToSizedBuffer(dAtA[:i]) 2340 if err != nil { 2341 return 0, err 2342 } 2343 i -= size 2344 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2345 } 2346 i-- 2347 dAtA[i] = 0x42 2348 } 2349 if m.Pipeline != nil { 2350 { 2351 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 2352 if err != nil { 2353 return 0, err 2354 } 2355 i -= size 2356 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2357 } 2358 i-- 2359 dAtA[i] = 0x3a 2360 } 2361 if m.Branch != nil { 2362 { 2363 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 2364 if err != nil { 2365 return 0, err 2366 } 2367 i -= size 2368 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2369 } 2370 i-- 2371 dAtA[i] = 0x32 2372 } 2373 if m.Commit != nil { 2374 { 2375 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 2376 if err != nil { 2377 return 0, err 2378 } 2379 i -= size 2380 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2381 } 2382 i-- 2383 dAtA[i] = 0x2a 2384 } 2385 if m.Repo != nil { 2386 { 2387 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 2388 if err != nil { 2389 return 0, err 2390 } 2391 i -= size 2392 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2393 } 2394 i-- 2395 dAtA[i] = 0x22 2396 } 2397 if m.Tag != nil { 2398 { 2399 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 2400 if err != nil { 2401 return 0, err 2402 } 2403 i -= size 2404 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2405 } 2406 i-- 2407 dAtA[i] = 0x1a 2408 } 2409 if m.Object != nil { 2410 { 2411 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 2412 if err != nil { 2413 return 0, err 2414 } 2415 i -= size 2416 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2417 } 2418 i-- 2419 dAtA[i] = 0x12 2420 } 2421 return len(dAtA) - i, nil 2422 } 2423 2424 func (m *Op1_12) Marshal() (dAtA []byte, err error) { 2425 size := m.Size() 2426 dAtA = make([]byte, size) 2427 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2428 if err != nil { 2429 return nil, err 2430 } 2431 return dAtA[:n], nil 2432 } 2433 2434 func (m *Op1_12) MarshalTo(dAtA []byte) (int, error) { 2435 size := m.Size() 2436 return m.MarshalToSizedBuffer(dAtA[:size]) 2437 } 2438 2439 func (m *Op1_12) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2440 i := len(dAtA) 2441 _ = i 2442 var l int 2443 _ = l 2444 if m.XXX_unrecognized != nil { 2445 i -= len(m.XXX_unrecognized) 2446 copy(dAtA[i:], m.XXX_unrecognized) 2447 } 2448 if m.CheckAuthToken != nil { 2449 { 2450 size, err := m.CheckAuthToken.MarshalToSizedBuffer(dAtA[:i]) 2451 if err != nil { 2452 return 0, err 2453 } 2454 i -= size 2455 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2456 } 2457 i-- 2458 dAtA[i] = 0x1 2459 i-- 2460 dAtA[i] = 0x8a 2461 } 2462 if m.ActivateEnterprise != nil { 2463 { 2464 size, err := m.ActivateEnterprise.MarshalToSizedBuffer(dAtA[:i]) 2465 if err != nil { 2466 return 0, err 2467 } 2468 i -= size 2469 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2470 } 2471 i-- 2472 dAtA[i] = 0x1 2473 i-- 2474 dAtA[i] = 0x82 2475 } 2476 if m.RestoreAuthToken != nil { 2477 { 2478 size, err := m.RestoreAuthToken.MarshalToSizedBuffer(dAtA[:i]) 2479 if err != nil { 2480 return 0, err 2481 } 2482 i -= size 2483 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2484 } 2485 i-- 2486 dAtA[i] = 0x7a 2487 } 2488 if m.ActivateAuth != nil { 2489 { 2490 size, err := m.ActivateAuth.MarshalToSizedBuffer(dAtA[:i]) 2491 if err != nil { 2492 return 0, err 2493 } 2494 i -= size 2495 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2496 } 2497 i-- 2498 dAtA[i] = 0x72 2499 } 2500 if m.SetAuthConfig != nil { 2501 { 2502 size, err := m.SetAuthConfig.MarshalToSizedBuffer(dAtA[:i]) 2503 if err != nil { 2504 return 0, err 2505 } 2506 i -= size 2507 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2508 } 2509 i-- 2510 dAtA[i] = 0x6a 2511 } 2512 if m.SetClusterRoleBinding != nil { 2513 { 2514 size, err := m.SetClusterRoleBinding.MarshalToSizedBuffer(dAtA[:i]) 2515 if err != nil { 2516 return 0, err 2517 } 2518 i -= size 2519 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2520 } 2521 i-- 2522 dAtA[i] = 0x62 2523 } 2524 if m.SetAcl != nil { 2525 { 2526 size, err := m.SetAcl.MarshalToSizedBuffer(dAtA[:i]) 2527 if err != nil { 2528 return 0, err 2529 } 2530 i -= size 2531 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2532 } 2533 i-- 2534 dAtA[i] = 0x5a 2535 } 2536 if m.Block != nil { 2537 { 2538 size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) 2539 if err != nil { 2540 return 0, err 2541 } 2542 i -= size 2543 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2544 } 2545 i-- 2546 dAtA[i] = 0x52 2547 } 2548 if m.CreateObject != nil { 2549 { 2550 size, err := m.CreateObject.MarshalToSizedBuffer(dAtA[:i]) 2551 if err != nil { 2552 return 0, err 2553 } 2554 i -= size 2555 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2556 } 2557 i-- 2558 dAtA[i] = 0x4a 2559 } 2560 if m.Job != nil { 2561 { 2562 size, err := m.Job.MarshalToSizedBuffer(dAtA[:i]) 2563 if err != nil { 2564 return 0, err 2565 } 2566 i -= size 2567 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2568 } 2569 i-- 2570 dAtA[i] = 0x42 2571 } 2572 if m.Pipeline != nil { 2573 { 2574 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 2575 if err != nil { 2576 return 0, err 2577 } 2578 i -= size 2579 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2580 } 2581 i-- 2582 dAtA[i] = 0x3a 2583 } 2584 if m.Branch != nil { 2585 { 2586 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 2587 if err != nil { 2588 return 0, err 2589 } 2590 i -= size 2591 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2592 } 2593 i-- 2594 dAtA[i] = 0x32 2595 } 2596 if m.Commit != nil { 2597 { 2598 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 2599 if err != nil { 2600 return 0, err 2601 } 2602 i -= size 2603 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2604 } 2605 i-- 2606 dAtA[i] = 0x2a 2607 } 2608 if m.Repo != nil { 2609 { 2610 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 2611 if err != nil { 2612 return 0, err 2613 } 2614 i -= size 2615 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2616 } 2617 i-- 2618 dAtA[i] = 0x22 2619 } 2620 if m.Tag != nil { 2621 { 2622 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 2623 if err != nil { 2624 return 0, err 2625 } 2626 i -= size 2627 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2628 } 2629 i-- 2630 dAtA[i] = 0x1a 2631 } 2632 if m.Object != nil { 2633 { 2634 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 2635 if err != nil { 2636 return 0, err 2637 } 2638 i -= size 2639 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2640 } 2641 i-- 2642 dAtA[i] = 0x12 2643 } 2644 return len(dAtA) - i, nil 2645 } 2646 2647 func (m *Op1_13) Marshal() (dAtA []byte, err error) { 2648 size := m.Size() 2649 dAtA = make([]byte, size) 2650 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2651 if err != nil { 2652 return nil, err 2653 } 2654 return dAtA[:n], nil 2655 } 2656 2657 func (m *Op1_13) MarshalTo(dAtA []byte) (int, error) { 2658 size := m.Size() 2659 return m.MarshalToSizedBuffer(dAtA[:size]) 2660 } 2661 2662 func (m *Op1_13) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2663 i := len(dAtA) 2664 _ = i 2665 var l int 2666 _ = l 2667 if m.XXX_unrecognized != nil { 2668 i -= len(m.XXX_unrecognized) 2669 copy(dAtA[i:], m.XXX_unrecognized) 2670 } 2671 if m.CheckAuthToken != nil { 2672 { 2673 size, err := m.CheckAuthToken.MarshalToSizedBuffer(dAtA[:i]) 2674 if err != nil { 2675 return 0, err 2676 } 2677 i -= size 2678 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2679 } 2680 i-- 2681 dAtA[i] = 0x1 2682 i-- 2683 dAtA[i] = 0x8a 2684 } 2685 if m.ActivateEnterprise != nil { 2686 { 2687 size, err := m.ActivateEnterprise.MarshalToSizedBuffer(dAtA[:i]) 2688 if err != nil { 2689 return 0, err 2690 } 2691 i -= size 2692 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2693 } 2694 i-- 2695 dAtA[i] = 0x1 2696 i-- 2697 dAtA[i] = 0x82 2698 } 2699 if m.RestoreAuthToken != nil { 2700 { 2701 size, err := m.RestoreAuthToken.MarshalToSizedBuffer(dAtA[:i]) 2702 if err != nil { 2703 return 0, err 2704 } 2705 i -= size 2706 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2707 } 2708 i-- 2709 dAtA[i] = 0x7a 2710 } 2711 if m.ActivateAuth != nil { 2712 { 2713 size, err := m.ActivateAuth.MarshalToSizedBuffer(dAtA[:i]) 2714 if err != nil { 2715 return 0, err 2716 } 2717 i -= size 2718 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2719 } 2720 i-- 2721 dAtA[i] = 0x72 2722 } 2723 if m.SetAuthConfig != nil { 2724 { 2725 size, err := m.SetAuthConfig.MarshalToSizedBuffer(dAtA[:i]) 2726 if err != nil { 2727 return 0, err 2728 } 2729 i -= size 2730 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2731 } 2732 i-- 2733 dAtA[i] = 0x6a 2734 } 2735 if m.SetClusterRoleBinding != nil { 2736 { 2737 size, err := m.SetClusterRoleBinding.MarshalToSizedBuffer(dAtA[:i]) 2738 if err != nil { 2739 return 0, err 2740 } 2741 i -= size 2742 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2743 } 2744 i-- 2745 dAtA[i] = 0x62 2746 } 2747 if m.SetAcl != nil { 2748 { 2749 size, err := m.SetAcl.MarshalToSizedBuffer(dAtA[:i]) 2750 if err != nil { 2751 return 0, err 2752 } 2753 i -= size 2754 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2755 } 2756 i-- 2757 dAtA[i] = 0x5a 2758 } 2759 if m.Block != nil { 2760 { 2761 size, err := m.Block.MarshalToSizedBuffer(dAtA[:i]) 2762 if err != nil { 2763 return 0, err 2764 } 2765 i -= size 2766 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2767 } 2768 i-- 2769 dAtA[i] = 0x52 2770 } 2771 if m.CreateObject != nil { 2772 { 2773 size, err := m.CreateObject.MarshalToSizedBuffer(dAtA[:i]) 2774 if err != nil { 2775 return 0, err 2776 } 2777 i -= size 2778 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2779 } 2780 i-- 2781 dAtA[i] = 0x4a 2782 } 2783 if m.Job != nil { 2784 { 2785 size, err := m.Job.MarshalToSizedBuffer(dAtA[:i]) 2786 if err != nil { 2787 return 0, err 2788 } 2789 i -= size 2790 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2791 } 2792 i-- 2793 dAtA[i] = 0x42 2794 } 2795 if m.Pipeline != nil { 2796 { 2797 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 2798 if err != nil { 2799 return 0, err 2800 } 2801 i -= size 2802 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2803 } 2804 i-- 2805 dAtA[i] = 0x3a 2806 } 2807 if m.Branch != nil { 2808 { 2809 size, err := m.Branch.MarshalToSizedBuffer(dAtA[:i]) 2810 if err != nil { 2811 return 0, err 2812 } 2813 i -= size 2814 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2815 } 2816 i-- 2817 dAtA[i] = 0x32 2818 } 2819 if m.Commit != nil { 2820 { 2821 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 2822 if err != nil { 2823 return 0, err 2824 } 2825 i -= size 2826 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2827 } 2828 i-- 2829 dAtA[i] = 0x2a 2830 } 2831 if m.Repo != nil { 2832 { 2833 size, err := m.Repo.MarshalToSizedBuffer(dAtA[:i]) 2834 if err != nil { 2835 return 0, err 2836 } 2837 i -= size 2838 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2839 } 2840 i-- 2841 dAtA[i] = 0x22 2842 } 2843 if m.Tag != nil { 2844 { 2845 size, err := m.Tag.MarshalToSizedBuffer(dAtA[:i]) 2846 if err != nil { 2847 return 0, err 2848 } 2849 i -= size 2850 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2851 } 2852 i-- 2853 dAtA[i] = 0x1a 2854 } 2855 if m.Object != nil { 2856 { 2857 size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) 2858 if err != nil { 2859 return 0, err 2860 } 2861 i -= size 2862 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2863 } 2864 i-- 2865 dAtA[i] = 0x12 2866 } 2867 return len(dAtA) - i, nil 2868 } 2869 2870 func (m *Op) Marshal() (dAtA []byte, err error) { 2871 size := m.Size() 2872 dAtA = make([]byte, size) 2873 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2874 if err != nil { 2875 return nil, err 2876 } 2877 return dAtA[:n], nil 2878 } 2879 2880 func (m *Op) MarshalTo(dAtA []byte) (int, error) { 2881 size := m.Size() 2882 return m.MarshalToSizedBuffer(dAtA[:size]) 2883 } 2884 2885 func (m *Op) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2886 i := len(dAtA) 2887 _ = i 2888 var l int 2889 _ = l 2890 if m.XXX_unrecognized != nil { 2891 i -= len(m.XXX_unrecognized) 2892 copy(dAtA[i:], m.XXX_unrecognized) 2893 } 2894 if m.Op1_13 != nil { 2895 { 2896 size, err := m.Op1_13.MarshalToSizedBuffer(dAtA[:i]) 2897 if err != nil { 2898 return 0, err 2899 } 2900 i -= size 2901 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2902 } 2903 i-- 2904 dAtA[i] = 0x3a 2905 } 2906 if m.Op1_12 != nil { 2907 { 2908 size, err := m.Op1_12.MarshalToSizedBuffer(dAtA[:i]) 2909 if err != nil { 2910 return 0, err 2911 } 2912 i -= size 2913 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2914 } 2915 i-- 2916 dAtA[i] = 0x32 2917 } 2918 if m.Op1_11 != nil { 2919 { 2920 size, err := m.Op1_11.MarshalToSizedBuffer(dAtA[:i]) 2921 if err != nil { 2922 return 0, err 2923 } 2924 i -= size 2925 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2926 } 2927 i-- 2928 dAtA[i] = 0x2a 2929 } 2930 if m.Op1_10 != nil { 2931 { 2932 size, err := m.Op1_10.MarshalToSizedBuffer(dAtA[:i]) 2933 if err != nil { 2934 return 0, err 2935 } 2936 i -= size 2937 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2938 } 2939 i-- 2940 dAtA[i] = 0x22 2941 } 2942 if m.Op1_9 != nil { 2943 { 2944 size, err := m.Op1_9.MarshalToSizedBuffer(dAtA[:i]) 2945 if err != nil { 2946 return 0, err 2947 } 2948 i -= size 2949 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2950 } 2951 i-- 2952 dAtA[i] = 0x1a 2953 } 2954 if m.Op1_8 != nil { 2955 { 2956 size, err := m.Op1_8.MarshalToSizedBuffer(dAtA[:i]) 2957 if err != nil { 2958 return 0, err 2959 } 2960 i -= size 2961 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2962 } 2963 i-- 2964 dAtA[i] = 0x12 2965 } 2966 if m.Op1_7 != nil { 2967 { 2968 size, err := m.Op1_7.MarshalToSizedBuffer(dAtA[:i]) 2969 if err != nil { 2970 return 0, err 2971 } 2972 i -= size 2973 i = encodeVarintAdmin(dAtA, i, uint64(size)) 2974 } 2975 i-- 2976 dAtA[i] = 0xa 2977 } 2978 return len(dAtA) - i, nil 2979 } 2980 2981 func (m *ExtractRequest) Marshal() (dAtA []byte, err error) { 2982 size := m.Size() 2983 dAtA = make([]byte, size) 2984 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2985 if err != nil { 2986 return nil, err 2987 } 2988 return dAtA[:n], nil 2989 } 2990 2991 func (m *ExtractRequest) MarshalTo(dAtA []byte) (int, error) { 2992 size := m.Size() 2993 return m.MarshalToSizedBuffer(dAtA[:size]) 2994 } 2995 2996 func (m *ExtractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2997 i := len(dAtA) 2998 _ = i 2999 var l int 3000 _ = l 3001 if m.XXX_unrecognized != nil { 3002 i -= len(m.XXX_unrecognized) 3003 copy(dAtA[i:], m.XXX_unrecognized) 3004 } 3005 if m.NoAuth { 3006 i-- 3007 if m.NoAuth { 3008 dAtA[i] = 1 3009 } else { 3010 dAtA[i] = 0 3011 } 3012 i-- 3013 dAtA[i] = 0x30 3014 } 3015 if m.NoEnterprise { 3016 i-- 3017 if m.NoEnterprise { 3018 dAtA[i] = 1 3019 } else { 3020 dAtA[i] = 0 3021 } 3022 i-- 3023 dAtA[i] = 0x28 3024 } 3025 if m.NoPipelines { 3026 i-- 3027 if m.NoPipelines { 3028 dAtA[i] = 1 3029 } else { 3030 dAtA[i] = 0 3031 } 3032 i-- 3033 dAtA[i] = 0x20 3034 } 3035 if m.NoRepos { 3036 i-- 3037 if m.NoRepos { 3038 dAtA[i] = 1 3039 } else { 3040 dAtA[i] = 0 3041 } 3042 i-- 3043 dAtA[i] = 0x18 3044 } 3045 if m.NoObjects { 3046 i-- 3047 if m.NoObjects { 3048 dAtA[i] = 1 3049 } else { 3050 dAtA[i] = 0 3051 } 3052 i-- 3053 dAtA[i] = 0x10 3054 } 3055 if len(m.URL) > 0 { 3056 i -= len(m.URL) 3057 copy(dAtA[i:], m.URL) 3058 i = encodeVarintAdmin(dAtA, i, uint64(len(m.URL))) 3059 i-- 3060 dAtA[i] = 0xa 3061 } 3062 return len(dAtA) - i, nil 3063 } 3064 3065 func (m *ExtractPipelineRequest) Marshal() (dAtA []byte, err error) { 3066 size := m.Size() 3067 dAtA = make([]byte, size) 3068 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3069 if err != nil { 3070 return nil, err 3071 } 3072 return dAtA[:n], nil 3073 } 3074 3075 func (m *ExtractPipelineRequest) MarshalTo(dAtA []byte) (int, error) { 3076 size := m.Size() 3077 return m.MarshalToSizedBuffer(dAtA[:size]) 3078 } 3079 3080 func (m *ExtractPipelineRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3081 i := len(dAtA) 3082 _ = i 3083 var l int 3084 _ = l 3085 if m.XXX_unrecognized != nil { 3086 i -= len(m.XXX_unrecognized) 3087 copy(dAtA[i:], m.XXX_unrecognized) 3088 } 3089 if m.Pipeline != nil { 3090 { 3091 size, err := m.Pipeline.MarshalToSizedBuffer(dAtA[:i]) 3092 if err != nil { 3093 return 0, err 3094 } 3095 i -= size 3096 i = encodeVarintAdmin(dAtA, i, uint64(size)) 3097 } 3098 i-- 3099 dAtA[i] = 0xa 3100 } 3101 return len(dAtA) - i, nil 3102 } 3103 3104 func (m *RestoreRequest) Marshal() (dAtA []byte, err error) { 3105 size := m.Size() 3106 dAtA = make([]byte, size) 3107 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3108 if err != nil { 3109 return nil, err 3110 } 3111 return dAtA[:n], nil 3112 } 3113 3114 func (m *RestoreRequest) MarshalTo(dAtA []byte) (int, error) { 3115 size := m.Size() 3116 return m.MarshalToSizedBuffer(dAtA[:size]) 3117 } 3118 3119 func (m *RestoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3120 i := len(dAtA) 3121 _ = i 3122 var l int 3123 _ = l 3124 if m.XXX_unrecognized != nil { 3125 i -= len(m.XXX_unrecognized) 3126 copy(dAtA[i:], m.XXX_unrecognized) 3127 } 3128 if len(m.URL) > 0 { 3129 i -= len(m.URL) 3130 copy(dAtA[i:], m.URL) 3131 i = encodeVarintAdmin(dAtA, i, uint64(len(m.URL))) 3132 i-- 3133 dAtA[i] = 0x12 3134 } 3135 if m.Op != nil { 3136 { 3137 size, err := m.Op.MarshalToSizedBuffer(dAtA[:i]) 3138 if err != nil { 3139 return 0, err 3140 } 3141 i -= size 3142 i = encodeVarintAdmin(dAtA, i, uint64(size)) 3143 } 3144 i-- 3145 dAtA[i] = 0xa 3146 } 3147 return len(dAtA) - i, nil 3148 } 3149 3150 func (m *ClusterInfo) Marshal() (dAtA []byte, err error) { 3151 size := m.Size() 3152 dAtA = make([]byte, size) 3153 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3154 if err != nil { 3155 return nil, err 3156 } 3157 return dAtA[:n], nil 3158 } 3159 3160 func (m *ClusterInfo) MarshalTo(dAtA []byte) (int, error) { 3161 size := m.Size() 3162 return m.MarshalToSizedBuffer(dAtA[:size]) 3163 } 3164 3165 func (m *ClusterInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3166 i := len(dAtA) 3167 _ = i 3168 var l int 3169 _ = l 3170 if m.XXX_unrecognized != nil { 3171 i -= len(m.XXX_unrecognized) 3172 copy(dAtA[i:], m.XXX_unrecognized) 3173 } 3174 if len(m.DeploymentID) > 0 { 3175 i -= len(m.DeploymentID) 3176 copy(dAtA[i:], m.DeploymentID) 3177 i = encodeVarintAdmin(dAtA, i, uint64(len(m.DeploymentID))) 3178 i-- 3179 dAtA[i] = 0x12 3180 } 3181 if len(m.ID) > 0 { 3182 i -= len(m.ID) 3183 copy(dAtA[i:], m.ID) 3184 i = encodeVarintAdmin(dAtA, i, uint64(len(m.ID))) 3185 i-- 3186 dAtA[i] = 0xa 3187 } 3188 return len(dAtA) - i, nil 3189 } 3190 3191 func encodeVarintAdmin(dAtA []byte, offset int, v uint64) int { 3192 offset -= sovAdmin(v) 3193 base := offset 3194 for v >= 1<<7 { 3195 dAtA[offset] = uint8(v&0x7f | 0x80) 3196 v >>= 7 3197 offset++ 3198 } 3199 dAtA[offset] = uint8(v) 3200 return base 3201 } 3202 func (m *CheckAuthToken) Size() (n int) { 3203 if m == nil { 3204 return 0 3205 } 3206 var l int 3207 _ = l 3208 if m.XXX_unrecognized != nil { 3209 n += len(m.XXX_unrecognized) 3210 } 3211 return n 3212 } 3213 3214 func (m *Op1_7) Size() (n int) { 3215 if m == nil { 3216 return 0 3217 } 3218 var l int 3219 _ = l 3220 if m.Object != nil { 3221 l = m.Object.Size() 3222 n += 1 + l + sovAdmin(uint64(l)) 3223 } 3224 if m.Tag != nil { 3225 l = m.Tag.Size() 3226 n += 1 + l + sovAdmin(uint64(l)) 3227 } 3228 if m.Repo != nil { 3229 l = m.Repo.Size() 3230 n += 1 + l + sovAdmin(uint64(l)) 3231 } 3232 if m.Commit != nil { 3233 l = m.Commit.Size() 3234 n += 1 + l + sovAdmin(uint64(l)) 3235 } 3236 if m.Branch != nil { 3237 l = m.Branch.Size() 3238 n += 1 + l + sovAdmin(uint64(l)) 3239 } 3240 if m.Pipeline != nil { 3241 l = m.Pipeline.Size() 3242 n += 1 + l + sovAdmin(uint64(l)) 3243 } 3244 if m.XXX_unrecognized != nil { 3245 n += len(m.XXX_unrecognized) 3246 } 3247 return n 3248 } 3249 3250 func (m *Op1_8) Size() (n int) { 3251 if m == nil { 3252 return 0 3253 } 3254 var l int 3255 _ = l 3256 if m.Object != nil { 3257 l = m.Object.Size() 3258 n += 1 + l + sovAdmin(uint64(l)) 3259 } 3260 if m.Tag != nil { 3261 l = m.Tag.Size() 3262 n += 1 + l + sovAdmin(uint64(l)) 3263 } 3264 if m.Repo != nil { 3265 l = m.Repo.Size() 3266 n += 1 + l + sovAdmin(uint64(l)) 3267 } 3268 if m.Commit != nil { 3269 l = m.Commit.Size() 3270 n += 1 + l + sovAdmin(uint64(l)) 3271 } 3272 if m.Branch != nil { 3273 l = m.Branch.Size() 3274 n += 1 + l + sovAdmin(uint64(l)) 3275 } 3276 if m.Pipeline != nil { 3277 l = m.Pipeline.Size() 3278 n += 1 + l + sovAdmin(uint64(l)) 3279 } 3280 if m.XXX_unrecognized != nil { 3281 n += len(m.XXX_unrecognized) 3282 } 3283 return n 3284 } 3285 3286 func (m *Op1_9) Size() (n int) { 3287 if m == nil { 3288 return 0 3289 } 3290 var l int 3291 _ = l 3292 if m.Object != nil { 3293 l = m.Object.Size() 3294 n += 1 + l + sovAdmin(uint64(l)) 3295 } 3296 if m.Tag != nil { 3297 l = m.Tag.Size() 3298 n += 1 + l + sovAdmin(uint64(l)) 3299 } 3300 if m.Repo != nil { 3301 l = m.Repo.Size() 3302 n += 1 + l + sovAdmin(uint64(l)) 3303 } 3304 if m.Commit != nil { 3305 l = m.Commit.Size() 3306 n += 1 + l + sovAdmin(uint64(l)) 3307 } 3308 if m.Branch != nil { 3309 l = m.Branch.Size() 3310 n += 1 + l + sovAdmin(uint64(l)) 3311 } 3312 if m.Pipeline != nil { 3313 l = m.Pipeline.Size() 3314 n += 1 + l + sovAdmin(uint64(l)) 3315 } 3316 if m.Job != nil { 3317 l = m.Job.Size() 3318 n += 1 + l + sovAdmin(uint64(l)) 3319 } 3320 if m.CreateObject != nil { 3321 l = m.CreateObject.Size() 3322 n += 1 + l + sovAdmin(uint64(l)) 3323 } 3324 if m.Block != nil { 3325 l = m.Block.Size() 3326 n += 1 + l + sovAdmin(uint64(l)) 3327 } 3328 if m.XXX_unrecognized != nil { 3329 n += len(m.XXX_unrecognized) 3330 } 3331 return n 3332 } 3333 3334 func (m *Op1_10) Size() (n int) { 3335 if m == nil { 3336 return 0 3337 } 3338 var l int 3339 _ = l 3340 if m.Object != nil { 3341 l = m.Object.Size() 3342 n += 1 + l + sovAdmin(uint64(l)) 3343 } 3344 if m.Tag != nil { 3345 l = m.Tag.Size() 3346 n += 1 + l + sovAdmin(uint64(l)) 3347 } 3348 if m.Repo != nil { 3349 l = m.Repo.Size() 3350 n += 1 + l + sovAdmin(uint64(l)) 3351 } 3352 if m.Commit != nil { 3353 l = m.Commit.Size() 3354 n += 1 + l + sovAdmin(uint64(l)) 3355 } 3356 if m.Branch != nil { 3357 l = m.Branch.Size() 3358 n += 1 + l + sovAdmin(uint64(l)) 3359 } 3360 if m.Pipeline != nil { 3361 l = m.Pipeline.Size() 3362 n += 1 + l + sovAdmin(uint64(l)) 3363 } 3364 if m.Job != nil { 3365 l = m.Job.Size() 3366 n += 1 + l + sovAdmin(uint64(l)) 3367 } 3368 if m.CreateObject != nil { 3369 l = m.CreateObject.Size() 3370 n += 1 + l + sovAdmin(uint64(l)) 3371 } 3372 if m.Block != nil { 3373 l = m.Block.Size() 3374 n += 1 + l + sovAdmin(uint64(l)) 3375 } 3376 if m.XXX_unrecognized != nil { 3377 n += len(m.XXX_unrecognized) 3378 } 3379 return n 3380 } 3381 3382 func (m *Op1_11) Size() (n int) { 3383 if m == nil { 3384 return 0 3385 } 3386 var l int 3387 _ = l 3388 if m.Object != nil { 3389 l = m.Object.Size() 3390 n += 1 + l + sovAdmin(uint64(l)) 3391 } 3392 if m.Tag != nil { 3393 l = m.Tag.Size() 3394 n += 1 + l + sovAdmin(uint64(l)) 3395 } 3396 if m.Repo != nil { 3397 l = m.Repo.Size() 3398 n += 1 + l + sovAdmin(uint64(l)) 3399 } 3400 if m.Commit != nil { 3401 l = m.Commit.Size() 3402 n += 1 + l + sovAdmin(uint64(l)) 3403 } 3404 if m.Branch != nil { 3405 l = m.Branch.Size() 3406 n += 1 + l + sovAdmin(uint64(l)) 3407 } 3408 if m.Pipeline != nil { 3409 l = m.Pipeline.Size() 3410 n += 1 + l + sovAdmin(uint64(l)) 3411 } 3412 if m.Job != nil { 3413 l = m.Job.Size() 3414 n += 1 + l + sovAdmin(uint64(l)) 3415 } 3416 if m.CreateObject != nil { 3417 l = m.CreateObject.Size() 3418 n += 1 + l + sovAdmin(uint64(l)) 3419 } 3420 if m.Block != nil { 3421 l = m.Block.Size() 3422 n += 1 + l + sovAdmin(uint64(l)) 3423 } 3424 if m.SetAcl != nil { 3425 l = m.SetAcl.Size() 3426 n += 1 + l + sovAdmin(uint64(l)) 3427 } 3428 if m.SetClusterRoleBinding != nil { 3429 l = m.SetClusterRoleBinding.Size() 3430 n += 1 + l + sovAdmin(uint64(l)) 3431 } 3432 if m.SetAuthConfig != nil { 3433 l = m.SetAuthConfig.Size() 3434 n += 1 + l + sovAdmin(uint64(l)) 3435 } 3436 if m.ActivateAuth != nil { 3437 l = m.ActivateAuth.Size() 3438 n += 1 + l + sovAdmin(uint64(l)) 3439 } 3440 if m.RestoreAuthToken != nil { 3441 l = m.RestoreAuthToken.Size() 3442 n += 1 + l + sovAdmin(uint64(l)) 3443 } 3444 if m.ActivateEnterprise != nil { 3445 l = m.ActivateEnterprise.Size() 3446 n += 2 + l + sovAdmin(uint64(l)) 3447 } 3448 if m.CheckAuthToken != nil { 3449 l = m.CheckAuthToken.Size() 3450 n += 2 + l + sovAdmin(uint64(l)) 3451 } 3452 if m.XXX_unrecognized != nil { 3453 n += len(m.XXX_unrecognized) 3454 } 3455 return n 3456 } 3457 3458 func (m *Op1_12) Size() (n int) { 3459 if m == nil { 3460 return 0 3461 } 3462 var l int 3463 _ = l 3464 if m.Object != nil { 3465 l = m.Object.Size() 3466 n += 1 + l + sovAdmin(uint64(l)) 3467 } 3468 if m.Tag != nil { 3469 l = m.Tag.Size() 3470 n += 1 + l + sovAdmin(uint64(l)) 3471 } 3472 if m.Repo != nil { 3473 l = m.Repo.Size() 3474 n += 1 + l + sovAdmin(uint64(l)) 3475 } 3476 if m.Commit != nil { 3477 l = m.Commit.Size() 3478 n += 1 + l + sovAdmin(uint64(l)) 3479 } 3480 if m.Branch != nil { 3481 l = m.Branch.Size() 3482 n += 1 + l + sovAdmin(uint64(l)) 3483 } 3484 if m.Pipeline != nil { 3485 l = m.Pipeline.Size() 3486 n += 1 + l + sovAdmin(uint64(l)) 3487 } 3488 if m.Job != nil { 3489 l = m.Job.Size() 3490 n += 1 + l + sovAdmin(uint64(l)) 3491 } 3492 if m.CreateObject != nil { 3493 l = m.CreateObject.Size() 3494 n += 1 + l + sovAdmin(uint64(l)) 3495 } 3496 if m.Block != nil { 3497 l = m.Block.Size() 3498 n += 1 + l + sovAdmin(uint64(l)) 3499 } 3500 if m.SetAcl != nil { 3501 l = m.SetAcl.Size() 3502 n += 1 + l + sovAdmin(uint64(l)) 3503 } 3504 if m.SetClusterRoleBinding != nil { 3505 l = m.SetClusterRoleBinding.Size() 3506 n += 1 + l + sovAdmin(uint64(l)) 3507 } 3508 if m.SetAuthConfig != nil { 3509 l = m.SetAuthConfig.Size() 3510 n += 1 + l + sovAdmin(uint64(l)) 3511 } 3512 if m.ActivateAuth != nil { 3513 l = m.ActivateAuth.Size() 3514 n += 1 + l + sovAdmin(uint64(l)) 3515 } 3516 if m.RestoreAuthToken != nil { 3517 l = m.RestoreAuthToken.Size() 3518 n += 1 + l + sovAdmin(uint64(l)) 3519 } 3520 if m.ActivateEnterprise != nil { 3521 l = m.ActivateEnterprise.Size() 3522 n += 2 + l + sovAdmin(uint64(l)) 3523 } 3524 if m.CheckAuthToken != nil { 3525 l = m.CheckAuthToken.Size() 3526 n += 2 + l + sovAdmin(uint64(l)) 3527 } 3528 if m.XXX_unrecognized != nil { 3529 n += len(m.XXX_unrecognized) 3530 } 3531 return n 3532 } 3533 3534 func (m *Op1_13) Size() (n int) { 3535 if m == nil { 3536 return 0 3537 } 3538 var l int 3539 _ = l 3540 if m.Object != nil { 3541 l = m.Object.Size() 3542 n += 1 + l + sovAdmin(uint64(l)) 3543 } 3544 if m.Tag != nil { 3545 l = m.Tag.Size() 3546 n += 1 + l + sovAdmin(uint64(l)) 3547 } 3548 if m.Repo != nil { 3549 l = m.Repo.Size() 3550 n += 1 + l + sovAdmin(uint64(l)) 3551 } 3552 if m.Commit != nil { 3553 l = m.Commit.Size() 3554 n += 1 + l + sovAdmin(uint64(l)) 3555 } 3556 if m.Branch != nil { 3557 l = m.Branch.Size() 3558 n += 1 + l + sovAdmin(uint64(l)) 3559 } 3560 if m.Pipeline != nil { 3561 l = m.Pipeline.Size() 3562 n += 1 + l + sovAdmin(uint64(l)) 3563 } 3564 if m.Job != nil { 3565 l = m.Job.Size() 3566 n += 1 + l + sovAdmin(uint64(l)) 3567 } 3568 if m.CreateObject != nil { 3569 l = m.CreateObject.Size() 3570 n += 1 + l + sovAdmin(uint64(l)) 3571 } 3572 if m.Block != nil { 3573 l = m.Block.Size() 3574 n += 1 + l + sovAdmin(uint64(l)) 3575 } 3576 if m.SetAcl != nil { 3577 l = m.SetAcl.Size() 3578 n += 1 + l + sovAdmin(uint64(l)) 3579 } 3580 if m.SetClusterRoleBinding != nil { 3581 l = m.SetClusterRoleBinding.Size() 3582 n += 1 + l + sovAdmin(uint64(l)) 3583 } 3584 if m.SetAuthConfig != nil { 3585 l = m.SetAuthConfig.Size() 3586 n += 1 + l + sovAdmin(uint64(l)) 3587 } 3588 if m.ActivateAuth != nil { 3589 l = m.ActivateAuth.Size() 3590 n += 1 + l + sovAdmin(uint64(l)) 3591 } 3592 if m.RestoreAuthToken != nil { 3593 l = m.RestoreAuthToken.Size() 3594 n += 1 + l + sovAdmin(uint64(l)) 3595 } 3596 if m.ActivateEnterprise != nil { 3597 l = m.ActivateEnterprise.Size() 3598 n += 2 + l + sovAdmin(uint64(l)) 3599 } 3600 if m.CheckAuthToken != nil { 3601 l = m.CheckAuthToken.Size() 3602 n += 2 + l + sovAdmin(uint64(l)) 3603 } 3604 if m.XXX_unrecognized != nil { 3605 n += len(m.XXX_unrecognized) 3606 } 3607 return n 3608 } 3609 3610 func (m *Op) Size() (n int) { 3611 if m == nil { 3612 return 0 3613 } 3614 var l int 3615 _ = l 3616 if m.Op1_7 != nil { 3617 l = m.Op1_7.Size() 3618 n += 1 + l + sovAdmin(uint64(l)) 3619 } 3620 if m.Op1_8 != nil { 3621 l = m.Op1_8.Size() 3622 n += 1 + l + sovAdmin(uint64(l)) 3623 } 3624 if m.Op1_9 != nil { 3625 l = m.Op1_9.Size() 3626 n += 1 + l + sovAdmin(uint64(l)) 3627 } 3628 if m.Op1_10 != nil { 3629 l = m.Op1_10.Size() 3630 n += 1 + l + sovAdmin(uint64(l)) 3631 } 3632 if m.Op1_11 != nil { 3633 l = m.Op1_11.Size() 3634 n += 1 + l + sovAdmin(uint64(l)) 3635 } 3636 if m.Op1_12 != nil { 3637 l = m.Op1_12.Size() 3638 n += 1 + l + sovAdmin(uint64(l)) 3639 } 3640 if m.Op1_13 != nil { 3641 l = m.Op1_13.Size() 3642 n += 1 + l + sovAdmin(uint64(l)) 3643 } 3644 if m.XXX_unrecognized != nil { 3645 n += len(m.XXX_unrecognized) 3646 } 3647 return n 3648 } 3649 3650 func (m *ExtractRequest) Size() (n int) { 3651 if m == nil { 3652 return 0 3653 } 3654 var l int 3655 _ = l 3656 l = len(m.URL) 3657 if l > 0 { 3658 n += 1 + l + sovAdmin(uint64(l)) 3659 } 3660 if m.NoObjects { 3661 n += 2 3662 } 3663 if m.NoRepos { 3664 n += 2 3665 } 3666 if m.NoPipelines { 3667 n += 2 3668 } 3669 if m.NoEnterprise { 3670 n += 2 3671 } 3672 if m.NoAuth { 3673 n += 2 3674 } 3675 if m.XXX_unrecognized != nil { 3676 n += len(m.XXX_unrecognized) 3677 } 3678 return n 3679 } 3680 3681 func (m *ExtractPipelineRequest) Size() (n int) { 3682 if m == nil { 3683 return 0 3684 } 3685 var l int 3686 _ = l 3687 if m.Pipeline != nil { 3688 l = m.Pipeline.Size() 3689 n += 1 + l + sovAdmin(uint64(l)) 3690 } 3691 if m.XXX_unrecognized != nil { 3692 n += len(m.XXX_unrecognized) 3693 } 3694 return n 3695 } 3696 3697 func (m *RestoreRequest) Size() (n int) { 3698 if m == nil { 3699 return 0 3700 } 3701 var l int 3702 _ = l 3703 if m.Op != nil { 3704 l = m.Op.Size() 3705 n += 1 + l + sovAdmin(uint64(l)) 3706 } 3707 l = len(m.URL) 3708 if l > 0 { 3709 n += 1 + l + sovAdmin(uint64(l)) 3710 } 3711 if m.XXX_unrecognized != nil { 3712 n += len(m.XXX_unrecognized) 3713 } 3714 return n 3715 } 3716 3717 func (m *ClusterInfo) Size() (n int) { 3718 if m == nil { 3719 return 0 3720 } 3721 var l int 3722 _ = l 3723 l = len(m.ID) 3724 if l > 0 { 3725 n += 1 + l + sovAdmin(uint64(l)) 3726 } 3727 l = len(m.DeploymentID) 3728 if l > 0 { 3729 n += 1 + l + sovAdmin(uint64(l)) 3730 } 3731 if m.XXX_unrecognized != nil { 3732 n += len(m.XXX_unrecognized) 3733 } 3734 return n 3735 } 3736 3737 func sovAdmin(x uint64) (n int) { 3738 return (math_bits.Len64(x|1) + 6) / 7 3739 } 3740 func sozAdmin(x uint64) (n int) { 3741 return sovAdmin(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 3742 } 3743 func (m *CheckAuthToken) Unmarshal(dAtA []byte) error { 3744 l := len(dAtA) 3745 iNdEx := 0 3746 for iNdEx < l { 3747 preIndex := iNdEx 3748 var wire uint64 3749 for shift := uint(0); ; shift += 7 { 3750 if shift >= 64 { 3751 return ErrIntOverflowAdmin 3752 } 3753 if iNdEx >= l { 3754 return io.ErrUnexpectedEOF 3755 } 3756 b := dAtA[iNdEx] 3757 iNdEx++ 3758 wire |= uint64(b&0x7F) << shift 3759 if b < 0x80 { 3760 break 3761 } 3762 } 3763 fieldNum := int32(wire >> 3) 3764 wireType := int(wire & 0x7) 3765 if wireType == 4 { 3766 return fmt.Errorf("proto: CheckAuthToken: wiretype end group for non-group") 3767 } 3768 if fieldNum <= 0 { 3769 return fmt.Errorf("proto: CheckAuthToken: illegal tag %d (wire type %d)", fieldNum, wire) 3770 } 3771 switch fieldNum { 3772 default: 3773 iNdEx = preIndex 3774 skippy, err := skipAdmin(dAtA[iNdEx:]) 3775 if err != nil { 3776 return err 3777 } 3778 if (skippy < 0) || (iNdEx+skippy) < 0 { 3779 return ErrInvalidLengthAdmin 3780 } 3781 if (iNdEx + skippy) > l { 3782 return io.ErrUnexpectedEOF 3783 } 3784 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 3785 iNdEx += skippy 3786 } 3787 } 3788 3789 if iNdEx > l { 3790 return io.ErrUnexpectedEOF 3791 } 3792 return nil 3793 } 3794 func (m *Op1_7) Unmarshal(dAtA []byte) error { 3795 l := len(dAtA) 3796 iNdEx := 0 3797 for iNdEx < l { 3798 preIndex := iNdEx 3799 var wire uint64 3800 for shift := uint(0); ; shift += 7 { 3801 if shift >= 64 { 3802 return ErrIntOverflowAdmin 3803 } 3804 if iNdEx >= l { 3805 return io.ErrUnexpectedEOF 3806 } 3807 b := dAtA[iNdEx] 3808 iNdEx++ 3809 wire |= uint64(b&0x7F) << shift 3810 if b < 0x80 { 3811 break 3812 } 3813 } 3814 fieldNum := int32(wire >> 3) 3815 wireType := int(wire & 0x7) 3816 if wireType == 4 { 3817 return fmt.Errorf("proto: Op1_7: wiretype end group for non-group") 3818 } 3819 if fieldNum <= 0 { 3820 return fmt.Errorf("proto: Op1_7: illegal tag %d (wire type %d)", fieldNum, wire) 3821 } 3822 switch fieldNum { 3823 case 2: 3824 if wireType != 2 { 3825 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 3826 } 3827 var msglen int 3828 for shift := uint(0); ; shift += 7 { 3829 if shift >= 64 { 3830 return ErrIntOverflowAdmin 3831 } 3832 if iNdEx >= l { 3833 return io.ErrUnexpectedEOF 3834 } 3835 b := dAtA[iNdEx] 3836 iNdEx++ 3837 msglen |= int(b&0x7F) << shift 3838 if b < 0x80 { 3839 break 3840 } 3841 } 3842 if msglen < 0 { 3843 return ErrInvalidLengthAdmin 3844 } 3845 postIndex := iNdEx + msglen 3846 if postIndex < 0 { 3847 return ErrInvalidLengthAdmin 3848 } 3849 if postIndex > l { 3850 return io.ErrUnexpectedEOF 3851 } 3852 if m.Object == nil { 3853 m.Object = &pfs.PutObjectRequest{} 3854 } 3855 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3856 return err 3857 } 3858 iNdEx = postIndex 3859 case 3: 3860 if wireType != 2 { 3861 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 3862 } 3863 var msglen int 3864 for shift := uint(0); ; shift += 7 { 3865 if shift >= 64 { 3866 return ErrIntOverflowAdmin 3867 } 3868 if iNdEx >= l { 3869 return io.ErrUnexpectedEOF 3870 } 3871 b := dAtA[iNdEx] 3872 iNdEx++ 3873 msglen |= int(b&0x7F) << shift 3874 if b < 0x80 { 3875 break 3876 } 3877 } 3878 if msglen < 0 { 3879 return ErrInvalidLengthAdmin 3880 } 3881 postIndex := iNdEx + msglen 3882 if postIndex < 0 { 3883 return ErrInvalidLengthAdmin 3884 } 3885 if postIndex > l { 3886 return io.ErrUnexpectedEOF 3887 } 3888 if m.Tag == nil { 3889 m.Tag = &pfs.TagObjectRequest{} 3890 } 3891 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3892 return err 3893 } 3894 iNdEx = postIndex 3895 case 4: 3896 if wireType != 2 { 3897 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 3898 } 3899 var msglen int 3900 for shift := uint(0); ; shift += 7 { 3901 if shift >= 64 { 3902 return ErrIntOverflowAdmin 3903 } 3904 if iNdEx >= l { 3905 return io.ErrUnexpectedEOF 3906 } 3907 b := dAtA[iNdEx] 3908 iNdEx++ 3909 msglen |= int(b&0x7F) << shift 3910 if b < 0x80 { 3911 break 3912 } 3913 } 3914 if msglen < 0 { 3915 return ErrInvalidLengthAdmin 3916 } 3917 postIndex := iNdEx + msglen 3918 if postIndex < 0 { 3919 return ErrInvalidLengthAdmin 3920 } 3921 if postIndex > l { 3922 return io.ErrUnexpectedEOF 3923 } 3924 if m.Repo == nil { 3925 m.Repo = &pfs.CreateRepoRequest{} 3926 } 3927 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3928 return err 3929 } 3930 iNdEx = postIndex 3931 case 5: 3932 if wireType != 2 { 3933 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 3934 } 3935 var msglen int 3936 for shift := uint(0); ; shift += 7 { 3937 if shift >= 64 { 3938 return ErrIntOverflowAdmin 3939 } 3940 if iNdEx >= l { 3941 return io.ErrUnexpectedEOF 3942 } 3943 b := dAtA[iNdEx] 3944 iNdEx++ 3945 msglen |= int(b&0x7F) << shift 3946 if b < 0x80 { 3947 break 3948 } 3949 } 3950 if msglen < 0 { 3951 return ErrInvalidLengthAdmin 3952 } 3953 postIndex := iNdEx + msglen 3954 if postIndex < 0 { 3955 return ErrInvalidLengthAdmin 3956 } 3957 if postIndex > l { 3958 return io.ErrUnexpectedEOF 3959 } 3960 if m.Commit == nil { 3961 m.Commit = &pfs.BuildCommitRequest{} 3962 } 3963 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3964 return err 3965 } 3966 iNdEx = postIndex 3967 case 6: 3968 if wireType != 2 { 3969 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 3970 } 3971 var msglen int 3972 for shift := uint(0); ; shift += 7 { 3973 if shift >= 64 { 3974 return ErrIntOverflowAdmin 3975 } 3976 if iNdEx >= l { 3977 return io.ErrUnexpectedEOF 3978 } 3979 b := dAtA[iNdEx] 3980 iNdEx++ 3981 msglen |= int(b&0x7F) << shift 3982 if b < 0x80 { 3983 break 3984 } 3985 } 3986 if msglen < 0 { 3987 return ErrInvalidLengthAdmin 3988 } 3989 postIndex := iNdEx + msglen 3990 if postIndex < 0 { 3991 return ErrInvalidLengthAdmin 3992 } 3993 if postIndex > l { 3994 return io.ErrUnexpectedEOF 3995 } 3996 if m.Branch == nil { 3997 m.Branch = &pfs.CreateBranchRequest{} 3998 } 3999 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4000 return err 4001 } 4002 iNdEx = postIndex 4003 case 7: 4004 if wireType != 2 { 4005 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 4006 } 4007 var msglen int 4008 for shift := uint(0); ; shift += 7 { 4009 if shift >= 64 { 4010 return ErrIntOverflowAdmin 4011 } 4012 if iNdEx >= l { 4013 return io.ErrUnexpectedEOF 4014 } 4015 b := dAtA[iNdEx] 4016 iNdEx++ 4017 msglen |= int(b&0x7F) << shift 4018 if b < 0x80 { 4019 break 4020 } 4021 } 4022 if msglen < 0 { 4023 return ErrInvalidLengthAdmin 4024 } 4025 postIndex := iNdEx + msglen 4026 if postIndex < 0 { 4027 return ErrInvalidLengthAdmin 4028 } 4029 if postIndex > l { 4030 return io.ErrUnexpectedEOF 4031 } 4032 if m.Pipeline == nil { 4033 m.Pipeline = &pps.CreatePipelineRequest{} 4034 } 4035 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4036 return err 4037 } 4038 iNdEx = postIndex 4039 default: 4040 iNdEx = preIndex 4041 skippy, err := skipAdmin(dAtA[iNdEx:]) 4042 if err != nil { 4043 return err 4044 } 4045 if (skippy < 0) || (iNdEx+skippy) < 0 { 4046 return ErrInvalidLengthAdmin 4047 } 4048 if (iNdEx + skippy) > l { 4049 return io.ErrUnexpectedEOF 4050 } 4051 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4052 iNdEx += skippy 4053 } 4054 } 4055 4056 if iNdEx > l { 4057 return io.ErrUnexpectedEOF 4058 } 4059 return nil 4060 } 4061 func (m *Op1_8) Unmarshal(dAtA []byte) error { 4062 l := len(dAtA) 4063 iNdEx := 0 4064 for iNdEx < l { 4065 preIndex := iNdEx 4066 var wire uint64 4067 for shift := uint(0); ; shift += 7 { 4068 if shift >= 64 { 4069 return ErrIntOverflowAdmin 4070 } 4071 if iNdEx >= l { 4072 return io.ErrUnexpectedEOF 4073 } 4074 b := dAtA[iNdEx] 4075 iNdEx++ 4076 wire |= uint64(b&0x7F) << shift 4077 if b < 0x80 { 4078 break 4079 } 4080 } 4081 fieldNum := int32(wire >> 3) 4082 wireType := int(wire & 0x7) 4083 if wireType == 4 { 4084 return fmt.Errorf("proto: Op1_8: wiretype end group for non-group") 4085 } 4086 if fieldNum <= 0 { 4087 return fmt.Errorf("proto: Op1_8: illegal tag %d (wire type %d)", fieldNum, wire) 4088 } 4089 switch fieldNum { 4090 case 2: 4091 if wireType != 2 { 4092 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 4093 } 4094 var msglen int 4095 for shift := uint(0); ; shift += 7 { 4096 if shift >= 64 { 4097 return ErrIntOverflowAdmin 4098 } 4099 if iNdEx >= l { 4100 return io.ErrUnexpectedEOF 4101 } 4102 b := dAtA[iNdEx] 4103 iNdEx++ 4104 msglen |= int(b&0x7F) << shift 4105 if b < 0x80 { 4106 break 4107 } 4108 } 4109 if msglen < 0 { 4110 return ErrInvalidLengthAdmin 4111 } 4112 postIndex := iNdEx + msglen 4113 if postIndex < 0 { 4114 return ErrInvalidLengthAdmin 4115 } 4116 if postIndex > l { 4117 return io.ErrUnexpectedEOF 4118 } 4119 if m.Object == nil { 4120 m.Object = &pfs1.PutObjectRequest{} 4121 } 4122 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4123 return err 4124 } 4125 iNdEx = postIndex 4126 case 3: 4127 if wireType != 2 { 4128 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 4129 } 4130 var msglen int 4131 for shift := uint(0); ; shift += 7 { 4132 if shift >= 64 { 4133 return ErrIntOverflowAdmin 4134 } 4135 if iNdEx >= l { 4136 return io.ErrUnexpectedEOF 4137 } 4138 b := dAtA[iNdEx] 4139 iNdEx++ 4140 msglen |= int(b&0x7F) << shift 4141 if b < 0x80 { 4142 break 4143 } 4144 } 4145 if msglen < 0 { 4146 return ErrInvalidLengthAdmin 4147 } 4148 postIndex := iNdEx + msglen 4149 if postIndex < 0 { 4150 return ErrInvalidLengthAdmin 4151 } 4152 if postIndex > l { 4153 return io.ErrUnexpectedEOF 4154 } 4155 if m.Tag == nil { 4156 m.Tag = &pfs1.TagObjectRequest{} 4157 } 4158 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4159 return err 4160 } 4161 iNdEx = postIndex 4162 case 4: 4163 if wireType != 2 { 4164 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 4165 } 4166 var msglen int 4167 for shift := uint(0); ; shift += 7 { 4168 if shift >= 64 { 4169 return ErrIntOverflowAdmin 4170 } 4171 if iNdEx >= l { 4172 return io.ErrUnexpectedEOF 4173 } 4174 b := dAtA[iNdEx] 4175 iNdEx++ 4176 msglen |= int(b&0x7F) << shift 4177 if b < 0x80 { 4178 break 4179 } 4180 } 4181 if msglen < 0 { 4182 return ErrInvalidLengthAdmin 4183 } 4184 postIndex := iNdEx + msglen 4185 if postIndex < 0 { 4186 return ErrInvalidLengthAdmin 4187 } 4188 if postIndex > l { 4189 return io.ErrUnexpectedEOF 4190 } 4191 if m.Repo == nil { 4192 m.Repo = &pfs1.CreateRepoRequest{} 4193 } 4194 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4195 return err 4196 } 4197 iNdEx = postIndex 4198 case 5: 4199 if wireType != 2 { 4200 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 4201 } 4202 var msglen int 4203 for shift := uint(0); ; shift += 7 { 4204 if shift >= 64 { 4205 return ErrIntOverflowAdmin 4206 } 4207 if iNdEx >= l { 4208 return io.ErrUnexpectedEOF 4209 } 4210 b := dAtA[iNdEx] 4211 iNdEx++ 4212 msglen |= int(b&0x7F) << shift 4213 if b < 0x80 { 4214 break 4215 } 4216 } 4217 if msglen < 0 { 4218 return ErrInvalidLengthAdmin 4219 } 4220 postIndex := iNdEx + msglen 4221 if postIndex < 0 { 4222 return ErrInvalidLengthAdmin 4223 } 4224 if postIndex > l { 4225 return io.ErrUnexpectedEOF 4226 } 4227 if m.Commit == nil { 4228 m.Commit = &pfs1.BuildCommitRequest{} 4229 } 4230 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4231 return err 4232 } 4233 iNdEx = postIndex 4234 case 6: 4235 if wireType != 2 { 4236 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 4237 } 4238 var msglen int 4239 for shift := uint(0); ; shift += 7 { 4240 if shift >= 64 { 4241 return ErrIntOverflowAdmin 4242 } 4243 if iNdEx >= l { 4244 return io.ErrUnexpectedEOF 4245 } 4246 b := dAtA[iNdEx] 4247 iNdEx++ 4248 msglen |= int(b&0x7F) << shift 4249 if b < 0x80 { 4250 break 4251 } 4252 } 4253 if msglen < 0 { 4254 return ErrInvalidLengthAdmin 4255 } 4256 postIndex := iNdEx + msglen 4257 if postIndex < 0 { 4258 return ErrInvalidLengthAdmin 4259 } 4260 if postIndex > l { 4261 return io.ErrUnexpectedEOF 4262 } 4263 if m.Branch == nil { 4264 m.Branch = &pfs1.CreateBranchRequest{} 4265 } 4266 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4267 return err 4268 } 4269 iNdEx = postIndex 4270 case 7: 4271 if wireType != 2 { 4272 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 4273 } 4274 var msglen int 4275 for shift := uint(0); ; shift += 7 { 4276 if shift >= 64 { 4277 return ErrIntOverflowAdmin 4278 } 4279 if iNdEx >= l { 4280 return io.ErrUnexpectedEOF 4281 } 4282 b := dAtA[iNdEx] 4283 iNdEx++ 4284 msglen |= int(b&0x7F) << shift 4285 if b < 0x80 { 4286 break 4287 } 4288 } 4289 if msglen < 0 { 4290 return ErrInvalidLengthAdmin 4291 } 4292 postIndex := iNdEx + msglen 4293 if postIndex < 0 { 4294 return ErrInvalidLengthAdmin 4295 } 4296 if postIndex > l { 4297 return io.ErrUnexpectedEOF 4298 } 4299 if m.Pipeline == nil { 4300 m.Pipeline = &pps1.CreatePipelineRequest{} 4301 } 4302 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4303 return err 4304 } 4305 iNdEx = postIndex 4306 default: 4307 iNdEx = preIndex 4308 skippy, err := skipAdmin(dAtA[iNdEx:]) 4309 if err != nil { 4310 return err 4311 } 4312 if (skippy < 0) || (iNdEx+skippy) < 0 { 4313 return ErrInvalidLengthAdmin 4314 } 4315 if (iNdEx + skippy) > l { 4316 return io.ErrUnexpectedEOF 4317 } 4318 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4319 iNdEx += skippy 4320 } 4321 } 4322 4323 if iNdEx > l { 4324 return io.ErrUnexpectedEOF 4325 } 4326 return nil 4327 } 4328 func (m *Op1_9) Unmarshal(dAtA []byte) error { 4329 l := len(dAtA) 4330 iNdEx := 0 4331 for iNdEx < l { 4332 preIndex := iNdEx 4333 var wire uint64 4334 for shift := uint(0); ; shift += 7 { 4335 if shift >= 64 { 4336 return ErrIntOverflowAdmin 4337 } 4338 if iNdEx >= l { 4339 return io.ErrUnexpectedEOF 4340 } 4341 b := dAtA[iNdEx] 4342 iNdEx++ 4343 wire |= uint64(b&0x7F) << shift 4344 if b < 0x80 { 4345 break 4346 } 4347 } 4348 fieldNum := int32(wire >> 3) 4349 wireType := int(wire & 0x7) 4350 if wireType == 4 { 4351 return fmt.Errorf("proto: Op1_9: wiretype end group for non-group") 4352 } 4353 if fieldNum <= 0 { 4354 return fmt.Errorf("proto: Op1_9: illegal tag %d (wire type %d)", fieldNum, wire) 4355 } 4356 switch fieldNum { 4357 case 2: 4358 if wireType != 2 { 4359 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 4360 } 4361 var msglen int 4362 for shift := uint(0); ; shift += 7 { 4363 if shift >= 64 { 4364 return ErrIntOverflowAdmin 4365 } 4366 if iNdEx >= l { 4367 return io.ErrUnexpectedEOF 4368 } 4369 b := dAtA[iNdEx] 4370 iNdEx++ 4371 msglen |= int(b&0x7F) << shift 4372 if b < 0x80 { 4373 break 4374 } 4375 } 4376 if msglen < 0 { 4377 return ErrInvalidLengthAdmin 4378 } 4379 postIndex := iNdEx + msglen 4380 if postIndex < 0 { 4381 return ErrInvalidLengthAdmin 4382 } 4383 if postIndex > l { 4384 return io.ErrUnexpectedEOF 4385 } 4386 if m.Object == nil { 4387 m.Object = &pfs2.PutObjectRequest{} 4388 } 4389 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4390 return err 4391 } 4392 iNdEx = postIndex 4393 case 3: 4394 if wireType != 2 { 4395 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 4396 } 4397 var msglen int 4398 for shift := uint(0); ; shift += 7 { 4399 if shift >= 64 { 4400 return ErrIntOverflowAdmin 4401 } 4402 if iNdEx >= l { 4403 return io.ErrUnexpectedEOF 4404 } 4405 b := dAtA[iNdEx] 4406 iNdEx++ 4407 msglen |= int(b&0x7F) << shift 4408 if b < 0x80 { 4409 break 4410 } 4411 } 4412 if msglen < 0 { 4413 return ErrInvalidLengthAdmin 4414 } 4415 postIndex := iNdEx + msglen 4416 if postIndex < 0 { 4417 return ErrInvalidLengthAdmin 4418 } 4419 if postIndex > l { 4420 return io.ErrUnexpectedEOF 4421 } 4422 if m.Tag == nil { 4423 m.Tag = &pfs2.TagObjectRequest{} 4424 } 4425 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4426 return err 4427 } 4428 iNdEx = postIndex 4429 case 4: 4430 if wireType != 2 { 4431 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 4432 } 4433 var msglen int 4434 for shift := uint(0); ; shift += 7 { 4435 if shift >= 64 { 4436 return ErrIntOverflowAdmin 4437 } 4438 if iNdEx >= l { 4439 return io.ErrUnexpectedEOF 4440 } 4441 b := dAtA[iNdEx] 4442 iNdEx++ 4443 msglen |= int(b&0x7F) << shift 4444 if b < 0x80 { 4445 break 4446 } 4447 } 4448 if msglen < 0 { 4449 return ErrInvalidLengthAdmin 4450 } 4451 postIndex := iNdEx + msglen 4452 if postIndex < 0 { 4453 return ErrInvalidLengthAdmin 4454 } 4455 if postIndex > l { 4456 return io.ErrUnexpectedEOF 4457 } 4458 if m.Repo == nil { 4459 m.Repo = &pfs2.CreateRepoRequest{} 4460 } 4461 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4462 return err 4463 } 4464 iNdEx = postIndex 4465 case 5: 4466 if wireType != 2 { 4467 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 4468 } 4469 var msglen int 4470 for shift := uint(0); ; shift += 7 { 4471 if shift >= 64 { 4472 return ErrIntOverflowAdmin 4473 } 4474 if iNdEx >= l { 4475 return io.ErrUnexpectedEOF 4476 } 4477 b := dAtA[iNdEx] 4478 iNdEx++ 4479 msglen |= int(b&0x7F) << shift 4480 if b < 0x80 { 4481 break 4482 } 4483 } 4484 if msglen < 0 { 4485 return ErrInvalidLengthAdmin 4486 } 4487 postIndex := iNdEx + msglen 4488 if postIndex < 0 { 4489 return ErrInvalidLengthAdmin 4490 } 4491 if postIndex > l { 4492 return io.ErrUnexpectedEOF 4493 } 4494 if m.Commit == nil { 4495 m.Commit = &pfs2.BuildCommitRequest{} 4496 } 4497 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4498 return err 4499 } 4500 iNdEx = postIndex 4501 case 6: 4502 if wireType != 2 { 4503 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 4504 } 4505 var msglen int 4506 for shift := uint(0); ; shift += 7 { 4507 if shift >= 64 { 4508 return ErrIntOverflowAdmin 4509 } 4510 if iNdEx >= l { 4511 return io.ErrUnexpectedEOF 4512 } 4513 b := dAtA[iNdEx] 4514 iNdEx++ 4515 msglen |= int(b&0x7F) << shift 4516 if b < 0x80 { 4517 break 4518 } 4519 } 4520 if msglen < 0 { 4521 return ErrInvalidLengthAdmin 4522 } 4523 postIndex := iNdEx + msglen 4524 if postIndex < 0 { 4525 return ErrInvalidLengthAdmin 4526 } 4527 if postIndex > l { 4528 return io.ErrUnexpectedEOF 4529 } 4530 if m.Branch == nil { 4531 m.Branch = &pfs2.CreateBranchRequest{} 4532 } 4533 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4534 return err 4535 } 4536 iNdEx = postIndex 4537 case 7: 4538 if wireType != 2 { 4539 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 4540 } 4541 var msglen int 4542 for shift := uint(0); ; shift += 7 { 4543 if shift >= 64 { 4544 return ErrIntOverflowAdmin 4545 } 4546 if iNdEx >= l { 4547 return io.ErrUnexpectedEOF 4548 } 4549 b := dAtA[iNdEx] 4550 iNdEx++ 4551 msglen |= int(b&0x7F) << shift 4552 if b < 0x80 { 4553 break 4554 } 4555 } 4556 if msglen < 0 { 4557 return ErrInvalidLengthAdmin 4558 } 4559 postIndex := iNdEx + msglen 4560 if postIndex < 0 { 4561 return ErrInvalidLengthAdmin 4562 } 4563 if postIndex > l { 4564 return io.ErrUnexpectedEOF 4565 } 4566 if m.Pipeline == nil { 4567 m.Pipeline = &pps2.CreatePipelineRequest{} 4568 } 4569 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4570 return err 4571 } 4572 iNdEx = postIndex 4573 case 8: 4574 if wireType != 2 { 4575 return fmt.Errorf("proto: wrong wireType = %d for field Job", wireType) 4576 } 4577 var msglen int 4578 for shift := uint(0); ; shift += 7 { 4579 if shift >= 64 { 4580 return ErrIntOverflowAdmin 4581 } 4582 if iNdEx >= l { 4583 return io.ErrUnexpectedEOF 4584 } 4585 b := dAtA[iNdEx] 4586 iNdEx++ 4587 msglen |= int(b&0x7F) << shift 4588 if b < 0x80 { 4589 break 4590 } 4591 } 4592 if msglen < 0 { 4593 return ErrInvalidLengthAdmin 4594 } 4595 postIndex := iNdEx + msglen 4596 if postIndex < 0 { 4597 return ErrInvalidLengthAdmin 4598 } 4599 if postIndex > l { 4600 return io.ErrUnexpectedEOF 4601 } 4602 if m.Job == nil { 4603 m.Job = &pps2.CreateJobRequest{} 4604 } 4605 if err := m.Job.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4606 return err 4607 } 4608 iNdEx = postIndex 4609 case 9: 4610 if wireType != 2 { 4611 return fmt.Errorf("proto: wrong wireType = %d for field CreateObject", wireType) 4612 } 4613 var msglen int 4614 for shift := uint(0); ; shift += 7 { 4615 if shift >= 64 { 4616 return ErrIntOverflowAdmin 4617 } 4618 if iNdEx >= l { 4619 return io.ErrUnexpectedEOF 4620 } 4621 b := dAtA[iNdEx] 4622 iNdEx++ 4623 msglen |= int(b&0x7F) << shift 4624 if b < 0x80 { 4625 break 4626 } 4627 } 4628 if msglen < 0 { 4629 return ErrInvalidLengthAdmin 4630 } 4631 postIndex := iNdEx + msglen 4632 if postIndex < 0 { 4633 return ErrInvalidLengthAdmin 4634 } 4635 if postIndex > l { 4636 return io.ErrUnexpectedEOF 4637 } 4638 if m.CreateObject == nil { 4639 m.CreateObject = &pfs2.CreateObjectRequest{} 4640 } 4641 if err := m.CreateObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4642 return err 4643 } 4644 iNdEx = postIndex 4645 case 10: 4646 if wireType != 2 { 4647 return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) 4648 } 4649 var msglen int 4650 for shift := uint(0); ; shift += 7 { 4651 if shift >= 64 { 4652 return ErrIntOverflowAdmin 4653 } 4654 if iNdEx >= l { 4655 return io.ErrUnexpectedEOF 4656 } 4657 b := dAtA[iNdEx] 4658 iNdEx++ 4659 msglen |= int(b&0x7F) << shift 4660 if b < 0x80 { 4661 break 4662 } 4663 } 4664 if msglen < 0 { 4665 return ErrInvalidLengthAdmin 4666 } 4667 postIndex := iNdEx + msglen 4668 if postIndex < 0 { 4669 return ErrInvalidLengthAdmin 4670 } 4671 if postIndex > l { 4672 return io.ErrUnexpectedEOF 4673 } 4674 if m.Block == nil { 4675 m.Block = &pfs2.PutBlockRequest{} 4676 } 4677 if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4678 return err 4679 } 4680 iNdEx = postIndex 4681 default: 4682 iNdEx = preIndex 4683 skippy, err := skipAdmin(dAtA[iNdEx:]) 4684 if err != nil { 4685 return err 4686 } 4687 if (skippy < 0) || (iNdEx+skippy) < 0 { 4688 return ErrInvalidLengthAdmin 4689 } 4690 if (iNdEx + skippy) > l { 4691 return io.ErrUnexpectedEOF 4692 } 4693 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 4694 iNdEx += skippy 4695 } 4696 } 4697 4698 if iNdEx > l { 4699 return io.ErrUnexpectedEOF 4700 } 4701 return nil 4702 } 4703 func (m *Op1_10) Unmarshal(dAtA []byte) error { 4704 l := len(dAtA) 4705 iNdEx := 0 4706 for iNdEx < l { 4707 preIndex := iNdEx 4708 var wire uint64 4709 for shift := uint(0); ; shift += 7 { 4710 if shift >= 64 { 4711 return ErrIntOverflowAdmin 4712 } 4713 if iNdEx >= l { 4714 return io.ErrUnexpectedEOF 4715 } 4716 b := dAtA[iNdEx] 4717 iNdEx++ 4718 wire |= uint64(b&0x7F) << shift 4719 if b < 0x80 { 4720 break 4721 } 4722 } 4723 fieldNum := int32(wire >> 3) 4724 wireType := int(wire & 0x7) 4725 if wireType == 4 { 4726 return fmt.Errorf("proto: Op1_10: wiretype end group for non-group") 4727 } 4728 if fieldNum <= 0 { 4729 return fmt.Errorf("proto: Op1_10: illegal tag %d (wire type %d)", fieldNum, wire) 4730 } 4731 switch fieldNum { 4732 case 2: 4733 if wireType != 2 { 4734 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 4735 } 4736 var msglen int 4737 for shift := uint(0); ; shift += 7 { 4738 if shift >= 64 { 4739 return ErrIntOverflowAdmin 4740 } 4741 if iNdEx >= l { 4742 return io.ErrUnexpectedEOF 4743 } 4744 b := dAtA[iNdEx] 4745 iNdEx++ 4746 msglen |= int(b&0x7F) << shift 4747 if b < 0x80 { 4748 break 4749 } 4750 } 4751 if msglen < 0 { 4752 return ErrInvalidLengthAdmin 4753 } 4754 postIndex := iNdEx + msglen 4755 if postIndex < 0 { 4756 return ErrInvalidLengthAdmin 4757 } 4758 if postIndex > l { 4759 return io.ErrUnexpectedEOF 4760 } 4761 if m.Object == nil { 4762 m.Object = &pfs3.PutObjectRequest{} 4763 } 4764 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4765 return err 4766 } 4767 iNdEx = postIndex 4768 case 3: 4769 if wireType != 2 { 4770 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 4771 } 4772 var msglen int 4773 for shift := uint(0); ; shift += 7 { 4774 if shift >= 64 { 4775 return ErrIntOverflowAdmin 4776 } 4777 if iNdEx >= l { 4778 return io.ErrUnexpectedEOF 4779 } 4780 b := dAtA[iNdEx] 4781 iNdEx++ 4782 msglen |= int(b&0x7F) << shift 4783 if b < 0x80 { 4784 break 4785 } 4786 } 4787 if msglen < 0 { 4788 return ErrInvalidLengthAdmin 4789 } 4790 postIndex := iNdEx + msglen 4791 if postIndex < 0 { 4792 return ErrInvalidLengthAdmin 4793 } 4794 if postIndex > l { 4795 return io.ErrUnexpectedEOF 4796 } 4797 if m.Tag == nil { 4798 m.Tag = &pfs3.TagObjectRequest{} 4799 } 4800 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4801 return err 4802 } 4803 iNdEx = postIndex 4804 case 4: 4805 if wireType != 2 { 4806 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 4807 } 4808 var msglen int 4809 for shift := uint(0); ; shift += 7 { 4810 if shift >= 64 { 4811 return ErrIntOverflowAdmin 4812 } 4813 if iNdEx >= l { 4814 return io.ErrUnexpectedEOF 4815 } 4816 b := dAtA[iNdEx] 4817 iNdEx++ 4818 msglen |= int(b&0x7F) << shift 4819 if b < 0x80 { 4820 break 4821 } 4822 } 4823 if msglen < 0 { 4824 return ErrInvalidLengthAdmin 4825 } 4826 postIndex := iNdEx + msglen 4827 if postIndex < 0 { 4828 return ErrInvalidLengthAdmin 4829 } 4830 if postIndex > l { 4831 return io.ErrUnexpectedEOF 4832 } 4833 if m.Repo == nil { 4834 m.Repo = &pfs3.CreateRepoRequest{} 4835 } 4836 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4837 return err 4838 } 4839 iNdEx = postIndex 4840 case 5: 4841 if wireType != 2 { 4842 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 4843 } 4844 var msglen int 4845 for shift := uint(0); ; shift += 7 { 4846 if shift >= 64 { 4847 return ErrIntOverflowAdmin 4848 } 4849 if iNdEx >= l { 4850 return io.ErrUnexpectedEOF 4851 } 4852 b := dAtA[iNdEx] 4853 iNdEx++ 4854 msglen |= int(b&0x7F) << shift 4855 if b < 0x80 { 4856 break 4857 } 4858 } 4859 if msglen < 0 { 4860 return ErrInvalidLengthAdmin 4861 } 4862 postIndex := iNdEx + msglen 4863 if postIndex < 0 { 4864 return ErrInvalidLengthAdmin 4865 } 4866 if postIndex > l { 4867 return io.ErrUnexpectedEOF 4868 } 4869 if m.Commit == nil { 4870 m.Commit = &pfs3.BuildCommitRequest{} 4871 } 4872 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4873 return err 4874 } 4875 iNdEx = postIndex 4876 case 6: 4877 if wireType != 2 { 4878 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 4879 } 4880 var msglen int 4881 for shift := uint(0); ; shift += 7 { 4882 if shift >= 64 { 4883 return ErrIntOverflowAdmin 4884 } 4885 if iNdEx >= l { 4886 return io.ErrUnexpectedEOF 4887 } 4888 b := dAtA[iNdEx] 4889 iNdEx++ 4890 msglen |= int(b&0x7F) << shift 4891 if b < 0x80 { 4892 break 4893 } 4894 } 4895 if msglen < 0 { 4896 return ErrInvalidLengthAdmin 4897 } 4898 postIndex := iNdEx + msglen 4899 if postIndex < 0 { 4900 return ErrInvalidLengthAdmin 4901 } 4902 if postIndex > l { 4903 return io.ErrUnexpectedEOF 4904 } 4905 if m.Branch == nil { 4906 m.Branch = &pfs3.CreateBranchRequest{} 4907 } 4908 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4909 return err 4910 } 4911 iNdEx = postIndex 4912 case 7: 4913 if wireType != 2 { 4914 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 4915 } 4916 var msglen int 4917 for shift := uint(0); ; shift += 7 { 4918 if shift >= 64 { 4919 return ErrIntOverflowAdmin 4920 } 4921 if iNdEx >= l { 4922 return io.ErrUnexpectedEOF 4923 } 4924 b := dAtA[iNdEx] 4925 iNdEx++ 4926 msglen |= int(b&0x7F) << shift 4927 if b < 0x80 { 4928 break 4929 } 4930 } 4931 if msglen < 0 { 4932 return ErrInvalidLengthAdmin 4933 } 4934 postIndex := iNdEx + msglen 4935 if postIndex < 0 { 4936 return ErrInvalidLengthAdmin 4937 } 4938 if postIndex > l { 4939 return io.ErrUnexpectedEOF 4940 } 4941 if m.Pipeline == nil { 4942 m.Pipeline = &pps3.CreatePipelineRequest{} 4943 } 4944 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4945 return err 4946 } 4947 iNdEx = postIndex 4948 case 8: 4949 if wireType != 2 { 4950 return fmt.Errorf("proto: wrong wireType = %d for field Job", wireType) 4951 } 4952 var msglen int 4953 for shift := uint(0); ; shift += 7 { 4954 if shift >= 64 { 4955 return ErrIntOverflowAdmin 4956 } 4957 if iNdEx >= l { 4958 return io.ErrUnexpectedEOF 4959 } 4960 b := dAtA[iNdEx] 4961 iNdEx++ 4962 msglen |= int(b&0x7F) << shift 4963 if b < 0x80 { 4964 break 4965 } 4966 } 4967 if msglen < 0 { 4968 return ErrInvalidLengthAdmin 4969 } 4970 postIndex := iNdEx + msglen 4971 if postIndex < 0 { 4972 return ErrInvalidLengthAdmin 4973 } 4974 if postIndex > l { 4975 return io.ErrUnexpectedEOF 4976 } 4977 if m.Job == nil { 4978 m.Job = &pps3.CreateJobRequest{} 4979 } 4980 if err := m.Job.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4981 return err 4982 } 4983 iNdEx = postIndex 4984 case 9: 4985 if wireType != 2 { 4986 return fmt.Errorf("proto: wrong wireType = %d for field CreateObject", wireType) 4987 } 4988 var msglen int 4989 for shift := uint(0); ; shift += 7 { 4990 if shift >= 64 { 4991 return ErrIntOverflowAdmin 4992 } 4993 if iNdEx >= l { 4994 return io.ErrUnexpectedEOF 4995 } 4996 b := dAtA[iNdEx] 4997 iNdEx++ 4998 msglen |= int(b&0x7F) << shift 4999 if b < 0x80 { 5000 break 5001 } 5002 } 5003 if msglen < 0 { 5004 return ErrInvalidLengthAdmin 5005 } 5006 postIndex := iNdEx + msglen 5007 if postIndex < 0 { 5008 return ErrInvalidLengthAdmin 5009 } 5010 if postIndex > l { 5011 return io.ErrUnexpectedEOF 5012 } 5013 if m.CreateObject == nil { 5014 m.CreateObject = &pfs3.CreateObjectRequest{} 5015 } 5016 if err := m.CreateObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5017 return err 5018 } 5019 iNdEx = postIndex 5020 case 10: 5021 if wireType != 2 { 5022 return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) 5023 } 5024 var msglen int 5025 for shift := uint(0); ; shift += 7 { 5026 if shift >= 64 { 5027 return ErrIntOverflowAdmin 5028 } 5029 if iNdEx >= l { 5030 return io.ErrUnexpectedEOF 5031 } 5032 b := dAtA[iNdEx] 5033 iNdEx++ 5034 msglen |= int(b&0x7F) << shift 5035 if b < 0x80 { 5036 break 5037 } 5038 } 5039 if msglen < 0 { 5040 return ErrInvalidLengthAdmin 5041 } 5042 postIndex := iNdEx + msglen 5043 if postIndex < 0 { 5044 return ErrInvalidLengthAdmin 5045 } 5046 if postIndex > l { 5047 return io.ErrUnexpectedEOF 5048 } 5049 if m.Block == nil { 5050 m.Block = &pfs3.PutBlockRequest{} 5051 } 5052 if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5053 return err 5054 } 5055 iNdEx = postIndex 5056 default: 5057 iNdEx = preIndex 5058 skippy, err := skipAdmin(dAtA[iNdEx:]) 5059 if err != nil { 5060 return err 5061 } 5062 if (skippy < 0) || (iNdEx+skippy) < 0 { 5063 return ErrInvalidLengthAdmin 5064 } 5065 if (iNdEx + skippy) > l { 5066 return io.ErrUnexpectedEOF 5067 } 5068 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 5069 iNdEx += skippy 5070 } 5071 } 5072 5073 if iNdEx > l { 5074 return io.ErrUnexpectedEOF 5075 } 5076 return nil 5077 } 5078 func (m *Op1_11) Unmarshal(dAtA []byte) error { 5079 l := len(dAtA) 5080 iNdEx := 0 5081 for iNdEx < l { 5082 preIndex := iNdEx 5083 var wire uint64 5084 for shift := uint(0); ; shift += 7 { 5085 if shift >= 64 { 5086 return ErrIntOverflowAdmin 5087 } 5088 if iNdEx >= l { 5089 return io.ErrUnexpectedEOF 5090 } 5091 b := dAtA[iNdEx] 5092 iNdEx++ 5093 wire |= uint64(b&0x7F) << shift 5094 if b < 0x80 { 5095 break 5096 } 5097 } 5098 fieldNum := int32(wire >> 3) 5099 wireType := int(wire & 0x7) 5100 if wireType == 4 { 5101 return fmt.Errorf("proto: Op1_11: wiretype end group for non-group") 5102 } 5103 if fieldNum <= 0 { 5104 return fmt.Errorf("proto: Op1_11: illegal tag %d (wire type %d)", fieldNum, wire) 5105 } 5106 switch fieldNum { 5107 case 2: 5108 if wireType != 2 { 5109 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 5110 } 5111 var msglen int 5112 for shift := uint(0); ; shift += 7 { 5113 if shift >= 64 { 5114 return ErrIntOverflowAdmin 5115 } 5116 if iNdEx >= l { 5117 return io.ErrUnexpectedEOF 5118 } 5119 b := dAtA[iNdEx] 5120 iNdEx++ 5121 msglen |= int(b&0x7F) << shift 5122 if b < 0x80 { 5123 break 5124 } 5125 } 5126 if msglen < 0 { 5127 return ErrInvalidLengthAdmin 5128 } 5129 postIndex := iNdEx + msglen 5130 if postIndex < 0 { 5131 return ErrInvalidLengthAdmin 5132 } 5133 if postIndex > l { 5134 return io.ErrUnexpectedEOF 5135 } 5136 if m.Object == nil { 5137 m.Object = &pfs4.PutObjectRequest{} 5138 } 5139 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5140 return err 5141 } 5142 iNdEx = postIndex 5143 case 3: 5144 if wireType != 2 { 5145 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 5146 } 5147 var msglen int 5148 for shift := uint(0); ; shift += 7 { 5149 if shift >= 64 { 5150 return ErrIntOverflowAdmin 5151 } 5152 if iNdEx >= l { 5153 return io.ErrUnexpectedEOF 5154 } 5155 b := dAtA[iNdEx] 5156 iNdEx++ 5157 msglen |= int(b&0x7F) << shift 5158 if b < 0x80 { 5159 break 5160 } 5161 } 5162 if msglen < 0 { 5163 return ErrInvalidLengthAdmin 5164 } 5165 postIndex := iNdEx + msglen 5166 if postIndex < 0 { 5167 return ErrInvalidLengthAdmin 5168 } 5169 if postIndex > l { 5170 return io.ErrUnexpectedEOF 5171 } 5172 if m.Tag == nil { 5173 m.Tag = &pfs4.TagObjectRequest{} 5174 } 5175 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5176 return err 5177 } 5178 iNdEx = postIndex 5179 case 4: 5180 if wireType != 2 { 5181 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 5182 } 5183 var msglen int 5184 for shift := uint(0); ; shift += 7 { 5185 if shift >= 64 { 5186 return ErrIntOverflowAdmin 5187 } 5188 if iNdEx >= l { 5189 return io.ErrUnexpectedEOF 5190 } 5191 b := dAtA[iNdEx] 5192 iNdEx++ 5193 msglen |= int(b&0x7F) << shift 5194 if b < 0x80 { 5195 break 5196 } 5197 } 5198 if msglen < 0 { 5199 return ErrInvalidLengthAdmin 5200 } 5201 postIndex := iNdEx + msglen 5202 if postIndex < 0 { 5203 return ErrInvalidLengthAdmin 5204 } 5205 if postIndex > l { 5206 return io.ErrUnexpectedEOF 5207 } 5208 if m.Repo == nil { 5209 m.Repo = &pfs4.CreateRepoRequest{} 5210 } 5211 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5212 return err 5213 } 5214 iNdEx = postIndex 5215 case 5: 5216 if wireType != 2 { 5217 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 5218 } 5219 var msglen int 5220 for shift := uint(0); ; shift += 7 { 5221 if shift >= 64 { 5222 return ErrIntOverflowAdmin 5223 } 5224 if iNdEx >= l { 5225 return io.ErrUnexpectedEOF 5226 } 5227 b := dAtA[iNdEx] 5228 iNdEx++ 5229 msglen |= int(b&0x7F) << shift 5230 if b < 0x80 { 5231 break 5232 } 5233 } 5234 if msglen < 0 { 5235 return ErrInvalidLengthAdmin 5236 } 5237 postIndex := iNdEx + msglen 5238 if postIndex < 0 { 5239 return ErrInvalidLengthAdmin 5240 } 5241 if postIndex > l { 5242 return io.ErrUnexpectedEOF 5243 } 5244 if m.Commit == nil { 5245 m.Commit = &pfs4.BuildCommitRequest{} 5246 } 5247 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5248 return err 5249 } 5250 iNdEx = postIndex 5251 case 6: 5252 if wireType != 2 { 5253 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 5254 } 5255 var msglen int 5256 for shift := uint(0); ; shift += 7 { 5257 if shift >= 64 { 5258 return ErrIntOverflowAdmin 5259 } 5260 if iNdEx >= l { 5261 return io.ErrUnexpectedEOF 5262 } 5263 b := dAtA[iNdEx] 5264 iNdEx++ 5265 msglen |= int(b&0x7F) << shift 5266 if b < 0x80 { 5267 break 5268 } 5269 } 5270 if msglen < 0 { 5271 return ErrInvalidLengthAdmin 5272 } 5273 postIndex := iNdEx + msglen 5274 if postIndex < 0 { 5275 return ErrInvalidLengthAdmin 5276 } 5277 if postIndex > l { 5278 return io.ErrUnexpectedEOF 5279 } 5280 if m.Branch == nil { 5281 m.Branch = &pfs4.CreateBranchRequest{} 5282 } 5283 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5284 return err 5285 } 5286 iNdEx = postIndex 5287 case 7: 5288 if wireType != 2 { 5289 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 5290 } 5291 var msglen int 5292 for shift := uint(0); ; shift += 7 { 5293 if shift >= 64 { 5294 return ErrIntOverflowAdmin 5295 } 5296 if iNdEx >= l { 5297 return io.ErrUnexpectedEOF 5298 } 5299 b := dAtA[iNdEx] 5300 iNdEx++ 5301 msglen |= int(b&0x7F) << shift 5302 if b < 0x80 { 5303 break 5304 } 5305 } 5306 if msglen < 0 { 5307 return ErrInvalidLengthAdmin 5308 } 5309 postIndex := iNdEx + msglen 5310 if postIndex < 0 { 5311 return ErrInvalidLengthAdmin 5312 } 5313 if postIndex > l { 5314 return io.ErrUnexpectedEOF 5315 } 5316 if m.Pipeline == nil { 5317 m.Pipeline = &pps4.CreatePipelineRequest{} 5318 } 5319 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5320 return err 5321 } 5322 iNdEx = postIndex 5323 case 8: 5324 if wireType != 2 { 5325 return fmt.Errorf("proto: wrong wireType = %d for field Job", wireType) 5326 } 5327 var msglen int 5328 for shift := uint(0); ; shift += 7 { 5329 if shift >= 64 { 5330 return ErrIntOverflowAdmin 5331 } 5332 if iNdEx >= l { 5333 return io.ErrUnexpectedEOF 5334 } 5335 b := dAtA[iNdEx] 5336 iNdEx++ 5337 msglen |= int(b&0x7F) << shift 5338 if b < 0x80 { 5339 break 5340 } 5341 } 5342 if msglen < 0 { 5343 return ErrInvalidLengthAdmin 5344 } 5345 postIndex := iNdEx + msglen 5346 if postIndex < 0 { 5347 return ErrInvalidLengthAdmin 5348 } 5349 if postIndex > l { 5350 return io.ErrUnexpectedEOF 5351 } 5352 if m.Job == nil { 5353 m.Job = &pps4.CreateJobRequest{} 5354 } 5355 if err := m.Job.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5356 return err 5357 } 5358 iNdEx = postIndex 5359 case 9: 5360 if wireType != 2 { 5361 return fmt.Errorf("proto: wrong wireType = %d for field CreateObject", wireType) 5362 } 5363 var msglen int 5364 for shift := uint(0); ; shift += 7 { 5365 if shift >= 64 { 5366 return ErrIntOverflowAdmin 5367 } 5368 if iNdEx >= l { 5369 return io.ErrUnexpectedEOF 5370 } 5371 b := dAtA[iNdEx] 5372 iNdEx++ 5373 msglen |= int(b&0x7F) << shift 5374 if b < 0x80 { 5375 break 5376 } 5377 } 5378 if msglen < 0 { 5379 return ErrInvalidLengthAdmin 5380 } 5381 postIndex := iNdEx + msglen 5382 if postIndex < 0 { 5383 return ErrInvalidLengthAdmin 5384 } 5385 if postIndex > l { 5386 return io.ErrUnexpectedEOF 5387 } 5388 if m.CreateObject == nil { 5389 m.CreateObject = &pfs4.CreateObjectRequest{} 5390 } 5391 if err := m.CreateObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5392 return err 5393 } 5394 iNdEx = postIndex 5395 case 10: 5396 if wireType != 2 { 5397 return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) 5398 } 5399 var msglen int 5400 for shift := uint(0); ; shift += 7 { 5401 if shift >= 64 { 5402 return ErrIntOverflowAdmin 5403 } 5404 if iNdEx >= l { 5405 return io.ErrUnexpectedEOF 5406 } 5407 b := dAtA[iNdEx] 5408 iNdEx++ 5409 msglen |= int(b&0x7F) << shift 5410 if b < 0x80 { 5411 break 5412 } 5413 } 5414 if msglen < 0 { 5415 return ErrInvalidLengthAdmin 5416 } 5417 postIndex := iNdEx + msglen 5418 if postIndex < 0 { 5419 return ErrInvalidLengthAdmin 5420 } 5421 if postIndex > l { 5422 return io.ErrUnexpectedEOF 5423 } 5424 if m.Block == nil { 5425 m.Block = &pfs4.PutBlockRequest{} 5426 } 5427 if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5428 return err 5429 } 5430 iNdEx = postIndex 5431 case 11: 5432 if wireType != 2 { 5433 return fmt.Errorf("proto: wrong wireType = %d for field SetAcl", wireType) 5434 } 5435 var msglen int 5436 for shift := uint(0); ; shift += 7 { 5437 if shift >= 64 { 5438 return ErrIntOverflowAdmin 5439 } 5440 if iNdEx >= l { 5441 return io.ErrUnexpectedEOF 5442 } 5443 b := dAtA[iNdEx] 5444 iNdEx++ 5445 msglen |= int(b&0x7F) << shift 5446 if b < 0x80 { 5447 break 5448 } 5449 } 5450 if msglen < 0 { 5451 return ErrInvalidLengthAdmin 5452 } 5453 postIndex := iNdEx + msglen 5454 if postIndex < 0 { 5455 return ErrInvalidLengthAdmin 5456 } 5457 if postIndex > l { 5458 return io.ErrUnexpectedEOF 5459 } 5460 if m.SetAcl == nil { 5461 m.SetAcl = &auth.SetACLRequest{} 5462 } 5463 if err := m.SetAcl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5464 return err 5465 } 5466 iNdEx = postIndex 5467 case 12: 5468 if wireType != 2 { 5469 return fmt.Errorf("proto: wrong wireType = %d for field SetClusterRoleBinding", wireType) 5470 } 5471 var msglen int 5472 for shift := uint(0); ; shift += 7 { 5473 if shift >= 64 { 5474 return ErrIntOverflowAdmin 5475 } 5476 if iNdEx >= l { 5477 return io.ErrUnexpectedEOF 5478 } 5479 b := dAtA[iNdEx] 5480 iNdEx++ 5481 msglen |= int(b&0x7F) << shift 5482 if b < 0x80 { 5483 break 5484 } 5485 } 5486 if msglen < 0 { 5487 return ErrInvalidLengthAdmin 5488 } 5489 postIndex := iNdEx + msglen 5490 if postIndex < 0 { 5491 return ErrInvalidLengthAdmin 5492 } 5493 if postIndex > l { 5494 return io.ErrUnexpectedEOF 5495 } 5496 if m.SetClusterRoleBinding == nil { 5497 m.SetClusterRoleBinding = &auth.ModifyClusterRoleBindingRequest{} 5498 } 5499 if err := m.SetClusterRoleBinding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5500 return err 5501 } 5502 iNdEx = postIndex 5503 case 13: 5504 if wireType != 2 { 5505 return fmt.Errorf("proto: wrong wireType = %d for field SetAuthConfig", wireType) 5506 } 5507 var msglen int 5508 for shift := uint(0); ; shift += 7 { 5509 if shift >= 64 { 5510 return ErrIntOverflowAdmin 5511 } 5512 if iNdEx >= l { 5513 return io.ErrUnexpectedEOF 5514 } 5515 b := dAtA[iNdEx] 5516 iNdEx++ 5517 msglen |= int(b&0x7F) << shift 5518 if b < 0x80 { 5519 break 5520 } 5521 } 5522 if msglen < 0 { 5523 return ErrInvalidLengthAdmin 5524 } 5525 postIndex := iNdEx + msglen 5526 if postIndex < 0 { 5527 return ErrInvalidLengthAdmin 5528 } 5529 if postIndex > l { 5530 return io.ErrUnexpectedEOF 5531 } 5532 if m.SetAuthConfig == nil { 5533 m.SetAuthConfig = &auth.SetConfigurationRequest{} 5534 } 5535 if err := m.SetAuthConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5536 return err 5537 } 5538 iNdEx = postIndex 5539 case 14: 5540 if wireType != 2 { 5541 return fmt.Errorf("proto: wrong wireType = %d for field ActivateAuth", wireType) 5542 } 5543 var msglen int 5544 for shift := uint(0); ; shift += 7 { 5545 if shift >= 64 { 5546 return ErrIntOverflowAdmin 5547 } 5548 if iNdEx >= l { 5549 return io.ErrUnexpectedEOF 5550 } 5551 b := dAtA[iNdEx] 5552 iNdEx++ 5553 msglen |= int(b&0x7F) << shift 5554 if b < 0x80 { 5555 break 5556 } 5557 } 5558 if msglen < 0 { 5559 return ErrInvalidLengthAdmin 5560 } 5561 postIndex := iNdEx + msglen 5562 if postIndex < 0 { 5563 return ErrInvalidLengthAdmin 5564 } 5565 if postIndex > l { 5566 return io.ErrUnexpectedEOF 5567 } 5568 if m.ActivateAuth == nil { 5569 m.ActivateAuth = &auth.ActivateRequest{} 5570 } 5571 if err := m.ActivateAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5572 return err 5573 } 5574 iNdEx = postIndex 5575 case 15: 5576 if wireType != 2 { 5577 return fmt.Errorf("proto: wrong wireType = %d for field RestoreAuthToken", wireType) 5578 } 5579 var msglen int 5580 for shift := uint(0); ; shift += 7 { 5581 if shift >= 64 { 5582 return ErrIntOverflowAdmin 5583 } 5584 if iNdEx >= l { 5585 return io.ErrUnexpectedEOF 5586 } 5587 b := dAtA[iNdEx] 5588 iNdEx++ 5589 msglen |= int(b&0x7F) << shift 5590 if b < 0x80 { 5591 break 5592 } 5593 } 5594 if msglen < 0 { 5595 return ErrInvalidLengthAdmin 5596 } 5597 postIndex := iNdEx + msglen 5598 if postIndex < 0 { 5599 return ErrInvalidLengthAdmin 5600 } 5601 if postIndex > l { 5602 return io.ErrUnexpectedEOF 5603 } 5604 if m.RestoreAuthToken == nil { 5605 m.RestoreAuthToken = &auth.RestoreAuthTokenRequest{} 5606 } 5607 if err := m.RestoreAuthToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5608 return err 5609 } 5610 iNdEx = postIndex 5611 case 16: 5612 if wireType != 2 { 5613 return fmt.Errorf("proto: wrong wireType = %d for field ActivateEnterprise", wireType) 5614 } 5615 var msglen int 5616 for shift := uint(0); ; shift += 7 { 5617 if shift >= 64 { 5618 return ErrIntOverflowAdmin 5619 } 5620 if iNdEx >= l { 5621 return io.ErrUnexpectedEOF 5622 } 5623 b := dAtA[iNdEx] 5624 iNdEx++ 5625 msglen |= int(b&0x7F) << shift 5626 if b < 0x80 { 5627 break 5628 } 5629 } 5630 if msglen < 0 { 5631 return ErrInvalidLengthAdmin 5632 } 5633 postIndex := iNdEx + msglen 5634 if postIndex < 0 { 5635 return ErrInvalidLengthAdmin 5636 } 5637 if postIndex > l { 5638 return io.ErrUnexpectedEOF 5639 } 5640 if m.ActivateEnterprise == nil { 5641 m.ActivateEnterprise = &enterprise.ActivateRequest{} 5642 } 5643 if err := m.ActivateEnterprise.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5644 return err 5645 } 5646 iNdEx = postIndex 5647 case 17: 5648 if wireType != 2 { 5649 return fmt.Errorf("proto: wrong wireType = %d for field CheckAuthToken", wireType) 5650 } 5651 var msglen int 5652 for shift := uint(0); ; shift += 7 { 5653 if shift >= 64 { 5654 return ErrIntOverflowAdmin 5655 } 5656 if iNdEx >= l { 5657 return io.ErrUnexpectedEOF 5658 } 5659 b := dAtA[iNdEx] 5660 iNdEx++ 5661 msglen |= int(b&0x7F) << shift 5662 if b < 0x80 { 5663 break 5664 } 5665 } 5666 if msglen < 0 { 5667 return ErrInvalidLengthAdmin 5668 } 5669 postIndex := iNdEx + msglen 5670 if postIndex < 0 { 5671 return ErrInvalidLengthAdmin 5672 } 5673 if postIndex > l { 5674 return io.ErrUnexpectedEOF 5675 } 5676 if m.CheckAuthToken == nil { 5677 m.CheckAuthToken = &CheckAuthToken{} 5678 } 5679 if err := m.CheckAuthToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5680 return err 5681 } 5682 iNdEx = postIndex 5683 default: 5684 iNdEx = preIndex 5685 skippy, err := skipAdmin(dAtA[iNdEx:]) 5686 if err != nil { 5687 return err 5688 } 5689 if (skippy < 0) || (iNdEx+skippy) < 0 { 5690 return ErrInvalidLengthAdmin 5691 } 5692 if (iNdEx + skippy) > l { 5693 return io.ErrUnexpectedEOF 5694 } 5695 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 5696 iNdEx += skippy 5697 } 5698 } 5699 5700 if iNdEx > l { 5701 return io.ErrUnexpectedEOF 5702 } 5703 return nil 5704 } 5705 func (m *Op1_12) Unmarshal(dAtA []byte) error { 5706 l := len(dAtA) 5707 iNdEx := 0 5708 for iNdEx < l { 5709 preIndex := iNdEx 5710 var wire uint64 5711 for shift := uint(0); ; shift += 7 { 5712 if shift >= 64 { 5713 return ErrIntOverflowAdmin 5714 } 5715 if iNdEx >= l { 5716 return io.ErrUnexpectedEOF 5717 } 5718 b := dAtA[iNdEx] 5719 iNdEx++ 5720 wire |= uint64(b&0x7F) << shift 5721 if b < 0x80 { 5722 break 5723 } 5724 } 5725 fieldNum := int32(wire >> 3) 5726 wireType := int(wire & 0x7) 5727 if wireType == 4 { 5728 return fmt.Errorf("proto: Op1_12: wiretype end group for non-group") 5729 } 5730 if fieldNum <= 0 { 5731 return fmt.Errorf("proto: Op1_12: illegal tag %d (wire type %d)", fieldNum, wire) 5732 } 5733 switch fieldNum { 5734 case 2: 5735 if wireType != 2 { 5736 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 5737 } 5738 var msglen int 5739 for shift := uint(0); ; shift += 7 { 5740 if shift >= 64 { 5741 return ErrIntOverflowAdmin 5742 } 5743 if iNdEx >= l { 5744 return io.ErrUnexpectedEOF 5745 } 5746 b := dAtA[iNdEx] 5747 iNdEx++ 5748 msglen |= int(b&0x7F) << shift 5749 if b < 0x80 { 5750 break 5751 } 5752 } 5753 if msglen < 0 { 5754 return ErrInvalidLengthAdmin 5755 } 5756 postIndex := iNdEx + msglen 5757 if postIndex < 0 { 5758 return ErrInvalidLengthAdmin 5759 } 5760 if postIndex > l { 5761 return io.ErrUnexpectedEOF 5762 } 5763 if m.Object == nil { 5764 m.Object = &pfs5.PutObjectRequest{} 5765 } 5766 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5767 return err 5768 } 5769 iNdEx = postIndex 5770 case 3: 5771 if wireType != 2 { 5772 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 5773 } 5774 var msglen int 5775 for shift := uint(0); ; shift += 7 { 5776 if shift >= 64 { 5777 return ErrIntOverflowAdmin 5778 } 5779 if iNdEx >= l { 5780 return io.ErrUnexpectedEOF 5781 } 5782 b := dAtA[iNdEx] 5783 iNdEx++ 5784 msglen |= int(b&0x7F) << shift 5785 if b < 0x80 { 5786 break 5787 } 5788 } 5789 if msglen < 0 { 5790 return ErrInvalidLengthAdmin 5791 } 5792 postIndex := iNdEx + msglen 5793 if postIndex < 0 { 5794 return ErrInvalidLengthAdmin 5795 } 5796 if postIndex > l { 5797 return io.ErrUnexpectedEOF 5798 } 5799 if m.Tag == nil { 5800 m.Tag = &pfs5.TagObjectRequest{} 5801 } 5802 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5803 return err 5804 } 5805 iNdEx = postIndex 5806 case 4: 5807 if wireType != 2 { 5808 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 5809 } 5810 var msglen int 5811 for shift := uint(0); ; shift += 7 { 5812 if shift >= 64 { 5813 return ErrIntOverflowAdmin 5814 } 5815 if iNdEx >= l { 5816 return io.ErrUnexpectedEOF 5817 } 5818 b := dAtA[iNdEx] 5819 iNdEx++ 5820 msglen |= int(b&0x7F) << shift 5821 if b < 0x80 { 5822 break 5823 } 5824 } 5825 if msglen < 0 { 5826 return ErrInvalidLengthAdmin 5827 } 5828 postIndex := iNdEx + msglen 5829 if postIndex < 0 { 5830 return ErrInvalidLengthAdmin 5831 } 5832 if postIndex > l { 5833 return io.ErrUnexpectedEOF 5834 } 5835 if m.Repo == nil { 5836 m.Repo = &pfs5.CreateRepoRequest{} 5837 } 5838 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5839 return err 5840 } 5841 iNdEx = postIndex 5842 case 5: 5843 if wireType != 2 { 5844 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 5845 } 5846 var msglen int 5847 for shift := uint(0); ; shift += 7 { 5848 if shift >= 64 { 5849 return ErrIntOverflowAdmin 5850 } 5851 if iNdEx >= l { 5852 return io.ErrUnexpectedEOF 5853 } 5854 b := dAtA[iNdEx] 5855 iNdEx++ 5856 msglen |= int(b&0x7F) << shift 5857 if b < 0x80 { 5858 break 5859 } 5860 } 5861 if msglen < 0 { 5862 return ErrInvalidLengthAdmin 5863 } 5864 postIndex := iNdEx + msglen 5865 if postIndex < 0 { 5866 return ErrInvalidLengthAdmin 5867 } 5868 if postIndex > l { 5869 return io.ErrUnexpectedEOF 5870 } 5871 if m.Commit == nil { 5872 m.Commit = &pfs5.BuildCommitRequest{} 5873 } 5874 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5875 return err 5876 } 5877 iNdEx = postIndex 5878 case 6: 5879 if wireType != 2 { 5880 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 5881 } 5882 var msglen int 5883 for shift := uint(0); ; shift += 7 { 5884 if shift >= 64 { 5885 return ErrIntOverflowAdmin 5886 } 5887 if iNdEx >= l { 5888 return io.ErrUnexpectedEOF 5889 } 5890 b := dAtA[iNdEx] 5891 iNdEx++ 5892 msglen |= int(b&0x7F) << shift 5893 if b < 0x80 { 5894 break 5895 } 5896 } 5897 if msglen < 0 { 5898 return ErrInvalidLengthAdmin 5899 } 5900 postIndex := iNdEx + msglen 5901 if postIndex < 0 { 5902 return ErrInvalidLengthAdmin 5903 } 5904 if postIndex > l { 5905 return io.ErrUnexpectedEOF 5906 } 5907 if m.Branch == nil { 5908 m.Branch = &pfs5.CreateBranchRequest{} 5909 } 5910 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5911 return err 5912 } 5913 iNdEx = postIndex 5914 case 7: 5915 if wireType != 2 { 5916 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 5917 } 5918 var msglen int 5919 for shift := uint(0); ; shift += 7 { 5920 if shift >= 64 { 5921 return ErrIntOverflowAdmin 5922 } 5923 if iNdEx >= l { 5924 return io.ErrUnexpectedEOF 5925 } 5926 b := dAtA[iNdEx] 5927 iNdEx++ 5928 msglen |= int(b&0x7F) << shift 5929 if b < 0x80 { 5930 break 5931 } 5932 } 5933 if msglen < 0 { 5934 return ErrInvalidLengthAdmin 5935 } 5936 postIndex := iNdEx + msglen 5937 if postIndex < 0 { 5938 return ErrInvalidLengthAdmin 5939 } 5940 if postIndex > l { 5941 return io.ErrUnexpectedEOF 5942 } 5943 if m.Pipeline == nil { 5944 m.Pipeline = &pps5.CreatePipelineRequest{} 5945 } 5946 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5947 return err 5948 } 5949 iNdEx = postIndex 5950 case 8: 5951 if wireType != 2 { 5952 return fmt.Errorf("proto: wrong wireType = %d for field Job", wireType) 5953 } 5954 var msglen int 5955 for shift := uint(0); ; shift += 7 { 5956 if shift >= 64 { 5957 return ErrIntOverflowAdmin 5958 } 5959 if iNdEx >= l { 5960 return io.ErrUnexpectedEOF 5961 } 5962 b := dAtA[iNdEx] 5963 iNdEx++ 5964 msglen |= int(b&0x7F) << shift 5965 if b < 0x80 { 5966 break 5967 } 5968 } 5969 if msglen < 0 { 5970 return ErrInvalidLengthAdmin 5971 } 5972 postIndex := iNdEx + msglen 5973 if postIndex < 0 { 5974 return ErrInvalidLengthAdmin 5975 } 5976 if postIndex > l { 5977 return io.ErrUnexpectedEOF 5978 } 5979 if m.Job == nil { 5980 m.Job = &pps5.CreateJobRequest{} 5981 } 5982 if err := m.Job.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5983 return err 5984 } 5985 iNdEx = postIndex 5986 case 9: 5987 if wireType != 2 { 5988 return fmt.Errorf("proto: wrong wireType = %d for field CreateObject", wireType) 5989 } 5990 var msglen int 5991 for shift := uint(0); ; shift += 7 { 5992 if shift >= 64 { 5993 return ErrIntOverflowAdmin 5994 } 5995 if iNdEx >= l { 5996 return io.ErrUnexpectedEOF 5997 } 5998 b := dAtA[iNdEx] 5999 iNdEx++ 6000 msglen |= int(b&0x7F) << shift 6001 if b < 0x80 { 6002 break 6003 } 6004 } 6005 if msglen < 0 { 6006 return ErrInvalidLengthAdmin 6007 } 6008 postIndex := iNdEx + msglen 6009 if postIndex < 0 { 6010 return ErrInvalidLengthAdmin 6011 } 6012 if postIndex > l { 6013 return io.ErrUnexpectedEOF 6014 } 6015 if m.CreateObject == nil { 6016 m.CreateObject = &pfs5.CreateObjectRequest{} 6017 } 6018 if err := m.CreateObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6019 return err 6020 } 6021 iNdEx = postIndex 6022 case 10: 6023 if wireType != 2 { 6024 return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) 6025 } 6026 var msglen int 6027 for shift := uint(0); ; shift += 7 { 6028 if shift >= 64 { 6029 return ErrIntOverflowAdmin 6030 } 6031 if iNdEx >= l { 6032 return io.ErrUnexpectedEOF 6033 } 6034 b := dAtA[iNdEx] 6035 iNdEx++ 6036 msglen |= int(b&0x7F) << shift 6037 if b < 0x80 { 6038 break 6039 } 6040 } 6041 if msglen < 0 { 6042 return ErrInvalidLengthAdmin 6043 } 6044 postIndex := iNdEx + msglen 6045 if postIndex < 0 { 6046 return ErrInvalidLengthAdmin 6047 } 6048 if postIndex > l { 6049 return io.ErrUnexpectedEOF 6050 } 6051 if m.Block == nil { 6052 m.Block = &pfs5.PutBlockRequest{} 6053 } 6054 if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6055 return err 6056 } 6057 iNdEx = postIndex 6058 case 11: 6059 if wireType != 2 { 6060 return fmt.Errorf("proto: wrong wireType = %d for field SetAcl", wireType) 6061 } 6062 var msglen int 6063 for shift := uint(0); ; shift += 7 { 6064 if shift >= 64 { 6065 return ErrIntOverflowAdmin 6066 } 6067 if iNdEx >= l { 6068 return io.ErrUnexpectedEOF 6069 } 6070 b := dAtA[iNdEx] 6071 iNdEx++ 6072 msglen |= int(b&0x7F) << shift 6073 if b < 0x80 { 6074 break 6075 } 6076 } 6077 if msglen < 0 { 6078 return ErrInvalidLengthAdmin 6079 } 6080 postIndex := iNdEx + msglen 6081 if postIndex < 0 { 6082 return ErrInvalidLengthAdmin 6083 } 6084 if postIndex > l { 6085 return io.ErrUnexpectedEOF 6086 } 6087 if m.SetAcl == nil { 6088 m.SetAcl = &auth1.SetACLRequest{} 6089 } 6090 if err := m.SetAcl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6091 return err 6092 } 6093 iNdEx = postIndex 6094 case 12: 6095 if wireType != 2 { 6096 return fmt.Errorf("proto: wrong wireType = %d for field SetClusterRoleBinding", wireType) 6097 } 6098 var msglen int 6099 for shift := uint(0); ; shift += 7 { 6100 if shift >= 64 { 6101 return ErrIntOverflowAdmin 6102 } 6103 if iNdEx >= l { 6104 return io.ErrUnexpectedEOF 6105 } 6106 b := dAtA[iNdEx] 6107 iNdEx++ 6108 msglen |= int(b&0x7F) << shift 6109 if b < 0x80 { 6110 break 6111 } 6112 } 6113 if msglen < 0 { 6114 return ErrInvalidLengthAdmin 6115 } 6116 postIndex := iNdEx + msglen 6117 if postIndex < 0 { 6118 return ErrInvalidLengthAdmin 6119 } 6120 if postIndex > l { 6121 return io.ErrUnexpectedEOF 6122 } 6123 if m.SetClusterRoleBinding == nil { 6124 m.SetClusterRoleBinding = &auth1.ModifyClusterRoleBindingRequest{} 6125 } 6126 if err := m.SetClusterRoleBinding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6127 return err 6128 } 6129 iNdEx = postIndex 6130 case 13: 6131 if wireType != 2 { 6132 return fmt.Errorf("proto: wrong wireType = %d for field SetAuthConfig", wireType) 6133 } 6134 var msglen int 6135 for shift := uint(0); ; shift += 7 { 6136 if shift >= 64 { 6137 return ErrIntOverflowAdmin 6138 } 6139 if iNdEx >= l { 6140 return io.ErrUnexpectedEOF 6141 } 6142 b := dAtA[iNdEx] 6143 iNdEx++ 6144 msglen |= int(b&0x7F) << shift 6145 if b < 0x80 { 6146 break 6147 } 6148 } 6149 if msglen < 0 { 6150 return ErrInvalidLengthAdmin 6151 } 6152 postIndex := iNdEx + msglen 6153 if postIndex < 0 { 6154 return ErrInvalidLengthAdmin 6155 } 6156 if postIndex > l { 6157 return io.ErrUnexpectedEOF 6158 } 6159 if m.SetAuthConfig == nil { 6160 m.SetAuthConfig = &auth1.SetConfigurationRequest{} 6161 } 6162 if err := m.SetAuthConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6163 return err 6164 } 6165 iNdEx = postIndex 6166 case 14: 6167 if wireType != 2 { 6168 return fmt.Errorf("proto: wrong wireType = %d for field ActivateAuth", wireType) 6169 } 6170 var msglen int 6171 for shift := uint(0); ; shift += 7 { 6172 if shift >= 64 { 6173 return ErrIntOverflowAdmin 6174 } 6175 if iNdEx >= l { 6176 return io.ErrUnexpectedEOF 6177 } 6178 b := dAtA[iNdEx] 6179 iNdEx++ 6180 msglen |= int(b&0x7F) << shift 6181 if b < 0x80 { 6182 break 6183 } 6184 } 6185 if msglen < 0 { 6186 return ErrInvalidLengthAdmin 6187 } 6188 postIndex := iNdEx + msglen 6189 if postIndex < 0 { 6190 return ErrInvalidLengthAdmin 6191 } 6192 if postIndex > l { 6193 return io.ErrUnexpectedEOF 6194 } 6195 if m.ActivateAuth == nil { 6196 m.ActivateAuth = &auth1.ActivateRequest{} 6197 } 6198 if err := m.ActivateAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6199 return err 6200 } 6201 iNdEx = postIndex 6202 case 15: 6203 if wireType != 2 { 6204 return fmt.Errorf("proto: wrong wireType = %d for field RestoreAuthToken", wireType) 6205 } 6206 var msglen int 6207 for shift := uint(0); ; shift += 7 { 6208 if shift >= 64 { 6209 return ErrIntOverflowAdmin 6210 } 6211 if iNdEx >= l { 6212 return io.ErrUnexpectedEOF 6213 } 6214 b := dAtA[iNdEx] 6215 iNdEx++ 6216 msglen |= int(b&0x7F) << shift 6217 if b < 0x80 { 6218 break 6219 } 6220 } 6221 if msglen < 0 { 6222 return ErrInvalidLengthAdmin 6223 } 6224 postIndex := iNdEx + msglen 6225 if postIndex < 0 { 6226 return ErrInvalidLengthAdmin 6227 } 6228 if postIndex > l { 6229 return io.ErrUnexpectedEOF 6230 } 6231 if m.RestoreAuthToken == nil { 6232 m.RestoreAuthToken = &auth1.RestoreAuthTokenRequest{} 6233 } 6234 if err := m.RestoreAuthToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6235 return err 6236 } 6237 iNdEx = postIndex 6238 case 16: 6239 if wireType != 2 { 6240 return fmt.Errorf("proto: wrong wireType = %d for field ActivateEnterprise", wireType) 6241 } 6242 var msglen int 6243 for shift := uint(0); ; shift += 7 { 6244 if shift >= 64 { 6245 return ErrIntOverflowAdmin 6246 } 6247 if iNdEx >= l { 6248 return io.ErrUnexpectedEOF 6249 } 6250 b := dAtA[iNdEx] 6251 iNdEx++ 6252 msglen |= int(b&0x7F) << shift 6253 if b < 0x80 { 6254 break 6255 } 6256 } 6257 if msglen < 0 { 6258 return ErrInvalidLengthAdmin 6259 } 6260 postIndex := iNdEx + msglen 6261 if postIndex < 0 { 6262 return ErrInvalidLengthAdmin 6263 } 6264 if postIndex > l { 6265 return io.ErrUnexpectedEOF 6266 } 6267 if m.ActivateEnterprise == nil { 6268 m.ActivateEnterprise = &enterprise1.ActivateRequest{} 6269 } 6270 if err := m.ActivateEnterprise.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6271 return err 6272 } 6273 iNdEx = postIndex 6274 case 17: 6275 if wireType != 2 { 6276 return fmt.Errorf("proto: wrong wireType = %d for field CheckAuthToken", wireType) 6277 } 6278 var msglen int 6279 for shift := uint(0); ; shift += 7 { 6280 if shift >= 64 { 6281 return ErrIntOverflowAdmin 6282 } 6283 if iNdEx >= l { 6284 return io.ErrUnexpectedEOF 6285 } 6286 b := dAtA[iNdEx] 6287 iNdEx++ 6288 msglen |= int(b&0x7F) << shift 6289 if b < 0x80 { 6290 break 6291 } 6292 } 6293 if msglen < 0 { 6294 return ErrInvalidLengthAdmin 6295 } 6296 postIndex := iNdEx + msglen 6297 if postIndex < 0 { 6298 return ErrInvalidLengthAdmin 6299 } 6300 if postIndex > l { 6301 return io.ErrUnexpectedEOF 6302 } 6303 if m.CheckAuthToken == nil { 6304 m.CheckAuthToken = &CheckAuthToken{} 6305 } 6306 if err := m.CheckAuthToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6307 return err 6308 } 6309 iNdEx = postIndex 6310 default: 6311 iNdEx = preIndex 6312 skippy, err := skipAdmin(dAtA[iNdEx:]) 6313 if err != nil { 6314 return err 6315 } 6316 if (skippy < 0) || (iNdEx+skippy) < 0 { 6317 return ErrInvalidLengthAdmin 6318 } 6319 if (iNdEx + skippy) > l { 6320 return io.ErrUnexpectedEOF 6321 } 6322 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 6323 iNdEx += skippy 6324 } 6325 } 6326 6327 if iNdEx > l { 6328 return io.ErrUnexpectedEOF 6329 } 6330 return nil 6331 } 6332 func (m *Op1_13) Unmarshal(dAtA []byte) error { 6333 l := len(dAtA) 6334 iNdEx := 0 6335 for iNdEx < l { 6336 preIndex := iNdEx 6337 var wire uint64 6338 for shift := uint(0); ; shift += 7 { 6339 if shift >= 64 { 6340 return ErrIntOverflowAdmin 6341 } 6342 if iNdEx >= l { 6343 return io.ErrUnexpectedEOF 6344 } 6345 b := dAtA[iNdEx] 6346 iNdEx++ 6347 wire |= uint64(b&0x7F) << shift 6348 if b < 0x80 { 6349 break 6350 } 6351 } 6352 fieldNum := int32(wire >> 3) 6353 wireType := int(wire & 0x7) 6354 if wireType == 4 { 6355 return fmt.Errorf("proto: Op1_13: wiretype end group for non-group") 6356 } 6357 if fieldNum <= 0 { 6358 return fmt.Errorf("proto: Op1_13: illegal tag %d (wire type %d)", fieldNum, wire) 6359 } 6360 switch fieldNum { 6361 case 2: 6362 if wireType != 2 { 6363 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) 6364 } 6365 var msglen int 6366 for shift := uint(0); ; shift += 7 { 6367 if shift >= 64 { 6368 return ErrIntOverflowAdmin 6369 } 6370 if iNdEx >= l { 6371 return io.ErrUnexpectedEOF 6372 } 6373 b := dAtA[iNdEx] 6374 iNdEx++ 6375 msglen |= int(b&0x7F) << shift 6376 if b < 0x80 { 6377 break 6378 } 6379 } 6380 if msglen < 0 { 6381 return ErrInvalidLengthAdmin 6382 } 6383 postIndex := iNdEx + msglen 6384 if postIndex < 0 { 6385 return ErrInvalidLengthAdmin 6386 } 6387 if postIndex > l { 6388 return io.ErrUnexpectedEOF 6389 } 6390 if m.Object == nil { 6391 m.Object = &pfs6.PutObjectRequest{} 6392 } 6393 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6394 return err 6395 } 6396 iNdEx = postIndex 6397 case 3: 6398 if wireType != 2 { 6399 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 6400 } 6401 var msglen int 6402 for shift := uint(0); ; shift += 7 { 6403 if shift >= 64 { 6404 return ErrIntOverflowAdmin 6405 } 6406 if iNdEx >= l { 6407 return io.ErrUnexpectedEOF 6408 } 6409 b := dAtA[iNdEx] 6410 iNdEx++ 6411 msglen |= int(b&0x7F) << shift 6412 if b < 0x80 { 6413 break 6414 } 6415 } 6416 if msglen < 0 { 6417 return ErrInvalidLengthAdmin 6418 } 6419 postIndex := iNdEx + msglen 6420 if postIndex < 0 { 6421 return ErrInvalidLengthAdmin 6422 } 6423 if postIndex > l { 6424 return io.ErrUnexpectedEOF 6425 } 6426 if m.Tag == nil { 6427 m.Tag = &pfs6.TagObjectRequest{} 6428 } 6429 if err := m.Tag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6430 return err 6431 } 6432 iNdEx = postIndex 6433 case 4: 6434 if wireType != 2 { 6435 return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType) 6436 } 6437 var msglen int 6438 for shift := uint(0); ; shift += 7 { 6439 if shift >= 64 { 6440 return ErrIntOverflowAdmin 6441 } 6442 if iNdEx >= l { 6443 return io.ErrUnexpectedEOF 6444 } 6445 b := dAtA[iNdEx] 6446 iNdEx++ 6447 msglen |= int(b&0x7F) << shift 6448 if b < 0x80 { 6449 break 6450 } 6451 } 6452 if msglen < 0 { 6453 return ErrInvalidLengthAdmin 6454 } 6455 postIndex := iNdEx + msglen 6456 if postIndex < 0 { 6457 return ErrInvalidLengthAdmin 6458 } 6459 if postIndex > l { 6460 return io.ErrUnexpectedEOF 6461 } 6462 if m.Repo == nil { 6463 m.Repo = &pfs6.CreateRepoRequest{} 6464 } 6465 if err := m.Repo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6466 return err 6467 } 6468 iNdEx = postIndex 6469 case 5: 6470 if wireType != 2 { 6471 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 6472 } 6473 var msglen int 6474 for shift := uint(0); ; shift += 7 { 6475 if shift >= 64 { 6476 return ErrIntOverflowAdmin 6477 } 6478 if iNdEx >= l { 6479 return io.ErrUnexpectedEOF 6480 } 6481 b := dAtA[iNdEx] 6482 iNdEx++ 6483 msglen |= int(b&0x7F) << shift 6484 if b < 0x80 { 6485 break 6486 } 6487 } 6488 if msglen < 0 { 6489 return ErrInvalidLengthAdmin 6490 } 6491 postIndex := iNdEx + msglen 6492 if postIndex < 0 { 6493 return ErrInvalidLengthAdmin 6494 } 6495 if postIndex > l { 6496 return io.ErrUnexpectedEOF 6497 } 6498 if m.Commit == nil { 6499 m.Commit = &pfs6.BuildCommitRequest{} 6500 } 6501 if err := m.Commit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6502 return err 6503 } 6504 iNdEx = postIndex 6505 case 6: 6506 if wireType != 2 { 6507 return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) 6508 } 6509 var msglen int 6510 for shift := uint(0); ; shift += 7 { 6511 if shift >= 64 { 6512 return ErrIntOverflowAdmin 6513 } 6514 if iNdEx >= l { 6515 return io.ErrUnexpectedEOF 6516 } 6517 b := dAtA[iNdEx] 6518 iNdEx++ 6519 msglen |= int(b&0x7F) << shift 6520 if b < 0x80 { 6521 break 6522 } 6523 } 6524 if msglen < 0 { 6525 return ErrInvalidLengthAdmin 6526 } 6527 postIndex := iNdEx + msglen 6528 if postIndex < 0 { 6529 return ErrInvalidLengthAdmin 6530 } 6531 if postIndex > l { 6532 return io.ErrUnexpectedEOF 6533 } 6534 if m.Branch == nil { 6535 m.Branch = &pfs6.CreateBranchRequest{} 6536 } 6537 if err := m.Branch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6538 return err 6539 } 6540 iNdEx = postIndex 6541 case 7: 6542 if wireType != 2 { 6543 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 6544 } 6545 var msglen int 6546 for shift := uint(0); ; shift += 7 { 6547 if shift >= 64 { 6548 return ErrIntOverflowAdmin 6549 } 6550 if iNdEx >= l { 6551 return io.ErrUnexpectedEOF 6552 } 6553 b := dAtA[iNdEx] 6554 iNdEx++ 6555 msglen |= int(b&0x7F) << shift 6556 if b < 0x80 { 6557 break 6558 } 6559 } 6560 if msglen < 0 { 6561 return ErrInvalidLengthAdmin 6562 } 6563 postIndex := iNdEx + msglen 6564 if postIndex < 0 { 6565 return ErrInvalidLengthAdmin 6566 } 6567 if postIndex > l { 6568 return io.ErrUnexpectedEOF 6569 } 6570 if m.Pipeline == nil { 6571 m.Pipeline = &pps6.CreatePipelineRequest{} 6572 } 6573 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6574 return err 6575 } 6576 iNdEx = postIndex 6577 case 8: 6578 if wireType != 2 { 6579 return fmt.Errorf("proto: wrong wireType = %d for field Job", wireType) 6580 } 6581 var msglen int 6582 for shift := uint(0); ; shift += 7 { 6583 if shift >= 64 { 6584 return ErrIntOverflowAdmin 6585 } 6586 if iNdEx >= l { 6587 return io.ErrUnexpectedEOF 6588 } 6589 b := dAtA[iNdEx] 6590 iNdEx++ 6591 msglen |= int(b&0x7F) << shift 6592 if b < 0x80 { 6593 break 6594 } 6595 } 6596 if msglen < 0 { 6597 return ErrInvalidLengthAdmin 6598 } 6599 postIndex := iNdEx + msglen 6600 if postIndex < 0 { 6601 return ErrInvalidLengthAdmin 6602 } 6603 if postIndex > l { 6604 return io.ErrUnexpectedEOF 6605 } 6606 if m.Job == nil { 6607 m.Job = &pps6.CreateJobRequest{} 6608 } 6609 if err := m.Job.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6610 return err 6611 } 6612 iNdEx = postIndex 6613 case 9: 6614 if wireType != 2 { 6615 return fmt.Errorf("proto: wrong wireType = %d for field CreateObject", wireType) 6616 } 6617 var msglen int 6618 for shift := uint(0); ; shift += 7 { 6619 if shift >= 64 { 6620 return ErrIntOverflowAdmin 6621 } 6622 if iNdEx >= l { 6623 return io.ErrUnexpectedEOF 6624 } 6625 b := dAtA[iNdEx] 6626 iNdEx++ 6627 msglen |= int(b&0x7F) << shift 6628 if b < 0x80 { 6629 break 6630 } 6631 } 6632 if msglen < 0 { 6633 return ErrInvalidLengthAdmin 6634 } 6635 postIndex := iNdEx + msglen 6636 if postIndex < 0 { 6637 return ErrInvalidLengthAdmin 6638 } 6639 if postIndex > l { 6640 return io.ErrUnexpectedEOF 6641 } 6642 if m.CreateObject == nil { 6643 m.CreateObject = &pfs6.CreateObjectRequest{} 6644 } 6645 if err := m.CreateObject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6646 return err 6647 } 6648 iNdEx = postIndex 6649 case 10: 6650 if wireType != 2 { 6651 return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) 6652 } 6653 var msglen int 6654 for shift := uint(0); ; shift += 7 { 6655 if shift >= 64 { 6656 return ErrIntOverflowAdmin 6657 } 6658 if iNdEx >= l { 6659 return io.ErrUnexpectedEOF 6660 } 6661 b := dAtA[iNdEx] 6662 iNdEx++ 6663 msglen |= int(b&0x7F) << shift 6664 if b < 0x80 { 6665 break 6666 } 6667 } 6668 if msglen < 0 { 6669 return ErrInvalidLengthAdmin 6670 } 6671 postIndex := iNdEx + msglen 6672 if postIndex < 0 { 6673 return ErrInvalidLengthAdmin 6674 } 6675 if postIndex > l { 6676 return io.ErrUnexpectedEOF 6677 } 6678 if m.Block == nil { 6679 m.Block = &pfs6.PutBlockRequest{} 6680 } 6681 if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6682 return err 6683 } 6684 iNdEx = postIndex 6685 case 11: 6686 if wireType != 2 { 6687 return fmt.Errorf("proto: wrong wireType = %d for field SetAcl", wireType) 6688 } 6689 var msglen int 6690 for shift := uint(0); ; shift += 7 { 6691 if shift >= 64 { 6692 return ErrIntOverflowAdmin 6693 } 6694 if iNdEx >= l { 6695 return io.ErrUnexpectedEOF 6696 } 6697 b := dAtA[iNdEx] 6698 iNdEx++ 6699 msglen |= int(b&0x7F) << shift 6700 if b < 0x80 { 6701 break 6702 } 6703 } 6704 if msglen < 0 { 6705 return ErrInvalidLengthAdmin 6706 } 6707 postIndex := iNdEx + msglen 6708 if postIndex < 0 { 6709 return ErrInvalidLengthAdmin 6710 } 6711 if postIndex > l { 6712 return io.ErrUnexpectedEOF 6713 } 6714 if m.SetAcl == nil { 6715 m.SetAcl = &auth2.SetACLRequest{} 6716 } 6717 if err := m.SetAcl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6718 return err 6719 } 6720 iNdEx = postIndex 6721 case 12: 6722 if wireType != 2 { 6723 return fmt.Errorf("proto: wrong wireType = %d for field SetClusterRoleBinding", wireType) 6724 } 6725 var msglen int 6726 for shift := uint(0); ; shift += 7 { 6727 if shift >= 64 { 6728 return ErrIntOverflowAdmin 6729 } 6730 if iNdEx >= l { 6731 return io.ErrUnexpectedEOF 6732 } 6733 b := dAtA[iNdEx] 6734 iNdEx++ 6735 msglen |= int(b&0x7F) << shift 6736 if b < 0x80 { 6737 break 6738 } 6739 } 6740 if msglen < 0 { 6741 return ErrInvalidLengthAdmin 6742 } 6743 postIndex := iNdEx + msglen 6744 if postIndex < 0 { 6745 return ErrInvalidLengthAdmin 6746 } 6747 if postIndex > l { 6748 return io.ErrUnexpectedEOF 6749 } 6750 if m.SetClusterRoleBinding == nil { 6751 m.SetClusterRoleBinding = &auth2.ModifyClusterRoleBindingRequest{} 6752 } 6753 if err := m.SetClusterRoleBinding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6754 return err 6755 } 6756 iNdEx = postIndex 6757 case 13: 6758 if wireType != 2 { 6759 return fmt.Errorf("proto: wrong wireType = %d for field SetAuthConfig", wireType) 6760 } 6761 var msglen int 6762 for shift := uint(0); ; shift += 7 { 6763 if shift >= 64 { 6764 return ErrIntOverflowAdmin 6765 } 6766 if iNdEx >= l { 6767 return io.ErrUnexpectedEOF 6768 } 6769 b := dAtA[iNdEx] 6770 iNdEx++ 6771 msglen |= int(b&0x7F) << shift 6772 if b < 0x80 { 6773 break 6774 } 6775 } 6776 if msglen < 0 { 6777 return ErrInvalidLengthAdmin 6778 } 6779 postIndex := iNdEx + msglen 6780 if postIndex < 0 { 6781 return ErrInvalidLengthAdmin 6782 } 6783 if postIndex > l { 6784 return io.ErrUnexpectedEOF 6785 } 6786 if m.SetAuthConfig == nil { 6787 m.SetAuthConfig = &auth2.SetConfigurationRequest{} 6788 } 6789 if err := m.SetAuthConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6790 return err 6791 } 6792 iNdEx = postIndex 6793 case 14: 6794 if wireType != 2 { 6795 return fmt.Errorf("proto: wrong wireType = %d for field ActivateAuth", wireType) 6796 } 6797 var msglen int 6798 for shift := uint(0); ; shift += 7 { 6799 if shift >= 64 { 6800 return ErrIntOverflowAdmin 6801 } 6802 if iNdEx >= l { 6803 return io.ErrUnexpectedEOF 6804 } 6805 b := dAtA[iNdEx] 6806 iNdEx++ 6807 msglen |= int(b&0x7F) << shift 6808 if b < 0x80 { 6809 break 6810 } 6811 } 6812 if msglen < 0 { 6813 return ErrInvalidLengthAdmin 6814 } 6815 postIndex := iNdEx + msglen 6816 if postIndex < 0 { 6817 return ErrInvalidLengthAdmin 6818 } 6819 if postIndex > l { 6820 return io.ErrUnexpectedEOF 6821 } 6822 if m.ActivateAuth == nil { 6823 m.ActivateAuth = &auth2.ActivateRequest{} 6824 } 6825 if err := m.ActivateAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6826 return err 6827 } 6828 iNdEx = postIndex 6829 case 15: 6830 if wireType != 2 { 6831 return fmt.Errorf("proto: wrong wireType = %d for field RestoreAuthToken", wireType) 6832 } 6833 var msglen int 6834 for shift := uint(0); ; shift += 7 { 6835 if shift >= 64 { 6836 return ErrIntOverflowAdmin 6837 } 6838 if iNdEx >= l { 6839 return io.ErrUnexpectedEOF 6840 } 6841 b := dAtA[iNdEx] 6842 iNdEx++ 6843 msglen |= int(b&0x7F) << shift 6844 if b < 0x80 { 6845 break 6846 } 6847 } 6848 if msglen < 0 { 6849 return ErrInvalidLengthAdmin 6850 } 6851 postIndex := iNdEx + msglen 6852 if postIndex < 0 { 6853 return ErrInvalidLengthAdmin 6854 } 6855 if postIndex > l { 6856 return io.ErrUnexpectedEOF 6857 } 6858 if m.RestoreAuthToken == nil { 6859 m.RestoreAuthToken = &auth2.RestoreAuthTokenRequest{} 6860 } 6861 if err := m.RestoreAuthToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6862 return err 6863 } 6864 iNdEx = postIndex 6865 case 16: 6866 if wireType != 2 { 6867 return fmt.Errorf("proto: wrong wireType = %d for field ActivateEnterprise", wireType) 6868 } 6869 var msglen int 6870 for shift := uint(0); ; shift += 7 { 6871 if shift >= 64 { 6872 return ErrIntOverflowAdmin 6873 } 6874 if iNdEx >= l { 6875 return io.ErrUnexpectedEOF 6876 } 6877 b := dAtA[iNdEx] 6878 iNdEx++ 6879 msglen |= int(b&0x7F) << shift 6880 if b < 0x80 { 6881 break 6882 } 6883 } 6884 if msglen < 0 { 6885 return ErrInvalidLengthAdmin 6886 } 6887 postIndex := iNdEx + msglen 6888 if postIndex < 0 { 6889 return ErrInvalidLengthAdmin 6890 } 6891 if postIndex > l { 6892 return io.ErrUnexpectedEOF 6893 } 6894 if m.ActivateEnterprise == nil { 6895 m.ActivateEnterprise = &enterprise2.ActivateRequest{} 6896 } 6897 if err := m.ActivateEnterprise.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6898 return err 6899 } 6900 iNdEx = postIndex 6901 case 17: 6902 if wireType != 2 { 6903 return fmt.Errorf("proto: wrong wireType = %d for field CheckAuthToken", wireType) 6904 } 6905 var msglen int 6906 for shift := uint(0); ; shift += 7 { 6907 if shift >= 64 { 6908 return ErrIntOverflowAdmin 6909 } 6910 if iNdEx >= l { 6911 return io.ErrUnexpectedEOF 6912 } 6913 b := dAtA[iNdEx] 6914 iNdEx++ 6915 msglen |= int(b&0x7F) << shift 6916 if b < 0x80 { 6917 break 6918 } 6919 } 6920 if msglen < 0 { 6921 return ErrInvalidLengthAdmin 6922 } 6923 postIndex := iNdEx + msglen 6924 if postIndex < 0 { 6925 return ErrInvalidLengthAdmin 6926 } 6927 if postIndex > l { 6928 return io.ErrUnexpectedEOF 6929 } 6930 if m.CheckAuthToken == nil { 6931 m.CheckAuthToken = &CheckAuthToken{} 6932 } 6933 if err := m.CheckAuthToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6934 return err 6935 } 6936 iNdEx = postIndex 6937 default: 6938 iNdEx = preIndex 6939 skippy, err := skipAdmin(dAtA[iNdEx:]) 6940 if err != nil { 6941 return err 6942 } 6943 if (skippy < 0) || (iNdEx+skippy) < 0 { 6944 return ErrInvalidLengthAdmin 6945 } 6946 if (iNdEx + skippy) > l { 6947 return io.ErrUnexpectedEOF 6948 } 6949 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 6950 iNdEx += skippy 6951 } 6952 } 6953 6954 if iNdEx > l { 6955 return io.ErrUnexpectedEOF 6956 } 6957 return nil 6958 } 6959 func (m *Op) Unmarshal(dAtA []byte) error { 6960 l := len(dAtA) 6961 iNdEx := 0 6962 for iNdEx < l { 6963 preIndex := iNdEx 6964 var wire uint64 6965 for shift := uint(0); ; shift += 7 { 6966 if shift >= 64 { 6967 return ErrIntOverflowAdmin 6968 } 6969 if iNdEx >= l { 6970 return io.ErrUnexpectedEOF 6971 } 6972 b := dAtA[iNdEx] 6973 iNdEx++ 6974 wire |= uint64(b&0x7F) << shift 6975 if b < 0x80 { 6976 break 6977 } 6978 } 6979 fieldNum := int32(wire >> 3) 6980 wireType := int(wire & 0x7) 6981 if wireType == 4 { 6982 return fmt.Errorf("proto: Op: wiretype end group for non-group") 6983 } 6984 if fieldNum <= 0 { 6985 return fmt.Errorf("proto: Op: illegal tag %d (wire type %d)", fieldNum, wire) 6986 } 6987 switch fieldNum { 6988 case 1: 6989 if wireType != 2 { 6990 return fmt.Errorf("proto: wrong wireType = %d for field Op1_7", wireType) 6991 } 6992 var msglen int 6993 for shift := uint(0); ; shift += 7 { 6994 if shift >= 64 { 6995 return ErrIntOverflowAdmin 6996 } 6997 if iNdEx >= l { 6998 return io.ErrUnexpectedEOF 6999 } 7000 b := dAtA[iNdEx] 7001 iNdEx++ 7002 msglen |= int(b&0x7F) << shift 7003 if b < 0x80 { 7004 break 7005 } 7006 } 7007 if msglen < 0 { 7008 return ErrInvalidLengthAdmin 7009 } 7010 postIndex := iNdEx + msglen 7011 if postIndex < 0 { 7012 return ErrInvalidLengthAdmin 7013 } 7014 if postIndex > l { 7015 return io.ErrUnexpectedEOF 7016 } 7017 if m.Op1_7 == nil { 7018 m.Op1_7 = &Op1_7{} 7019 } 7020 if err := m.Op1_7.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7021 return err 7022 } 7023 iNdEx = postIndex 7024 case 2: 7025 if wireType != 2 { 7026 return fmt.Errorf("proto: wrong wireType = %d for field Op1_8", wireType) 7027 } 7028 var msglen int 7029 for shift := uint(0); ; shift += 7 { 7030 if shift >= 64 { 7031 return ErrIntOverflowAdmin 7032 } 7033 if iNdEx >= l { 7034 return io.ErrUnexpectedEOF 7035 } 7036 b := dAtA[iNdEx] 7037 iNdEx++ 7038 msglen |= int(b&0x7F) << shift 7039 if b < 0x80 { 7040 break 7041 } 7042 } 7043 if msglen < 0 { 7044 return ErrInvalidLengthAdmin 7045 } 7046 postIndex := iNdEx + msglen 7047 if postIndex < 0 { 7048 return ErrInvalidLengthAdmin 7049 } 7050 if postIndex > l { 7051 return io.ErrUnexpectedEOF 7052 } 7053 if m.Op1_8 == nil { 7054 m.Op1_8 = &Op1_8{} 7055 } 7056 if err := m.Op1_8.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7057 return err 7058 } 7059 iNdEx = postIndex 7060 case 3: 7061 if wireType != 2 { 7062 return fmt.Errorf("proto: wrong wireType = %d for field Op1_9", wireType) 7063 } 7064 var msglen int 7065 for shift := uint(0); ; shift += 7 { 7066 if shift >= 64 { 7067 return ErrIntOverflowAdmin 7068 } 7069 if iNdEx >= l { 7070 return io.ErrUnexpectedEOF 7071 } 7072 b := dAtA[iNdEx] 7073 iNdEx++ 7074 msglen |= int(b&0x7F) << shift 7075 if b < 0x80 { 7076 break 7077 } 7078 } 7079 if msglen < 0 { 7080 return ErrInvalidLengthAdmin 7081 } 7082 postIndex := iNdEx + msglen 7083 if postIndex < 0 { 7084 return ErrInvalidLengthAdmin 7085 } 7086 if postIndex > l { 7087 return io.ErrUnexpectedEOF 7088 } 7089 if m.Op1_9 == nil { 7090 m.Op1_9 = &Op1_9{} 7091 } 7092 if err := m.Op1_9.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7093 return err 7094 } 7095 iNdEx = postIndex 7096 case 4: 7097 if wireType != 2 { 7098 return fmt.Errorf("proto: wrong wireType = %d for field Op1_10", wireType) 7099 } 7100 var msglen int 7101 for shift := uint(0); ; shift += 7 { 7102 if shift >= 64 { 7103 return ErrIntOverflowAdmin 7104 } 7105 if iNdEx >= l { 7106 return io.ErrUnexpectedEOF 7107 } 7108 b := dAtA[iNdEx] 7109 iNdEx++ 7110 msglen |= int(b&0x7F) << shift 7111 if b < 0x80 { 7112 break 7113 } 7114 } 7115 if msglen < 0 { 7116 return ErrInvalidLengthAdmin 7117 } 7118 postIndex := iNdEx + msglen 7119 if postIndex < 0 { 7120 return ErrInvalidLengthAdmin 7121 } 7122 if postIndex > l { 7123 return io.ErrUnexpectedEOF 7124 } 7125 if m.Op1_10 == nil { 7126 m.Op1_10 = &Op1_10{} 7127 } 7128 if err := m.Op1_10.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7129 return err 7130 } 7131 iNdEx = postIndex 7132 case 5: 7133 if wireType != 2 { 7134 return fmt.Errorf("proto: wrong wireType = %d for field Op1_11", wireType) 7135 } 7136 var msglen int 7137 for shift := uint(0); ; shift += 7 { 7138 if shift >= 64 { 7139 return ErrIntOverflowAdmin 7140 } 7141 if iNdEx >= l { 7142 return io.ErrUnexpectedEOF 7143 } 7144 b := dAtA[iNdEx] 7145 iNdEx++ 7146 msglen |= int(b&0x7F) << shift 7147 if b < 0x80 { 7148 break 7149 } 7150 } 7151 if msglen < 0 { 7152 return ErrInvalidLengthAdmin 7153 } 7154 postIndex := iNdEx + msglen 7155 if postIndex < 0 { 7156 return ErrInvalidLengthAdmin 7157 } 7158 if postIndex > l { 7159 return io.ErrUnexpectedEOF 7160 } 7161 if m.Op1_11 == nil { 7162 m.Op1_11 = &Op1_11{} 7163 } 7164 if err := m.Op1_11.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7165 return err 7166 } 7167 iNdEx = postIndex 7168 case 6: 7169 if wireType != 2 { 7170 return fmt.Errorf("proto: wrong wireType = %d for field Op1_12", wireType) 7171 } 7172 var msglen int 7173 for shift := uint(0); ; shift += 7 { 7174 if shift >= 64 { 7175 return ErrIntOverflowAdmin 7176 } 7177 if iNdEx >= l { 7178 return io.ErrUnexpectedEOF 7179 } 7180 b := dAtA[iNdEx] 7181 iNdEx++ 7182 msglen |= int(b&0x7F) << shift 7183 if b < 0x80 { 7184 break 7185 } 7186 } 7187 if msglen < 0 { 7188 return ErrInvalidLengthAdmin 7189 } 7190 postIndex := iNdEx + msglen 7191 if postIndex < 0 { 7192 return ErrInvalidLengthAdmin 7193 } 7194 if postIndex > l { 7195 return io.ErrUnexpectedEOF 7196 } 7197 if m.Op1_12 == nil { 7198 m.Op1_12 = &Op1_12{} 7199 } 7200 if err := m.Op1_12.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7201 return err 7202 } 7203 iNdEx = postIndex 7204 case 7: 7205 if wireType != 2 { 7206 return fmt.Errorf("proto: wrong wireType = %d for field Op1_13", wireType) 7207 } 7208 var msglen int 7209 for shift := uint(0); ; shift += 7 { 7210 if shift >= 64 { 7211 return ErrIntOverflowAdmin 7212 } 7213 if iNdEx >= l { 7214 return io.ErrUnexpectedEOF 7215 } 7216 b := dAtA[iNdEx] 7217 iNdEx++ 7218 msglen |= int(b&0x7F) << shift 7219 if b < 0x80 { 7220 break 7221 } 7222 } 7223 if msglen < 0 { 7224 return ErrInvalidLengthAdmin 7225 } 7226 postIndex := iNdEx + msglen 7227 if postIndex < 0 { 7228 return ErrInvalidLengthAdmin 7229 } 7230 if postIndex > l { 7231 return io.ErrUnexpectedEOF 7232 } 7233 if m.Op1_13 == nil { 7234 m.Op1_13 = &Op1_13{} 7235 } 7236 if err := m.Op1_13.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7237 return err 7238 } 7239 iNdEx = postIndex 7240 default: 7241 iNdEx = preIndex 7242 skippy, err := skipAdmin(dAtA[iNdEx:]) 7243 if err != nil { 7244 return err 7245 } 7246 if (skippy < 0) || (iNdEx+skippy) < 0 { 7247 return ErrInvalidLengthAdmin 7248 } 7249 if (iNdEx + skippy) > l { 7250 return io.ErrUnexpectedEOF 7251 } 7252 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7253 iNdEx += skippy 7254 } 7255 } 7256 7257 if iNdEx > l { 7258 return io.ErrUnexpectedEOF 7259 } 7260 return nil 7261 } 7262 func (m *ExtractRequest) Unmarshal(dAtA []byte) error { 7263 l := len(dAtA) 7264 iNdEx := 0 7265 for iNdEx < l { 7266 preIndex := iNdEx 7267 var wire uint64 7268 for shift := uint(0); ; shift += 7 { 7269 if shift >= 64 { 7270 return ErrIntOverflowAdmin 7271 } 7272 if iNdEx >= l { 7273 return io.ErrUnexpectedEOF 7274 } 7275 b := dAtA[iNdEx] 7276 iNdEx++ 7277 wire |= uint64(b&0x7F) << shift 7278 if b < 0x80 { 7279 break 7280 } 7281 } 7282 fieldNum := int32(wire >> 3) 7283 wireType := int(wire & 0x7) 7284 if wireType == 4 { 7285 return fmt.Errorf("proto: ExtractRequest: wiretype end group for non-group") 7286 } 7287 if fieldNum <= 0 { 7288 return fmt.Errorf("proto: ExtractRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7289 } 7290 switch fieldNum { 7291 case 1: 7292 if wireType != 2 { 7293 return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType) 7294 } 7295 var stringLen uint64 7296 for shift := uint(0); ; shift += 7 { 7297 if shift >= 64 { 7298 return ErrIntOverflowAdmin 7299 } 7300 if iNdEx >= l { 7301 return io.ErrUnexpectedEOF 7302 } 7303 b := dAtA[iNdEx] 7304 iNdEx++ 7305 stringLen |= uint64(b&0x7F) << shift 7306 if b < 0x80 { 7307 break 7308 } 7309 } 7310 intStringLen := int(stringLen) 7311 if intStringLen < 0 { 7312 return ErrInvalidLengthAdmin 7313 } 7314 postIndex := iNdEx + intStringLen 7315 if postIndex < 0 { 7316 return ErrInvalidLengthAdmin 7317 } 7318 if postIndex > l { 7319 return io.ErrUnexpectedEOF 7320 } 7321 m.URL = string(dAtA[iNdEx:postIndex]) 7322 iNdEx = postIndex 7323 case 2: 7324 if wireType != 0 { 7325 return fmt.Errorf("proto: wrong wireType = %d for field NoObjects", wireType) 7326 } 7327 var v int 7328 for shift := uint(0); ; shift += 7 { 7329 if shift >= 64 { 7330 return ErrIntOverflowAdmin 7331 } 7332 if iNdEx >= l { 7333 return io.ErrUnexpectedEOF 7334 } 7335 b := dAtA[iNdEx] 7336 iNdEx++ 7337 v |= int(b&0x7F) << shift 7338 if b < 0x80 { 7339 break 7340 } 7341 } 7342 m.NoObjects = bool(v != 0) 7343 case 3: 7344 if wireType != 0 { 7345 return fmt.Errorf("proto: wrong wireType = %d for field NoRepos", wireType) 7346 } 7347 var v int 7348 for shift := uint(0); ; shift += 7 { 7349 if shift >= 64 { 7350 return ErrIntOverflowAdmin 7351 } 7352 if iNdEx >= l { 7353 return io.ErrUnexpectedEOF 7354 } 7355 b := dAtA[iNdEx] 7356 iNdEx++ 7357 v |= int(b&0x7F) << shift 7358 if b < 0x80 { 7359 break 7360 } 7361 } 7362 m.NoRepos = bool(v != 0) 7363 case 4: 7364 if wireType != 0 { 7365 return fmt.Errorf("proto: wrong wireType = %d for field NoPipelines", wireType) 7366 } 7367 var v int 7368 for shift := uint(0); ; shift += 7 { 7369 if shift >= 64 { 7370 return ErrIntOverflowAdmin 7371 } 7372 if iNdEx >= l { 7373 return io.ErrUnexpectedEOF 7374 } 7375 b := dAtA[iNdEx] 7376 iNdEx++ 7377 v |= int(b&0x7F) << shift 7378 if b < 0x80 { 7379 break 7380 } 7381 } 7382 m.NoPipelines = bool(v != 0) 7383 case 5: 7384 if wireType != 0 { 7385 return fmt.Errorf("proto: wrong wireType = %d for field NoEnterprise", wireType) 7386 } 7387 var v int 7388 for shift := uint(0); ; shift += 7 { 7389 if shift >= 64 { 7390 return ErrIntOverflowAdmin 7391 } 7392 if iNdEx >= l { 7393 return io.ErrUnexpectedEOF 7394 } 7395 b := dAtA[iNdEx] 7396 iNdEx++ 7397 v |= int(b&0x7F) << shift 7398 if b < 0x80 { 7399 break 7400 } 7401 } 7402 m.NoEnterprise = bool(v != 0) 7403 case 6: 7404 if wireType != 0 { 7405 return fmt.Errorf("proto: wrong wireType = %d for field NoAuth", wireType) 7406 } 7407 var v int 7408 for shift := uint(0); ; shift += 7 { 7409 if shift >= 64 { 7410 return ErrIntOverflowAdmin 7411 } 7412 if iNdEx >= l { 7413 return io.ErrUnexpectedEOF 7414 } 7415 b := dAtA[iNdEx] 7416 iNdEx++ 7417 v |= int(b&0x7F) << shift 7418 if b < 0x80 { 7419 break 7420 } 7421 } 7422 m.NoAuth = bool(v != 0) 7423 default: 7424 iNdEx = preIndex 7425 skippy, err := skipAdmin(dAtA[iNdEx:]) 7426 if err != nil { 7427 return err 7428 } 7429 if (skippy < 0) || (iNdEx+skippy) < 0 { 7430 return ErrInvalidLengthAdmin 7431 } 7432 if (iNdEx + skippy) > l { 7433 return io.ErrUnexpectedEOF 7434 } 7435 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7436 iNdEx += skippy 7437 } 7438 } 7439 7440 if iNdEx > l { 7441 return io.ErrUnexpectedEOF 7442 } 7443 return nil 7444 } 7445 func (m *ExtractPipelineRequest) Unmarshal(dAtA []byte) error { 7446 l := len(dAtA) 7447 iNdEx := 0 7448 for iNdEx < l { 7449 preIndex := iNdEx 7450 var wire uint64 7451 for shift := uint(0); ; shift += 7 { 7452 if shift >= 64 { 7453 return ErrIntOverflowAdmin 7454 } 7455 if iNdEx >= l { 7456 return io.ErrUnexpectedEOF 7457 } 7458 b := dAtA[iNdEx] 7459 iNdEx++ 7460 wire |= uint64(b&0x7F) << shift 7461 if b < 0x80 { 7462 break 7463 } 7464 } 7465 fieldNum := int32(wire >> 3) 7466 wireType := int(wire & 0x7) 7467 if wireType == 4 { 7468 return fmt.Errorf("proto: ExtractPipelineRequest: wiretype end group for non-group") 7469 } 7470 if fieldNum <= 0 { 7471 return fmt.Errorf("proto: ExtractPipelineRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7472 } 7473 switch fieldNum { 7474 case 1: 7475 if wireType != 2 { 7476 return fmt.Errorf("proto: wrong wireType = %d for field Pipeline", wireType) 7477 } 7478 var msglen int 7479 for shift := uint(0); ; shift += 7 { 7480 if shift >= 64 { 7481 return ErrIntOverflowAdmin 7482 } 7483 if iNdEx >= l { 7484 return io.ErrUnexpectedEOF 7485 } 7486 b := dAtA[iNdEx] 7487 iNdEx++ 7488 msglen |= int(b&0x7F) << shift 7489 if b < 0x80 { 7490 break 7491 } 7492 } 7493 if msglen < 0 { 7494 return ErrInvalidLengthAdmin 7495 } 7496 postIndex := iNdEx + msglen 7497 if postIndex < 0 { 7498 return ErrInvalidLengthAdmin 7499 } 7500 if postIndex > l { 7501 return io.ErrUnexpectedEOF 7502 } 7503 if m.Pipeline == nil { 7504 m.Pipeline = &pps6.Pipeline{} 7505 } 7506 if err := m.Pipeline.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7507 return err 7508 } 7509 iNdEx = postIndex 7510 default: 7511 iNdEx = preIndex 7512 skippy, err := skipAdmin(dAtA[iNdEx:]) 7513 if err != nil { 7514 return err 7515 } 7516 if (skippy < 0) || (iNdEx+skippy) < 0 { 7517 return ErrInvalidLengthAdmin 7518 } 7519 if (iNdEx + skippy) > l { 7520 return io.ErrUnexpectedEOF 7521 } 7522 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7523 iNdEx += skippy 7524 } 7525 } 7526 7527 if iNdEx > l { 7528 return io.ErrUnexpectedEOF 7529 } 7530 return nil 7531 } 7532 func (m *RestoreRequest) Unmarshal(dAtA []byte) error { 7533 l := len(dAtA) 7534 iNdEx := 0 7535 for iNdEx < l { 7536 preIndex := iNdEx 7537 var wire uint64 7538 for shift := uint(0); ; shift += 7 { 7539 if shift >= 64 { 7540 return ErrIntOverflowAdmin 7541 } 7542 if iNdEx >= l { 7543 return io.ErrUnexpectedEOF 7544 } 7545 b := dAtA[iNdEx] 7546 iNdEx++ 7547 wire |= uint64(b&0x7F) << shift 7548 if b < 0x80 { 7549 break 7550 } 7551 } 7552 fieldNum := int32(wire >> 3) 7553 wireType := int(wire & 0x7) 7554 if wireType == 4 { 7555 return fmt.Errorf("proto: RestoreRequest: wiretype end group for non-group") 7556 } 7557 if fieldNum <= 0 { 7558 return fmt.Errorf("proto: RestoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) 7559 } 7560 switch fieldNum { 7561 case 1: 7562 if wireType != 2 { 7563 return fmt.Errorf("proto: wrong wireType = %d for field Op", wireType) 7564 } 7565 var msglen int 7566 for shift := uint(0); ; shift += 7 { 7567 if shift >= 64 { 7568 return ErrIntOverflowAdmin 7569 } 7570 if iNdEx >= l { 7571 return io.ErrUnexpectedEOF 7572 } 7573 b := dAtA[iNdEx] 7574 iNdEx++ 7575 msglen |= int(b&0x7F) << shift 7576 if b < 0x80 { 7577 break 7578 } 7579 } 7580 if msglen < 0 { 7581 return ErrInvalidLengthAdmin 7582 } 7583 postIndex := iNdEx + msglen 7584 if postIndex < 0 { 7585 return ErrInvalidLengthAdmin 7586 } 7587 if postIndex > l { 7588 return io.ErrUnexpectedEOF 7589 } 7590 if m.Op == nil { 7591 m.Op = &Op{} 7592 } 7593 if err := m.Op.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7594 return err 7595 } 7596 iNdEx = postIndex 7597 case 2: 7598 if wireType != 2 { 7599 return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType) 7600 } 7601 var stringLen uint64 7602 for shift := uint(0); ; shift += 7 { 7603 if shift >= 64 { 7604 return ErrIntOverflowAdmin 7605 } 7606 if iNdEx >= l { 7607 return io.ErrUnexpectedEOF 7608 } 7609 b := dAtA[iNdEx] 7610 iNdEx++ 7611 stringLen |= uint64(b&0x7F) << shift 7612 if b < 0x80 { 7613 break 7614 } 7615 } 7616 intStringLen := int(stringLen) 7617 if intStringLen < 0 { 7618 return ErrInvalidLengthAdmin 7619 } 7620 postIndex := iNdEx + intStringLen 7621 if postIndex < 0 { 7622 return ErrInvalidLengthAdmin 7623 } 7624 if postIndex > l { 7625 return io.ErrUnexpectedEOF 7626 } 7627 m.URL = string(dAtA[iNdEx:postIndex]) 7628 iNdEx = postIndex 7629 default: 7630 iNdEx = preIndex 7631 skippy, err := skipAdmin(dAtA[iNdEx:]) 7632 if err != nil { 7633 return err 7634 } 7635 if (skippy < 0) || (iNdEx+skippy) < 0 { 7636 return ErrInvalidLengthAdmin 7637 } 7638 if (iNdEx + skippy) > l { 7639 return io.ErrUnexpectedEOF 7640 } 7641 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7642 iNdEx += skippy 7643 } 7644 } 7645 7646 if iNdEx > l { 7647 return io.ErrUnexpectedEOF 7648 } 7649 return nil 7650 } 7651 func (m *ClusterInfo) Unmarshal(dAtA []byte) error { 7652 l := len(dAtA) 7653 iNdEx := 0 7654 for iNdEx < l { 7655 preIndex := iNdEx 7656 var wire uint64 7657 for shift := uint(0); ; shift += 7 { 7658 if shift >= 64 { 7659 return ErrIntOverflowAdmin 7660 } 7661 if iNdEx >= l { 7662 return io.ErrUnexpectedEOF 7663 } 7664 b := dAtA[iNdEx] 7665 iNdEx++ 7666 wire |= uint64(b&0x7F) << shift 7667 if b < 0x80 { 7668 break 7669 } 7670 } 7671 fieldNum := int32(wire >> 3) 7672 wireType := int(wire & 0x7) 7673 if wireType == 4 { 7674 return fmt.Errorf("proto: ClusterInfo: wiretype end group for non-group") 7675 } 7676 if fieldNum <= 0 { 7677 return fmt.Errorf("proto: ClusterInfo: illegal tag %d (wire type %d)", fieldNum, wire) 7678 } 7679 switch fieldNum { 7680 case 1: 7681 if wireType != 2 { 7682 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 7683 } 7684 var stringLen uint64 7685 for shift := uint(0); ; shift += 7 { 7686 if shift >= 64 { 7687 return ErrIntOverflowAdmin 7688 } 7689 if iNdEx >= l { 7690 return io.ErrUnexpectedEOF 7691 } 7692 b := dAtA[iNdEx] 7693 iNdEx++ 7694 stringLen |= uint64(b&0x7F) << shift 7695 if b < 0x80 { 7696 break 7697 } 7698 } 7699 intStringLen := int(stringLen) 7700 if intStringLen < 0 { 7701 return ErrInvalidLengthAdmin 7702 } 7703 postIndex := iNdEx + intStringLen 7704 if postIndex < 0 { 7705 return ErrInvalidLengthAdmin 7706 } 7707 if postIndex > l { 7708 return io.ErrUnexpectedEOF 7709 } 7710 m.ID = string(dAtA[iNdEx:postIndex]) 7711 iNdEx = postIndex 7712 case 2: 7713 if wireType != 2 { 7714 return fmt.Errorf("proto: wrong wireType = %d for field DeploymentID", wireType) 7715 } 7716 var stringLen uint64 7717 for shift := uint(0); ; shift += 7 { 7718 if shift >= 64 { 7719 return ErrIntOverflowAdmin 7720 } 7721 if iNdEx >= l { 7722 return io.ErrUnexpectedEOF 7723 } 7724 b := dAtA[iNdEx] 7725 iNdEx++ 7726 stringLen |= uint64(b&0x7F) << shift 7727 if b < 0x80 { 7728 break 7729 } 7730 } 7731 intStringLen := int(stringLen) 7732 if intStringLen < 0 { 7733 return ErrInvalidLengthAdmin 7734 } 7735 postIndex := iNdEx + intStringLen 7736 if postIndex < 0 { 7737 return ErrInvalidLengthAdmin 7738 } 7739 if postIndex > l { 7740 return io.ErrUnexpectedEOF 7741 } 7742 m.DeploymentID = string(dAtA[iNdEx:postIndex]) 7743 iNdEx = postIndex 7744 default: 7745 iNdEx = preIndex 7746 skippy, err := skipAdmin(dAtA[iNdEx:]) 7747 if err != nil { 7748 return err 7749 } 7750 if (skippy < 0) || (iNdEx+skippy) < 0 { 7751 return ErrInvalidLengthAdmin 7752 } 7753 if (iNdEx + skippy) > l { 7754 return io.ErrUnexpectedEOF 7755 } 7756 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 7757 iNdEx += skippy 7758 } 7759 } 7760 7761 if iNdEx > l { 7762 return io.ErrUnexpectedEOF 7763 } 7764 return nil 7765 } 7766 func skipAdmin(dAtA []byte) (n int, err error) { 7767 l := len(dAtA) 7768 iNdEx := 0 7769 depth := 0 7770 for iNdEx < l { 7771 var wire uint64 7772 for shift := uint(0); ; shift += 7 { 7773 if shift >= 64 { 7774 return 0, ErrIntOverflowAdmin 7775 } 7776 if iNdEx >= l { 7777 return 0, io.ErrUnexpectedEOF 7778 } 7779 b := dAtA[iNdEx] 7780 iNdEx++ 7781 wire |= (uint64(b) & 0x7F) << shift 7782 if b < 0x80 { 7783 break 7784 } 7785 } 7786 wireType := int(wire & 0x7) 7787 switch wireType { 7788 case 0: 7789 for shift := uint(0); ; shift += 7 { 7790 if shift >= 64 { 7791 return 0, ErrIntOverflowAdmin 7792 } 7793 if iNdEx >= l { 7794 return 0, io.ErrUnexpectedEOF 7795 } 7796 iNdEx++ 7797 if dAtA[iNdEx-1] < 0x80 { 7798 break 7799 } 7800 } 7801 case 1: 7802 iNdEx += 8 7803 case 2: 7804 var length int 7805 for shift := uint(0); ; shift += 7 { 7806 if shift >= 64 { 7807 return 0, ErrIntOverflowAdmin 7808 } 7809 if iNdEx >= l { 7810 return 0, io.ErrUnexpectedEOF 7811 } 7812 b := dAtA[iNdEx] 7813 iNdEx++ 7814 length |= (int(b) & 0x7F) << shift 7815 if b < 0x80 { 7816 break 7817 } 7818 } 7819 if length < 0 { 7820 return 0, ErrInvalidLengthAdmin 7821 } 7822 iNdEx += length 7823 case 3: 7824 depth++ 7825 case 4: 7826 if depth == 0 { 7827 return 0, ErrUnexpectedEndOfGroupAdmin 7828 } 7829 depth-- 7830 case 5: 7831 iNdEx += 4 7832 default: 7833 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 7834 } 7835 if iNdEx < 0 { 7836 return 0, ErrInvalidLengthAdmin 7837 } 7838 if depth == 0 { 7839 return iNdEx, nil 7840 } 7841 } 7842 return 0, io.ErrUnexpectedEOF 7843 } 7844 7845 var ( 7846 ErrInvalidLengthAdmin = fmt.Errorf("proto: negative length found during unmarshaling") 7847 ErrIntOverflowAdmin = fmt.Errorf("proto: integer overflow") 7848 ErrUnexpectedEndOfGroupAdmin = fmt.Errorf("proto: unexpected end of group") 7849 )