github.com/pachyderm/pachyderm@v1.13.4/src/server/worker/common/common.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: server/worker/common/common.proto
     3  
     4  package common
     5  
     6  import (
     7  	fmt "fmt"
     8  	_ "github.com/gogo/protobuf/gogoproto"
     9  	proto "github.com/gogo/protobuf/proto"
    10  	pfs "github.com/pachyderm/pachyderm/src/client/pfs"
    11  	io "io"
    12  	math "math"
    13  	math_bits "math/bits"
    14  )
    15  
    16  // Reference imports to suppress errors if they are not otherwise used.
    17  var _ = proto.Marshal
    18  var _ = fmt.Errorf
    19  var _ = math.Inf
    20  
    21  // This is a compile-time assertion to ensure that this generated file
    22  // is compatible with the proto package it is being compiled against.
    23  // A compilation error at this line likely means your copy of the
    24  // proto package needs to be updated.
    25  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    26  
    27  type Input struct {
    28  	FileInfo             *pfs.FileInfo `protobuf:"bytes,1,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"`
    29  	ParentCommit         *pfs.Commit   `protobuf:"bytes,5,opt,name=parent_commit,json=parentCommit,proto3" json:"parent_commit,omitempty"`
    30  	Name                 string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    31  	JoinOn               string        `protobuf:"bytes,8,opt,name=join_on,json=joinOn,proto3" json:"join_on,omitempty"`
    32  	GroupBy              string        `protobuf:"bytes,10,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
    33  	Lazy                 bool          `protobuf:"varint,3,opt,name=lazy,proto3" json:"lazy,omitempty"`
    34  	Branch               string        `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
    35  	GitURL               string        `protobuf:"bytes,6,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"`
    36  	EmptyFiles           bool          `protobuf:"varint,7,opt,name=empty_files,json=emptyFiles,proto3" json:"empty_files,omitempty"`
    37  	S3                   bool          `protobuf:"varint,9,opt,name=s3,proto3" json:"s3,omitempty"`
    38  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    39  	XXX_unrecognized     []byte        `json:"-"`
    40  	XXX_sizecache        int32         `json:"-"`
    41  }
    42  
    43  func (m *Input) Reset()         { *m = Input{} }
    44  func (m *Input) String() string { return proto.CompactTextString(m) }
    45  func (*Input) ProtoMessage()    {}
    46  func (*Input) Descriptor() ([]byte, []int) {
    47  	return fileDescriptor_91fb6c79ddd9db74, []int{0}
    48  }
    49  func (m *Input) XXX_Unmarshal(b []byte) error {
    50  	return m.Unmarshal(b)
    51  }
    52  func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    53  	if deterministic {
    54  		return xxx_messageInfo_Input.Marshal(b, m, deterministic)
    55  	} else {
    56  		b = b[:cap(b)]
    57  		n, err := m.MarshalToSizedBuffer(b)
    58  		if err != nil {
    59  			return nil, err
    60  		}
    61  		return b[:n], nil
    62  	}
    63  }
    64  func (m *Input) XXX_Merge(src proto.Message) {
    65  	xxx_messageInfo_Input.Merge(m, src)
    66  }
    67  func (m *Input) XXX_Size() int {
    68  	return m.Size()
    69  }
    70  func (m *Input) XXX_DiscardUnknown() {
    71  	xxx_messageInfo_Input.DiscardUnknown(m)
    72  }
    73  
    74  var xxx_messageInfo_Input proto.InternalMessageInfo
    75  
    76  func (m *Input) GetFileInfo() *pfs.FileInfo {
    77  	if m != nil {
    78  		return m.FileInfo
    79  	}
    80  	return nil
    81  }
    82  
    83  func (m *Input) GetParentCommit() *pfs.Commit {
    84  	if m != nil {
    85  		return m.ParentCommit
    86  	}
    87  	return nil
    88  }
    89  
    90  func (m *Input) GetName() string {
    91  	if m != nil {
    92  		return m.Name
    93  	}
    94  	return ""
    95  }
    96  
    97  func (m *Input) GetJoinOn() string {
    98  	if m != nil {
    99  		return m.JoinOn
   100  	}
   101  	return ""
   102  }
   103  
   104  func (m *Input) GetGroupBy() string {
   105  	if m != nil {
   106  		return m.GroupBy
   107  	}
   108  	return ""
   109  }
   110  
   111  func (m *Input) GetLazy() bool {
   112  	if m != nil {
   113  		return m.Lazy
   114  	}
   115  	return false
   116  }
   117  
   118  func (m *Input) GetBranch() string {
   119  	if m != nil {
   120  		return m.Branch
   121  	}
   122  	return ""
   123  }
   124  
   125  func (m *Input) GetGitURL() string {
   126  	if m != nil {
   127  		return m.GitURL
   128  	}
   129  	return ""
   130  }
   131  
   132  func (m *Input) GetEmptyFiles() bool {
   133  	if m != nil {
   134  		return m.EmptyFiles
   135  	}
   136  	return false
   137  }
   138  
   139  func (m *Input) GetS3() bool {
   140  	if m != nil {
   141  		return m.S3
   142  	}
   143  	return false
   144  }
   145  
   146  func init() {
   147  	proto.RegisterType((*Input)(nil), "common.Input")
   148  }
   149  
   150  func init() { proto.RegisterFile("server/worker/common/common.proto", fileDescriptor_91fb6c79ddd9db74) }
   151  
   152  var fileDescriptor_91fb6c79ddd9db74 = []byte{
   153  	// 352 bytes of a gzipped FileDescriptorProto
   154  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xb1, 0x4e, 0xeb, 0x30,
   155  	0x14, 0x86, 0x95, 0xdc, 0x36, 0x49, 0x4f, 0x6f, 0xef, 0x60, 0x55, 0x17, 0xd3, 0xa1, 0x2d, 0xb0,
   156  	0x54, 0x0c, 0x0d, 0xa2, 0x03, 0x7b, 0x11, 0xa0, 0x4a, 0x48, 0x48, 0x91, 0xba, 0xb0, 0x44, 0x49,
   157  	0x70, 0x52, 0x43, 0x62, 0x47, 0xb6, 0x03, 0x0a, 0x2f, 0xc5, 0x6b, 0x30, 0xf2, 0x04, 0x08, 0xe5,
   158  	0x49, 0x90, 0xed, 0x0e, 0x0c, 0x0c, 0x96, 0xbf, 0xff, 0x3f, 0xc7, 0xbf, 0x75, 0x6c, 0x38, 0x92,
   159  	0x44, 0x3c, 0x13, 0x11, 0xbe, 0x70, 0xf1, 0x44, 0x44, 0x98, 0xf1, 0xaa, 0xe2, 0x6c, 0xbf, 0x2d,
   160  	0x6b, 0xc1, 0x15, 0x47, 0x9e, 0x55, 0x93, 0x71, 0x56, 0x52, 0xc2, 0x54, 0x58, 0xe7, 0x52, 0x2f,
   161  	0x5b, 0x9d, 0x8c, 0x0b, 0x5e, 0x70, 0x83, 0xa1, 0x26, 0xeb, 0x1e, 0xbf, 0xb9, 0xd0, 0xdf, 0xb0,
   162  	0xba, 0x51, 0xe8, 0x14, 0x06, 0x39, 0x2d, 0x49, 0x4c, 0x59, 0xce, 0xb1, 0x33, 0x77, 0x16, 0xc3,
   163  	0xf3, 0xd1, 0x52, 0x1f, 0xbf, 0xa6, 0x25, 0xd9, 0xb0, 0x9c, 0x47, 0x41, 0xbe, 0x27, 0x74, 0x06,
   164  	0xa3, 0x3a, 0x11, 0x84, 0xa9, 0x58, 0x5f, 0x49, 0x15, 0xee, 0x9b, 0xfe, 0xa1, 0xe9, 0xbf, 0x34,
   165  	0x56, 0xf4, 0xd7, 0x76, 0x58, 0x85, 0x10, 0xf4, 0x58, 0x52, 0x11, 0xec, 0xce, 0x9d, 0xc5, 0x20,
   166  	0x32, 0x8c, 0x0e, 0xc0, 0x7f, 0xe4, 0x94, 0xc5, 0x9c, 0xe1, 0xc0, 0xd8, 0x9e, 0x96, 0x77, 0x0c,
   167  	0x1d, 0x42, 0x50, 0x08, 0xde, 0xd4, 0x71, 0xda, 0x62, 0x30, 0x15, 0xdf, 0xe8, 0x75, 0xab, 0x73,
   168  	0xca, 0xe4, 0xb5, 0xc5, 0x7f, 0xe6, 0xce, 0x22, 0x88, 0x0c, 0xa3, 0xff, 0xe0, 0xa5, 0x22, 0x61,
   169  	0xd9, 0x0e, 0xf7, 0x6c, 0x8c, 0x55, 0xe8, 0x04, 0xfc, 0x82, 0xaa, 0xb8, 0x11, 0x25, 0xf6, 0x74,
   170  	0x61, 0x0d, 0xdd, 0xe7, 0xcc, 0xbb, 0xa1, 0x6a, 0x1b, 0xdd, 0x46, 0x5e, 0x41, 0xd5, 0x56, 0x94,
   171  	0x68, 0x06, 0x43, 0x52, 0xd5, 0xaa, 0x8d, 0xf5, 0x70, 0x12, 0xfb, 0x26, 0x17, 0x8c, 0xa5, 0x07,
   172  	0x97, 0xe8, 0x1f, 0xb8, 0x72, 0x85, 0x07, 0xc6, 0x77, 0xe5, 0x6a, 0x7d, 0xf5, 0xde, 0x4d, 0x9d,
   173  	0x8f, 0x6e, 0xea, 0x7c, 0x75, 0x53, 0xe7, 0xfe, 0xa2, 0xa0, 0x6a, 0xd7, 0xa4, 0xcb, 0x8c, 0x57,
   174  	0x61, 0x9d, 0x64, 0xbb, 0xf6, 0x81, 0x88, 0x9f, 0x24, 0x45, 0x16, 0xfe, 0xf6, 0x73, 0xa9, 0x67,
   175  	0xde, 0x7f, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x9e, 0xf6, 0x08, 0xd8, 0x01, 0x00, 0x00,
   176  }
   177  
   178  func (m *Input) Marshal() (dAtA []byte, err error) {
   179  	size := m.Size()
   180  	dAtA = make([]byte, size)
   181  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   182  	if err != nil {
   183  		return nil, err
   184  	}
   185  	return dAtA[:n], nil
   186  }
   187  
   188  func (m *Input) MarshalTo(dAtA []byte) (int, error) {
   189  	size := m.Size()
   190  	return m.MarshalToSizedBuffer(dAtA[:size])
   191  }
   192  
   193  func (m *Input) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   194  	i := len(dAtA)
   195  	_ = i
   196  	var l int
   197  	_ = l
   198  	if m.XXX_unrecognized != nil {
   199  		i -= len(m.XXX_unrecognized)
   200  		copy(dAtA[i:], m.XXX_unrecognized)
   201  	}
   202  	if len(m.GroupBy) > 0 {
   203  		i -= len(m.GroupBy)
   204  		copy(dAtA[i:], m.GroupBy)
   205  		i = encodeVarintCommon(dAtA, i, uint64(len(m.GroupBy)))
   206  		i--
   207  		dAtA[i] = 0x52
   208  	}
   209  	if m.S3 {
   210  		i--
   211  		if m.S3 {
   212  			dAtA[i] = 1
   213  		} else {
   214  			dAtA[i] = 0
   215  		}
   216  		i--
   217  		dAtA[i] = 0x48
   218  	}
   219  	if len(m.JoinOn) > 0 {
   220  		i -= len(m.JoinOn)
   221  		copy(dAtA[i:], m.JoinOn)
   222  		i = encodeVarintCommon(dAtA, i, uint64(len(m.JoinOn)))
   223  		i--
   224  		dAtA[i] = 0x42
   225  	}
   226  	if m.EmptyFiles {
   227  		i--
   228  		if m.EmptyFiles {
   229  			dAtA[i] = 1
   230  		} else {
   231  			dAtA[i] = 0
   232  		}
   233  		i--
   234  		dAtA[i] = 0x38
   235  	}
   236  	if len(m.GitURL) > 0 {
   237  		i -= len(m.GitURL)
   238  		copy(dAtA[i:], m.GitURL)
   239  		i = encodeVarintCommon(dAtA, i, uint64(len(m.GitURL)))
   240  		i--
   241  		dAtA[i] = 0x32
   242  	}
   243  	if m.ParentCommit != nil {
   244  		{
   245  			size, err := m.ParentCommit.MarshalToSizedBuffer(dAtA[:i])
   246  			if err != nil {
   247  				return 0, err
   248  			}
   249  			i -= size
   250  			i = encodeVarintCommon(dAtA, i, uint64(size))
   251  		}
   252  		i--
   253  		dAtA[i] = 0x2a
   254  	}
   255  	if len(m.Branch) > 0 {
   256  		i -= len(m.Branch)
   257  		copy(dAtA[i:], m.Branch)
   258  		i = encodeVarintCommon(dAtA, i, uint64(len(m.Branch)))
   259  		i--
   260  		dAtA[i] = 0x22
   261  	}
   262  	if m.Lazy {
   263  		i--
   264  		if m.Lazy {
   265  			dAtA[i] = 1
   266  		} else {
   267  			dAtA[i] = 0
   268  		}
   269  		i--
   270  		dAtA[i] = 0x18
   271  	}
   272  	if len(m.Name) > 0 {
   273  		i -= len(m.Name)
   274  		copy(dAtA[i:], m.Name)
   275  		i = encodeVarintCommon(dAtA, i, uint64(len(m.Name)))
   276  		i--
   277  		dAtA[i] = 0x12
   278  	}
   279  	if m.FileInfo != nil {
   280  		{
   281  			size, err := m.FileInfo.MarshalToSizedBuffer(dAtA[:i])
   282  			if err != nil {
   283  				return 0, err
   284  			}
   285  			i -= size
   286  			i = encodeVarintCommon(dAtA, i, uint64(size))
   287  		}
   288  		i--
   289  		dAtA[i] = 0xa
   290  	}
   291  	return len(dAtA) - i, nil
   292  }
   293  
   294  func encodeVarintCommon(dAtA []byte, offset int, v uint64) int {
   295  	offset -= sovCommon(v)
   296  	base := offset
   297  	for v >= 1<<7 {
   298  		dAtA[offset] = uint8(v&0x7f | 0x80)
   299  		v >>= 7
   300  		offset++
   301  	}
   302  	dAtA[offset] = uint8(v)
   303  	return base
   304  }
   305  func (m *Input) Size() (n int) {
   306  	if m == nil {
   307  		return 0
   308  	}
   309  	var l int
   310  	_ = l
   311  	if m.FileInfo != nil {
   312  		l = m.FileInfo.Size()
   313  		n += 1 + l + sovCommon(uint64(l))
   314  	}
   315  	l = len(m.Name)
   316  	if l > 0 {
   317  		n += 1 + l + sovCommon(uint64(l))
   318  	}
   319  	if m.Lazy {
   320  		n += 2
   321  	}
   322  	l = len(m.Branch)
   323  	if l > 0 {
   324  		n += 1 + l + sovCommon(uint64(l))
   325  	}
   326  	if m.ParentCommit != nil {
   327  		l = m.ParentCommit.Size()
   328  		n += 1 + l + sovCommon(uint64(l))
   329  	}
   330  	l = len(m.GitURL)
   331  	if l > 0 {
   332  		n += 1 + l + sovCommon(uint64(l))
   333  	}
   334  	if m.EmptyFiles {
   335  		n += 2
   336  	}
   337  	l = len(m.JoinOn)
   338  	if l > 0 {
   339  		n += 1 + l + sovCommon(uint64(l))
   340  	}
   341  	if m.S3 {
   342  		n += 2
   343  	}
   344  	l = len(m.GroupBy)
   345  	if l > 0 {
   346  		n += 1 + l + sovCommon(uint64(l))
   347  	}
   348  	if m.XXX_unrecognized != nil {
   349  		n += len(m.XXX_unrecognized)
   350  	}
   351  	return n
   352  }
   353  
   354  func sovCommon(x uint64) (n int) {
   355  	return (math_bits.Len64(x|1) + 6) / 7
   356  }
   357  func sozCommon(x uint64) (n int) {
   358  	return sovCommon(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   359  }
   360  func (m *Input) Unmarshal(dAtA []byte) error {
   361  	l := len(dAtA)
   362  	iNdEx := 0
   363  	for iNdEx < l {
   364  		preIndex := iNdEx
   365  		var wire uint64
   366  		for shift := uint(0); ; shift += 7 {
   367  			if shift >= 64 {
   368  				return ErrIntOverflowCommon
   369  			}
   370  			if iNdEx >= l {
   371  				return io.ErrUnexpectedEOF
   372  			}
   373  			b := dAtA[iNdEx]
   374  			iNdEx++
   375  			wire |= uint64(b&0x7F) << shift
   376  			if b < 0x80 {
   377  				break
   378  			}
   379  		}
   380  		fieldNum := int32(wire >> 3)
   381  		wireType := int(wire & 0x7)
   382  		if wireType == 4 {
   383  			return fmt.Errorf("proto: Input: wiretype end group for non-group")
   384  		}
   385  		if fieldNum <= 0 {
   386  			return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire)
   387  		}
   388  		switch fieldNum {
   389  		case 1:
   390  			if wireType != 2 {
   391  				return fmt.Errorf("proto: wrong wireType = %d for field FileInfo", wireType)
   392  			}
   393  			var msglen int
   394  			for shift := uint(0); ; shift += 7 {
   395  				if shift >= 64 {
   396  					return ErrIntOverflowCommon
   397  				}
   398  				if iNdEx >= l {
   399  					return io.ErrUnexpectedEOF
   400  				}
   401  				b := dAtA[iNdEx]
   402  				iNdEx++
   403  				msglen |= int(b&0x7F) << shift
   404  				if b < 0x80 {
   405  					break
   406  				}
   407  			}
   408  			if msglen < 0 {
   409  				return ErrInvalidLengthCommon
   410  			}
   411  			postIndex := iNdEx + msglen
   412  			if postIndex < 0 {
   413  				return ErrInvalidLengthCommon
   414  			}
   415  			if postIndex > l {
   416  				return io.ErrUnexpectedEOF
   417  			}
   418  			if m.FileInfo == nil {
   419  				m.FileInfo = &pfs.FileInfo{}
   420  			}
   421  			if err := m.FileInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   422  				return err
   423  			}
   424  			iNdEx = postIndex
   425  		case 2:
   426  			if wireType != 2 {
   427  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
   428  			}
   429  			var stringLen uint64
   430  			for shift := uint(0); ; shift += 7 {
   431  				if shift >= 64 {
   432  					return ErrIntOverflowCommon
   433  				}
   434  				if iNdEx >= l {
   435  					return io.ErrUnexpectedEOF
   436  				}
   437  				b := dAtA[iNdEx]
   438  				iNdEx++
   439  				stringLen |= uint64(b&0x7F) << shift
   440  				if b < 0x80 {
   441  					break
   442  				}
   443  			}
   444  			intStringLen := int(stringLen)
   445  			if intStringLen < 0 {
   446  				return ErrInvalidLengthCommon
   447  			}
   448  			postIndex := iNdEx + intStringLen
   449  			if postIndex < 0 {
   450  				return ErrInvalidLengthCommon
   451  			}
   452  			if postIndex > l {
   453  				return io.ErrUnexpectedEOF
   454  			}
   455  			m.Name = string(dAtA[iNdEx:postIndex])
   456  			iNdEx = postIndex
   457  		case 3:
   458  			if wireType != 0 {
   459  				return fmt.Errorf("proto: wrong wireType = %d for field Lazy", wireType)
   460  			}
   461  			var v int
   462  			for shift := uint(0); ; shift += 7 {
   463  				if shift >= 64 {
   464  					return ErrIntOverflowCommon
   465  				}
   466  				if iNdEx >= l {
   467  					return io.ErrUnexpectedEOF
   468  				}
   469  				b := dAtA[iNdEx]
   470  				iNdEx++
   471  				v |= int(b&0x7F) << shift
   472  				if b < 0x80 {
   473  					break
   474  				}
   475  			}
   476  			m.Lazy = bool(v != 0)
   477  		case 4:
   478  			if wireType != 2 {
   479  				return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType)
   480  			}
   481  			var stringLen uint64
   482  			for shift := uint(0); ; shift += 7 {
   483  				if shift >= 64 {
   484  					return ErrIntOverflowCommon
   485  				}
   486  				if iNdEx >= l {
   487  					return io.ErrUnexpectedEOF
   488  				}
   489  				b := dAtA[iNdEx]
   490  				iNdEx++
   491  				stringLen |= uint64(b&0x7F) << shift
   492  				if b < 0x80 {
   493  					break
   494  				}
   495  			}
   496  			intStringLen := int(stringLen)
   497  			if intStringLen < 0 {
   498  				return ErrInvalidLengthCommon
   499  			}
   500  			postIndex := iNdEx + intStringLen
   501  			if postIndex < 0 {
   502  				return ErrInvalidLengthCommon
   503  			}
   504  			if postIndex > l {
   505  				return io.ErrUnexpectedEOF
   506  			}
   507  			m.Branch = string(dAtA[iNdEx:postIndex])
   508  			iNdEx = postIndex
   509  		case 5:
   510  			if wireType != 2 {
   511  				return fmt.Errorf("proto: wrong wireType = %d for field ParentCommit", wireType)
   512  			}
   513  			var msglen int
   514  			for shift := uint(0); ; shift += 7 {
   515  				if shift >= 64 {
   516  					return ErrIntOverflowCommon
   517  				}
   518  				if iNdEx >= l {
   519  					return io.ErrUnexpectedEOF
   520  				}
   521  				b := dAtA[iNdEx]
   522  				iNdEx++
   523  				msglen |= int(b&0x7F) << shift
   524  				if b < 0x80 {
   525  					break
   526  				}
   527  			}
   528  			if msglen < 0 {
   529  				return ErrInvalidLengthCommon
   530  			}
   531  			postIndex := iNdEx + msglen
   532  			if postIndex < 0 {
   533  				return ErrInvalidLengthCommon
   534  			}
   535  			if postIndex > l {
   536  				return io.ErrUnexpectedEOF
   537  			}
   538  			if m.ParentCommit == nil {
   539  				m.ParentCommit = &pfs.Commit{}
   540  			}
   541  			if err := m.ParentCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   542  				return err
   543  			}
   544  			iNdEx = postIndex
   545  		case 6:
   546  			if wireType != 2 {
   547  				return fmt.Errorf("proto: wrong wireType = %d for field GitURL", wireType)
   548  			}
   549  			var stringLen uint64
   550  			for shift := uint(0); ; shift += 7 {
   551  				if shift >= 64 {
   552  					return ErrIntOverflowCommon
   553  				}
   554  				if iNdEx >= l {
   555  					return io.ErrUnexpectedEOF
   556  				}
   557  				b := dAtA[iNdEx]
   558  				iNdEx++
   559  				stringLen |= uint64(b&0x7F) << shift
   560  				if b < 0x80 {
   561  					break
   562  				}
   563  			}
   564  			intStringLen := int(stringLen)
   565  			if intStringLen < 0 {
   566  				return ErrInvalidLengthCommon
   567  			}
   568  			postIndex := iNdEx + intStringLen
   569  			if postIndex < 0 {
   570  				return ErrInvalidLengthCommon
   571  			}
   572  			if postIndex > l {
   573  				return io.ErrUnexpectedEOF
   574  			}
   575  			m.GitURL = string(dAtA[iNdEx:postIndex])
   576  			iNdEx = postIndex
   577  		case 7:
   578  			if wireType != 0 {
   579  				return fmt.Errorf("proto: wrong wireType = %d for field EmptyFiles", wireType)
   580  			}
   581  			var v int
   582  			for shift := uint(0); ; shift += 7 {
   583  				if shift >= 64 {
   584  					return ErrIntOverflowCommon
   585  				}
   586  				if iNdEx >= l {
   587  					return io.ErrUnexpectedEOF
   588  				}
   589  				b := dAtA[iNdEx]
   590  				iNdEx++
   591  				v |= int(b&0x7F) << shift
   592  				if b < 0x80 {
   593  					break
   594  				}
   595  			}
   596  			m.EmptyFiles = bool(v != 0)
   597  		case 8:
   598  			if wireType != 2 {
   599  				return fmt.Errorf("proto: wrong wireType = %d for field JoinOn", wireType)
   600  			}
   601  			var stringLen uint64
   602  			for shift := uint(0); ; shift += 7 {
   603  				if shift >= 64 {
   604  					return ErrIntOverflowCommon
   605  				}
   606  				if iNdEx >= l {
   607  					return io.ErrUnexpectedEOF
   608  				}
   609  				b := dAtA[iNdEx]
   610  				iNdEx++
   611  				stringLen |= uint64(b&0x7F) << shift
   612  				if b < 0x80 {
   613  					break
   614  				}
   615  			}
   616  			intStringLen := int(stringLen)
   617  			if intStringLen < 0 {
   618  				return ErrInvalidLengthCommon
   619  			}
   620  			postIndex := iNdEx + intStringLen
   621  			if postIndex < 0 {
   622  				return ErrInvalidLengthCommon
   623  			}
   624  			if postIndex > l {
   625  				return io.ErrUnexpectedEOF
   626  			}
   627  			m.JoinOn = string(dAtA[iNdEx:postIndex])
   628  			iNdEx = postIndex
   629  		case 9:
   630  			if wireType != 0 {
   631  				return fmt.Errorf("proto: wrong wireType = %d for field S3", wireType)
   632  			}
   633  			var v int
   634  			for shift := uint(0); ; shift += 7 {
   635  				if shift >= 64 {
   636  					return ErrIntOverflowCommon
   637  				}
   638  				if iNdEx >= l {
   639  					return io.ErrUnexpectedEOF
   640  				}
   641  				b := dAtA[iNdEx]
   642  				iNdEx++
   643  				v |= int(b&0x7F) << shift
   644  				if b < 0x80 {
   645  					break
   646  				}
   647  			}
   648  			m.S3 = bool(v != 0)
   649  		case 10:
   650  			if wireType != 2 {
   651  				return fmt.Errorf("proto: wrong wireType = %d for field GroupBy", wireType)
   652  			}
   653  			var stringLen uint64
   654  			for shift := uint(0); ; shift += 7 {
   655  				if shift >= 64 {
   656  					return ErrIntOverflowCommon
   657  				}
   658  				if iNdEx >= l {
   659  					return io.ErrUnexpectedEOF
   660  				}
   661  				b := dAtA[iNdEx]
   662  				iNdEx++
   663  				stringLen |= uint64(b&0x7F) << shift
   664  				if b < 0x80 {
   665  					break
   666  				}
   667  			}
   668  			intStringLen := int(stringLen)
   669  			if intStringLen < 0 {
   670  				return ErrInvalidLengthCommon
   671  			}
   672  			postIndex := iNdEx + intStringLen
   673  			if postIndex < 0 {
   674  				return ErrInvalidLengthCommon
   675  			}
   676  			if postIndex > l {
   677  				return io.ErrUnexpectedEOF
   678  			}
   679  			m.GroupBy = string(dAtA[iNdEx:postIndex])
   680  			iNdEx = postIndex
   681  		default:
   682  			iNdEx = preIndex
   683  			skippy, err := skipCommon(dAtA[iNdEx:])
   684  			if err != nil {
   685  				return err
   686  			}
   687  			if (skippy < 0) || (iNdEx+skippy) < 0 {
   688  				return ErrInvalidLengthCommon
   689  			}
   690  			if (iNdEx + skippy) > l {
   691  				return io.ErrUnexpectedEOF
   692  			}
   693  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
   694  			iNdEx += skippy
   695  		}
   696  	}
   697  
   698  	if iNdEx > l {
   699  		return io.ErrUnexpectedEOF
   700  	}
   701  	return nil
   702  }
   703  func skipCommon(dAtA []byte) (n int, err error) {
   704  	l := len(dAtA)
   705  	iNdEx := 0
   706  	depth := 0
   707  	for iNdEx < l {
   708  		var wire uint64
   709  		for shift := uint(0); ; shift += 7 {
   710  			if shift >= 64 {
   711  				return 0, ErrIntOverflowCommon
   712  			}
   713  			if iNdEx >= l {
   714  				return 0, io.ErrUnexpectedEOF
   715  			}
   716  			b := dAtA[iNdEx]
   717  			iNdEx++
   718  			wire |= (uint64(b) & 0x7F) << shift
   719  			if b < 0x80 {
   720  				break
   721  			}
   722  		}
   723  		wireType := int(wire & 0x7)
   724  		switch wireType {
   725  		case 0:
   726  			for shift := uint(0); ; shift += 7 {
   727  				if shift >= 64 {
   728  					return 0, ErrIntOverflowCommon
   729  				}
   730  				if iNdEx >= l {
   731  					return 0, io.ErrUnexpectedEOF
   732  				}
   733  				iNdEx++
   734  				if dAtA[iNdEx-1] < 0x80 {
   735  					break
   736  				}
   737  			}
   738  		case 1:
   739  			iNdEx += 8
   740  		case 2:
   741  			var length int
   742  			for shift := uint(0); ; shift += 7 {
   743  				if shift >= 64 {
   744  					return 0, ErrIntOverflowCommon
   745  				}
   746  				if iNdEx >= l {
   747  					return 0, io.ErrUnexpectedEOF
   748  				}
   749  				b := dAtA[iNdEx]
   750  				iNdEx++
   751  				length |= (int(b) & 0x7F) << shift
   752  				if b < 0x80 {
   753  					break
   754  				}
   755  			}
   756  			if length < 0 {
   757  				return 0, ErrInvalidLengthCommon
   758  			}
   759  			iNdEx += length
   760  		case 3:
   761  			depth++
   762  		case 4:
   763  			if depth == 0 {
   764  				return 0, ErrUnexpectedEndOfGroupCommon
   765  			}
   766  			depth--
   767  		case 5:
   768  			iNdEx += 4
   769  		default:
   770  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
   771  		}
   772  		if iNdEx < 0 {
   773  			return 0, ErrInvalidLengthCommon
   774  		}
   775  		if depth == 0 {
   776  			return iNdEx, nil
   777  		}
   778  	}
   779  	return 0, io.ErrUnexpectedEOF
   780  }
   781  
   782  var (
   783  	ErrInvalidLengthCommon        = fmt.Errorf("proto: negative length found during unmarshaling")
   784  	ErrIntOverflowCommon          = fmt.Errorf("proto: integer overflow")
   785  	ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group")
   786  )