1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: commit.proto 3 4package gitalypb 5 6import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 timestamp "github.com/golang/protobuf/ptypes/timestamp" 11 grpc "google.golang.org/grpc" 12 codes "google.golang.org/grpc/codes" 13 status "google.golang.org/grpc/status" 14 math "math" 15) 16 17// Reference imports to suppress errors if they are not otherwise used. 18var _ = proto.Marshal 19var _ = fmt.Errorf 20var _ = math.Inf 21 22// This is a compile-time assertion to ensure that this generated file 23// is compatible with the proto package it is being compiled against. 24// A compilation error at this line likely means your copy of the 25// proto package needs to be updated. 26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 27 28// TODO: Replace this enum with ObjectType in shared.proto 29type TreeEntryResponse_ObjectType int32 30 31const ( 32 TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 33 TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 34 TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 35 TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 36) 37 38var TreeEntryResponse_ObjectType_name = map[int32]string{ 39 0: "COMMIT", 40 1: "BLOB", 41 2: "TREE", 42 3: "TAG", 43} 44 45var TreeEntryResponse_ObjectType_value = map[string]int32{ 46 "COMMIT": 0, 47 "BLOB": 1, 48 "TREE": 2, 49 "TAG": 3, 50} 51 52func (x TreeEntryResponse_ObjectType) String() string { 53 return proto.EnumName(TreeEntryResponse_ObjectType_name, int32(x)) 54} 55 56func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) { 57 return fileDescriptor_db7163399a465f48, []int{5, 0} 58} 59 60// TODO: Replace this enum with ObjectType in shared.proto 61type TreeEntry_EntryType int32 62 63const ( 64 TreeEntry_BLOB TreeEntry_EntryType = 0 65 TreeEntry_TREE TreeEntry_EntryType = 1 66 TreeEntry_COMMIT TreeEntry_EntryType = 3 67) 68 69var TreeEntry_EntryType_name = map[int32]string{ 70 0: "BLOB", 71 1: "TREE", 72 3: "COMMIT", 73} 74 75var TreeEntry_EntryType_value = map[string]int32{ 76 "BLOB": 0, 77 "TREE": 1, 78 "COMMIT": 3, 79} 80 81func (x TreeEntry_EntryType) String() string { 82 return proto.EnumName(TreeEntry_EntryType_name, int32(x)) 83} 84 85func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { 86 return fileDescriptor_db7163399a465f48, []int{12, 0} 87} 88 89type FindAllCommitsRequest_Order int32 90 91const ( 92 FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 93 FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 94 FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 95) 96 97var FindAllCommitsRequest_Order_name = map[int32]string{ 98 0: "NONE", 99 1: "TOPO", 100 2: "DATE", 101} 102 103var FindAllCommitsRequest_Order_value = map[string]int32{ 104 "NONE": 0, 105 "TOPO": 1, 106 "DATE": 2, 107} 108 109func (x FindAllCommitsRequest_Order) String() string { 110 return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x)) 111} 112 113func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { 114 return fileDescriptor_db7163399a465f48, []int{23, 0} 115} 116 117type FindCommitsRequest_Order int32 118 119const ( 120 FindCommitsRequest_NONE FindCommitsRequest_Order = 0 121 FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 122) 123 124var FindCommitsRequest_Order_name = map[int32]string{ 125 0: "NONE", 126 1: "TOPO", 127} 128 129var FindCommitsRequest_Order_value = map[string]int32{ 130 "NONE": 0, 131 "TOPO": 1, 132} 133 134func (x FindCommitsRequest_Order) String() string { 135 return proto.EnumName(FindCommitsRequest_Order_name, int32(x)) 136} 137 138func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { 139 return fileDescriptor_db7163399a465f48, []int{25, 0} 140} 141 142type CommitStatsRequest struct { 143 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 144 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 145 XXX_NoUnkeyedLiteral struct{} `json:"-"` 146 XXX_unrecognized []byte `json:"-"` 147 XXX_sizecache int32 `json:"-"` 148} 149 150func (m *CommitStatsRequest) Reset() { *m = CommitStatsRequest{} } 151func (m *CommitStatsRequest) String() string { return proto.CompactTextString(m) } 152func (*CommitStatsRequest) ProtoMessage() {} 153func (*CommitStatsRequest) Descriptor() ([]byte, []int) { 154 return fileDescriptor_db7163399a465f48, []int{0} 155} 156 157func (m *CommitStatsRequest) XXX_Unmarshal(b []byte) error { 158 return xxx_messageInfo_CommitStatsRequest.Unmarshal(m, b) 159} 160func (m *CommitStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 161 return xxx_messageInfo_CommitStatsRequest.Marshal(b, m, deterministic) 162} 163func (m *CommitStatsRequest) XXX_Merge(src proto.Message) { 164 xxx_messageInfo_CommitStatsRequest.Merge(m, src) 165} 166func (m *CommitStatsRequest) XXX_Size() int { 167 return xxx_messageInfo_CommitStatsRequest.Size(m) 168} 169func (m *CommitStatsRequest) XXX_DiscardUnknown() { 170 xxx_messageInfo_CommitStatsRequest.DiscardUnknown(m) 171} 172 173var xxx_messageInfo_CommitStatsRequest proto.InternalMessageInfo 174 175func (m *CommitStatsRequest) GetRepository() *Repository { 176 if m != nil { 177 return m.Repository 178 } 179 return nil 180} 181 182func (m *CommitStatsRequest) GetRevision() []byte { 183 if m != nil { 184 return m.Revision 185 } 186 return nil 187} 188 189type CommitStatsResponse struct { 190 // OID is the commit. Empty means not found 191 Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` 192 Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` 193 Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` 194 XXX_NoUnkeyedLiteral struct{} `json:"-"` 195 XXX_unrecognized []byte `json:"-"` 196 XXX_sizecache int32 `json:"-"` 197} 198 199func (m *CommitStatsResponse) Reset() { *m = CommitStatsResponse{} } 200func (m *CommitStatsResponse) String() string { return proto.CompactTextString(m) } 201func (*CommitStatsResponse) ProtoMessage() {} 202func (*CommitStatsResponse) Descriptor() ([]byte, []int) { 203 return fileDescriptor_db7163399a465f48, []int{1} 204} 205 206func (m *CommitStatsResponse) XXX_Unmarshal(b []byte) error { 207 return xxx_messageInfo_CommitStatsResponse.Unmarshal(m, b) 208} 209func (m *CommitStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 210 return xxx_messageInfo_CommitStatsResponse.Marshal(b, m, deterministic) 211} 212func (m *CommitStatsResponse) XXX_Merge(src proto.Message) { 213 xxx_messageInfo_CommitStatsResponse.Merge(m, src) 214} 215func (m *CommitStatsResponse) XXX_Size() int { 216 return xxx_messageInfo_CommitStatsResponse.Size(m) 217} 218func (m *CommitStatsResponse) XXX_DiscardUnknown() { 219 xxx_messageInfo_CommitStatsResponse.DiscardUnknown(m) 220} 221 222var xxx_messageInfo_CommitStatsResponse proto.InternalMessageInfo 223 224func (m *CommitStatsResponse) GetOid() string { 225 if m != nil { 226 return m.Oid 227 } 228 return "" 229} 230 231func (m *CommitStatsResponse) GetAdditions() int32 { 232 if m != nil { 233 return m.Additions 234 } 235 return 0 236} 237 238func (m *CommitStatsResponse) GetDeletions() int32 { 239 if m != nil { 240 return m.Deletions 241 } 242 return 0 243} 244 245type CommitIsAncestorRequest struct { 246 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 247 AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` 248 ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` 249 XXX_NoUnkeyedLiteral struct{} `json:"-"` 250 XXX_unrecognized []byte `json:"-"` 251 XXX_sizecache int32 `json:"-"` 252} 253 254func (m *CommitIsAncestorRequest) Reset() { *m = CommitIsAncestorRequest{} } 255func (m *CommitIsAncestorRequest) String() string { return proto.CompactTextString(m) } 256func (*CommitIsAncestorRequest) ProtoMessage() {} 257func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { 258 return fileDescriptor_db7163399a465f48, []int{2} 259} 260 261func (m *CommitIsAncestorRequest) XXX_Unmarshal(b []byte) error { 262 return xxx_messageInfo_CommitIsAncestorRequest.Unmarshal(m, b) 263} 264func (m *CommitIsAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 265 return xxx_messageInfo_CommitIsAncestorRequest.Marshal(b, m, deterministic) 266} 267func (m *CommitIsAncestorRequest) XXX_Merge(src proto.Message) { 268 xxx_messageInfo_CommitIsAncestorRequest.Merge(m, src) 269} 270func (m *CommitIsAncestorRequest) XXX_Size() int { 271 return xxx_messageInfo_CommitIsAncestorRequest.Size(m) 272} 273func (m *CommitIsAncestorRequest) XXX_DiscardUnknown() { 274 xxx_messageInfo_CommitIsAncestorRequest.DiscardUnknown(m) 275} 276 277var xxx_messageInfo_CommitIsAncestorRequest proto.InternalMessageInfo 278 279func (m *CommitIsAncestorRequest) GetRepository() *Repository { 280 if m != nil { 281 return m.Repository 282 } 283 return nil 284} 285 286func (m *CommitIsAncestorRequest) GetAncestorId() string { 287 if m != nil { 288 return m.AncestorId 289 } 290 return "" 291} 292 293func (m *CommitIsAncestorRequest) GetChildId() string { 294 if m != nil { 295 return m.ChildId 296 } 297 return "" 298} 299 300type CommitIsAncestorResponse struct { 301 Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` 302 XXX_NoUnkeyedLiteral struct{} `json:"-"` 303 XXX_unrecognized []byte `json:"-"` 304 XXX_sizecache int32 `json:"-"` 305} 306 307func (m *CommitIsAncestorResponse) Reset() { *m = CommitIsAncestorResponse{} } 308func (m *CommitIsAncestorResponse) String() string { return proto.CompactTextString(m) } 309func (*CommitIsAncestorResponse) ProtoMessage() {} 310func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { 311 return fileDescriptor_db7163399a465f48, []int{3} 312} 313 314func (m *CommitIsAncestorResponse) XXX_Unmarshal(b []byte) error { 315 return xxx_messageInfo_CommitIsAncestorResponse.Unmarshal(m, b) 316} 317func (m *CommitIsAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 318 return xxx_messageInfo_CommitIsAncestorResponse.Marshal(b, m, deterministic) 319} 320func (m *CommitIsAncestorResponse) XXX_Merge(src proto.Message) { 321 xxx_messageInfo_CommitIsAncestorResponse.Merge(m, src) 322} 323func (m *CommitIsAncestorResponse) XXX_Size() int { 324 return xxx_messageInfo_CommitIsAncestorResponse.Size(m) 325} 326func (m *CommitIsAncestorResponse) XXX_DiscardUnknown() { 327 xxx_messageInfo_CommitIsAncestorResponse.DiscardUnknown(m) 328} 329 330var xxx_messageInfo_CommitIsAncestorResponse proto.InternalMessageInfo 331 332func (m *CommitIsAncestorResponse) GetValue() bool { 333 if m != nil { 334 return m.Value 335 } 336 return false 337} 338 339type TreeEntryRequest struct { 340 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 341 // commit ID or refname 342 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 343 // entry path relative to repository root 344 Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 345 // Limit is the maximum number of bytes to fetch. If object is bigger, remaining bytes are not sent 346 // 0 means there is no limit. 347 Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` 348 // MaxSize is the maximum allowed object size. If bigger, a FailedPrecondition error is returned 349 // 0 means there is no maximum size. 350 MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` 351 XXX_NoUnkeyedLiteral struct{} `json:"-"` 352 XXX_unrecognized []byte `json:"-"` 353 XXX_sizecache int32 `json:"-"` 354} 355 356func (m *TreeEntryRequest) Reset() { *m = TreeEntryRequest{} } 357func (m *TreeEntryRequest) String() string { return proto.CompactTextString(m) } 358func (*TreeEntryRequest) ProtoMessage() {} 359func (*TreeEntryRequest) Descriptor() ([]byte, []int) { 360 return fileDescriptor_db7163399a465f48, []int{4} 361} 362 363func (m *TreeEntryRequest) XXX_Unmarshal(b []byte) error { 364 return xxx_messageInfo_TreeEntryRequest.Unmarshal(m, b) 365} 366func (m *TreeEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 367 return xxx_messageInfo_TreeEntryRequest.Marshal(b, m, deterministic) 368} 369func (m *TreeEntryRequest) XXX_Merge(src proto.Message) { 370 xxx_messageInfo_TreeEntryRequest.Merge(m, src) 371} 372func (m *TreeEntryRequest) XXX_Size() int { 373 return xxx_messageInfo_TreeEntryRequest.Size(m) 374} 375func (m *TreeEntryRequest) XXX_DiscardUnknown() { 376 xxx_messageInfo_TreeEntryRequest.DiscardUnknown(m) 377} 378 379var xxx_messageInfo_TreeEntryRequest proto.InternalMessageInfo 380 381func (m *TreeEntryRequest) GetRepository() *Repository { 382 if m != nil { 383 return m.Repository 384 } 385 return nil 386} 387 388func (m *TreeEntryRequest) GetRevision() []byte { 389 if m != nil { 390 return m.Revision 391 } 392 return nil 393} 394 395func (m *TreeEntryRequest) GetPath() []byte { 396 if m != nil { 397 return m.Path 398 } 399 return nil 400} 401 402func (m *TreeEntryRequest) GetLimit() int64 { 403 if m != nil { 404 return m.Limit 405 } 406 return 0 407} 408 409func (m *TreeEntryRequest) GetMaxSize() int64 { 410 if m != nil { 411 return m.MaxSize 412 } 413 return 0 414} 415 416type TreeEntryResponse struct { 417 Type TreeEntryResponse_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.TreeEntryResponse_ObjectType" json:"type,omitempty"` 418 // SHA1 object ID 419 Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` 420 Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` 421 // file mode 422 Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` 423 // raw object contents 424 Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` 425 XXX_NoUnkeyedLiteral struct{} `json:"-"` 426 XXX_unrecognized []byte `json:"-"` 427 XXX_sizecache int32 `json:"-"` 428} 429 430func (m *TreeEntryResponse) Reset() { *m = TreeEntryResponse{} } 431func (m *TreeEntryResponse) String() string { return proto.CompactTextString(m) } 432func (*TreeEntryResponse) ProtoMessage() {} 433func (*TreeEntryResponse) Descriptor() ([]byte, []int) { 434 return fileDescriptor_db7163399a465f48, []int{5} 435} 436 437func (m *TreeEntryResponse) XXX_Unmarshal(b []byte) error { 438 return xxx_messageInfo_TreeEntryResponse.Unmarshal(m, b) 439} 440func (m *TreeEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 441 return xxx_messageInfo_TreeEntryResponse.Marshal(b, m, deterministic) 442} 443func (m *TreeEntryResponse) XXX_Merge(src proto.Message) { 444 xxx_messageInfo_TreeEntryResponse.Merge(m, src) 445} 446func (m *TreeEntryResponse) XXX_Size() int { 447 return xxx_messageInfo_TreeEntryResponse.Size(m) 448} 449func (m *TreeEntryResponse) XXX_DiscardUnknown() { 450 xxx_messageInfo_TreeEntryResponse.DiscardUnknown(m) 451} 452 453var xxx_messageInfo_TreeEntryResponse proto.InternalMessageInfo 454 455func (m *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { 456 if m != nil { 457 return m.Type 458 } 459 return TreeEntryResponse_COMMIT 460} 461 462func (m *TreeEntryResponse) GetOid() string { 463 if m != nil { 464 return m.Oid 465 } 466 return "" 467} 468 469func (m *TreeEntryResponse) GetSize() int64 { 470 if m != nil { 471 return m.Size 472 } 473 return 0 474} 475 476func (m *TreeEntryResponse) GetMode() int32 { 477 if m != nil { 478 return m.Mode 479 } 480 return 0 481} 482 483func (m *TreeEntryResponse) GetData() []byte { 484 if m != nil { 485 return m.Data 486 } 487 return nil 488} 489 490type CommitsBetweenRequest struct { 491 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 492 From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` 493 To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` 494 // The page token is the last commit OID that was sent. It's expected to be the 495 // full object ID to guard against ambigious OIDs. Using the page parameter is 496 // effectivaly equivalent to setting the `from` parameter to the commit object 497 // identifier. 498 PaginationParams *PaginationParameter `protobuf:"bytes,4,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` 499 XXX_NoUnkeyedLiteral struct{} `json:"-"` 500 XXX_unrecognized []byte `json:"-"` 501 XXX_sizecache int32 `json:"-"` 502} 503 504func (m *CommitsBetweenRequest) Reset() { *m = CommitsBetweenRequest{} } 505func (m *CommitsBetweenRequest) String() string { return proto.CompactTextString(m) } 506func (*CommitsBetweenRequest) ProtoMessage() {} 507func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { 508 return fileDescriptor_db7163399a465f48, []int{6} 509} 510 511func (m *CommitsBetweenRequest) XXX_Unmarshal(b []byte) error { 512 return xxx_messageInfo_CommitsBetweenRequest.Unmarshal(m, b) 513} 514func (m *CommitsBetweenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 515 return xxx_messageInfo_CommitsBetweenRequest.Marshal(b, m, deterministic) 516} 517func (m *CommitsBetweenRequest) XXX_Merge(src proto.Message) { 518 xxx_messageInfo_CommitsBetweenRequest.Merge(m, src) 519} 520func (m *CommitsBetweenRequest) XXX_Size() int { 521 return xxx_messageInfo_CommitsBetweenRequest.Size(m) 522} 523func (m *CommitsBetweenRequest) XXX_DiscardUnknown() { 524 xxx_messageInfo_CommitsBetweenRequest.DiscardUnknown(m) 525} 526 527var xxx_messageInfo_CommitsBetweenRequest proto.InternalMessageInfo 528 529func (m *CommitsBetweenRequest) GetRepository() *Repository { 530 if m != nil { 531 return m.Repository 532 } 533 return nil 534} 535 536func (m *CommitsBetweenRequest) GetFrom() []byte { 537 if m != nil { 538 return m.From 539 } 540 return nil 541} 542 543func (m *CommitsBetweenRequest) GetTo() []byte { 544 if m != nil { 545 return m.To 546 } 547 return nil 548} 549 550func (m *CommitsBetweenRequest) GetPaginationParams() *PaginationParameter { 551 if m != nil { 552 return m.PaginationParams 553 } 554 return nil 555} 556 557type CommitsBetweenResponse struct { 558 Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` 559 XXX_NoUnkeyedLiteral struct{} `json:"-"` 560 XXX_unrecognized []byte `json:"-"` 561 XXX_sizecache int32 `json:"-"` 562} 563 564func (m *CommitsBetweenResponse) Reset() { *m = CommitsBetweenResponse{} } 565func (m *CommitsBetweenResponse) String() string { return proto.CompactTextString(m) } 566func (*CommitsBetweenResponse) ProtoMessage() {} 567func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { 568 return fileDescriptor_db7163399a465f48, []int{7} 569} 570 571func (m *CommitsBetweenResponse) XXX_Unmarshal(b []byte) error { 572 return xxx_messageInfo_CommitsBetweenResponse.Unmarshal(m, b) 573} 574func (m *CommitsBetweenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 575 return xxx_messageInfo_CommitsBetweenResponse.Marshal(b, m, deterministic) 576} 577func (m *CommitsBetweenResponse) XXX_Merge(src proto.Message) { 578 xxx_messageInfo_CommitsBetweenResponse.Merge(m, src) 579} 580func (m *CommitsBetweenResponse) XXX_Size() int { 581 return xxx_messageInfo_CommitsBetweenResponse.Size(m) 582} 583func (m *CommitsBetweenResponse) XXX_DiscardUnknown() { 584 xxx_messageInfo_CommitsBetweenResponse.DiscardUnknown(m) 585} 586 587var xxx_messageInfo_CommitsBetweenResponse proto.InternalMessageInfo 588 589func (m *CommitsBetweenResponse) GetCommits() []*GitCommit { 590 if m != nil { 591 return m.Commits 592 } 593 return nil 594} 595 596type CountCommitsRequest struct { 597 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 598 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 599 After *timestamp.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` 600 Before *timestamp.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"` 601 Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` 602 MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` 603 // all and revision are mutually exclusive 604 All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"` 605 FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` 606 GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` 607 XXX_NoUnkeyedLiteral struct{} `json:"-"` 608 XXX_unrecognized []byte `json:"-"` 609 XXX_sizecache int32 `json:"-"` 610} 611 612func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} } 613func (m *CountCommitsRequest) String() string { return proto.CompactTextString(m) } 614func (*CountCommitsRequest) ProtoMessage() {} 615func (*CountCommitsRequest) Descriptor() ([]byte, []int) { 616 return fileDescriptor_db7163399a465f48, []int{8} 617} 618 619func (m *CountCommitsRequest) XXX_Unmarshal(b []byte) error { 620 return xxx_messageInfo_CountCommitsRequest.Unmarshal(m, b) 621} 622func (m *CountCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 623 return xxx_messageInfo_CountCommitsRequest.Marshal(b, m, deterministic) 624} 625func (m *CountCommitsRequest) XXX_Merge(src proto.Message) { 626 xxx_messageInfo_CountCommitsRequest.Merge(m, src) 627} 628func (m *CountCommitsRequest) XXX_Size() int { 629 return xxx_messageInfo_CountCommitsRequest.Size(m) 630} 631func (m *CountCommitsRequest) XXX_DiscardUnknown() { 632 xxx_messageInfo_CountCommitsRequest.DiscardUnknown(m) 633} 634 635var xxx_messageInfo_CountCommitsRequest proto.InternalMessageInfo 636 637func (m *CountCommitsRequest) GetRepository() *Repository { 638 if m != nil { 639 return m.Repository 640 } 641 return nil 642} 643 644func (m *CountCommitsRequest) GetRevision() []byte { 645 if m != nil { 646 return m.Revision 647 } 648 return nil 649} 650 651func (m *CountCommitsRequest) GetAfter() *timestamp.Timestamp { 652 if m != nil { 653 return m.After 654 } 655 return nil 656} 657 658func (m *CountCommitsRequest) GetBefore() *timestamp.Timestamp { 659 if m != nil { 660 return m.Before 661 } 662 return nil 663} 664 665func (m *CountCommitsRequest) GetPath() []byte { 666 if m != nil { 667 return m.Path 668 } 669 return nil 670} 671 672func (m *CountCommitsRequest) GetMaxCount() int32 { 673 if m != nil { 674 return m.MaxCount 675 } 676 return 0 677} 678 679func (m *CountCommitsRequest) GetAll() bool { 680 if m != nil { 681 return m.All 682 } 683 return false 684} 685 686func (m *CountCommitsRequest) GetFirstParent() bool { 687 if m != nil { 688 return m.FirstParent 689 } 690 return false 691} 692 693func (m *CountCommitsRequest) GetGlobalOptions() *GlobalOptions { 694 if m != nil { 695 return m.GlobalOptions 696 } 697 return nil 698} 699 700type CountCommitsResponse struct { 701 Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` 702 XXX_NoUnkeyedLiteral struct{} `json:"-"` 703 XXX_unrecognized []byte `json:"-"` 704 XXX_sizecache int32 `json:"-"` 705} 706 707func (m *CountCommitsResponse) Reset() { *m = CountCommitsResponse{} } 708func (m *CountCommitsResponse) String() string { return proto.CompactTextString(m) } 709func (*CountCommitsResponse) ProtoMessage() {} 710func (*CountCommitsResponse) Descriptor() ([]byte, []int) { 711 return fileDescriptor_db7163399a465f48, []int{9} 712} 713 714func (m *CountCommitsResponse) XXX_Unmarshal(b []byte) error { 715 return xxx_messageInfo_CountCommitsResponse.Unmarshal(m, b) 716} 717func (m *CountCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 718 return xxx_messageInfo_CountCommitsResponse.Marshal(b, m, deterministic) 719} 720func (m *CountCommitsResponse) XXX_Merge(src proto.Message) { 721 xxx_messageInfo_CountCommitsResponse.Merge(m, src) 722} 723func (m *CountCommitsResponse) XXX_Size() int { 724 return xxx_messageInfo_CountCommitsResponse.Size(m) 725} 726func (m *CountCommitsResponse) XXX_DiscardUnknown() { 727 xxx_messageInfo_CountCommitsResponse.DiscardUnknown(m) 728} 729 730var xxx_messageInfo_CountCommitsResponse proto.InternalMessageInfo 731 732func (m *CountCommitsResponse) GetCount() int32 { 733 if m != nil { 734 return m.Count 735 } 736 return 0 737} 738 739type CountDivergingCommitsRequest struct { 740 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 741 From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` 742 To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` 743 MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` 744 XXX_NoUnkeyedLiteral struct{} `json:"-"` 745 XXX_unrecognized []byte `json:"-"` 746 XXX_sizecache int32 `json:"-"` 747} 748 749func (m *CountDivergingCommitsRequest) Reset() { *m = CountDivergingCommitsRequest{} } 750func (m *CountDivergingCommitsRequest) String() string { return proto.CompactTextString(m) } 751func (*CountDivergingCommitsRequest) ProtoMessage() {} 752func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { 753 return fileDescriptor_db7163399a465f48, []int{10} 754} 755 756func (m *CountDivergingCommitsRequest) XXX_Unmarshal(b []byte) error { 757 return xxx_messageInfo_CountDivergingCommitsRequest.Unmarshal(m, b) 758} 759func (m *CountDivergingCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 760 return xxx_messageInfo_CountDivergingCommitsRequest.Marshal(b, m, deterministic) 761} 762func (m *CountDivergingCommitsRequest) XXX_Merge(src proto.Message) { 763 xxx_messageInfo_CountDivergingCommitsRequest.Merge(m, src) 764} 765func (m *CountDivergingCommitsRequest) XXX_Size() int { 766 return xxx_messageInfo_CountDivergingCommitsRequest.Size(m) 767} 768func (m *CountDivergingCommitsRequest) XXX_DiscardUnknown() { 769 xxx_messageInfo_CountDivergingCommitsRequest.DiscardUnknown(m) 770} 771 772var xxx_messageInfo_CountDivergingCommitsRequest proto.InternalMessageInfo 773 774func (m *CountDivergingCommitsRequest) GetRepository() *Repository { 775 if m != nil { 776 return m.Repository 777 } 778 return nil 779} 780 781func (m *CountDivergingCommitsRequest) GetFrom() []byte { 782 if m != nil { 783 return m.From 784 } 785 return nil 786} 787 788func (m *CountDivergingCommitsRequest) GetTo() []byte { 789 if m != nil { 790 return m.To 791 } 792 return nil 793} 794 795func (m *CountDivergingCommitsRequest) GetMaxCount() int32 { 796 if m != nil { 797 return m.MaxCount 798 } 799 return 0 800} 801 802type CountDivergingCommitsResponse struct { 803 LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` 804 RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` 805 XXX_NoUnkeyedLiteral struct{} `json:"-"` 806 XXX_unrecognized []byte `json:"-"` 807 XXX_sizecache int32 `json:"-"` 808} 809 810func (m *CountDivergingCommitsResponse) Reset() { *m = CountDivergingCommitsResponse{} } 811func (m *CountDivergingCommitsResponse) String() string { return proto.CompactTextString(m) } 812func (*CountDivergingCommitsResponse) ProtoMessage() {} 813func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { 814 return fileDescriptor_db7163399a465f48, []int{11} 815} 816 817func (m *CountDivergingCommitsResponse) XXX_Unmarshal(b []byte) error { 818 return xxx_messageInfo_CountDivergingCommitsResponse.Unmarshal(m, b) 819} 820func (m *CountDivergingCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 821 return xxx_messageInfo_CountDivergingCommitsResponse.Marshal(b, m, deterministic) 822} 823func (m *CountDivergingCommitsResponse) XXX_Merge(src proto.Message) { 824 xxx_messageInfo_CountDivergingCommitsResponse.Merge(m, src) 825} 826func (m *CountDivergingCommitsResponse) XXX_Size() int { 827 return xxx_messageInfo_CountDivergingCommitsResponse.Size(m) 828} 829func (m *CountDivergingCommitsResponse) XXX_DiscardUnknown() { 830 xxx_messageInfo_CountDivergingCommitsResponse.DiscardUnknown(m) 831} 832 833var xxx_messageInfo_CountDivergingCommitsResponse proto.InternalMessageInfo 834 835func (m *CountDivergingCommitsResponse) GetLeftCount() int32 { 836 if m != nil { 837 return m.LeftCount 838 } 839 return 0 840} 841 842func (m *CountDivergingCommitsResponse) GetRightCount() int32 { 843 if m != nil { 844 return m.RightCount 845 } 846 return 0 847} 848 849type TreeEntry struct { 850 // OID of the object this tree entry points to 851 Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` 852 // OID of the tree attached to commit_oid 853 RootOid string `protobuf:"bytes,2,opt,name=root_oid,json=rootOid,proto3" json:"root_oid,omitempty"` 854 // Path relative to repository root 855 Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 856 Type TreeEntry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=gitaly.TreeEntry_EntryType" json:"type,omitempty"` 857 // File mode e.g. 0644 858 Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` 859 // The commit object via which this entry was retrieved 860 CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` 861 // Relative path of the first subdir that doesn't have only one directory descendant 862 FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"` 863 XXX_NoUnkeyedLiteral struct{} `json:"-"` 864 XXX_unrecognized []byte `json:"-"` 865 XXX_sizecache int32 `json:"-"` 866} 867 868func (m *TreeEntry) Reset() { *m = TreeEntry{} } 869func (m *TreeEntry) String() string { return proto.CompactTextString(m) } 870func (*TreeEntry) ProtoMessage() {} 871func (*TreeEntry) Descriptor() ([]byte, []int) { 872 return fileDescriptor_db7163399a465f48, []int{12} 873} 874 875func (m *TreeEntry) XXX_Unmarshal(b []byte) error { 876 return xxx_messageInfo_TreeEntry.Unmarshal(m, b) 877} 878func (m *TreeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 879 return xxx_messageInfo_TreeEntry.Marshal(b, m, deterministic) 880} 881func (m *TreeEntry) XXX_Merge(src proto.Message) { 882 xxx_messageInfo_TreeEntry.Merge(m, src) 883} 884func (m *TreeEntry) XXX_Size() int { 885 return xxx_messageInfo_TreeEntry.Size(m) 886} 887func (m *TreeEntry) XXX_DiscardUnknown() { 888 xxx_messageInfo_TreeEntry.DiscardUnknown(m) 889} 890 891var xxx_messageInfo_TreeEntry proto.InternalMessageInfo 892 893func (m *TreeEntry) GetOid() string { 894 if m != nil { 895 return m.Oid 896 } 897 return "" 898} 899 900func (m *TreeEntry) GetRootOid() string { 901 if m != nil { 902 return m.RootOid 903 } 904 return "" 905} 906 907func (m *TreeEntry) GetPath() []byte { 908 if m != nil { 909 return m.Path 910 } 911 return nil 912} 913 914func (m *TreeEntry) GetType() TreeEntry_EntryType { 915 if m != nil { 916 return m.Type 917 } 918 return TreeEntry_BLOB 919} 920 921func (m *TreeEntry) GetMode() int32 { 922 if m != nil { 923 return m.Mode 924 } 925 return 0 926} 927 928func (m *TreeEntry) GetCommitOid() string { 929 if m != nil { 930 return m.CommitOid 931 } 932 return "" 933} 934 935func (m *TreeEntry) GetFlatPath() []byte { 936 if m != nil { 937 return m.FlatPath 938 } 939 return nil 940} 941 942type GetTreeEntriesRequest struct { 943 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 944 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 945 Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 946 Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` 947 XXX_NoUnkeyedLiteral struct{} `json:"-"` 948 XXX_unrecognized []byte `json:"-"` 949 XXX_sizecache int32 `json:"-"` 950} 951 952func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} } 953func (m *GetTreeEntriesRequest) String() string { return proto.CompactTextString(m) } 954func (*GetTreeEntriesRequest) ProtoMessage() {} 955func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { 956 return fileDescriptor_db7163399a465f48, []int{13} 957} 958 959func (m *GetTreeEntriesRequest) XXX_Unmarshal(b []byte) error { 960 return xxx_messageInfo_GetTreeEntriesRequest.Unmarshal(m, b) 961} 962func (m *GetTreeEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 963 return xxx_messageInfo_GetTreeEntriesRequest.Marshal(b, m, deterministic) 964} 965func (m *GetTreeEntriesRequest) XXX_Merge(src proto.Message) { 966 xxx_messageInfo_GetTreeEntriesRequest.Merge(m, src) 967} 968func (m *GetTreeEntriesRequest) XXX_Size() int { 969 return xxx_messageInfo_GetTreeEntriesRequest.Size(m) 970} 971func (m *GetTreeEntriesRequest) XXX_DiscardUnknown() { 972 xxx_messageInfo_GetTreeEntriesRequest.DiscardUnknown(m) 973} 974 975var xxx_messageInfo_GetTreeEntriesRequest proto.InternalMessageInfo 976 977func (m *GetTreeEntriesRequest) GetRepository() *Repository { 978 if m != nil { 979 return m.Repository 980 } 981 return nil 982} 983 984func (m *GetTreeEntriesRequest) GetRevision() []byte { 985 if m != nil { 986 return m.Revision 987 } 988 return nil 989} 990 991func (m *GetTreeEntriesRequest) GetPath() []byte { 992 if m != nil { 993 return m.Path 994 } 995 return nil 996} 997 998func (m *GetTreeEntriesRequest) GetRecursive() bool { 999 if m != nil { 1000 return m.Recursive 1001 } 1002 return false 1003} 1004 1005type GetTreeEntriesResponse struct { 1006 Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` 1007 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1008 XXX_unrecognized []byte `json:"-"` 1009 XXX_sizecache int32 `json:"-"` 1010} 1011 1012func (m *GetTreeEntriesResponse) Reset() { *m = GetTreeEntriesResponse{} } 1013func (m *GetTreeEntriesResponse) String() string { return proto.CompactTextString(m) } 1014func (*GetTreeEntriesResponse) ProtoMessage() {} 1015func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { 1016 return fileDescriptor_db7163399a465f48, []int{14} 1017} 1018 1019func (m *GetTreeEntriesResponse) XXX_Unmarshal(b []byte) error { 1020 return xxx_messageInfo_GetTreeEntriesResponse.Unmarshal(m, b) 1021} 1022func (m *GetTreeEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1023 return xxx_messageInfo_GetTreeEntriesResponse.Marshal(b, m, deterministic) 1024} 1025func (m *GetTreeEntriesResponse) XXX_Merge(src proto.Message) { 1026 xxx_messageInfo_GetTreeEntriesResponse.Merge(m, src) 1027} 1028func (m *GetTreeEntriesResponse) XXX_Size() int { 1029 return xxx_messageInfo_GetTreeEntriesResponse.Size(m) 1030} 1031func (m *GetTreeEntriesResponse) XXX_DiscardUnknown() { 1032 xxx_messageInfo_GetTreeEntriesResponse.DiscardUnknown(m) 1033} 1034 1035var xxx_messageInfo_GetTreeEntriesResponse proto.InternalMessageInfo 1036 1037func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry { 1038 if m != nil { 1039 return m.Entries 1040 } 1041 return nil 1042} 1043 1044type ListFilesRequest struct { 1045 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1046 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1047 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1048 XXX_unrecognized []byte `json:"-"` 1049 XXX_sizecache int32 `json:"-"` 1050} 1051 1052func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} } 1053func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) } 1054func (*ListFilesRequest) ProtoMessage() {} 1055func (*ListFilesRequest) Descriptor() ([]byte, []int) { 1056 return fileDescriptor_db7163399a465f48, []int{15} 1057} 1058 1059func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error { 1060 return xxx_messageInfo_ListFilesRequest.Unmarshal(m, b) 1061} 1062func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1063 return xxx_messageInfo_ListFilesRequest.Marshal(b, m, deterministic) 1064} 1065func (m *ListFilesRequest) XXX_Merge(src proto.Message) { 1066 xxx_messageInfo_ListFilesRequest.Merge(m, src) 1067} 1068func (m *ListFilesRequest) XXX_Size() int { 1069 return xxx_messageInfo_ListFilesRequest.Size(m) 1070} 1071func (m *ListFilesRequest) XXX_DiscardUnknown() { 1072 xxx_messageInfo_ListFilesRequest.DiscardUnknown(m) 1073} 1074 1075var xxx_messageInfo_ListFilesRequest proto.InternalMessageInfo 1076 1077func (m *ListFilesRequest) GetRepository() *Repository { 1078 if m != nil { 1079 return m.Repository 1080 } 1081 return nil 1082} 1083 1084func (m *ListFilesRequest) GetRevision() []byte { 1085 if m != nil { 1086 return m.Revision 1087 } 1088 return nil 1089} 1090 1091// A single 'page' of the paginated response 1092type ListFilesResponse struct { 1093 // Remember to force encoding utf-8 on the client side 1094 Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` 1095 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1096 XXX_unrecognized []byte `json:"-"` 1097 XXX_sizecache int32 `json:"-"` 1098} 1099 1100func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} } 1101func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) } 1102func (*ListFilesResponse) ProtoMessage() {} 1103func (*ListFilesResponse) Descriptor() ([]byte, []int) { 1104 return fileDescriptor_db7163399a465f48, []int{16} 1105} 1106 1107func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error { 1108 return xxx_messageInfo_ListFilesResponse.Unmarshal(m, b) 1109} 1110func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1111 return xxx_messageInfo_ListFilesResponse.Marshal(b, m, deterministic) 1112} 1113func (m *ListFilesResponse) XXX_Merge(src proto.Message) { 1114 xxx_messageInfo_ListFilesResponse.Merge(m, src) 1115} 1116func (m *ListFilesResponse) XXX_Size() int { 1117 return xxx_messageInfo_ListFilesResponse.Size(m) 1118} 1119func (m *ListFilesResponse) XXX_DiscardUnknown() { 1120 xxx_messageInfo_ListFilesResponse.DiscardUnknown(m) 1121} 1122 1123var xxx_messageInfo_ListFilesResponse proto.InternalMessageInfo 1124 1125func (m *ListFilesResponse) GetPaths() [][]byte { 1126 if m != nil { 1127 return m.Paths 1128 } 1129 return nil 1130} 1131 1132type FindCommitRequest struct { 1133 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1134 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1135 Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"` 1136 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1137 XXX_unrecognized []byte `json:"-"` 1138 XXX_sizecache int32 `json:"-"` 1139} 1140 1141func (m *FindCommitRequest) Reset() { *m = FindCommitRequest{} } 1142func (m *FindCommitRequest) String() string { return proto.CompactTextString(m) } 1143func (*FindCommitRequest) ProtoMessage() {} 1144func (*FindCommitRequest) Descriptor() ([]byte, []int) { 1145 return fileDescriptor_db7163399a465f48, []int{17} 1146} 1147 1148func (m *FindCommitRequest) XXX_Unmarshal(b []byte) error { 1149 return xxx_messageInfo_FindCommitRequest.Unmarshal(m, b) 1150} 1151func (m *FindCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1152 return xxx_messageInfo_FindCommitRequest.Marshal(b, m, deterministic) 1153} 1154func (m *FindCommitRequest) XXX_Merge(src proto.Message) { 1155 xxx_messageInfo_FindCommitRequest.Merge(m, src) 1156} 1157func (m *FindCommitRequest) XXX_Size() int { 1158 return xxx_messageInfo_FindCommitRequest.Size(m) 1159} 1160func (m *FindCommitRequest) XXX_DiscardUnknown() { 1161 xxx_messageInfo_FindCommitRequest.DiscardUnknown(m) 1162} 1163 1164var xxx_messageInfo_FindCommitRequest proto.InternalMessageInfo 1165 1166func (m *FindCommitRequest) GetRepository() *Repository { 1167 if m != nil { 1168 return m.Repository 1169 } 1170 return nil 1171} 1172 1173func (m *FindCommitRequest) GetRevision() []byte { 1174 if m != nil { 1175 return m.Revision 1176 } 1177 return nil 1178} 1179 1180func (m *FindCommitRequest) GetTrailers() bool { 1181 if m != nil { 1182 return m.Trailers 1183 } 1184 return false 1185} 1186 1187type FindCommitResponse struct { 1188 // commit is nil when the commit was not found 1189 Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` 1190 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1191 XXX_unrecognized []byte `json:"-"` 1192 XXX_sizecache int32 `json:"-"` 1193} 1194 1195func (m *FindCommitResponse) Reset() { *m = FindCommitResponse{} } 1196func (m *FindCommitResponse) String() string { return proto.CompactTextString(m) } 1197func (*FindCommitResponse) ProtoMessage() {} 1198func (*FindCommitResponse) Descriptor() ([]byte, []int) { 1199 return fileDescriptor_db7163399a465f48, []int{18} 1200} 1201 1202func (m *FindCommitResponse) XXX_Unmarshal(b []byte) error { 1203 return xxx_messageInfo_FindCommitResponse.Unmarshal(m, b) 1204} 1205func (m *FindCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1206 return xxx_messageInfo_FindCommitResponse.Marshal(b, m, deterministic) 1207} 1208func (m *FindCommitResponse) XXX_Merge(src proto.Message) { 1209 xxx_messageInfo_FindCommitResponse.Merge(m, src) 1210} 1211func (m *FindCommitResponse) XXX_Size() int { 1212 return xxx_messageInfo_FindCommitResponse.Size(m) 1213} 1214func (m *FindCommitResponse) XXX_DiscardUnknown() { 1215 xxx_messageInfo_FindCommitResponse.DiscardUnknown(m) 1216} 1217 1218var xxx_messageInfo_FindCommitResponse proto.InternalMessageInfo 1219 1220func (m *FindCommitResponse) GetCommit() *GitCommit { 1221 if m != nil { 1222 return m.Commit 1223 } 1224 return nil 1225} 1226 1227type ListCommitsByOidRequest struct { 1228 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1229 Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` 1230 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1231 XXX_unrecognized []byte `json:"-"` 1232 XXX_sizecache int32 `json:"-"` 1233} 1234 1235func (m *ListCommitsByOidRequest) Reset() { *m = ListCommitsByOidRequest{} } 1236func (m *ListCommitsByOidRequest) String() string { return proto.CompactTextString(m) } 1237func (*ListCommitsByOidRequest) ProtoMessage() {} 1238func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { 1239 return fileDescriptor_db7163399a465f48, []int{19} 1240} 1241 1242func (m *ListCommitsByOidRequest) XXX_Unmarshal(b []byte) error { 1243 return xxx_messageInfo_ListCommitsByOidRequest.Unmarshal(m, b) 1244} 1245func (m *ListCommitsByOidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1246 return xxx_messageInfo_ListCommitsByOidRequest.Marshal(b, m, deterministic) 1247} 1248func (m *ListCommitsByOidRequest) XXX_Merge(src proto.Message) { 1249 xxx_messageInfo_ListCommitsByOidRequest.Merge(m, src) 1250} 1251func (m *ListCommitsByOidRequest) XXX_Size() int { 1252 return xxx_messageInfo_ListCommitsByOidRequest.Size(m) 1253} 1254func (m *ListCommitsByOidRequest) XXX_DiscardUnknown() { 1255 xxx_messageInfo_ListCommitsByOidRequest.DiscardUnknown(m) 1256} 1257 1258var xxx_messageInfo_ListCommitsByOidRequest proto.InternalMessageInfo 1259 1260func (m *ListCommitsByOidRequest) GetRepository() *Repository { 1261 if m != nil { 1262 return m.Repository 1263 } 1264 return nil 1265} 1266 1267func (m *ListCommitsByOidRequest) GetOid() []string { 1268 if m != nil { 1269 return m.Oid 1270 } 1271 return nil 1272} 1273 1274type ListCommitsByOidResponse struct { 1275 Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` 1276 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1277 XXX_unrecognized []byte `json:"-"` 1278 XXX_sizecache int32 `json:"-"` 1279} 1280 1281func (m *ListCommitsByOidResponse) Reset() { *m = ListCommitsByOidResponse{} } 1282func (m *ListCommitsByOidResponse) String() string { return proto.CompactTextString(m) } 1283func (*ListCommitsByOidResponse) ProtoMessage() {} 1284func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { 1285 return fileDescriptor_db7163399a465f48, []int{20} 1286} 1287 1288func (m *ListCommitsByOidResponse) XXX_Unmarshal(b []byte) error { 1289 return xxx_messageInfo_ListCommitsByOidResponse.Unmarshal(m, b) 1290} 1291func (m *ListCommitsByOidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1292 return xxx_messageInfo_ListCommitsByOidResponse.Marshal(b, m, deterministic) 1293} 1294func (m *ListCommitsByOidResponse) XXX_Merge(src proto.Message) { 1295 xxx_messageInfo_ListCommitsByOidResponse.Merge(m, src) 1296} 1297func (m *ListCommitsByOidResponse) XXX_Size() int { 1298 return xxx_messageInfo_ListCommitsByOidResponse.Size(m) 1299} 1300func (m *ListCommitsByOidResponse) XXX_DiscardUnknown() { 1301 xxx_messageInfo_ListCommitsByOidResponse.DiscardUnknown(m) 1302} 1303 1304var xxx_messageInfo_ListCommitsByOidResponse proto.InternalMessageInfo 1305 1306func (m *ListCommitsByOidResponse) GetCommits() []*GitCommit { 1307 if m != nil { 1308 return m.Commits 1309 } 1310 return nil 1311} 1312 1313type ListCommitsByRefNameRequest struct { 1314 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1315 RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` 1316 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1317 XXX_unrecognized []byte `json:"-"` 1318 XXX_sizecache int32 `json:"-"` 1319} 1320 1321func (m *ListCommitsByRefNameRequest) Reset() { *m = ListCommitsByRefNameRequest{} } 1322func (m *ListCommitsByRefNameRequest) String() string { return proto.CompactTextString(m) } 1323func (*ListCommitsByRefNameRequest) ProtoMessage() {} 1324func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { 1325 return fileDescriptor_db7163399a465f48, []int{21} 1326} 1327 1328func (m *ListCommitsByRefNameRequest) XXX_Unmarshal(b []byte) error { 1329 return xxx_messageInfo_ListCommitsByRefNameRequest.Unmarshal(m, b) 1330} 1331func (m *ListCommitsByRefNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1332 return xxx_messageInfo_ListCommitsByRefNameRequest.Marshal(b, m, deterministic) 1333} 1334func (m *ListCommitsByRefNameRequest) XXX_Merge(src proto.Message) { 1335 xxx_messageInfo_ListCommitsByRefNameRequest.Merge(m, src) 1336} 1337func (m *ListCommitsByRefNameRequest) XXX_Size() int { 1338 return xxx_messageInfo_ListCommitsByRefNameRequest.Size(m) 1339} 1340func (m *ListCommitsByRefNameRequest) XXX_DiscardUnknown() { 1341 xxx_messageInfo_ListCommitsByRefNameRequest.DiscardUnknown(m) 1342} 1343 1344var xxx_messageInfo_ListCommitsByRefNameRequest proto.InternalMessageInfo 1345 1346func (m *ListCommitsByRefNameRequest) GetRepository() *Repository { 1347 if m != nil { 1348 return m.Repository 1349 } 1350 return nil 1351} 1352 1353func (m *ListCommitsByRefNameRequest) GetRefNames() [][]byte { 1354 if m != nil { 1355 return m.RefNames 1356 } 1357 return nil 1358} 1359 1360type ListCommitsByRefNameResponse struct { 1361 CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"` 1362 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1363 XXX_unrecognized []byte `json:"-"` 1364 XXX_sizecache int32 `json:"-"` 1365} 1366 1367func (m *ListCommitsByRefNameResponse) Reset() { *m = ListCommitsByRefNameResponse{} } 1368func (m *ListCommitsByRefNameResponse) String() string { return proto.CompactTextString(m) } 1369func (*ListCommitsByRefNameResponse) ProtoMessage() {} 1370func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { 1371 return fileDescriptor_db7163399a465f48, []int{22} 1372} 1373 1374func (m *ListCommitsByRefNameResponse) XXX_Unmarshal(b []byte) error { 1375 return xxx_messageInfo_ListCommitsByRefNameResponse.Unmarshal(m, b) 1376} 1377func (m *ListCommitsByRefNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1378 return xxx_messageInfo_ListCommitsByRefNameResponse.Marshal(b, m, deterministic) 1379} 1380func (m *ListCommitsByRefNameResponse) XXX_Merge(src proto.Message) { 1381 xxx_messageInfo_ListCommitsByRefNameResponse.Merge(m, src) 1382} 1383func (m *ListCommitsByRefNameResponse) XXX_Size() int { 1384 return xxx_messageInfo_ListCommitsByRefNameResponse.Size(m) 1385} 1386func (m *ListCommitsByRefNameResponse) XXX_DiscardUnknown() { 1387 xxx_messageInfo_ListCommitsByRefNameResponse.DiscardUnknown(m) 1388} 1389 1390var xxx_messageInfo_ListCommitsByRefNameResponse proto.InternalMessageInfo 1391 1392func (m *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef { 1393 if m != nil { 1394 return m.CommitRefs 1395 } 1396 return nil 1397} 1398 1399type ListCommitsByRefNameResponse_CommitForRef struct { 1400 Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` 1401 RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` 1402 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1403 XXX_unrecognized []byte `json:"-"` 1404 XXX_sizecache int32 `json:"-"` 1405} 1406 1407func (m *ListCommitsByRefNameResponse_CommitForRef) Reset() { 1408 *m = ListCommitsByRefNameResponse_CommitForRef{} 1409} 1410func (m *ListCommitsByRefNameResponse_CommitForRef) String() string { 1411 return proto.CompactTextString(m) 1412} 1413func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage() {} 1414func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int) { 1415 return fileDescriptor_db7163399a465f48, []int{22, 0} 1416} 1417 1418func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Unmarshal(b []byte) error { 1419 return xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Unmarshal(m, b) 1420} 1421func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1422 return xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Marshal(b, m, deterministic) 1423} 1424func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Merge(src proto.Message) { 1425 xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Merge(m, src) 1426} 1427func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Size() int { 1428 return xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Size(m) 1429} 1430func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_DiscardUnknown() { 1431 xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.DiscardUnknown(m) 1432} 1433 1434var xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef proto.InternalMessageInfo 1435 1436func (m *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit { 1437 if m != nil { 1438 return m.Commit 1439 } 1440 return nil 1441} 1442 1443func (m *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte { 1444 if m != nil { 1445 return m.RefName 1446 } 1447 return nil 1448} 1449 1450type FindAllCommitsRequest struct { 1451 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1452 // When nil, return all commits reachable by any branch in the repo 1453 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1454 MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` 1455 Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` 1456 Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` 1457 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1458 XXX_unrecognized []byte `json:"-"` 1459 XXX_sizecache int32 `json:"-"` 1460} 1461 1462func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} } 1463func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) } 1464func (*FindAllCommitsRequest) ProtoMessage() {} 1465func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { 1466 return fileDescriptor_db7163399a465f48, []int{23} 1467} 1468 1469func (m *FindAllCommitsRequest) XXX_Unmarshal(b []byte) error { 1470 return xxx_messageInfo_FindAllCommitsRequest.Unmarshal(m, b) 1471} 1472func (m *FindAllCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1473 return xxx_messageInfo_FindAllCommitsRequest.Marshal(b, m, deterministic) 1474} 1475func (m *FindAllCommitsRequest) XXX_Merge(src proto.Message) { 1476 xxx_messageInfo_FindAllCommitsRequest.Merge(m, src) 1477} 1478func (m *FindAllCommitsRequest) XXX_Size() int { 1479 return xxx_messageInfo_FindAllCommitsRequest.Size(m) 1480} 1481func (m *FindAllCommitsRequest) XXX_DiscardUnknown() { 1482 xxx_messageInfo_FindAllCommitsRequest.DiscardUnknown(m) 1483} 1484 1485var xxx_messageInfo_FindAllCommitsRequest proto.InternalMessageInfo 1486 1487func (m *FindAllCommitsRequest) GetRepository() *Repository { 1488 if m != nil { 1489 return m.Repository 1490 } 1491 return nil 1492} 1493 1494func (m *FindAllCommitsRequest) GetRevision() []byte { 1495 if m != nil { 1496 return m.Revision 1497 } 1498 return nil 1499} 1500 1501func (m *FindAllCommitsRequest) GetMaxCount() int32 { 1502 if m != nil { 1503 return m.MaxCount 1504 } 1505 return 0 1506} 1507 1508func (m *FindAllCommitsRequest) GetSkip() int32 { 1509 if m != nil { 1510 return m.Skip 1511 } 1512 return 0 1513} 1514 1515func (m *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order { 1516 if m != nil { 1517 return m.Order 1518 } 1519 return FindAllCommitsRequest_NONE 1520} 1521 1522// A single 'page' of the result set 1523type FindAllCommitsResponse struct { 1524 Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` 1525 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1526 XXX_unrecognized []byte `json:"-"` 1527 XXX_sizecache int32 `json:"-"` 1528} 1529 1530func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} } 1531func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) } 1532func (*FindAllCommitsResponse) ProtoMessage() {} 1533func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { 1534 return fileDescriptor_db7163399a465f48, []int{24} 1535} 1536 1537func (m *FindAllCommitsResponse) XXX_Unmarshal(b []byte) error { 1538 return xxx_messageInfo_FindAllCommitsResponse.Unmarshal(m, b) 1539} 1540func (m *FindAllCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1541 return xxx_messageInfo_FindAllCommitsResponse.Marshal(b, m, deterministic) 1542} 1543func (m *FindAllCommitsResponse) XXX_Merge(src proto.Message) { 1544 xxx_messageInfo_FindAllCommitsResponse.Merge(m, src) 1545} 1546func (m *FindAllCommitsResponse) XXX_Size() int { 1547 return xxx_messageInfo_FindAllCommitsResponse.Size(m) 1548} 1549func (m *FindAllCommitsResponse) XXX_DiscardUnknown() { 1550 xxx_messageInfo_FindAllCommitsResponse.DiscardUnknown(m) 1551} 1552 1553var xxx_messageInfo_FindAllCommitsResponse proto.InternalMessageInfo 1554 1555func (m *FindAllCommitsResponse) GetCommits() []*GitCommit { 1556 if m != nil { 1557 return m.Commits 1558 } 1559 return nil 1560} 1561 1562type FindCommitsRequest struct { 1563 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1564 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1565 Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` 1566 Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` 1567 Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` 1568 Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"` 1569 SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"` 1570 DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` 1571 After *timestamp.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"` 1572 Before *timestamp.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"` 1573 // all and revision are mutually exclusive 1574 All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"` 1575 FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` 1576 Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"` 1577 Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"` 1578 GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` 1579 Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"` 1580 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1581 XXX_unrecognized []byte `json:"-"` 1582 XXX_sizecache int32 `json:"-"` 1583} 1584 1585func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} } 1586func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) } 1587func (*FindCommitsRequest) ProtoMessage() {} 1588func (*FindCommitsRequest) Descriptor() ([]byte, []int) { 1589 return fileDescriptor_db7163399a465f48, []int{25} 1590} 1591 1592func (m *FindCommitsRequest) XXX_Unmarshal(b []byte) error { 1593 return xxx_messageInfo_FindCommitsRequest.Unmarshal(m, b) 1594} 1595func (m *FindCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1596 return xxx_messageInfo_FindCommitsRequest.Marshal(b, m, deterministic) 1597} 1598func (m *FindCommitsRequest) XXX_Merge(src proto.Message) { 1599 xxx_messageInfo_FindCommitsRequest.Merge(m, src) 1600} 1601func (m *FindCommitsRequest) XXX_Size() int { 1602 return xxx_messageInfo_FindCommitsRequest.Size(m) 1603} 1604func (m *FindCommitsRequest) XXX_DiscardUnknown() { 1605 xxx_messageInfo_FindCommitsRequest.DiscardUnknown(m) 1606} 1607 1608var xxx_messageInfo_FindCommitsRequest proto.InternalMessageInfo 1609 1610func (m *FindCommitsRequest) GetRepository() *Repository { 1611 if m != nil { 1612 return m.Repository 1613 } 1614 return nil 1615} 1616 1617func (m *FindCommitsRequest) GetRevision() []byte { 1618 if m != nil { 1619 return m.Revision 1620 } 1621 return nil 1622} 1623 1624func (m *FindCommitsRequest) GetLimit() int32 { 1625 if m != nil { 1626 return m.Limit 1627 } 1628 return 0 1629} 1630 1631func (m *FindCommitsRequest) GetOffset() int32 { 1632 if m != nil { 1633 return m.Offset 1634 } 1635 return 0 1636} 1637 1638func (m *FindCommitsRequest) GetPaths() [][]byte { 1639 if m != nil { 1640 return m.Paths 1641 } 1642 return nil 1643} 1644 1645func (m *FindCommitsRequest) GetFollow() bool { 1646 if m != nil { 1647 return m.Follow 1648 } 1649 return false 1650} 1651 1652func (m *FindCommitsRequest) GetSkipMerges() bool { 1653 if m != nil { 1654 return m.SkipMerges 1655 } 1656 return false 1657} 1658 1659func (m *FindCommitsRequest) GetDisableWalk() bool { 1660 if m != nil { 1661 return m.DisableWalk 1662 } 1663 return false 1664} 1665 1666func (m *FindCommitsRequest) GetAfter() *timestamp.Timestamp { 1667 if m != nil { 1668 return m.After 1669 } 1670 return nil 1671} 1672 1673func (m *FindCommitsRequest) GetBefore() *timestamp.Timestamp { 1674 if m != nil { 1675 return m.Before 1676 } 1677 return nil 1678} 1679 1680func (m *FindCommitsRequest) GetAll() bool { 1681 if m != nil { 1682 return m.All 1683 } 1684 return false 1685} 1686 1687func (m *FindCommitsRequest) GetFirstParent() bool { 1688 if m != nil { 1689 return m.FirstParent 1690 } 1691 return false 1692} 1693 1694func (m *FindCommitsRequest) GetAuthor() []byte { 1695 if m != nil { 1696 return m.Author 1697 } 1698 return nil 1699} 1700 1701func (m *FindCommitsRequest) GetOrder() FindCommitsRequest_Order { 1702 if m != nil { 1703 return m.Order 1704 } 1705 return FindCommitsRequest_NONE 1706} 1707 1708func (m *FindCommitsRequest) GetGlobalOptions() *GlobalOptions { 1709 if m != nil { 1710 return m.GlobalOptions 1711 } 1712 return nil 1713} 1714 1715func (m *FindCommitsRequest) GetTrailers() bool { 1716 if m != nil { 1717 return m.Trailers 1718 } 1719 return false 1720} 1721 1722// A single 'page' of the result set 1723type FindCommitsResponse struct { 1724 Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` 1725 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1726 XXX_unrecognized []byte `json:"-"` 1727 XXX_sizecache int32 `json:"-"` 1728} 1729 1730func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} } 1731func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) } 1732func (*FindCommitsResponse) ProtoMessage() {} 1733func (*FindCommitsResponse) Descriptor() ([]byte, []int) { 1734 return fileDescriptor_db7163399a465f48, []int{26} 1735} 1736 1737func (m *FindCommitsResponse) XXX_Unmarshal(b []byte) error { 1738 return xxx_messageInfo_FindCommitsResponse.Unmarshal(m, b) 1739} 1740func (m *FindCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1741 return xxx_messageInfo_FindCommitsResponse.Marshal(b, m, deterministic) 1742} 1743func (m *FindCommitsResponse) XXX_Merge(src proto.Message) { 1744 xxx_messageInfo_FindCommitsResponse.Merge(m, src) 1745} 1746func (m *FindCommitsResponse) XXX_Size() int { 1747 return xxx_messageInfo_FindCommitsResponse.Size(m) 1748} 1749func (m *FindCommitsResponse) XXX_DiscardUnknown() { 1750 xxx_messageInfo_FindCommitsResponse.DiscardUnknown(m) 1751} 1752 1753var xxx_messageInfo_FindCommitsResponse proto.InternalMessageInfo 1754 1755func (m *FindCommitsResponse) GetCommits() []*GitCommit { 1756 if m != nil { 1757 return m.Commits 1758 } 1759 return nil 1760} 1761 1762type CommitLanguagesRequest struct { 1763 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1764 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1765 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1766 XXX_unrecognized []byte `json:"-"` 1767 XXX_sizecache int32 `json:"-"` 1768} 1769 1770func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} } 1771func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) } 1772func (*CommitLanguagesRequest) ProtoMessage() {} 1773func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { 1774 return fileDescriptor_db7163399a465f48, []int{27} 1775} 1776 1777func (m *CommitLanguagesRequest) XXX_Unmarshal(b []byte) error { 1778 return xxx_messageInfo_CommitLanguagesRequest.Unmarshal(m, b) 1779} 1780func (m *CommitLanguagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1781 return xxx_messageInfo_CommitLanguagesRequest.Marshal(b, m, deterministic) 1782} 1783func (m *CommitLanguagesRequest) XXX_Merge(src proto.Message) { 1784 xxx_messageInfo_CommitLanguagesRequest.Merge(m, src) 1785} 1786func (m *CommitLanguagesRequest) XXX_Size() int { 1787 return xxx_messageInfo_CommitLanguagesRequest.Size(m) 1788} 1789func (m *CommitLanguagesRequest) XXX_DiscardUnknown() { 1790 xxx_messageInfo_CommitLanguagesRequest.DiscardUnknown(m) 1791} 1792 1793var xxx_messageInfo_CommitLanguagesRequest proto.InternalMessageInfo 1794 1795func (m *CommitLanguagesRequest) GetRepository() *Repository { 1796 if m != nil { 1797 return m.Repository 1798 } 1799 return nil 1800} 1801 1802func (m *CommitLanguagesRequest) GetRevision() []byte { 1803 if m != nil { 1804 return m.Revision 1805 } 1806 return nil 1807} 1808 1809type CommitLanguagesResponse struct { 1810 Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` 1811 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1812 XXX_unrecognized []byte `json:"-"` 1813 XXX_sizecache int32 `json:"-"` 1814} 1815 1816func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} } 1817func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) } 1818func (*CommitLanguagesResponse) ProtoMessage() {} 1819func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { 1820 return fileDescriptor_db7163399a465f48, []int{28} 1821} 1822 1823func (m *CommitLanguagesResponse) XXX_Unmarshal(b []byte) error { 1824 return xxx_messageInfo_CommitLanguagesResponse.Unmarshal(m, b) 1825} 1826func (m *CommitLanguagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1827 return xxx_messageInfo_CommitLanguagesResponse.Marshal(b, m, deterministic) 1828} 1829func (m *CommitLanguagesResponse) XXX_Merge(src proto.Message) { 1830 xxx_messageInfo_CommitLanguagesResponse.Merge(m, src) 1831} 1832func (m *CommitLanguagesResponse) XXX_Size() int { 1833 return xxx_messageInfo_CommitLanguagesResponse.Size(m) 1834} 1835func (m *CommitLanguagesResponse) XXX_DiscardUnknown() { 1836 xxx_messageInfo_CommitLanguagesResponse.DiscardUnknown(m) 1837} 1838 1839var xxx_messageInfo_CommitLanguagesResponse proto.InternalMessageInfo 1840 1841func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { 1842 if m != nil { 1843 return m.Languages 1844 } 1845 return nil 1846} 1847 1848type CommitLanguagesResponse_Language struct { 1849 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1850 Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` 1851 Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` 1852 FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"` 1853 Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` 1854 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1855 XXX_unrecognized []byte `json:"-"` 1856 XXX_sizecache int32 `json:"-"` 1857} 1858 1859func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguagesResponse_Language{} } 1860func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) } 1861func (*CommitLanguagesResponse_Language) ProtoMessage() {} 1862func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { 1863 return fileDescriptor_db7163399a465f48, []int{28, 0} 1864} 1865 1866func (m *CommitLanguagesResponse_Language) XXX_Unmarshal(b []byte) error { 1867 return xxx_messageInfo_CommitLanguagesResponse_Language.Unmarshal(m, b) 1868} 1869func (m *CommitLanguagesResponse_Language) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1870 return xxx_messageInfo_CommitLanguagesResponse_Language.Marshal(b, m, deterministic) 1871} 1872func (m *CommitLanguagesResponse_Language) XXX_Merge(src proto.Message) { 1873 xxx_messageInfo_CommitLanguagesResponse_Language.Merge(m, src) 1874} 1875func (m *CommitLanguagesResponse_Language) XXX_Size() int { 1876 return xxx_messageInfo_CommitLanguagesResponse_Language.Size(m) 1877} 1878func (m *CommitLanguagesResponse_Language) XXX_DiscardUnknown() { 1879 xxx_messageInfo_CommitLanguagesResponse_Language.DiscardUnknown(m) 1880} 1881 1882var xxx_messageInfo_CommitLanguagesResponse_Language proto.InternalMessageInfo 1883 1884func (m *CommitLanguagesResponse_Language) GetName() string { 1885 if m != nil { 1886 return m.Name 1887 } 1888 return "" 1889} 1890 1891func (m *CommitLanguagesResponse_Language) GetShare() float32 { 1892 if m != nil { 1893 return m.Share 1894 } 1895 return 0 1896} 1897 1898func (m *CommitLanguagesResponse_Language) GetColor() string { 1899 if m != nil { 1900 return m.Color 1901 } 1902 return "" 1903} 1904 1905func (m *CommitLanguagesResponse_Language) GetFileCount() uint32 { 1906 if m != nil { 1907 return m.FileCount 1908 } 1909 return 0 1910} 1911 1912func (m *CommitLanguagesResponse_Language) GetBytes() uint64 { 1913 if m != nil { 1914 return m.Bytes 1915 } 1916 return 0 1917} 1918 1919type RawBlameRequest struct { 1920 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 1921 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 1922 Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 1923 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1924 XXX_unrecognized []byte `json:"-"` 1925 XXX_sizecache int32 `json:"-"` 1926} 1927 1928func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} } 1929func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) } 1930func (*RawBlameRequest) ProtoMessage() {} 1931func (*RawBlameRequest) Descriptor() ([]byte, []int) { 1932 return fileDescriptor_db7163399a465f48, []int{29} 1933} 1934 1935func (m *RawBlameRequest) XXX_Unmarshal(b []byte) error { 1936 return xxx_messageInfo_RawBlameRequest.Unmarshal(m, b) 1937} 1938func (m *RawBlameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1939 return xxx_messageInfo_RawBlameRequest.Marshal(b, m, deterministic) 1940} 1941func (m *RawBlameRequest) XXX_Merge(src proto.Message) { 1942 xxx_messageInfo_RawBlameRequest.Merge(m, src) 1943} 1944func (m *RawBlameRequest) XXX_Size() int { 1945 return xxx_messageInfo_RawBlameRequest.Size(m) 1946} 1947func (m *RawBlameRequest) XXX_DiscardUnknown() { 1948 xxx_messageInfo_RawBlameRequest.DiscardUnknown(m) 1949} 1950 1951var xxx_messageInfo_RawBlameRequest proto.InternalMessageInfo 1952 1953func (m *RawBlameRequest) GetRepository() *Repository { 1954 if m != nil { 1955 return m.Repository 1956 } 1957 return nil 1958} 1959 1960func (m *RawBlameRequest) GetRevision() []byte { 1961 if m != nil { 1962 return m.Revision 1963 } 1964 return nil 1965} 1966 1967func (m *RawBlameRequest) GetPath() []byte { 1968 if m != nil { 1969 return m.Path 1970 } 1971 return nil 1972} 1973 1974type RawBlameResponse struct { 1975 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 1976 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1977 XXX_unrecognized []byte `json:"-"` 1978 XXX_sizecache int32 `json:"-"` 1979} 1980 1981func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} } 1982func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) } 1983func (*RawBlameResponse) ProtoMessage() {} 1984func (*RawBlameResponse) Descriptor() ([]byte, []int) { 1985 return fileDescriptor_db7163399a465f48, []int{30} 1986} 1987 1988func (m *RawBlameResponse) XXX_Unmarshal(b []byte) error { 1989 return xxx_messageInfo_RawBlameResponse.Unmarshal(m, b) 1990} 1991func (m *RawBlameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1992 return xxx_messageInfo_RawBlameResponse.Marshal(b, m, deterministic) 1993} 1994func (m *RawBlameResponse) XXX_Merge(src proto.Message) { 1995 xxx_messageInfo_RawBlameResponse.Merge(m, src) 1996} 1997func (m *RawBlameResponse) XXX_Size() int { 1998 return xxx_messageInfo_RawBlameResponse.Size(m) 1999} 2000func (m *RawBlameResponse) XXX_DiscardUnknown() { 2001 xxx_messageInfo_RawBlameResponse.DiscardUnknown(m) 2002} 2003 2004var xxx_messageInfo_RawBlameResponse proto.InternalMessageInfo 2005 2006func (m *RawBlameResponse) GetData() []byte { 2007 if m != nil { 2008 return m.Data 2009 } 2010 return nil 2011} 2012 2013type LastCommitForPathRequest struct { 2014 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2015 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 2016 Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 2017 LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` 2018 GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` 2019 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2020 XXX_unrecognized []byte `json:"-"` 2021 XXX_sizecache int32 `json:"-"` 2022} 2023 2024func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} } 2025func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) } 2026func (*LastCommitForPathRequest) ProtoMessage() {} 2027func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { 2028 return fileDescriptor_db7163399a465f48, []int{31} 2029} 2030 2031func (m *LastCommitForPathRequest) XXX_Unmarshal(b []byte) error { 2032 return xxx_messageInfo_LastCommitForPathRequest.Unmarshal(m, b) 2033} 2034func (m *LastCommitForPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2035 return xxx_messageInfo_LastCommitForPathRequest.Marshal(b, m, deterministic) 2036} 2037func (m *LastCommitForPathRequest) XXX_Merge(src proto.Message) { 2038 xxx_messageInfo_LastCommitForPathRequest.Merge(m, src) 2039} 2040func (m *LastCommitForPathRequest) XXX_Size() int { 2041 return xxx_messageInfo_LastCommitForPathRequest.Size(m) 2042} 2043func (m *LastCommitForPathRequest) XXX_DiscardUnknown() { 2044 xxx_messageInfo_LastCommitForPathRequest.DiscardUnknown(m) 2045} 2046 2047var xxx_messageInfo_LastCommitForPathRequest proto.InternalMessageInfo 2048 2049func (m *LastCommitForPathRequest) GetRepository() *Repository { 2050 if m != nil { 2051 return m.Repository 2052 } 2053 return nil 2054} 2055 2056func (m *LastCommitForPathRequest) GetRevision() []byte { 2057 if m != nil { 2058 return m.Revision 2059 } 2060 return nil 2061} 2062 2063func (m *LastCommitForPathRequest) GetPath() []byte { 2064 if m != nil { 2065 return m.Path 2066 } 2067 return nil 2068} 2069 2070func (m *LastCommitForPathRequest) GetLiteralPathspec() bool { 2071 if m != nil { 2072 return m.LiteralPathspec 2073 } 2074 return false 2075} 2076 2077func (m *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions { 2078 if m != nil { 2079 return m.GlobalOptions 2080 } 2081 return nil 2082} 2083 2084type LastCommitForPathResponse struct { 2085 // commit is nil when the commit was not found 2086 Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` 2087 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2088 XXX_unrecognized []byte `json:"-"` 2089 XXX_sizecache int32 `json:"-"` 2090} 2091 2092func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} } 2093func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) } 2094func (*LastCommitForPathResponse) ProtoMessage() {} 2095func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { 2096 return fileDescriptor_db7163399a465f48, []int{32} 2097} 2098 2099func (m *LastCommitForPathResponse) XXX_Unmarshal(b []byte) error { 2100 return xxx_messageInfo_LastCommitForPathResponse.Unmarshal(m, b) 2101} 2102func (m *LastCommitForPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2103 return xxx_messageInfo_LastCommitForPathResponse.Marshal(b, m, deterministic) 2104} 2105func (m *LastCommitForPathResponse) XXX_Merge(src proto.Message) { 2106 xxx_messageInfo_LastCommitForPathResponse.Merge(m, src) 2107} 2108func (m *LastCommitForPathResponse) XXX_Size() int { 2109 return xxx_messageInfo_LastCommitForPathResponse.Size(m) 2110} 2111func (m *LastCommitForPathResponse) XXX_DiscardUnknown() { 2112 xxx_messageInfo_LastCommitForPathResponse.DiscardUnknown(m) 2113} 2114 2115var xxx_messageInfo_LastCommitForPathResponse proto.InternalMessageInfo 2116 2117func (m *LastCommitForPathResponse) GetCommit() *GitCommit { 2118 if m != nil { 2119 return m.Commit 2120 } 2121 return nil 2122} 2123 2124type ListLastCommitsForTreeRequest struct { 2125 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2126 Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 2127 Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 2128 Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` 2129 Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` 2130 LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecated: Do not use. 2131 GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` 2132 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2133 XXX_unrecognized []byte `json:"-"` 2134 XXX_sizecache int32 `json:"-"` 2135} 2136 2137func (m *ListLastCommitsForTreeRequest) Reset() { *m = ListLastCommitsForTreeRequest{} } 2138func (m *ListLastCommitsForTreeRequest) String() string { return proto.CompactTextString(m) } 2139func (*ListLastCommitsForTreeRequest) ProtoMessage() {} 2140func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { 2141 return fileDescriptor_db7163399a465f48, []int{33} 2142} 2143 2144func (m *ListLastCommitsForTreeRequest) XXX_Unmarshal(b []byte) error { 2145 return xxx_messageInfo_ListLastCommitsForTreeRequest.Unmarshal(m, b) 2146} 2147func (m *ListLastCommitsForTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2148 return xxx_messageInfo_ListLastCommitsForTreeRequest.Marshal(b, m, deterministic) 2149} 2150func (m *ListLastCommitsForTreeRequest) XXX_Merge(src proto.Message) { 2151 xxx_messageInfo_ListLastCommitsForTreeRequest.Merge(m, src) 2152} 2153func (m *ListLastCommitsForTreeRequest) XXX_Size() int { 2154 return xxx_messageInfo_ListLastCommitsForTreeRequest.Size(m) 2155} 2156func (m *ListLastCommitsForTreeRequest) XXX_DiscardUnknown() { 2157 xxx_messageInfo_ListLastCommitsForTreeRequest.DiscardUnknown(m) 2158} 2159 2160var xxx_messageInfo_ListLastCommitsForTreeRequest proto.InternalMessageInfo 2161 2162func (m *ListLastCommitsForTreeRequest) GetRepository() *Repository { 2163 if m != nil { 2164 return m.Repository 2165 } 2166 return nil 2167} 2168 2169func (m *ListLastCommitsForTreeRequest) GetRevision() string { 2170 if m != nil { 2171 return m.Revision 2172 } 2173 return "" 2174} 2175 2176func (m *ListLastCommitsForTreeRequest) GetPath() []byte { 2177 if m != nil { 2178 return m.Path 2179 } 2180 return nil 2181} 2182 2183func (m *ListLastCommitsForTreeRequest) GetLimit() int32 { 2184 if m != nil { 2185 return m.Limit 2186 } 2187 return 0 2188} 2189 2190func (m *ListLastCommitsForTreeRequest) GetOffset() int32 { 2191 if m != nil { 2192 return m.Offset 2193 } 2194 return 0 2195} 2196 2197// Deprecated: Do not use. 2198func (m *ListLastCommitsForTreeRequest) GetLiteralPathspec() bool { 2199 if m != nil { 2200 return m.LiteralPathspec 2201 } 2202 return false 2203} 2204 2205func (m *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions { 2206 if m != nil { 2207 return m.GlobalOptions 2208 } 2209 return nil 2210} 2211 2212type ListLastCommitsForTreeResponse struct { 2213 Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` 2214 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2215 XXX_unrecognized []byte `json:"-"` 2216 XXX_sizecache int32 `json:"-"` 2217} 2218 2219func (m *ListLastCommitsForTreeResponse) Reset() { *m = ListLastCommitsForTreeResponse{} } 2220func (m *ListLastCommitsForTreeResponse) String() string { return proto.CompactTextString(m) } 2221func (*ListLastCommitsForTreeResponse) ProtoMessage() {} 2222func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { 2223 return fileDescriptor_db7163399a465f48, []int{34} 2224} 2225 2226func (m *ListLastCommitsForTreeResponse) XXX_Unmarshal(b []byte) error { 2227 return xxx_messageInfo_ListLastCommitsForTreeResponse.Unmarshal(m, b) 2228} 2229func (m *ListLastCommitsForTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2230 return xxx_messageInfo_ListLastCommitsForTreeResponse.Marshal(b, m, deterministic) 2231} 2232func (m *ListLastCommitsForTreeResponse) XXX_Merge(src proto.Message) { 2233 xxx_messageInfo_ListLastCommitsForTreeResponse.Merge(m, src) 2234} 2235func (m *ListLastCommitsForTreeResponse) XXX_Size() int { 2236 return xxx_messageInfo_ListLastCommitsForTreeResponse.Size(m) 2237} 2238func (m *ListLastCommitsForTreeResponse) XXX_DiscardUnknown() { 2239 xxx_messageInfo_ListLastCommitsForTreeResponse.DiscardUnknown(m) 2240} 2241 2242var xxx_messageInfo_ListLastCommitsForTreeResponse proto.InternalMessageInfo 2243 2244func (m *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree { 2245 if m != nil { 2246 return m.Commits 2247 } 2248 return nil 2249} 2250 2251type ListLastCommitsForTreeResponse_CommitForTree struct { 2252 Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` 2253 PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` 2254 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2255 XXX_unrecognized []byte `json:"-"` 2256 XXX_sizecache int32 `json:"-"` 2257} 2258 2259func (m *ListLastCommitsForTreeResponse_CommitForTree) Reset() { 2260 *m = ListLastCommitsForTreeResponse_CommitForTree{} 2261} 2262func (m *ListLastCommitsForTreeResponse_CommitForTree) String() string { 2263 return proto.CompactTextString(m) 2264} 2265func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} 2266func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { 2267 return fileDescriptor_db7163399a465f48, []int{34, 0} 2268} 2269 2270func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Unmarshal(b []byte) error { 2271 return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Unmarshal(m, b) 2272} 2273func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2274 return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Marshal(b, m, deterministic) 2275} 2276func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Merge(src proto.Message) { 2277 xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Merge(m, src) 2278} 2279func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Size() int { 2280 return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Size(m) 2281} 2282func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_DiscardUnknown() { 2283 xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.DiscardUnknown(m) 2284} 2285 2286var xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree proto.InternalMessageInfo 2287 2288func (m *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit { 2289 if m != nil { 2290 return m.Commit 2291 } 2292 return nil 2293} 2294 2295func (m *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte { 2296 if m != nil { 2297 return m.PathBytes 2298 } 2299 return nil 2300} 2301 2302type CommitsByMessageRequest struct { 2303 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2304 Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` 2305 Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` 2306 Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` 2307 Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` 2308 Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` 2309 GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` 2310 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2311 XXX_unrecognized []byte `json:"-"` 2312 XXX_sizecache int32 `json:"-"` 2313} 2314 2315func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} } 2316func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) } 2317func (*CommitsByMessageRequest) ProtoMessage() {} 2318func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { 2319 return fileDescriptor_db7163399a465f48, []int{35} 2320} 2321 2322func (m *CommitsByMessageRequest) XXX_Unmarshal(b []byte) error { 2323 return xxx_messageInfo_CommitsByMessageRequest.Unmarshal(m, b) 2324} 2325func (m *CommitsByMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2326 return xxx_messageInfo_CommitsByMessageRequest.Marshal(b, m, deterministic) 2327} 2328func (m *CommitsByMessageRequest) XXX_Merge(src proto.Message) { 2329 xxx_messageInfo_CommitsByMessageRequest.Merge(m, src) 2330} 2331func (m *CommitsByMessageRequest) XXX_Size() int { 2332 return xxx_messageInfo_CommitsByMessageRequest.Size(m) 2333} 2334func (m *CommitsByMessageRequest) XXX_DiscardUnknown() { 2335 xxx_messageInfo_CommitsByMessageRequest.DiscardUnknown(m) 2336} 2337 2338var xxx_messageInfo_CommitsByMessageRequest proto.InternalMessageInfo 2339 2340func (m *CommitsByMessageRequest) GetRepository() *Repository { 2341 if m != nil { 2342 return m.Repository 2343 } 2344 return nil 2345} 2346 2347func (m *CommitsByMessageRequest) GetRevision() []byte { 2348 if m != nil { 2349 return m.Revision 2350 } 2351 return nil 2352} 2353 2354func (m *CommitsByMessageRequest) GetOffset() int32 { 2355 if m != nil { 2356 return m.Offset 2357 } 2358 return 0 2359} 2360 2361func (m *CommitsByMessageRequest) GetLimit() int32 { 2362 if m != nil { 2363 return m.Limit 2364 } 2365 return 0 2366} 2367 2368func (m *CommitsByMessageRequest) GetPath() []byte { 2369 if m != nil { 2370 return m.Path 2371 } 2372 return nil 2373} 2374 2375func (m *CommitsByMessageRequest) GetQuery() string { 2376 if m != nil { 2377 return m.Query 2378 } 2379 return "" 2380} 2381 2382func (m *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions { 2383 if m != nil { 2384 return m.GlobalOptions 2385 } 2386 return nil 2387} 2388 2389// One 'page' of the paginated response of CommitsByMessage 2390type CommitsByMessageResponse struct { 2391 Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` 2392 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2393 XXX_unrecognized []byte `json:"-"` 2394 XXX_sizecache int32 `json:"-"` 2395} 2396 2397func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} } 2398func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) } 2399func (*CommitsByMessageResponse) ProtoMessage() {} 2400func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { 2401 return fileDescriptor_db7163399a465f48, []int{36} 2402} 2403 2404func (m *CommitsByMessageResponse) XXX_Unmarshal(b []byte) error { 2405 return xxx_messageInfo_CommitsByMessageResponse.Unmarshal(m, b) 2406} 2407func (m *CommitsByMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2408 return xxx_messageInfo_CommitsByMessageResponse.Marshal(b, m, deterministic) 2409} 2410func (m *CommitsByMessageResponse) XXX_Merge(src proto.Message) { 2411 xxx_messageInfo_CommitsByMessageResponse.Merge(m, src) 2412} 2413func (m *CommitsByMessageResponse) XXX_Size() int { 2414 return xxx_messageInfo_CommitsByMessageResponse.Size(m) 2415} 2416func (m *CommitsByMessageResponse) XXX_DiscardUnknown() { 2417 xxx_messageInfo_CommitsByMessageResponse.DiscardUnknown(m) 2418} 2419 2420var xxx_messageInfo_CommitsByMessageResponse proto.InternalMessageInfo 2421 2422func (m *CommitsByMessageResponse) GetCommits() []*GitCommit { 2423 if m != nil { 2424 return m.Commits 2425 } 2426 return nil 2427} 2428 2429type FilterShasWithSignaturesRequest struct { 2430 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2431 Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` 2432 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2433 XXX_unrecognized []byte `json:"-"` 2434 XXX_sizecache int32 `json:"-"` 2435} 2436 2437func (m *FilterShasWithSignaturesRequest) Reset() { *m = FilterShasWithSignaturesRequest{} } 2438func (m *FilterShasWithSignaturesRequest) String() string { return proto.CompactTextString(m) } 2439func (*FilterShasWithSignaturesRequest) ProtoMessage() {} 2440func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { 2441 return fileDescriptor_db7163399a465f48, []int{37} 2442} 2443 2444func (m *FilterShasWithSignaturesRequest) XXX_Unmarshal(b []byte) error { 2445 return xxx_messageInfo_FilterShasWithSignaturesRequest.Unmarshal(m, b) 2446} 2447func (m *FilterShasWithSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2448 return xxx_messageInfo_FilterShasWithSignaturesRequest.Marshal(b, m, deterministic) 2449} 2450func (m *FilterShasWithSignaturesRequest) XXX_Merge(src proto.Message) { 2451 xxx_messageInfo_FilterShasWithSignaturesRequest.Merge(m, src) 2452} 2453func (m *FilterShasWithSignaturesRequest) XXX_Size() int { 2454 return xxx_messageInfo_FilterShasWithSignaturesRequest.Size(m) 2455} 2456func (m *FilterShasWithSignaturesRequest) XXX_DiscardUnknown() { 2457 xxx_messageInfo_FilterShasWithSignaturesRequest.DiscardUnknown(m) 2458} 2459 2460var xxx_messageInfo_FilterShasWithSignaturesRequest proto.InternalMessageInfo 2461 2462func (m *FilterShasWithSignaturesRequest) GetRepository() *Repository { 2463 if m != nil { 2464 return m.Repository 2465 } 2466 return nil 2467} 2468 2469func (m *FilterShasWithSignaturesRequest) GetShas() [][]byte { 2470 if m != nil { 2471 return m.Shas 2472 } 2473 return nil 2474} 2475 2476type FilterShasWithSignaturesResponse struct { 2477 Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` 2478 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2479 XXX_unrecognized []byte `json:"-"` 2480 XXX_sizecache int32 `json:"-"` 2481} 2482 2483func (m *FilterShasWithSignaturesResponse) Reset() { *m = FilterShasWithSignaturesResponse{} } 2484func (m *FilterShasWithSignaturesResponse) String() string { return proto.CompactTextString(m) } 2485func (*FilterShasWithSignaturesResponse) ProtoMessage() {} 2486func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { 2487 return fileDescriptor_db7163399a465f48, []int{38} 2488} 2489 2490func (m *FilterShasWithSignaturesResponse) XXX_Unmarshal(b []byte) error { 2491 return xxx_messageInfo_FilterShasWithSignaturesResponse.Unmarshal(m, b) 2492} 2493func (m *FilterShasWithSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2494 return xxx_messageInfo_FilterShasWithSignaturesResponse.Marshal(b, m, deterministic) 2495} 2496func (m *FilterShasWithSignaturesResponse) XXX_Merge(src proto.Message) { 2497 xxx_messageInfo_FilterShasWithSignaturesResponse.Merge(m, src) 2498} 2499func (m *FilterShasWithSignaturesResponse) XXX_Size() int { 2500 return xxx_messageInfo_FilterShasWithSignaturesResponse.Size(m) 2501} 2502func (m *FilterShasWithSignaturesResponse) XXX_DiscardUnknown() { 2503 xxx_messageInfo_FilterShasWithSignaturesResponse.DiscardUnknown(m) 2504} 2505 2506var xxx_messageInfo_FilterShasWithSignaturesResponse proto.InternalMessageInfo 2507 2508func (m *FilterShasWithSignaturesResponse) GetShas() [][]byte { 2509 if m != nil { 2510 return m.Shas 2511 } 2512 return nil 2513} 2514 2515type ExtractCommitSignatureRequest struct { 2516 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2517 CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` 2518 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2519 XXX_unrecognized []byte `json:"-"` 2520 XXX_sizecache int32 `json:"-"` 2521} 2522 2523func (m *ExtractCommitSignatureRequest) Reset() { *m = ExtractCommitSignatureRequest{} } 2524func (m *ExtractCommitSignatureRequest) String() string { return proto.CompactTextString(m) } 2525func (*ExtractCommitSignatureRequest) ProtoMessage() {} 2526func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { 2527 return fileDescriptor_db7163399a465f48, []int{39} 2528} 2529 2530func (m *ExtractCommitSignatureRequest) XXX_Unmarshal(b []byte) error { 2531 return xxx_messageInfo_ExtractCommitSignatureRequest.Unmarshal(m, b) 2532} 2533func (m *ExtractCommitSignatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2534 return xxx_messageInfo_ExtractCommitSignatureRequest.Marshal(b, m, deterministic) 2535} 2536func (m *ExtractCommitSignatureRequest) XXX_Merge(src proto.Message) { 2537 xxx_messageInfo_ExtractCommitSignatureRequest.Merge(m, src) 2538} 2539func (m *ExtractCommitSignatureRequest) XXX_Size() int { 2540 return xxx_messageInfo_ExtractCommitSignatureRequest.Size(m) 2541} 2542func (m *ExtractCommitSignatureRequest) XXX_DiscardUnknown() { 2543 xxx_messageInfo_ExtractCommitSignatureRequest.DiscardUnknown(m) 2544} 2545 2546var xxx_messageInfo_ExtractCommitSignatureRequest proto.InternalMessageInfo 2547 2548func (m *ExtractCommitSignatureRequest) GetRepository() *Repository { 2549 if m != nil { 2550 return m.Repository 2551 } 2552 return nil 2553} 2554 2555func (m *ExtractCommitSignatureRequest) GetCommitId() string { 2556 if m != nil { 2557 return m.CommitId 2558 } 2559 return "" 2560} 2561 2562// Either of the 'signature' and 'signed_text' fields may be present. It 2563// is up to the caller to stitch them together. 2564type ExtractCommitSignatureResponse struct { 2565 Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` 2566 SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` 2567 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2568 XXX_unrecognized []byte `json:"-"` 2569 XXX_sizecache int32 `json:"-"` 2570} 2571 2572func (m *ExtractCommitSignatureResponse) Reset() { *m = ExtractCommitSignatureResponse{} } 2573func (m *ExtractCommitSignatureResponse) String() string { return proto.CompactTextString(m) } 2574func (*ExtractCommitSignatureResponse) ProtoMessage() {} 2575func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { 2576 return fileDescriptor_db7163399a465f48, []int{40} 2577} 2578 2579func (m *ExtractCommitSignatureResponse) XXX_Unmarshal(b []byte) error { 2580 return xxx_messageInfo_ExtractCommitSignatureResponse.Unmarshal(m, b) 2581} 2582func (m *ExtractCommitSignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2583 return xxx_messageInfo_ExtractCommitSignatureResponse.Marshal(b, m, deterministic) 2584} 2585func (m *ExtractCommitSignatureResponse) XXX_Merge(src proto.Message) { 2586 xxx_messageInfo_ExtractCommitSignatureResponse.Merge(m, src) 2587} 2588func (m *ExtractCommitSignatureResponse) XXX_Size() int { 2589 return xxx_messageInfo_ExtractCommitSignatureResponse.Size(m) 2590} 2591func (m *ExtractCommitSignatureResponse) XXX_DiscardUnknown() { 2592 xxx_messageInfo_ExtractCommitSignatureResponse.DiscardUnknown(m) 2593} 2594 2595var xxx_messageInfo_ExtractCommitSignatureResponse proto.InternalMessageInfo 2596 2597func (m *ExtractCommitSignatureResponse) GetSignature() []byte { 2598 if m != nil { 2599 return m.Signature 2600 } 2601 return nil 2602} 2603 2604func (m *ExtractCommitSignatureResponse) GetSignedText() []byte { 2605 if m != nil { 2606 return m.SignedText 2607 } 2608 return nil 2609} 2610 2611type GetCommitSignaturesRequest struct { 2612 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2613 CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` 2614 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2615 XXX_unrecognized []byte `json:"-"` 2616 XXX_sizecache int32 `json:"-"` 2617} 2618 2619func (m *GetCommitSignaturesRequest) Reset() { *m = GetCommitSignaturesRequest{} } 2620func (m *GetCommitSignaturesRequest) String() string { return proto.CompactTextString(m) } 2621func (*GetCommitSignaturesRequest) ProtoMessage() {} 2622func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { 2623 return fileDescriptor_db7163399a465f48, []int{41} 2624} 2625 2626func (m *GetCommitSignaturesRequest) XXX_Unmarshal(b []byte) error { 2627 return xxx_messageInfo_GetCommitSignaturesRequest.Unmarshal(m, b) 2628} 2629func (m *GetCommitSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2630 return xxx_messageInfo_GetCommitSignaturesRequest.Marshal(b, m, deterministic) 2631} 2632func (m *GetCommitSignaturesRequest) XXX_Merge(src proto.Message) { 2633 xxx_messageInfo_GetCommitSignaturesRequest.Merge(m, src) 2634} 2635func (m *GetCommitSignaturesRequest) XXX_Size() int { 2636 return xxx_messageInfo_GetCommitSignaturesRequest.Size(m) 2637} 2638func (m *GetCommitSignaturesRequest) XXX_DiscardUnknown() { 2639 xxx_messageInfo_GetCommitSignaturesRequest.DiscardUnknown(m) 2640} 2641 2642var xxx_messageInfo_GetCommitSignaturesRequest proto.InternalMessageInfo 2643 2644func (m *GetCommitSignaturesRequest) GetRepository() *Repository { 2645 if m != nil { 2646 return m.Repository 2647 } 2648 return nil 2649} 2650 2651func (m *GetCommitSignaturesRequest) GetCommitIds() []string { 2652 if m != nil { 2653 return m.CommitIds 2654 } 2655 return nil 2656} 2657 2658type GetCommitSignaturesResponse struct { 2659 // Only present for a new commit signature data. 2660 CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` 2661 // See ExtractCommitSignatureResponse above for how these fields should be handled. 2662 Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 2663 SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` 2664 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2665 XXX_unrecognized []byte `json:"-"` 2666 XXX_sizecache int32 `json:"-"` 2667} 2668 2669func (m *GetCommitSignaturesResponse) Reset() { *m = GetCommitSignaturesResponse{} } 2670func (m *GetCommitSignaturesResponse) String() string { return proto.CompactTextString(m) } 2671func (*GetCommitSignaturesResponse) ProtoMessage() {} 2672func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { 2673 return fileDescriptor_db7163399a465f48, []int{42} 2674} 2675 2676func (m *GetCommitSignaturesResponse) XXX_Unmarshal(b []byte) error { 2677 return xxx_messageInfo_GetCommitSignaturesResponse.Unmarshal(m, b) 2678} 2679func (m *GetCommitSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2680 return xxx_messageInfo_GetCommitSignaturesResponse.Marshal(b, m, deterministic) 2681} 2682func (m *GetCommitSignaturesResponse) XXX_Merge(src proto.Message) { 2683 xxx_messageInfo_GetCommitSignaturesResponse.Merge(m, src) 2684} 2685func (m *GetCommitSignaturesResponse) XXX_Size() int { 2686 return xxx_messageInfo_GetCommitSignaturesResponse.Size(m) 2687} 2688func (m *GetCommitSignaturesResponse) XXX_DiscardUnknown() { 2689 xxx_messageInfo_GetCommitSignaturesResponse.DiscardUnknown(m) 2690} 2691 2692var xxx_messageInfo_GetCommitSignaturesResponse proto.InternalMessageInfo 2693 2694func (m *GetCommitSignaturesResponse) GetCommitId() string { 2695 if m != nil { 2696 return m.CommitId 2697 } 2698 return "" 2699} 2700 2701func (m *GetCommitSignaturesResponse) GetSignature() []byte { 2702 if m != nil { 2703 return m.Signature 2704 } 2705 return nil 2706} 2707 2708func (m *GetCommitSignaturesResponse) GetSignedText() []byte { 2709 if m != nil { 2710 return m.SignedText 2711 } 2712 return nil 2713} 2714 2715type GetCommitMessagesRequest struct { 2716 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` 2717 CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` 2718 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2719 XXX_unrecognized []byte `json:"-"` 2720 XXX_sizecache int32 `json:"-"` 2721} 2722 2723func (m *GetCommitMessagesRequest) Reset() { *m = GetCommitMessagesRequest{} } 2724func (m *GetCommitMessagesRequest) String() string { return proto.CompactTextString(m) } 2725func (*GetCommitMessagesRequest) ProtoMessage() {} 2726func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { 2727 return fileDescriptor_db7163399a465f48, []int{43} 2728} 2729 2730func (m *GetCommitMessagesRequest) XXX_Unmarshal(b []byte) error { 2731 return xxx_messageInfo_GetCommitMessagesRequest.Unmarshal(m, b) 2732} 2733func (m *GetCommitMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2734 return xxx_messageInfo_GetCommitMessagesRequest.Marshal(b, m, deterministic) 2735} 2736func (m *GetCommitMessagesRequest) XXX_Merge(src proto.Message) { 2737 xxx_messageInfo_GetCommitMessagesRequest.Merge(m, src) 2738} 2739func (m *GetCommitMessagesRequest) XXX_Size() int { 2740 return xxx_messageInfo_GetCommitMessagesRequest.Size(m) 2741} 2742func (m *GetCommitMessagesRequest) XXX_DiscardUnknown() { 2743 xxx_messageInfo_GetCommitMessagesRequest.DiscardUnknown(m) 2744} 2745 2746var xxx_messageInfo_GetCommitMessagesRequest proto.InternalMessageInfo 2747 2748func (m *GetCommitMessagesRequest) GetRepository() *Repository { 2749 if m != nil { 2750 return m.Repository 2751 } 2752 return nil 2753} 2754 2755func (m *GetCommitMessagesRequest) GetCommitIds() []string { 2756 if m != nil { 2757 return m.CommitIds 2758 } 2759 return nil 2760} 2761 2762type GetCommitMessagesResponse struct { 2763 // Only present for a new commit message 2764 CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` 2765 Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 2766 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2767 XXX_unrecognized []byte `json:"-"` 2768 XXX_sizecache int32 `json:"-"` 2769} 2770 2771func (m *GetCommitMessagesResponse) Reset() { *m = GetCommitMessagesResponse{} } 2772func (m *GetCommitMessagesResponse) String() string { return proto.CompactTextString(m) } 2773func (*GetCommitMessagesResponse) ProtoMessage() {} 2774func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { 2775 return fileDescriptor_db7163399a465f48, []int{44} 2776} 2777 2778func (m *GetCommitMessagesResponse) XXX_Unmarshal(b []byte) error { 2779 return xxx_messageInfo_GetCommitMessagesResponse.Unmarshal(m, b) 2780} 2781func (m *GetCommitMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2782 return xxx_messageInfo_GetCommitMessagesResponse.Marshal(b, m, deterministic) 2783} 2784func (m *GetCommitMessagesResponse) XXX_Merge(src proto.Message) { 2785 xxx_messageInfo_GetCommitMessagesResponse.Merge(m, src) 2786} 2787func (m *GetCommitMessagesResponse) XXX_Size() int { 2788 return xxx_messageInfo_GetCommitMessagesResponse.Size(m) 2789} 2790func (m *GetCommitMessagesResponse) XXX_DiscardUnknown() { 2791 xxx_messageInfo_GetCommitMessagesResponse.DiscardUnknown(m) 2792} 2793 2794var xxx_messageInfo_GetCommitMessagesResponse proto.InternalMessageInfo 2795 2796func (m *GetCommitMessagesResponse) GetCommitId() string { 2797 if m != nil { 2798 return m.CommitId 2799 } 2800 return "" 2801} 2802 2803func (m *GetCommitMessagesResponse) GetMessage() []byte { 2804 if m != nil { 2805 return m.Message 2806 } 2807 return nil 2808} 2809 2810func init() { 2811 proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value) 2812 proto.RegisterEnum("gitaly.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value) 2813 proto.RegisterEnum("gitaly.FindAllCommitsRequest_Order", FindAllCommitsRequest_Order_name, FindAllCommitsRequest_Order_value) 2814 proto.RegisterEnum("gitaly.FindCommitsRequest_Order", FindCommitsRequest_Order_name, FindCommitsRequest_Order_value) 2815 proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest") 2816 proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse") 2817 proto.RegisterType((*CommitIsAncestorRequest)(nil), "gitaly.CommitIsAncestorRequest") 2818 proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse") 2819 proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest") 2820 proto.RegisterType((*TreeEntryResponse)(nil), "gitaly.TreeEntryResponse") 2821 proto.RegisterType((*CommitsBetweenRequest)(nil), "gitaly.CommitsBetweenRequest") 2822 proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse") 2823 proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest") 2824 proto.RegisterType((*CountCommitsResponse)(nil), "gitaly.CountCommitsResponse") 2825 proto.RegisterType((*CountDivergingCommitsRequest)(nil), "gitaly.CountDivergingCommitsRequest") 2826 proto.RegisterType((*CountDivergingCommitsResponse)(nil), "gitaly.CountDivergingCommitsResponse") 2827 proto.RegisterType((*TreeEntry)(nil), "gitaly.TreeEntry") 2828 proto.RegisterType((*GetTreeEntriesRequest)(nil), "gitaly.GetTreeEntriesRequest") 2829 proto.RegisterType((*GetTreeEntriesResponse)(nil), "gitaly.GetTreeEntriesResponse") 2830 proto.RegisterType((*ListFilesRequest)(nil), "gitaly.ListFilesRequest") 2831 proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse") 2832 proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest") 2833 proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse") 2834 proto.RegisterType((*ListCommitsByOidRequest)(nil), "gitaly.ListCommitsByOidRequest") 2835 proto.RegisterType((*ListCommitsByOidResponse)(nil), "gitaly.ListCommitsByOidResponse") 2836 proto.RegisterType((*ListCommitsByRefNameRequest)(nil), "gitaly.ListCommitsByRefNameRequest") 2837 proto.RegisterType((*ListCommitsByRefNameResponse)(nil), "gitaly.ListCommitsByRefNameResponse") 2838 proto.RegisterType((*ListCommitsByRefNameResponse_CommitForRef)(nil), "gitaly.ListCommitsByRefNameResponse.CommitForRef") 2839 proto.RegisterType((*FindAllCommitsRequest)(nil), "gitaly.FindAllCommitsRequest") 2840 proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse") 2841 proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest") 2842 proto.RegisterType((*FindCommitsResponse)(nil), "gitaly.FindCommitsResponse") 2843 proto.RegisterType((*CommitLanguagesRequest)(nil), "gitaly.CommitLanguagesRequest") 2844 proto.RegisterType((*CommitLanguagesResponse)(nil), "gitaly.CommitLanguagesResponse") 2845 proto.RegisterType((*CommitLanguagesResponse_Language)(nil), "gitaly.CommitLanguagesResponse.Language") 2846 proto.RegisterType((*RawBlameRequest)(nil), "gitaly.RawBlameRequest") 2847 proto.RegisterType((*RawBlameResponse)(nil), "gitaly.RawBlameResponse") 2848 proto.RegisterType((*LastCommitForPathRequest)(nil), "gitaly.LastCommitForPathRequest") 2849 proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse") 2850 proto.RegisterType((*ListLastCommitsForTreeRequest)(nil), "gitaly.ListLastCommitsForTreeRequest") 2851 proto.RegisterType((*ListLastCommitsForTreeResponse)(nil), "gitaly.ListLastCommitsForTreeResponse") 2852 proto.RegisterType((*ListLastCommitsForTreeResponse_CommitForTree)(nil), "gitaly.ListLastCommitsForTreeResponse.CommitForTree") 2853 proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest") 2854 proto.RegisterType((*CommitsByMessageResponse)(nil), "gitaly.CommitsByMessageResponse") 2855 proto.RegisterType((*FilterShasWithSignaturesRequest)(nil), "gitaly.FilterShasWithSignaturesRequest") 2856 proto.RegisterType((*FilterShasWithSignaturesResponse)(nil), "gitaly.FilterShasWithSignaturesResponse") 2857 proto.RegisterType((*ExtractCommitSignatureRequest)(nil), "gitaly.ExtractCommitSignatureRequest") 2858 proto.RegisterType((*ExtractCommitSignatureResponse)(nil), "gitaly.ExtractCommitSignatureResponse") 2859 proto.RegisterType((*GetCommitSignaturesRequest)(nil), "gitaly.GetCommitSignaturesRequest") 2860 proto.RegisterType((*GetCommitSignaturesResponse)(nil), "gitaly.GetCommitSignaturesResponse") 2861 proto.RegisterType((*GetCommitMessagesRequest)(nil), "gitaly.GetCommitMessagesRequest") 2862 proto.RegisterType((*GetCommitMessagesResponse)(nil), "gitaly.GetCommitMessagesResponse") 2863} 2864 2865func init() { proto.RegisterFile("commit.proto", fileDescriptor_db7163399a465f48) } 2866 2867var fileDescriptor_db7163399a465f48 = []byte{ 2868 // 2289 bytes of a gzipped FileDescriptorProto 2869 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0xbb, 0x73, 0x1b, 0xc7, 2870 0x19, 0xf7, 0xe1, 0x79, 0xf8, 0x00, 0x51, 0xe0, 0xea, 0x05, 0x1e, 0x48, 0x91, 0x3e, 0x49, 0x0e, 2871 0x35, 0xb6, 0x41, 0x19, 0x51, 0x3c, 0xce, 0x4c, 0x66, 0x32, 0x82, 0x4d, 0x32, 0x62, 0x24, 0x81, 2872 0x39, 0x71, 0xc6, 0x63, 0xcf, 0x64, 0x90, 0x03, 0xb0, 0x00, 0xd6, 0x3a, 0xe0, 0xa0, 0xbb, 0x05, 2873 0x25, 0x38, 0x45, 0xd2, 0xb8, 0x4e, 0x99, 0x74, 0x69, 0xd2, 0x65, 0xf2, 0x07, 0xa4, 0x4a, 0x97, 2874 0x32, 0x45, 0x9a, 0xf4, 0xa9, 0x93, 0x32, 0x8d, 0xab, 0xcc, 0x3e, 0xee, 0x7d, 0xc7, 0x87, 0x44, 2875 0xaa, 0xe1, 0xdc, 0x7e, 0xfb, 0xf8, 0x1e, 0xfb, 0xed, 0x6f, 0x7f, 0xfb, 0x81, 0x50, 0x1b, 0xd8, 2876 0xd3, 0x29, 0xa1, 0xad, 0xb9, 0x63, 0x53, 0x1b, 0x95, 0xc6, 0x84, 0x9a, 0xd6, 0x52, 0x03, 0x8b, 2877 0xcc, 0xa4, 0x4c, 0xab, 0xb9, 0x13, 0xd3, 0xc1, 0x43, 0xd9, 0xda, 0x1c, 0xdb, 0xf6, 0xd8, 0xc2, 2878 0x3b, 0xbc, 0xd5, 0x5f, 0x8c, 0x76, 0x28, 0x99, 0x62, 0x97, 0x9a, 0xd3, 0xb9, 0x18, 0xa0, 0x7f, 2879 0x03, 0xe8, 0x73, 0xbe, 0xe4, 0x73, 0x6a, 0x52, 0xd7, 0xc0, 0x2f, 0x17, 0xd8, 0xa5, 0xe8, 0x33, 2880 0x00, 0x07, 0xcf, 0x6d, 0x97, 0x50, 0xdb, 0x59, 0x36, 0x94, 0x2d, 0x65, 0xbb, 0xda, 0x46, 0x2d, 2881 0xa1, 0xad, 0x65, 0xf8, 0x3d, 0x9d, 0xc2, 0x1f, 0xfe, 0xfe, 0x91, 0x62, 0x84, 0xc6, 0x22, 0x0d, 2882 0x54, 0x07, 0x1f, 0x13, 0x97, 0xd8, 0xb3, 0x46, 0x6e, 0x4b, 0xd9, 0xae, 0x19, 0x7e, 0x5b, 0x1f, 2883 0xc0, 0xb5, 0x88, 0x2e, 0x77, 0x6e, 0xcf, 0x5c, 0x8c, 0xea, 0x90, 0xb7, 0xc9, 0x90, 0x6b, 0xa9, 2884 0x18, 0xec, 0x13, 0xad, 0x43, 0xc5, 0x1c, 0x0e, 0x09, 0x25, 0xf6, 0xcc, 0xe5, 0xab, 0x14, 0x8d, 2885 0x40, 0xc0, 0x7a, 0x87, 0xd8, 0xc2, 0xa2, 0x37, 0x2f, 0x7a, 0x7d, 0x81, 0xfe, 0x3b, 0x05, 0x6e, 2886 0x09, 0x2d, 0x8f, 0xdd, 0x47, 0xb3, 0x01, 0x76, 0xa9, 0xed, 0xbc, 0xbd, 0x5b, 0x9b, 0x50, 0x35, 2887 0xe5, 0x62, 0x3d, 0x32, 0xe4, 0x36, 0x55, 0x0c, 0xf0, 0x44, 0x8f, 0x87, 0x68, 0x0d, 0xd4, 0xc1, 2888 0x84, 0x58, 0x43, 0xd6, 0x9b, 0xe7, 0xbd, 0x65, 0xde, 0x7e, 0x3c, 0xd4, 0x1f, 0x40, 0x23, 0x69, 2889 0x90, 0xf4, 0xfd, 0x3a, 0x14, 0x8f, 0x4d, 0x6b, 0x81, 0xb9, 0x31, 0xaa, 0x21, 0x1a, 0xfa, 0x5f, 2890 0x14, 0xa8, 0x1f, 0x39, 0x18, 0xef, 0xce, 0xa8, 0xb3, 0xbc, 0xd4, 0x3d, 0x41, 0x08, 0x0a, 0x73, 2891 0x93, 0x4e, 0xb8, 0xcd, 0x35, 0x83, 0x7f, 0x33, 0xa3, 0x2c, 0x32, 0x25, 0xb4, 0x51, 0xd8, 0x52, 2892 0xb6, 0xf3, 0x86, 0x68, 0x30, 0x0f, 0xa7, 0xe6, 0xeb, 0x9e, 0x4b, 0xbe, 0xc5, 0x8d, 0x22, 0xef, 2893 0x28, 0x4f, 0xcd, 0xd7, 0xcf, 0xc9, 0xb7, 0x58, 0xff, 0xa7, 0x02, 0xab, 0x21, 0x7b, 0xa5, 0x6f, 2894 0x9f, 0x41, 0x81, 0x2e, 0xe7, 0xc2, 0xb5, 0x95, 0xf6, 0x5d, 0xcf, 0xd4, 0xc4, 0xc0, 0x56, 0xb7, 2895 0xff, 0x0d, 0x1e, 0xd0, 0xa3, 0xe5, 0x1c, 0x1b, 0x7c, 0x86, 0x97, 0x11, 0xb9, 0x20, 0x23, 0x10, 2896 0x14, 0xb8, 0xe2, 0x3c, 0x57, 0xcc, 0xbf, 0x99, 0x6c, 0x6a, 0x0f, 0x31, 0xb7, 0xb2, 0x68, 0xf0, 2897 0x6f, 0x26, 0x1b, 0x9a, 0xd4, 0xe4, 0x06, 0xd6, 0x0c, 0xfe, 0xad, 0xff, 0x08, 0x20, 0xd0, 0x80, 2898 0x00, 0x4a, 0x9f, 0x77, 0x9f, 0x3e, 0x7d, 0x7c, 0x54, 0x7f, 0x0f, 0xa9, 0x50, 0xe8, 0x3c, 0xe9, 2899 0x76, 0xea, 0x0a, 0xfb, 0x3a, 0x32, 0x76, 0x77, 0xeb, 0x39, 0x54, 0x86, 0xfc, 0xd1, 0xa3, 0xfd, 2900 0x7a, 0x5e, 0xff, 0x9b, 0x02, 0x37, 0xc4, 0xbe, 0xb9, 0x1d, 0x4c, 0x5f, 0x61, 0x3c, 0x7b, 0xfb, 2901 0x9d, 0x40, 0x50, 0x18, 0x39, 0xf6, 0x54, 0xee, 0x02, 0xff, 0x46, 0x2b, 0x90, 0xa3, 0xb6, 0x8c, 2902 0x7f, 0x8e, 0xda, 0xe8, 0x67, 0xb0, 0x3a, 0x37, 0xc7, 0x64, 0x66, 0xb2, 0x7c, 0xee, 0xcd, 0x4d, 2903 0xc7, 0x9c, 0xba, 0xdc, 0xc7, 0x6a, 0xbb, 0xe9, 0x29, 0x39, 0xf4, 0x07, 0x1c, 0xb2, 0x7e, 0x4c, 2904 0xb1, 0x63, 0xd4, 0xe7, 0x51, 0xa1, 0xab, 0xef, 0xc2, 0xcd, 0xb8, 0x03, 0x72, 0x6b, 0x3e, 0x84, 2905 0xb2, 0x00, 0x12, 0xb7, 0xa1, 0x6c, 0xe5, 0xb7, 0xab, 0xed, 0x55, 0x6f, 0xe5, 0x7d, 0x42, 0xc5, 2906 0x1c, 0xc3, 0x1b, 0xa1, 0xff, 0x2f, 0xc7, 0xce, 0xed, 0x62, 0x26, 0x3b, 0x2e, 0x17, 0x24, 0xd0, 2907 0x03, 0x28, 0x9a, 0x23, 0x8a, 0x1d, 0x1e, 0x91, 0x6a, 0x5b, 0x6b, 0x09, 0x04, 0x6b, 0x79, 0x08, 2908 0xd6, 0x3a, 0xf2, 0x10, 0xcc, 0x10, 0x03, 0x51, 0x1b, 0x4a, 0x7d, 0x3c, 0xb2, 0x1d, 0x2c, 0xa3, 2909 0x74, 0xd2, 0x14, 0x39, 0xd2, 0x4f, 0xfb, 0x62, 0x28, 0xed, 0x9b, 0x50, 0x61, 0x09, 0x3e, 0x60, 2910 0xae, 0x36, 0x4a, 0x3c, 0xa9, 0x58, 0xc6, 0x73, 0xd7, 0x59, 0x4a, 0x9a, 0x96, 0xd5, 0x28, 0xf3, 2911 0x63, 0xca, 0x3e, 0xd1, 0xfb, 0x50, 0x1b, 0x11, 0xc7, 0xa5, 0x6c, 0x8b, 0xf0, 0x8c, 0x36, 0x54, 2912 0xde, 0x55, 0xe5, 0xb2, 0x43, 0x2e, 0x42, 0x3f, 0x81, 0x95, 0xb1, 0x65, 0xf7, 0x4d, 0xab, 0x67, 2913 0xcf, 0x05, 0x5c, 0x55, 0xb8, 0x85, 0x37, 0xfc, 0x68, 0xf3, 0xde, 0xae, 0xe8, 0x34, 0xae, 0x8c, 2914 0xc3, 0x4d, 0xfd, 0x23, 0xb8, 0x1e, 0x0d, 0x7b, 0x80, 0x19, 0xc2, 0x46, 0x85, 0xdb, 0x28, 0x1a, 2915 0xfa, 0x9f, 0x15, 0x58, 0xe7, 0xc3, 0xbf, 0x20, 0xc7, 0xd8, 0x19, 0x93, 0xd9, 0xf8, 0xc2, 0xb6, 2916 0xeb, 0x2c, 0x59, 0x1b, 0x09, 0x5e, 0x39, 0x1a, 0xbc, 0x83, 0x82, 0x5a, 0xa8, 0x17, 0x0f, 0x0a, 2917 0x6a, 0xb1, 0x5e, 0x3a, 0x28, 0xa8, 0xa5, 0x7a, 0x59, 0xef, 0xc1, 0x46, 0x86, 0xb1, 0xd2, 0xc9, 2918 0x0d, 0x00, 0x0b, 0x8f, 0x68, 0x2f, 0xec, 0x69, 0x85, 0x49, 0xc4, 0x76, 0x6c, 0x42, 0xd5, 0x21, 2919 0xe3, 0x89, 0xd7, 0x2f, 0xee, 0x08, 0xe0, 0x22, 0x3e, 0x40, 0xff, 0x5e, 0x81, 0x8a, 0x8f, 0x34, 2920 0x29, 0x57, 0xcc, 0x1a, 0xa8, 0x8e, 0x6d, 0xd3, 0x5e, 0x80, 0x33, 0x65, 0xd6, 0xee, 0x0a, 0xac, 2921 0x49, 0x40, 0xe2, 0x8e, 0xc4, 0xb2, 0x02, 0xc7, 0xb2, 0x66, 0x02, 0xcb, 0x5a, 0xfc, 0x6f, 0x08, 2922 0xc2, 0x3c, 0x70, 0x2a, 0x86, 0xc0, 0x69, 0x03, 0x40, 0x9c, 0x29, 0xae, 0xb5, 0xc4, 0xb5, 0x56, 2923 0x84, 0x84, 0xe9, 0x6d, 0x42, 0x65, 0x64, 0x99, 0x2c, 0x9f, 0xe8, 0x84, 0x87, 0xb0, 0x66, 0xa8, 2924 0x4c, 0x70, 0x68, 0xd2, 0x89, 0xfe, 0x21, 0x54, 0x7c, 0x15, 0x3e, 0x6e, 0xbd, 0xe7, 0xe3, 0x96, 2925 0x12, 0xc2, 0xb5, 0xbc, 0xfe, 0x47, 0x05, 0x6e, 0xec, 0x63, 0xea, 0x59, 0x47, 0xb0, 0xfb, 0xee, 2926 0x2f, 0x91, 0x75, 0xa8, 0x38, 0x78, 0xb0, 0x70, 0x5c, 0x72, 0x2c, 0xc2, 0xa6, 0x1a, 0x81, 0x80, 2927 0x41, 0x53, 0xdc, 0xc0, 0x00, 0x9a, 0xb0, 0x10, 0xc5, 0xa1, 0x29, 0xb8, 0x38, 0xbc, 0x11, 0xfa, 2928 0x04, 0xea, 0x4f, 0x88, 0x4b, 0xf7, 0x88, 0x75, 0xc9, 0x2e, 0xea, 0xf7, 0x61, 0x35, 0xa4, 0x29, 2929 0x38, 0x89, 0xcc, 0x57, 0x61, 0x69, 0xcd, 0x10, 0x0d, 0xfd, 0x3b, 0x05, 0x56, 0xf7, 0xc8, 0x6c, 2930 0x28, 0x71, 0xf4, 0x52, 0x23, 0xaf, 0x81, 0x4a, 0x1d, 0x93, 0x58, 0xd8, 0x11, 0x54, 0x48, 0x35, 2931 0xfc, 0xb6, 0xfe, 0x53, 0x40, 0x61, 0x33, 0xa4, 0xcd, 0xf7, 0xa1, 0x24, 0x52, 0x4e, 0xda, 0x90, 2932 0x82, 0xfc, 0x72, 0x80, 0x8e, 0xe1, 0x16, 0xf3, 0xd9, 0xbb, 0x43, 0x96, 0x5d, 0x32, 0x7c, 0x7b, 2933 0x6f, 0xfc, 0xbb, 0x3d, 0x2f, 0x8f, 0xa2, 0xbe, 0x0f, 0x8d, 0xa4, 0x9a, 0x37, 0xb9, 0xa8, 0x28, 2934 0x34, 0x23, 0x0b, 0x19, 0x78, 0xf4, 0xcc, 0x9c, 0xe2, 0xb7, 0xb7, 0xb9, 0xc9, 0x72, 0x79, 0xd4, 2935 0x9b, 0x99, 0x53, 0xec, 0x72, 0xcb, 0xf9, 0x16, 0xf0, 0xc5, 0x5d, 0xfd, 0x1f, 0x0a, 0xac, 0xa7, 2936 0xab, 0x95, 0x3e, 0x18, 0x50, 0x95, 0xc7, 0xde, 0xc1, 0x23, 0x31, 0xbf, 0xda, 0xfe, 0xc4, 0x53, 2937 0x7c, 0xd2, 0xd4, 0x96, 0xe8, 0xd8, 0x63, 0x84, 0x71, 0x64, 0x48, 0xf0, 0x30, 0xf0, 0xc8, 0xd5, 2938 0x8e, 0xa0, 0x16, 0xee, 0x3b, 0xc7, 0xae, 0x72, 0xe4, 0x93, 0xce, 0xc8, 0x74, 0x2a, 0x4b, 0x5f, 2939 0x0e, 0x0a, 0xaa, 0x52, 0xcf, 0xe9, 0xbf, 0xcd, 0xc1, 0x0d, 0x96, 0x38, 0x8f, 0x2c, 0xeb, 0x9d, 2940 0xdc, 0xf8, 0x91, 0xab, 0x23, 0x1f, 0xbb, 0x77, 0x19, 0xf1, 0x7b, 0x41, 0xe6, 0x1e, 0xc9, 0x63, 2941 0xdf, 0xe8, 0xc7, 0x50, 0xb4, 0x9d, 0x21, 0x76, 0x38, 0xb8, 0xae, 0xb4, 0xef, 0x78, 0x16, 0xa4, 2942 0x1a, 0xdd, 0xea, 0xb2, 0xa1, 0x86, 0x98, 0xa1, 0xdf, 0x83, 0x22, 0x6f, 0x33, 0xe0, 0x7c, 0xd6, 2943 0x7d, 0xb6, 0x2b, 0x21, 0xb4, 0x7b, 0xd8, 0x15, 0x24, 0xf0, 0x8b, 0x47, 0x47, 0xbb, 0xf5, 0x1c, 2944 0x83, 0xa7, 0xf8, 0x62, 0x6f, 0x92, 0x90, 0xff, 0x29, 0x84, 0x8f, 0xe0, 0x25, 0x87, 0xd1, 0x67, 2945 0xed, 0x22, 0x84, 0x92, 0xb5, 0xdf, 0x84, 0x92, 0x3d, 0x1a, 0xb9, 0x98, 0xca, 0x08, 0xca, 0x56, 2946 0x00, 0x5d, 0xc5, 0x10, 0x74, 0xb1, 0xd1, 0x23, 0xdb, 0xb2, 0xec, 0x57, 0xfc, 0x76, 0x52, 0x0d, 2947 0xd9, 0x62, 0xd7, 0x2d, 0x8b, 0x7c, 0x6f, 0x8a, 0x9d, 0x31, 0x76, 0x25, 0x0b, 0x02, 0x26, 0x7a, 2948 0xca, 0x25, 0x8c, 0x0c, 0x0d, 0x89, 0x6b, 0xf6, 0x2d, 0xdc, 0x7b, 0x65, 0x5a, 0x2f, 0x3c, 0x32, 2949 0x24, 0x65, 0x5f, 0x9a, 0xd6, 0x8b, 0x80, 0xd8, 0x55, 0xce, 0x4f, 0xec, 0xe0, 0xcc, 0xc4, 0x4e, 2950 0xf2, 0xb4, 0x6a, 0x36, 0x4f, 0xab, 0x25, 0x79, 0xda, 0x4d, 0x28, 0x99, 0x0b, 0x3a, 0xb1, 0x9d, 2951 0xc6, 0x15, 0x1e, 0x54, 0xd9, 0x42, 0x9f, 0x7a, 0x89, 0xb6, 0xc2, 0x13, 0x6d, 0x2b, 0x9c, 0x68, 2952 0x27, 0x64, 0x59, 0x0a, 0xef, 0xbb, 0x7a, 0x76, 0xde, 0x17, 0xc1, 0xf4, 0x7a, 0x0c, 0xd3, 0x9b, 2953 0x27, 0xe4, 0xaf, 0xde, 0x81, 0x6b, 0x11, 0xcb, 0xde, 0x24, 0x65, 0x67, 0xde, 0x9b, 0xe1, 0x89, 2954 0x39, 0x1b, 0x2f, 0xcc, 0xf1, 0x65, 0xdf, 0xab, 0xff, 0xf6, 0x9f, 0xeb, 0x21, 0x85, 0xd2, 0xf0, 2955 0x3d, 0xa8, 0x58, 0x9e, 0x50, 0x9a, 0xbe, 0xed, 0x29, 0xcc, 0x98, 0xd3, 0xf2, 0x24, 0x46, 0x30, 2956 0x55, 0xfb, 0x0d, 0xa8, 0x9e, 0x98, 0xe1, 0x09, 0x47, 0x3e, 0x41, 0x05, 0xf9, 0x37, 0x3b, 0x0b, 2957 0xbc, 0x68, 0xc2, 0x8d, 0xcb, 0x19, 0xa2, 0x21, 0x68, 0xb6, 0x65, 0x3b, 0xf2, 0x39, 0x2f, 0x1a, 2958 0x8c, 0xc3, 0x8d, 0x88, 0x85, 0x25, 0x5a, 0xb1, 0x33, 0x75, 0xc5, 0xa8, 0x30, 0x89, 0x80, 0xab, 2959 0xeb, 0x50, 0xec, 0x2f, 0x29, 0x76, 0x39, 0x34, 0x15, 0x0c, 0xd1, 0xd0, 0x7f, 0x0d, 0x57, 0x0d, 2960 0xf3, 0x55, 0xc7, 0xba, 0x90, 0xcb, 0xe8, 0x9c, 0x44, 0x4c, 0xff, 0x00, 0xea, 0x81, 0x72, 0x19, 2961 0x59, 0xef, 0x99, 0xac, 0x84, 0x9e, 0xc9, 0xff, 0x55, 0xa0, 0xf1, 0xc4, 0xf4, 0x2e, 0xa3, 0x3d, 2962 0xdb, 0x61, 0xbc, 0xf3, 0xdd, 0xf3, 0xc6, 0xfb, 0x50, 0xb7, 0x08, 0xc5, 0x8e, 0x69, 0x71, 0x22, 2963 0xec, 0xce, 0xf1, 0x40, 0xd2, 0xc7, 0xab, 0x52, 0x7e, 0x28, 0xc5, 0x29, 0xc7, 0xac, 0x78, 0x8e, 2964 0xe7, 0xd5, 0x1e, 0xac, 0xa5, 0xb8, 0x7b, 0x7e, 0x96, 0xf4, 0xa7, 0x1c, 0x6c, 0xb0, 0x4b, 0x3c, 2965 0x58, 0xcc, 0xdd, 0xb3, 0x1d, 0x46, 0x56, 0x2f, 0x3e, 0x78, 0x95, 0xf3, 0x54, 0x6e, 0x52, 0xee, 2966 0x80, 0x62, 0xe4, 0x0e, 0xf8, 0x38, 0x25, 0xd4, 0x1c, 0xf7, 0x3b, 0xb9, 0x86, 0x72, 0x96, 0x70, 2967 0x97, 0xcf, 0x11, 0xee, 0x7f, 0x29, 0x70, 0x3b, 0x2b, 0x4c, 0x32, 0xe8, 0xcf, 0xe2, 0x40, 0xf5, 2968 0x30, 0x4c, 0x92, 0xb2, 0x27, 0x06, 0x34, 0x89, 0x4b, 0xbd, 0x45, 0x34, 0x0c, 0x57, 0x22, 0x3d, 2969 0xa1, 0x5d, 0xcd, 0x9d, 0xc6, 0x92, 0x36, 0x00, 0x58, 0x4c, 0x7a, 0xe2, 0x34, 0x17, 0x78, 0x8c, 2970 0x2b, 0x4c, 0xd2, 0x61, 0x02, 0xc1, 0x94, 0x0e, 0x0a, 0x6a, 0xbe, 0x5e, 0xd0, 0xbf, 0xcb, 0x79, 2971 0x10, 0xe6, 0x76, 0x96, 0x4f, 0xb1, 0xeb, 0x32, 0xf8, 0xb9, 0xd4, 0x73, 0x13, 0x6c, 0x68, 0x3e, 2972 0x7e, 0xa9, 0xa7, 0x6c, 0x7f, 0x5a, 0xad, 0xe3, 0x3a, 0x14, 0x5f, 0x2e, 0xb0, 0xb3, 0x94, 0xaf, 2973 0x50, 0xd1, 0x78, 0xcb, 0x1d, 0xde, 0xf7, 0xea, 0x9c, 0xe1, 0x30, 0xbc, 0xc9, 0x1d, 0x64, 0xc3, 2974 0xe6, 0x1e, 0xb1, 0x28, 0x76, 0x9e, 0x4f, 0x4c, 0xf7, 0x4b, 0x42, 0x27, 0xcf, 0xc9, 0x78, 0x66, 2975 0xd2, 0x85, 0x83, 0x2f, 0xa6, 0x98, 0xe1, 0x4e, 0x4c, 0x8f, 0xc6, 0xf3, 0x6f, 0xfd, 0x53, 0xd8, 2976 0xca, 0x56, 0x18, 0x40, 0x26, 0x9f, 0xa7, 0x84, 0xe6, 0x1d, 0xc3, 0xc6, 0xee, 0x6b, 0xea, 0x98, 2977 0x03, 0xe9, 0x82, 0x3f, 0xed, 0x42, 0x9e, 0x1c, 0xf2, 0xd1, 0xe0, 0x17, 0x28, 0x54, 0x21, 0x78, 2978 0x3c, 0xd4, 0x7b, 0x70, 0x3b, 0x4b, 0xaf, 0xb4, 0x76, 0x1d, 0x2a, 0xae, 0x27, 0x94, 0x28, 0x1f, 2979 0x08, 0x38, 0x9d, 0x23, 0xe3, 0x19, 0x1e, 0xf6, 0x28, 0x7e, 0x4d, 0x65, 0x7a, 0x81, 0x10, 0x1d, 2980 0xe1, 0xd7, 0x54, 0x5f, 0x80, 0xb6, 0x8f, 0xe3, 0x8b, 0x5f, 0x40, 0xf0, 0x83, 0x0a, 0x08, 0x19, 2981 0xba, 0xf2, 0x0d, 0x58, 0xf1, 0xdc, 0x72, 0xf5, 0x25, 0x34, 0x53, 0xd5, 0x4a, 0xa7, 0x22, 0x31, 2982 0x51, 0xa2, 0x31, 0x89, 0x7a, 0x9c, 0x3b, 0xc5, 0xe3, 0x7c, 0xc2, 0x63, 0x17, 0x1a, 0xbe, 0x6a, 2983 0x99, 0xbc, 0x97, 0xef, 0xaf, 0x01, 0x6b, 0x29, 0x4a, 0xcf, 0xe2, 0x6d, 0x03, 0xca, 0x53, 0x31, 2984 0xc1, 0x7b, 0xc3, 0xc9, 0x66, 0xfb, 0xaf, 0x57, 0x3d, 0xd4, 0x7b, 0x8e, 0x9d, 0x63, 0x32, 0xc0, 2985 0xe8, 0x97, 0x50, 0x8f, 0xff, 0xfe, 0x80, 0x36, 0xa3, 0x3c, 0x2a, 0xf1, 0x53, 0x89, 0xb6, 0x95, 2986 0x3d, 0x40, 0xd8, 0xa7, 0x97, 0xbe, 0xff, 0xfd, 0x76, 0x4e, 0xcd, 0xa1, 0x83, 0x70, 0xa1, 0xad, 2987 0x91, 0x52, 0xe5, 0x17, 0x0b, 0xae, 0x65, 0xd6, 0xff, 0xbd, 0x95, 0x1e, 0x28, 0xe8, 0x2b, 0x58, 2988 0x89, 0x56, 0xac, 0xd1, 0x46, 0xd4, 0x8e, 0x58, 0x29, 0x5e, 0xbb, 0x9d, 0xd5, 0x9d, 0x58, 0xfa, 2989 0x17, 0xec, 0xc5, 0x1c, 0x54, 0x53, 0x51, 0x33, 0x98, 0x99, 0x28, 0x6d, 0x6b, 0xeb, 0xe9, 0x9d, 2990 0x31, 0xcf, 0x2d, 0xb8, 0x91, 0x5a, 0xc4, 0x44, 0x77, 0x23, 0xd3, 0x33, 0x0a, 0xb2, 0xda, 0xbd, 2991 0x53, 0x46, 0xc5, 0xb4, 0x7d, 0x05, 0x2b, 0xd1, 0x92, 0x59, 0x10, 0x9b, 0xd4, 0x5a, 0x5f, 0x10, 2992 0x9b, 0xf4, 0x4a, 0x5b, 0x28, 0x36, 0x07, 0x50, 0xf1, 0x8b, 0x5b, 0xc1, 0x16, 0xc6, 0x2b, 0x6b, 2993 0xc1, 0x16, 0x26, 0x2a, 0x61, 0xa1, 0xb5, 0x7e, 0x0e, 0x10, 0x3c, 0x42, 0xd0, 0x5a, 0xf2, 0xc9, 2994 0xe4, 0xad, 0xa6, 0xa5, 0x75, 0xc5, 0x7c, 0x7e, 0x06, 0xd5, 0xd0, 0x2f, 0x86, 0x48, 0x8b, 0xee, 2995 0x76, 0xf8, 0x27, 0x4b, 0xad, 0x99, 0xda, 0x97, 0x8c, 0x61, 0xf4, 0x5d, 0x1f, 0xc4, 0x30, 0xb5, 2996 0x78, 0x10, 0xc4, 0x30, 0xbd, 0x1c, 0x10, 0xf2, 0xfb, 0x10, 0xaa, 0xa1, 0xc7, 0x17, 0xd2, 0xb2, 2997 0xdf, 0x8a, 0x81, 0xa9, 0x29, 0xaf, 0xb5, 0xd0, 0x8a, 0x5f, 0xc3, 0xd5, 0xd8, 0x2b, 0x07, 0xdd, 2998 0xce, 0x7c, 0xfe, 0x88, 0x95, 0x37, 0x4f, 0x79, 0x1e, 0xf9, 0x81, 0xd8, 0x07, 0xd5, 0x7b, 0x14, 2999 0xa0, 0x5b, 0x3e, 0x94, 0x45, 0xdf, 0x28, 0x5a, 0x23, 0xd9, 0x91, 0x30, 0xf2, 0x57, 0xb0, 0x9a, 3000 0x60, 0xd1, 0xc8, 0x07, 0x8f, 0xac, 0xf7, 0x84, 0xf6, 0xfe, 0x09, 0x23, 0x62, 0xa6, 0xbe, 0x84, 3001 0x9b, 0xe9, 0xf4, 0x0f, 0xdd, 0x3b, 0x8d, 0x1e, 0x0a, 0x5d, 0x1f, 0x9c, 0x8d, 0x45, 0x86, 0x9c, 3002 0xea, 0x79, 0x88, 0x19, 0x30, 0x99, 0x38, 0x62, 0x26, 0xa8, 0x5e, 0x1c, 0x31, 0x93, 0x24, 0x28, 3003 0xaa, 0x20, 0x5e, 0xf2, 0x0c, 0x14, 0x64, 0xd4, 0x5c, 0x03, 0x05, 0x59, 0xd5, 0xd2, 0x90, 0x82, 3004 0x17, 0x70, 0x3d, 0xad, 0xb0, 0x88, 0xee, 0x9c, 0x5c, 0x76, 0x14, 0x8a, 0xee, 0x9e, 0xa5, 0x36, 3005 0x19, 0x52, 0xb6, 0x84, 0x46, 0x16, 0x7d, 0x42, 0x3f, 0x08, 0x72, 0xfd, 0x44, 0x46, 0xa7, 0x6d, 3006 0x9f, 0x3e, 0x30, 0xaa, 0x78, 0x5b, 0x79, 0xa0, 0xa0, 0x09, 0x5c, 0x4b, 0x61, 0x0c, 0x48, 0x0f, 3007 0x41, 0x5f, 0x06, 0x8b, 0xd1, 0xee, 0x9c, 0x38, 0x26, 0xe1, 0x64, 0x1f, 0x56, 0x13, 0x77, 0x75, 3008 0x90, 0xe8, 0x59, 0xdc, 0x21, 0x48, 0xf4, 0xcc, 0x8b, 0x3e, 0xd0, 0xd1, 0x79, 0xf8, 0x75, 0x7b, 3009 0x4c, 0xa8, 0x65, 0xf6, 0x5b, 0x03, 0x7b, 0xba, 0x23, 0x3e, 0x3f, 0xb6, 0x9d, 0xf1, 0x8e, 0x58, 3010 0x63, 0xe7, 0xf8, 0x93, 0x87, 0xe2, 0x3f, 0x39, 0x76, 0xc6, 0xb6, 0x94, 0xcd, 0xfb, 0xfd, 0x12, 3011 0x17, 0xfd, 0xf0, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x12, 0x51, 0x51, 0x96, 0x1c, 0x22, 0x00, 3012 0x00, 3013} 3014 3015// Reference imports to suppress errors if they are not otherwise used. 3016var _ context.Context 3017var _ grpc.ClientConn 3018 3019// This is a compile-time assertion to ensure that this generated file 3020// is compatible with the grpc package it is being compiled against. 3021const _ = grpc.SupportPackageIsVersion4 3022 3023// CommitServiceClient is the client API for CommitService service. 3024// 3025// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3026type CommitServiceClient interface { 3027 CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) 3028 TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) 3029 CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) 3030 CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) 3031 CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) 3032 GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) 3033 ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) 3034 FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) 3035 CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) 3036 // Use a stream to paginate the result set 3037 FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) 3038 FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) 3039 CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) 3040 RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) 3041 LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) 3042 ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) 3043 CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) 3044 ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) 3045 ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) 3046 FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) 3047 GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) 3048 GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) 3049} 3050 3051type commitServiceClient struct { 3052 cc *grpc.ClientConn 3053} 3054 3055func NewCommitServiceClient(cc *grpc.ClientConn) CommitServiceClient { 3056 return &commitServiceClient{cc} 3057} 3058 3059func (c *commitServiceClient) CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) { 3060 out := new(CommitIsAncestorResponse) 3061 err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitIsAncestor", in, out, opts...) 3062 if err != nil { 3063 return nil, err 3064 } 3065 return out, nil 3066} 3067 3068func (c *commitServiceClient) TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) { 3069 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[0], "/gitaly.CommitService/TreeEntry", opts...) 3070 if err != nil { 3071 return nil, err 3072 } 3073 x := &commitServiceTreeEntryClient{stream} 3074 if err := x.ClientStream.SendMsg(in); err != nil { 3075 return nil, err 3076 } 3077 if err := x.ClientStream.CloseSend(); err != nil { 3078 return nil, err 3079 } 3080 return x, nil 3081} 3082 3083type CommitService_TreeEntryClient interface { 3084 Recv() (*TreeEntryResponse, error) 3085 grpc.ClientStream 3086} 3087 3088type commitServiceTreeEntryClient struct { 3089 grpc.ClientStream 3090} 3091 3092func (x *commitServiceTreeEntryClient) Recv() (*TreeEntryResponse, error) { 3093 m := new(TreeEntryResponse) 3094 if err := x.ClientStream.RecvMsg(m); err != nil { 3095 return nil, err 3096 } 3097 return m, nil 3098} 3099 3100func (c *commitServiceClient) CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) { 3101 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[1], "/gitaly.CommitService/CommitsBetween", opts...) 3102 if err != nil { 3103 return nil, err 3104 } 3105 x := &commitServiceCommitsBetweenClient{stream} 3106 if err := x.ClientStream.SendMsg(in); err != nil { 3107 return nil, err 3108 } 3109 if err := x.ClientStream.CloseSend(); err != nil { 3110 return nil, err 3111 } 3112 return x, nil 3113} 3114 3115type CommitService_CommitsBetweenClient interface { 3116 Recv() (*CommitsBetweenResponse, error) 3117 grpc.ClientStream 3118} 3119 3120type commitServiceCommitsBetweenClient struct { 3121 grpc.ClientStream 3122} 3123 3124func (x *commitServiceCommitsBetweenClient) Recv() (*CommitsBetweenResponse, error) { 3125 m := new(CommitsBetweenResponse) 3126 if err := x.ClientStream.RecvMsg(m); err != nil { 3127 return nil, err 3128 } 3129 return m, nil 3130} 3131 3132func (c *commitServiceClient) CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) { 3133 out := new(CountCommitsResponse) 3134 err := c.cc.Invoke(ctx, "/gitaly.CommitService/CountCommits", in, out, opts...) 3135 if err != nil { 3136 return nil, err 3137 } 3138 return out, nil 3139} 3140 3141func (c *commitServiceClient) CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) { 3142 out := new(CountDivergingCommitsResponse) 3143 err := c.cc.Invoke(ctx, "/gitaly.CommitService/CountDivergingCommits", in, out, opts...) 3144 if err != nil { 3145 return nil, err 3146 } 3147 return out, nil 3148} 3149 3150func (c *commitServiceClient) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) { 3151 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[2], "/gitaly.CommitService/GetTreeEntries", opts...) 3152 if err != nil { 3153 return nil, err 3154 } 3155 x := &commitServiceGetTreeEntriesClient{stream} 3156 if err := x.ClientStream.SendMsg(in); err != nil { 3157 return nil, err 3158 } 3159 if err := x.ClientStream.CloseSend(); err != nil { 3160 return nil, err 3161 } 3162 return x, nil 3163} 3164 3165type CommitService_GetTreeEntriesClient interface { 3166 Recv() (*GetTreeEntriesResponse, error) 3167 grpc.ClientStream 3168} 3169 3170type commitServiceGetTreeEntriesClient struct { 3171 grpc.ClientStream 3172} 3173 3174func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, error) { 3175 m := new(GetTreeEntriesResponse) 3176 if err := x.ClientStream.RecvMsg(m); err != nil { 3177 return nil, err 3178 } 3179 return m, nil 3180} 3181 3182func (c *commitServiceClient) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) { 3183 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[3], "/gitaly.CommitService/ListFiles", opts...) 3184 if err != nil { 3185 return nil, err 3186 } 3187 x := &commitServiceListFilesClient{stream} 3188 if err := x.ClientStream.SendMsg(in); err != nil { 3189 return nil, err 3190 } 3191 if err := x.ClientStream.CloseSend(); err != nil { 3192 return nil, err 3193 } 3194 return x, nil 3195} 3196 3197type CommitService_ListFilesClient interface { 3198 Recv() (*ListFilesResponse, error) 3199 grpc.ClientStream 3200} 3201 3202type commitServiceListFilesClient struct { 3203 grpc.ClientStream 3204} 3205 3206func (x *commitServiceListFilesClient) Recv() (*ListFilesResponse, error) { 3207 m := new(ListFilesResponse) 3208 if err := x.ClientStream.RecvMsg(m); err != nil { 3209 return nil, err 3210 } 3211 return m, nil 3212} 3213 3214func (c *commitServiceClient) FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) { 3215 out := new(FindCommitResponse) 3216 err := c.cc.Invoke(ctx, "/gitaly.CommitService/FindCommit", in, out, opts...) 3217 if err != nil { 3218 return nil, err 3219 } 3220 return out, nil 3221} 3222 3223func (c *commitServiceClient) CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) { 3224 out := new(CommitStatsResponse) 3225 err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitStats", in, out, opts...) 3226 if err != nil { 3227 return nil, err 3228 } 3229 return out, nil 3230} 3231 3232func (c *commitServiceClient) FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) { 3233 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[4], "/gitaly.CommitService/FindAllCommits", opts...) 3234 if err != nil { 3235 return nil, err 3236 } 3237 x := &commitServiceFindAllCommitsClient{stream} 3238 if err := x.ClientStream.SendMsg(in); err != nil { 3239 return nil, err 3240 } 3241 if err := x.ClientStream.CloseSend(); err != nil { 3242 return nil, err 3243 } 3244 return x, nil 3245} 3246 3247type CommitService_FindAllCommitsClient interface { 3248 Recv() (*FindAllCommitsResponse, error) 3249 grpc.ClientStream 3250} 3251 3252type commitServiceFindAllCommitsClient struct { 3253 grpc.ClientStream 3254} 3255 3256func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, error) { 3257 m := new(FindAllCommitsResponse) 3258 if err := x.ClientStream.RecvMsg(m); err != nil { 3259 return nil, err 3260 } 3261 return m, nil 3262} 3263 3264func (c *commitServiceClient) FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) { 3265 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[5], "/gitaly.CommitService/FindCommits", opts...) 3266 if err != nil { 3267 return nil, err 3268 } 3269 x := &commitServiceFindCommitsClient{stream} 3270 if err := x.ClientStream.SendMsg(in); err != nil { 3271 return nil, err 3272 } 3273 if err := x.ClientStream.CloseSend(); err != nil { 3274 return nil, err 3275 } 3276 return x, nil 3277} 3278 3279type CommitService_FindCommitsClient interface { 3280 Recv() (*FindCommitsResponse, error) 3281 grpc.ClientStream 3282} 3283 3284type commitServiceFindCommitsClient struct { 3285 grpc.ClientStream 3286} 3287 3288func (x *commitServiceFindCommitsClient) Recv() (*FindCommitsResponse, error) { 3289 m := new(FindCommitsResponse) 3290 if err := x.ClientStream.RecvMsg(m); err != nil { 3291 return nil, err 3292 } 3293 return m, nil 3294} 3295 3296func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) { 3297 out := new(CommitLanguagesResponse) 3298 err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitLanguages", in, out, opts...) 3299 if err != nil { 3300 return nil, err 3301 } 3302 return out, nil 3303} 3304 3305func (c *commitServiceClient) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) { 3306 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[6], "/gitaly.CommitService/RawBlame", opts...) 3307 if err != nil { 3308 return nil, err 3309 } 3310 x := &commitServiceRawBlameClient{stream} 3311 if err := x.ClientStream.SendMsg(in); err != nil { 3312 return nil, err 3313 } 3314 if err := x.ClientStream.CloseSend(); err != nil { 3315 return nil, err 3316 } 3317 return x, nil 3318} 3319 3320type CommitService_RawBlameClient interface { 3321 Recv() (*RawBlameResponse, error) 3322 grpc.ClientStream 3323} 3324 3325type commitServiceRawBlameClient struct { 3326 grpc.ClientStream 3327} 3328 3329func (x *commitServiceRawBlameClient) Recv() (*RawBlameResponse, error) { 3330 m := new(RawBlameResponse) 3331 if err := x.ClientStream.RecvMsg(m); err != nil { 3332 return nil, err 3333 } 3334 return m, nil 3335} 3336 3337func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) { 3338 out := new(LastCommitForPathResponse) 3339 err := c.cc.Invoke(ctx, "/gitaly.CommitService/LastCommitForPath", in, out, opts...) 3340 if err != nil { 3341 return nil, err 3342 } 3343 return out, nil 3344} 3345 3346func (c *commitServiceClient) ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) { 3347 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[7], "/gitaly.CommitService/ListLastCommitsForTree", opts...) 3348 if err != nil { 3349 return nil, err 3350 } 3351 x := &commitServiceListLastCommitsForTreeClient{stream} 3352 if err := x.ClientStream.SendMsg(in); err != nil { 3353 return nil, err 3354 } 3355 if err := x.ClientStream.CloseSend(); err != nil { 3356 return nil, err 3357 } 3358 return x, nil 3359} 3360 3361type CommitService_ListLastCommitsForTreeClient interface { 3362 Recv() (*ListLastCommitsForTreeResponse, error) 3363 grpc.ClientStream 3364} 3365 3366type commitServiceListLastCommitsForTreeClient struct { 3367 grpc.ClientStream 3368} 3369 3370func (x *commitServiceListLastCommitsForTreeClient) Recv() (*ListLastCommitsForTreeResponse, error) { 3371 m := new(ListLastCommitsForTreeResponse) 3372 if err := x.ClientStream.RecvMsg(m); err != nil { 3373 return nil, err 3374 } 3375 return m, nil 3376} 3377 3378func (c *commitServiceClient) CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) { 3379 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[8], "/gitaly.CommitService/CommitsByMessage", opts...) 3380 if err != nil { 3381 return nil, err 3382 } 3383 x := &commitServiceCommitsByMessageClient{stream} 3384 if err := x.ClientStream.SendMsg(in); err != nil { 3385 return nil, err 3386 } 3387 if err := x.ClientStream.CloseSend(); err != nil { 3388 return nil, err 3389 } 3390 return x, nil 3391} 3392 3393type CommitService_CommitsByMessageClient interface { 3394 Recv() (*CommitsByMessageResponse, error) 3395 grpc.ClientStream 3396} 3397 3398type commitServiceCommitsByMessageClient struct { 3399 grpc.ClientStream 3400} 3401 3402func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse, error) { 3403 m := new(CommitsByMessageResponse) 3404 if err := x.ClientStream.RecvMsg(m); err != nil { 3405 return nil, err 3406 } 3407 return m, nil 3408} 3409 3410func (c *commitServiceClient) ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) { 3411 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[9], "/gitaly.CommitService/ListCommitsByOid", opts...) 3412 if err != nil { 3413 return nil, err 3414 } 3415 x := &commitServiceListCommitsByOidClient{stream} 3416 if err := x.ClientStream.SendMsg(in); err != nil { 3417 return nil, err 3418 } 3419 if err := x.ClientStream.CloseSend(); err != nil { 3420 return nil, err 3421 } 3422 return x, nil 3423} 3424 3425type CommitService_ListCommitsByOidClient interface { 3426 Recv() (*ListCommitsByOidResponse, error) 3427 grpc.ClientStream 3428} 3429 3430type commitServiceListCommitsByOidClient struct { 3431 grpc.ClientStream 3432} 3433 3434func (x *commitServiceListCommitsByOidClient) Recv() (*ListCommitsByOidResponse, error) { 3435 m := new(ListCommitsByOidResponse) 3436 if err := x.ClientStream.RecvMsg(m); err != nil { 3437 return nil, err 3438 } 3439 return m, nil 3440} 3441 3442func (c *commitServiceClient) ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) { 3443 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[10], "/gitaly.CommitService/ListCommitsByRefName", opts...) 3444 if err != nil { 3445 return nil, err 3446 } 3447 x := &commitServiceListCommitsByRefNameClient{stream} 3448 if err := x.ClientStream.SendMsg(in); err != nil { 3449 return nil, err 3450 } 3451 if err := x.ClientStream.CloseSend(); err != nil { 3452 return nil, err 3453 } 3454 return x, nil 3455} 3456 3457type CommitService_ListCommitsByRefNameClient interface { 3458 Recv() (*ListCommitsByRefNameResponse, error) 3459 grpc.ClientStream 3460} 3461 3462type commitServiceListCommitsByRefNameClient struct { 3463 grpc.ClientStream 3464} 3465 3466func (x *commitServiceListCommitsByRefNameClient) Recv() (*ListCommitsByRefNameResponse, error) { 3467 m := new(ListCommitsByRefNameResponse) 3468 if err := x.ClientStream.RecvMsg(m); err != nil { 3469 return nil, err 3470 } 3471 return m, nil 3472} 3473 3474func (c *commitServiceClient) FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) { 3475 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[11], "/gitaly.CommitService/FilterShasWithSignatures", opts...) 3476 if err != nil { 3477 return nil, err 3478 } 3479 x := &commitServiceFilterShasWithSignaturesClient{stream} 3480 return x, nil 3481} 3482 3483type CommitService_FilterShasWithSignaturesClient interface { 3484 Send(*FilterShasWithSignaturesRequest) error 3485 Recv() (*FilterShasWithSignaturesResponse, error) 3486 grpc.ClientStream 3487} 3488 3489type commitServiceFilterShasWithSignaturesClient struct { 3490 grpc.ClientStream 3491} 3492 3493func (x *commitServiceFilterShasWithSignaturesClient) Send(m *FilterShasWithSignaturesRequest) error { 3494 return x.ClientStream.SendMsg(m) 3495} 3496 3497func (x *commitServiceFilterShasWithSignaturesClient) Recv() (*FilterShasWithSignaturesResponse, error) { 3498 m := new(FilterShasWithSignaturesResponse) 3499 if err := x.ClientStream.RecvMsg(m); err != nil { 3500 return nil, err 3501 } 3502 return m, nil 3503} 3504 3505func (c *commitServiceClient) GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) { 3506 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[12], "/gitaly.CommitService/GetCommitSignatures", opts...) 3507 if err != nil { 3508 return nil, err 3509 } 3510 x := &commitServiceGetCommitSignaturesClient{stream} 3511 if err := x.ClientStream.SendMsg(in); err != nil { 3512 return nil, err 3513 } 3514 if err := x.ClientStream.CloseSend(); err != nil { 3515 return nil, err 3516 } 3517 return x, nil 3518} 3519 3520type CommitService_GetCommitSignaturesClient interface { 3521 Recv() (*GetCommitSignaturesResponse, error) 3522 grpc.ClientStream 3523} 3524 3525type commitServiceGetCommitSignaturesClient struct { 3526 grpc.ClientStream 3527} 3528 3529func (x *commitServiceGetCommitSignaturesClient) Recv() (*GetCommitSignaturesResponse, error) { 3530 m := new(GetCommitSignaturesResponse) 3531 if err := x.ClientStream.RecvMsg(m); err != nil { 3532 return nil, err 3533 } 3534 return m, nil 3535} 3536 3537func (c *commitServiceClient) GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) { 3538 stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[13], "/gitaly.CommitService/GetCommitMessages", opts...) 3539 if err != nil { 3540 return nil, err 3541 } 3542 x := &commitServiceGetCommitMessagesClient{stream} 3543 if err := x.ClientStream.SendMsg(in); err != nil { 3544 return nil, err 3545 } 3546 if err := x.ClientStream.CloseSend(); err != nil { 3547 return nil, err 3548 } 3549 return x, nil 3550} 3551 3552type CommitService_GetCommitMessagesClient interface { 3553 Recv() (*GetCommitMessagesResponse, error) 3554 grpc.ClientStream 3555} 3556 3557type commitServiceGetCommitMessagesClient struct { 3558 grpc.ClientStream 3559} 3560 3561func (x *commitServiceGetCommitMessagesClient) Recv() (*GetCommitMessagesResponse, error) { 3562 m := new(GetCommitMessagesResponse) 3563 if err := x.ClientStream.RecvMsg(m); err != nil { 3564 return nil, err 3565 } 3566 return m, nil 3567} 3568 3569// CommitServiceServer is the server API for CommitService service. 3570type CommitServiceServer interface { 3571 CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) 3572 TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error 3573 CommitsBetween(*CommitsBetweenRequest, CommitService_CommitsBetweenServer) error 3574 CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) 3575 CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) 3576 GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error 3577 ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error 3578 FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) 3579 CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) 3580 // Use a stream to paginate the result set 3581 FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error 3582 FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error 3583 CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) 3584 RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error 3585 LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) 3586 ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error 3587 CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error 3588 ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error 3589 ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error 3590 FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error 3591 GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error 3592 GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error 3593} 3594 3595// UnimplementedCommitServiceServer can be embedded to have forward compatible implementations. 3596type UnimplementedCommitServiceServer struct { 3597} 3598 3599func (*UnimplementedCommitServiceServer) CommitIsAncestor(ctx context.Context, req *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) { 3600 return nil, status.Errorf(codes.Unimplemented, "method CommitIsAncestor not implemented") 3601} 3602func (*UnimplementedCommitServiceServer) TreeEntry(req *TreeEntryRequest, srv CommitService_TreeEntryServer) error { 3603 return status.Errorf(codes.Unimplemented, "method TreeEntry not implemented") 3604} 3605func (*UnimplementedCommitServiceServer) CommitsBetween(req *CommitsBetweenRequest, srv CommitService_CommitsBetweenServer) error { 3606 return status.Errorf(codes.Unimplemented, "method CommitsBetween not implemented") 3607} 3608func (*UnimplementedCommitServiceServer) CountCommits(ctx context.Context, req *CountCommitsRequest) (*CountCommitsResponse, error) { 3609 return nil, status.Errorf(codes.Unimplemented, "method CountCommits not implemented") 3610} 3611func (*UnimplementedCommitServiceServer) CountDivergingCommits(ctx context.Context, req *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) { 3612 return nil, status.Errorf(codes.Unimplemented, "method CountDivergingCommits not implemented") 3613} 3614func (*UnimplementedCommitServiceServer) GetTreeEntries(req *GetTreeEntriesRequest, srv CommitService_GetTreeEntriesServer) error { 3615 return status.Errorf(codes.Unimplemented, "method GetTreeEntries not implemented") 3616} 3617func (*UnimplementedCommitServiceServer) ListFiles(req *ListFilesRequest, srv CommitService_ListFilesServer) error { 3618 return status.Errorf(codes.Unimplemented, "method ListFiles not implemented") 3619} 3620func (*UnimplementedCommitServiceServer) FindCommit(ctx context.Context, req *FindCommitRequest) (*FindCommitResponse, error) { 3621 return nil, status.Errorf(codes.Unimplemented, "method FindCommit not implemented") 3622} 3623func (*UnimplementedCommitServiceServer) CommitStats(ctx context.Context, req *CommitStatsRequest) (*CommitStatsResponse, error) { 3624 return nil, status.Errorf(codes.Unimplemented, "method CommitStats not implemented") 3625} 3626func (*UnimplementedCommitServiceServer) FindAllCommits(req *FindAllCommitsRequest, srv CommitService_FindAllCommitsServer) error { 3627 return status.Errorf(codes.Unimplemented, "method FindAllCommits not implemented") 3628} 3629func (*UnimplementedCommitServiceServer) FindCommits(req *FindCommitsRequest, srv CommitService_FindCommitsServer) error { 3630 return status.Errorf(codes.Unimplemented, "method FindCommits not implemented") 3631} 3632func (*UnimplementedCommitServiceServer) CommitLanguages(ctx context.Context, req *CommitLanguagesRequest) (*CommitLanguagesResponse, error) { 3633 return nil, status.Errorf(codes.Unimplemented, "method CommitLanguages not implemented") 3634} 3635func (*UnimplementedCommitServiceServer) RawBlame(req *RawBlameRequest, srv CommitService_RawBlameServer) error { 3636 return status.Errorf(codes.Unimplemented, "method RawBlame not implemented") 3637} 3638func (*UnimplementedCommitServiceServer) LastCommitForPath(ctx context.Context, req *LastCommitForPathRequest) (*LastCommitForPathResponse, error) { 3639 return nil, status.Errorf(codes.Unimplemented, "method LastCommitForPath not implemented") 3640} 3641func (*UnimplementedCommitServiceServer) ListLastCommitsForTree(req *ListLastCommitsForTreeRequest, srv CommitService_ListLastCommitsForTreeServer) error { 3642 return status.Errorf(codes.Unimplemented, "method ListLastCommitsForTree not implemented") 3643} 3644func (*UnimplementedCommitServiceServer) CommitsByMessage(req *CommitsByMessageRequest, srv CommitService_CommitsByMessageServer) error { 3645 return status.Errorf(codes.Unimplemented, "method CommitsByMessage not implemented") 3646} 3647func (*UnimplementedCommitServiceServer) ListCommitsByOid(req *ListCommitsByOidRequest, srv CommitService_ListCommitsByOidServer) error { 3648 return status.Errorf(codes.Unimplemented, "method ListCommitsByOid not implemented") 3649} 3650func (*UnimplementedCommitServiceServer) ListCommitsByRefName(req *ListCommitsByRefNameRequest, srv CommitService_ListCommitsByRefNameServer) error { 3651 return status.Errorf(codes.Unimplemented, "method ListCommitsByRefName not implemented") 3652} 3653func (*UnimplementedCommitServiceServer) FilterShasWithSignatures(srv CommitService_FilterShasWithSignaturesServer) error { 3654 return status.Errorf(codes.Unimplemented, "method FilterShasWithSignatures not implemented") 3655} 3656func (*UnimplementedCommitServiceServer) GetCommitSignatures(req *GetCommitSignaturesRequest, srv CommitService_GetCommitSignaturesServer) error { 3657 return status.Errorf(codes.Unimplemented, "method GetCommitSignatures not implemented") 3658} 3659func (*UnimplementedCommitServiceServer) GetCommitMessages(req *GetCommitMessagesRequest, srv CommitService_GetCommitMessagesServer) error { 3660 return status.Errorf(codes.Unimplemented, "method GetCommitMessages not implemented") 3661} 3662 3663func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) { 3664 s.RegisterService(&_CommitService_serviceDesc, srv) 3665} 3666 3667func _CommitService_CommitIsAncestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3668 in := new(CommitIsAncestorRequest) 3669 if err := dec(in); err != nil { 3670 return nil, err 3671 } 3672 if interceptor == nil { 3673 return srv.(CommitServiceServer).CommitIsAncestor(ctx, in) 3674 } 3675 info := &grpc.UnaryServerInfo{ 3676 Server: srv, 3677 FullMethod: "/gitaly.CommitService/CommitIsAncestor", 3678 } 3679 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3680 return srv.(CommitServiceServer).CommitIsAncestor(ctx, req.(*CommitIsAncestorRequest)) 3681 } 3682 return interceptor(ctx, in, info, handler) 3683} 3684 3685func _CommitService_TreeEntry_Handler(srv interface{}, stream grpc.ServerStream) error { 3686 m := new(TreeEntryRequest) 3687 if err := stream.RecvMsg(m); err != nil { 3688 return err 3689 } 3690 return srv.(CommitServiceServer).TreeEntry(m, &commitServiceTreeEntryServer{stream}) 3691} 3692 3693type CommitService_TreeEntryServer interface { 3694 Send(*TreeEntryResponse) error 3695 grpc.ServerStream 3696} 3697 3698type commitServiceTreeEntryServer struct { 3699 grpc.ServerStream 3700} 3701 3702func (x *commitServiceTreeEntryServer) Send(m *TreeEntryResponse) error { 3703 return x.ServerStream.SendMsg(m) 3704} 3705 3706func _CommitService_CommitsBetween_Handler(srv interface{}, stream grpc.ServerStream) error { 3707 m := new(CommitsBetweenRequest) 3708 if err := stream.RecvMsg(m); err != nil { 3709 return err 3710 } 3711 return srv.(CommitServiceServer).CommitsBetween(m, &commitServiceCommitsBetweenServer{stream}) 3712} 3713 3714type CommitService_CommitsBetweenServer interface { 3715 Send(*CommitsBetweenResponse) error 3716 grpc.ServerStream 3717} 3718 3719type commitServiceCommitsBetweenServer struct { 3720 grpc.ServerStream 3721} 3722 3723func (x *commitServiceCommitsBetweenServer) Send(m *CommitsBetweenResponse) error { 3724 return x.ServerStream.SendMsg(m) 3725} 3726 3727func _CommitService_CountCommits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3728 in := new(CountCommitsRequest) 3729 if err := dec(in); err != nil { 3730 return nil, err 3731 } 3732 if interceptor == nil { 3733 return srv.(CommitServiceServer).CountCommits(ctx, in) 3734 } 3735 info := &grpc.UnaryServerInfo{ 3736 Server: srv, 3737 FullMethod: "/gitaly.CommitService/CountCommits", 3738 } 3739 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3740 return srv.(CommitServiceServer).CountCommits(ctx, req.(*CountCommitsRequest)) 3741 } 3742 return interceptor(ctx, in, info, handler) 3743} 3744 3745func _CommitService_CountDivergingCommits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3746 in := new(CountDivergingCommitsRequest) 3747 if err := dec(in); err != nil { 3748 return nil, err 3749 } 3750 if interceptor == nil { 3751 return srv.(CommitServiceServer).CountDivergingCommits(ctx, in) 3752 } 3753 info := &grpc.UnaryServerInfo{ 3754 Server: srv, 3755 FullMethod: "/gitaly.CommitService/CountDivergingCommits", 3756 } 3757 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3758 return srv.(CommitServiceServer).CountDivergingCommits(ctx, req.(*CountDivergingCommitsRequest)) 3759 } 3760 return interceptor(ctx, in, info, handler) 3761} 3762 3763func _CommitService_GetTreeEntries_Handler(srv interface{}, stream grpc.ServerStream) error { 3764 m := new(GetTreeEntriesRequest) 3765 if err := stream.RecvMsg(m); err != nil { 3766 return err 3767 } 3768 return srv.(CommitServiceServer).GetTreeEntries(m, &commitServiceGetTreeEntriesServer{stream}) 3769} 3770 3771type CommitService_GetTreeEntriesServer interface { 3772 Send(*GetTreeEntriesResponse) error 3773 grpc.ServerStream 3774} 3775 3776type commitServiceGetTreeEntriesServer struct { 3777 grpc.ServerStream 3778} 3779 3780func (x *commitServiceGetTreeEntriesServer) Send(m *GetTreeEntriesResponse) error { 3781 return x.ServerStream.SendMsg(m) 3782} 3783 3784func _CommitService_ListFiles_Handler(srv interface{}, stream grpc.ServerStream) error { 3785 m := new(ListFilesRequest) 3786 if err := stream.RecvMsg(m); err != nil { 3787 return err 3788 } 3789 return srv.(CommitServiceServer).ListFiles(m, &commitServiceListFilesServer{stream}) 3790} 3791 3792type CommitService_ListFilesServer interface { 3793 Send(*ListFilesResponse) error 3794 grpc.ServerStream 3795} 3796 3797type commitServiceListFilesServer struct { 3798 grpc.ServerStream 3799} 3800 3801func (x *commitServiceListFilesServer) Send(m *ListFilesResponse) error { 3802 return x.ServerStream.SendMsg(m) 3803} 3804 3805func _CommitService_FindCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3806 in := new(FindCommitRequest) 3807 if err := dec(in); err != nil { 3808 return nil, err 3809 } 3810 if interceptor == nil { 3811 return srv.(CommitServiceServer).FindCommit(ctx, in) 3812 } 3813 info := &grpc.UnaryServerInfo{ 3814 Server: srv, 3815 FullMethod: "/gitaly.CommitService/FindCommit", 3816 } 3817 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3818 return srv.(CommitServiceServer).FindCommit(ctx, req.(*FindCommitRequest)) 3819 } 3820 return interceptor(ctx, in, info, handler) 3821} 3822 3823func _CommitService_CommitStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3824 in := new(CommitStatsRequest) 3825 if err := dec(in); err != nil { 3826 return nil, err 3827 } 3828 if interceptor == nil { 3829 return srv.(CommitServiceServer).CommitStats(ctx, in) 3830 } 3831 info := &grpc.UnaryServerInfo{ 3832 Server: srv, 3833 FullMethod: "/gitaly.CommitService/CommitStats", 3834 } 3835 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3836 return srv.(CommitServiceServer).CommitStats(ctx, req.(*CommitStatsRequest)) 3837 } 3838 return interceptor(ctx, in, info, handler) 3839} 3840 3841func _CommitService_FindAllCommits_Handler(srv interface{}, stream grpc.ServerStream) error { 3842 m := new(FindAllCommitsRequest) 3843 if err := stream.RecvMsg(m); err != nil { 3844 return err 3845 } 3846 return srv.(CommitServiceServer).FindAllCommits(m, &commitServiceFindAllCommitsServer{stream}) 3847} 3848 3849type CommitService_FindAllCommitsServer interface { 3850 Send(*FindAllCommitsResponse) error 3851 grpc.ServerStream 3852} 3853 3854type commitServiceFindAllCommitsServer struct { 3855 grpc.ServerStream 3856} 3857 3858func (x *commitServiceFindAllCommitsServer) Send(m *FindAllCommitsResponse) error { 3859 return x.ServerStream.SendMsg(m) 3860} 3861 3862func _CommitService_FindCommits_Handler(srv interface{}, stream grpc.ServerStream) error { 3863 m := new(FindCommitsRequest) 3864 if err := stream.RecvMsg(m); err != nil { 3865 return err 3866 } 3867 return srv.(CommitServiceServer).FindCommits(m, &commitServiceFindCommitsServer{stream}) 3868} 3869 3870type CommitService_FindCommitsServer interface { 3871 Send(*FindCommitsResponse) error 3872 grpc.ServerStream 3873} 3874 3875type commitServiceFindCommitsServer struct { 3876 grpc.ServerStream 3877} 3878 3879func (x *commitServiceFindCommitsServer) Send(m *FindCommitsResponse) error { 3880 return x.ServerStream.SendMsg(m) 3881} 3882 3883func _CommitService_CommitLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3884 in := new(CommitLanguagesRequest) 3885 if err := dec(in); err != nil { 3886 return nil, err 3887 } 3888 if interceptor == nil { 3889 return srv.(CommitServiceServer).CommitLanguages(ctx, in) 3890 } 3891 info := &grpc.UnaryServerInfo{ 3892 Server: srv, 3893 FullMethod: "/gitaly.CommitService/CommitLanguages", 3894 } 3895 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3896 return srv.(CommitServiceServer).CommitLanguages(ctx, req.(*CommitLanguagesRequest)) 3897 } 3898 return interceptor(ctx, in, info, handler) 3899} 3900 3901func _CommitService_RawBlame_Handler(srv interface{}, stream grpc.ServerStream) error { 3902 m := new(RawBlameRequest) 3903 if err := stream.RecvMsg(m); err != nil { 3904 return err 3905 } 3906 return srv.(CommitServiceServer).RawBlame(m, &commitServiceRawBlameServer{stream}) 3907} 3908 3909type CommitService_RawBlameServer interface { 3910 Send(*RawBlameResponse) error 3911 grpc.ServerStream 3912} 3913 3914type commitServiceRawBlameServer struct { 3915 grpc.ServerStream 3916} 3917 3918func (x *commitServiceRawBlameServer) Send(m *RawBlameResponse) error { 3919 return x.ServerStream.SendMsg(m) 3920} 3921 3922func _CommitService_LastCommitForPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3923 in := new(LastCommitForPathRequest) 3924 if err := dec(in); err != nil { 3925 return nil, err 3926 } 3927 if interceptor == nil { 3928 return srv.(CommitServiceServer).LastCommitForPath(ctx, in) 3929 } 3930 info := &grpc.UnaryServerInfo{ 3931 Server: srv, 3932 FullMethod: "/gitaly.CommitService/LastCommitForPath", 3933 } 3934 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3935 return srv.(CommitServiceServer).LastCommitForPath(ctx, req.(*LastCommitForPathRequest)) 3936 } 3937 return interceptor(ctx, in, info, handler) 3938} 3939 3940func _CommitService_ListLastCommitsForTree_Handler(srv interface{}, stream grpc.ServerStream) error { 3941 m := new(ListLastCommitsForTreeRequest) 3942 if err := stream.RecvMsg(m); err != nil { 3943 return err 3944 } 3945 return srv.(CommitServiceServer).ListLastCommitsForTree(m, &commitServiceListLastCommitsForTreeServer{stream}) 3946} 3947 3948type CommitService_ListLastCommitsForTreeServer interface { 3949 Send(*ListLastCommitsForTreeResponse) error 3950 grpc.ServerStream 3951} 3952 3953type commitServiceListLastCommitsForTreeServer struct { 3954 grpc.ServerStream 3955} 3956 3957func (x *commitServiceListLastCommitsForTreeServer) Send(m *ListLastCommitsForTreeResponse) error { 3958 return x.ServerStream.SendMsg(m) 3959} 3960 3961func _CommitService_CommitsByMessage_Handler(srv interface{}, stream grpc.ServerStream) error { 3962 m := new(CommitsByMessageRequest) 3963 if err := stream.RecvMsg(m); err != nil { 3964 return err 3965 } 3966 return srv.(CommitServiceServer).CommitsByMessage(m, &commitServiceCommitsByMessageServer{stream}) 3967} 3968 3969type CommitService_CommitsByMessageServer interface { 3970 Send(*CommitsByMessageResponse) error 3971 grpc.ServerStream 3972} 3973 3974type commitServiceCommitsByMessageServer struct { 3975 grpc.ServerStream 3976} 3977 3978func (x *commitServiceCommitsByMessageServer) Send(m *CommitsByMessageResponse) error { 3979 return x.ServerStream.SendMsg(m) 3980} 3981 3982func _CommitService_ListCommitsByOid_Handler(srv interface{}, stream grpc.ServerStream) error { 3983 m := new(ListCommitsByOidRequest) 3984 if err := stream.RecvMsg(m); err != nil { 3985 return err 3986 } 3987 return srv.(CommitServiceServer).ListCommitsByOid(m, &commitServiceListCommitsByOidServer{stream}) 3988} 3989 3990type CommitService_ListCommitsByOidServer interface { 3991 Send(*ListCommitsByOidResponse) error 3992 grpc.ServerStream 3993} 3994 3995type commitServiceListCommitsByOidServer struct { 3996 grpc.ServerStream 3997} 3998 3999func (x *commitServiceListCommitsByOidServer) Send(m *ListCommitsByOidResponse) error { 4000 return x.ServerStream.SendMsg(m) 4001} 4002 4003func _CommitService_ListCommitsByRefName_Handler(srv interface{}, stream grpc.ServerStream) error { 4004 m := new(ListCommitsByRefNameRequest) 4005 if err := stream.RecvMsg(m); err != nil { 4006 return err 4007 } 4008 return srv.(CommitServiceServer).ListCommitsByRefName(m, &commitServiceListCommitsByRefNameServer{stream}) 4009} 4010 4011type CommitService_ListCommitsByRefNameServer interface { 4012 Send(*ListCommitsByRefNameResponse) error 4013 grpc.ServerStream 4014} 4015 4016type commitServiceListCommitsByRefNameServer struct { 4017 grpc.ServerStream 4018} 4019 4020func (x *commitServiceListCommitsByRefNameServer) Send(m *ListCommitsByRefNameResponse) error { 4021 return x.ServerStream.SendMsg(m) 4022} 4023 4024func _CommitService_FilterShasWithSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { 4025 return srv.(CommitServiceServer).FilterShasWithSignatures(&commitServiceFilterShasWithSignaturesServer{stream}) 4026} 4027 4028type CommitService_FilterShasWithSignaturesServer interface { 4029 Send(*FilterShasWithSignaturesResponse) error 4030 Recv() (*FilterShasWithSignaturesRequest, error) 4031 grpc.ServerStream 4032} 4033 4034type commitServiceFilterShasWithSignaturesServer struct { 4035 grpc.ServerStream 4036} 4037 4038func (x *commitServiceFilterShasWithSignaturesServer) Send(m *FilterShasWithSignaturesResponse) error { 4039 return x.ServerStream.SendMsg(m) 4040} 4041 4042func (x *commitServiceFilterShasWithSignaturesServer) Recv() (*FilterShasWithSignaturesRequest, error) { 4043 m := new(FilterShasWithSignaturesRequest) 4044 if err := x.ServerStream.RecvMsg(m); err != nil { 4045 return nil, err 4046 } 4047 return m, nil 4048} 4049 4050func _CommitService_GetCommitSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { 4051 m := new(GetCommitSignaturesRequest) 4052 if err := stream.RecvMsg(m); err != nil { 4053 return err 4054 } 4055 return srv.(CommitServiceServer).GetCommitSignatures(m, &commitServiceGetCommitSignaturesServer{stream}) 4056} 4057 4058type CommitService_GetCommitSignaturesServer interface { 4059 Send(*GetCommitSignaturesResponse) error 4060 grpc.ServerStream 4061} 4062 4063type commitServiceGetCommitSignaturesServer struct { 4064 grpc.ServerStream 4065} 4066 4067func (x *commitServiceGetCommitSignaturesServer) Send(m *GetCommitSignaturesResponse) error { 4068 return x.ServerStream.SendMsg(m) 4069} 4070 4071func _CommitService_GetCommitMessages_Handler(srv interface{}, stream grpc.ServerStream) error { 4072 m := new(GetCommitMessagesRequest) 4073 if err := stream.RecvMsg(m); err != nil { 4074 return err 4075 } 4076 return srv.(CommitServiceServer).GetCommitMessages(m, &commitServiceGetCommitMessagesServer{stream}) 4077} 4078 4079type CommitService_GetCommitMessagesServer interface { 4080 Send(*GetCommitMessagesResponse) error 4081 grpc.ServerStream 4082} 4083 4084type commitServiceGetCommitMessagesServer struct { 4085 grpc.ServerStream 4086} 4087 4088func (x *commitServiceGetCommitMessagesServer) Send(m *GetCommitMessagesResponse) error { 4089 return x.ServerStream.SendMsg(m) 4090} 4091 4092var _CommitService_serviceDesc = grpc.ServiceDesc{ 4093 ServiceName: "gitaly.CommitService", 4094 HandlerType: (*CommitServiceServer)(nil), 4095 Methods: []grpc.MethodDesc{ 4096 { 4097 MethodName: "CommitIsAncestor", 4098 Handler: _CommitService_CommitIsAncestor_Handler, 4099 }, 4100 { 4101 MethodName: "CountCommits", 4102 Handler: _CommitService_CountCommits_Handler, 4103 }, 4104 { 4105 MethodName: "CountDivergingCommits", 4106 Handler: _CommitService_CountDivergingCommits_Handler, 4107 }, 4108 { 4109 MethodName: "FindCommit", 4110 Handler: _CommitService_FindCommit_Handler, 4111 }, 4112 { 4113 MethodName: "CommitStats", 4114 Handler: _CommitService_CommitStats_Handler, 4115 }, 4116 { 4117 MethodName: "CommitLanguages", 4118 Handler: _CommitService_CommitLanguages_Handler, 4119 }, 4120 { 4121 MethodName: "LastCommitForPath", 4122 Handler: _CommitService_LastCommitForPath_Handler, 4123 }, 4124 }, 4125 Streams: []grpc.StreamDesc{ 4126 { 4127 StreamName: "TreeEntry", 4128 Handler: _CommitService_TreeEntry_Handler, 4129 ServerStreams: true, 4130 }, 4131 { 4132 StreamName: "CommitsBetween", 4133 Handler: _CommitService_CommitsBetween_Handler, 4134 ServerStreams: true, 4135 }, 4136 { 4137 StreamName: "GetTreeEntries", 4138 Handler: _CommitService_GetTreeEntries_Handler, 4139 ServerStreams: true, 4140 }, 4141 { 4142 StreamName: "ListFiles", 4143 Handler: _CommitService_ListFiles_Handler, 4144 ServerStreams: true, 4145 }, 4146 { 4147 StreamName: "FindAllCommits", 4148 Handler: _CommitService_FindAllCommits_Handler, 4149 ServerStreams: true, 4150 }, 4151 { 4152 StreamName: "FindCommits", 4153 Handler: _CommitService_FindCommits_Handler, 4154 ServerStreams: true, 4155 }, 4156 { 4157 StreamName: "RawBlame", 4158 Handler: _CommitService_RawBlame_Handler, 4159 ServerStreams: true, 4160 }, 4161 { 4162 StreamName: "ListLastCommitsForTree", 4163 Handler: _CommitService_ListLastCommitsForTree_Handler, 4164 ServerStreams: true, 4165 }, 4166 { 4167 StreamName: "CommitsByMessage", 4168 Handler: _CommitService_CommitsByMessage_Handler, 4169 ServerStreams: true, 4170 }, 4171 { 4172 StreamName: "ListCommitsByOid", 4173 Handler: _CommitService_ListCommitsByOid_Handler, 4174 ServerStreams: true, 4175 }, 4176 { 4177 StreamName: "ListCommitsByRefName", 4178 Handler: _CommitService_ListCommitsByRefName_Handler, 4179 ServerStreams: true, 4180 }, 4181 { 4182 StreamName: "FilterShasWithSignatures", 4183 Handler: _CommitService_FilterShasWithSignatures_Handler, 4184 ServerStreams: true, 4185 ClientStreams: true, 4186 }, 4187 { 4188 StreamName: "GetCommitSignatures", 4189 Handler: _CommitService_GetCommitSignatures_Handler, 4190 ServerStreams: true, 4191 }, 4192 { 4193 StreamName: "GetCommitMessages", 4194 Handler: _CommitService_GetCommitMessages_Handler, 4195 ServerStreams: true, 4196 }, 4197 }, 4198 Metadata: "commit.proto", 4199} 4200