diff --git a/vendor/github.com/dgraph-io/dgo/protos/api/api.pb.go b/vendor/github.com/dgraph-io/dgo/protos/api/api.pb.go index 00a78e736a1..103c8e7db2a 100644 --- a/vendor/github.com/dgraph-io/dgo/protos/api/api.pb.go +++ b/vendor/github.com/dgraph-io/dgo/protos/api/api.pb.go @@ -348,6 +348,7 @@ type Mutation struct { SetNquads []byte `protobuf:"bytes,3,opt,name=set_nquads,json=setNquads,proto3" json:"set_nquads,omitempty"` DelNquads []byte `protobuf:"bytes,4,opt,name=del_nquads,json=delNquads,proto3" json:"del_nquads,omitempty"` Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` + Cond string `protobuf:"bytes,6,opt,name=cond,proto3" json:"cond,omitempty"` Set []*NQuad `protobuf:"bytes,10,rep,name=set,proto3" json:"set,omitempty"` Del []*NQuad `protobuf:"bytes,11,rep,name=del,proto3" json:"del,omitempty"` StartTs uint64 `protobuf:"varint,13,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` @@ -426,6 +427,13 @@ func (m *Mutation) GetQuery() string { return "" } +func (m *Mutation) GetCond() string { + if m != nil { + return m.Cond + } + return "" +} + func (m *Mutation) GetSet() []*NQuad { if m != nil { return m.Set @@ -1710,12 +1718,12 @@ func init() { func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } var fileDescriptor_00212fb1f9d3bf1c = []byte{ - // 1616 bytes of a gzipped FileDescriptorProto + // 1625 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0x5f, 0x73, 0x1b, 0x49, 0x11, 0xd7, 0xea, 0xdf, 0xee, 0xb6, 0x64, 0x47, 0x0c, 0xe4, 0xd0, 0xd9, 0x97, 0xc4, 0xd9, 0xab, 0xba, 0x98, 0x4b, 0x9d, 0x1e, 0x7c, 0x55, 0x1c, 0xf0, 0x26, 0xdb, 0x3a, 0xac, 0x94, 0x4f, 0xce, 0x8d, 0x85, 0xab, 0x78, 0x52, 0x8d, 0xb5, 0x63, 0x65, 0x93, 0xcd, 0xce, 0x66, 0x66, 0x64, 0x47, - 0x7c, 0x00, 0xde, 0xef, 0x85, 0xe2, 0x6b, 0xf0, 0x19, 0xe0, 0x81, 0x37, 0xa8, 0xe2, 0x89, 0x37, + 0x7c, 0x00, 0xde, 0xef, 0x85, 0xe2, 0x6b, 0xf0, 0x19, 0x78, 0xe1, 0x0d, 0xaa, 0x78, 0x81, 0x37, 0x30, 0xc5, 0xf7, 0xa0, 0xba, 0x67, 0xd6, 0x96, 0x73, 0xa9, 0x00, 0x4f, 0xea, 0xfe, 0xfd, 0x7a, 0x76, 0xba, 0x7b, 0xba, 0x7b, 0x46, 0x10, 0x8b, 0x32, 0x1b, 0x94, 0x5a, 0x59, 0xc5, 0x1a, 0xa2, 0xcc, 0x92, 0xdf, 0xd6, 0x21, 0xe4, 0xf2, 0xcd, 0x52, 0x1a, 0xcb, 0x7e, 0x04, 0xad, 0x37, 0x4b, @@ -1736,82 +1744,83 @@ var fileDescriptor_00212fb1f9d3bf1c = []byte{ 0x87, 0xc3, 0x78, 0x45, 0x26, 0x7f, 0x0c, 0x20, 0x1a, 0x1a, 0x93, 0x2d, 0x0a, 0x99, 0xb2, 0xa7, 0xd0, 0x5c, 0x66, 0xa9, 0xe9, 0x07, 0xe4, 0xc2, 0x8f, 0x69, 0x45, 0x45, 0x0e, 0x7e, 0x95, 0xa5, 0xd5, 0x69, 0xa0, 0x11, 0xfb, 0x09, 0x84, 0x73, 0xb7, 0x23, 0x85, 0xfb, 0x1e, 0x47, 0x2a, 0xfe, - 0x7f, 0x75, 0x06, 0xd3, 0x7b, 0xb3, 0xcb, 0xff, 0x95, 0xde, 0x3f, 0xd5, 0x21, 0xfa, 0x66, 0x69, + 0x7f, 0x75, 0x06, 0xd3, 0x7b, 0xb3, 0xcb, 0xff, 0x95, 0xde, 0xbf, 0xd5, 0x21, 0xfa, 0x66, 0x69,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x79, 0xb7, 0x13, 0x78, + 0xe8, 0xd9, 0x95, 0xdd, 0xfb, 0xae, 0x0e, 0xed, 0xc3, 0x85, 0x16, 0xe5, 0x0b, 0xf6, 0x14, 0x5a, + 0xe4, 0x3a, 0xfb, 0x81, 0x9b, 0xed, 0x6b, 0x61, 0x6c, 0x6d, 0xf8, 0xb7, 0xba, 0x7b, 0xd4, 0x26, + 0x35, 0xf6, 0x19, 0xb4, 0xbe, 0xa5, 0x07, 0x4f, 0x77, 0xfd, 0x15, 0xff, 0x7d, 0xbb, 0x5d, 0x68, + 0xd3, 0x5b, 0x4d, 0x32, 0x47, 0x55, 0x0f, 0x37, 0x6f, 0x59, 0x3d, 0x38, 0x93, 0x1a, 0x7b, 0x02, + 0xad, 0x61, 0x6e, 0xa5, 0x66, 0x9b, 0x77, 0x5f, 0x05, 0x5b, 0x6e, 0x07, 0x7f, 0x5f, 0x27, 0x35, + 0xf6, 0x25, 0x6c, 0x1c, 0xd0, 0x15, 0x7b, 0xa2, 0x87, 0x78, 0x9f, 0xb2, 0x77, 0xdf, 0xa2, 0x5b, + 0xef, 0x02, 0x49, 0x8d, 0x7d, 0x0e, 0x5d, 0xba, 0x1e, 0xab, 0xab, 0xd1, 0x8d, 0x35, 0x82, 0xfc, + 0x06, 0x9e, 0x49, 0x6a, 0xfb, 0xbb, 0x7f, 0xba, 0x7e, 0x18, 0xfc, 0xe5, 0xfa, 0x61, 0xf0, 0x8f, + 0xeb, 0x87, 0xc1, 0xef, 0xff, 0xf5, 0xb0, 0x06, 0x71, 0xa6, 0x06, 0x29, 0x65, 0x69, 0xbf, 0xe3, + 0xb2, 0xf5, 0x1c, 0xff, 0xf7, 0x9c, 0xb7, 0xe9, 0xef, 0xcf, 0x97, 0xff, 0x09, 0x00, 0x00, 0xff, + 0xff, 0x0c, 0xdf, 0xc0, 0xae, 0x0b, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2385,6 +2394,13 @@ func (m *Mutation) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x52 } } + if len(m.Cond) > 0 { + i -= len(m.Cond) + copy(dAtA[i:], m.Cond) + i = encodeVarintApi(dAtA, i, uint64(len(m.Cond))) + i-- + dAtA[i] = 0x32 + } if len(m.Query) > 0 { i -= len(m.Query) copy(dAtA[i:], m.Query) @@ -3418,6 +3434,10 @@ func (m *Mutation) Size() (n int) { if l > 0 { n += 1 + l + sovApi(uint64(l)) } + l = len(m.Cond) + if l > 0 { + n += 1 + l + sovApi(uint64(l)) + } if len(m.Set) > 0 { for _, e := range m.Set { l = e.Size() @@ -4853,6 +4873,38 @@ func (m *Mutation) Unmarshal(dAtA []byte) error { } m.Query = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cond", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cond = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 10: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Set", wireType) diff --git a/vendor/vendor.json b/vendor/vendor.json index 3efa774a850..156e1ca9990 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -509,26 +509,26 @@ { "checksumSHA1": "kKrPMMzl8wnZ8Ml1WGHcNO2X0cI=", "path": "github.com/dgraph-io/dgo", - "revision": "3d281925f1d38f1c0428a8a447acb9375d190f78", - "revisionTime": "2019-08-01T00:43:48Z" + "revision": "3b57e1cfe339248e6533c15837c6925c96afddac", + "revisionTime": "2019-08-07T02:29:24Z" }, { - "checksumSHA1": "fhrMMWddafarfjBrQay+geKj0SQ=", + "checksumSHA1": "qPsGsoFTZRG9sahD7zOvWQ37vjA=", "path": "github.com/dgraph-io/dgo/protos/api", - "revision": "3d281925f1d38f1c0428a8a447acb9375d190f78", - "revisionTime": "2019-08-01T00:43:48Z" + "revision": "3b57e1cfe339248e6533c15837c6925c96afddac", + "revisionTime": "2019-08-07T02:29:24Z" }, { "checksumSHA1": "6J5Im9lklapzLqF+qbHiATHD9iQ=", "path": "github.com/dgraph-io/dgo/x", - "revision": "3d281925f1d38f1c0428a8a447acb9375d190f78", - "revisionTime": "2019-08-01T00:43:48Z" + "revision": "3b57e1cfe339248e6533c15837c6925c96afddac", + "revisionTime": "2019-08-07T02:29:24Z" }, { "checksumSHA1": "YOS7SDK4NjeABDXH3c1Jr9OuQYo=", "path": "github.com/dgraph-io/dgo/y", - "revision": "3d281925f1d38f1c0428a8a447acb9375d190f78", - "revisionTime": "2019-08-01T00:43:48Z" + "revision": "3b57e1cfe339248e6533c15837c6925c96afddac", + "revisionTime": "2019-08-07T02:29:24Z" }, { "checksumSHA1": "blOHP3HPYU+IeV6yWCalQuuM+zE=",