| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: diffservice.proto |
| |
| package diffstore |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| grpc "google.golang.org/grpc" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type Empty struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Empty) Reset() { *m = Empty{} } |
| func (m *Empty) String() string { return proto.CompactTextString(m) } |
| func (*Empty) ProtoMessage() {} |
| func (*Empty) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{0} |
| } |
| |
| func (m *Empty) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Empty.Unmarshal(m, b) |
| } |
| func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Empty.Marshal(b, m, deterministic) |
| } |
| func (m *Empty) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Empty.Merge(m, src) |
| } |
| func (m *Empty) XXX_Size() int { |
| return xxx_messageInfo_Empty.Size(m) |
| } |
| func (m *Empty) XXX_DiscardUnknown() { |
| xxx_messageInfo_Empty.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Empty proto.InternalMessageInfo |
| |
| type GetDiffsRequest struct { |
| Priority int64 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` |
| MainDigest string `protobuf:"bytes,2,opt,name=mainDigest,proto3" json:"mainDigest,omitempty"` |
| RightDigests []string `protobuf:"bytes,3,rep,name=rightDigests,proto3" json:"rightDigests,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetDiffsRequest) Reset() { *m = GetDiffsRequest{} } |
| func (m *GetDiffsRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetDiffsRequest) ProtoMessage() {} |
| func (*GetDiffsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{1} |
| } |
| |
| func (m *GetDiffsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetDiffsRequest.Unmarshal(m, b) |
| } |
| func (m *GetDiffsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetDiffsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetDiffsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetDiffsRequest.Merge(m, src) |
| } |
| func (m *GetDiffsRequest) XXX_Size() int { |
| return xxx_messageInfo_GetDiffsRequest.Size(m) |
| } |
| func (m *GetDiffsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetDiffsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetDiffsRequest proto.InternalMessageInfo |
| |
| func (m *GetDiffsRequest) GetPriority() int64 { |
| if m != nil { |
| return m.Priority |
| } |
| return 0 |
| } |
| |
| func (m *GetDiffsRequest) GetMainDigest() string { |
| if m != nil { |
| return m.MainDigest |
| } |
| return "" |
| } |
| |
| func (m *GetDiffsRequest) GetRightDigests() []string { |
| if m != nil { |
| return m.RightDigests |
| } |
| return nil |
| } |
| |
| type GetDiffsResponse struct { |
| Diffs []byte `protobuf:"bytes,1,opt,name=diffs,proto3" json:"diffs,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetDiffsResponse) Reset() { *m = GetDiffsResponse{} } |
| func (m *GetDiffsResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetDiffsResponse) ProtoMessage() {} |
| func (*GetDiffsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{2} |
| } |
| |
| func (m *GetDiffsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetDiffsResponse.Unmarshal(m, b) |
| } |
| func (m *GetDiffsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetDiffsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetDiffsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetDiffsResponse.Merge(m, src) |
| } |
| func (m *GetDiffsResponse) XXX_Size() int { |
| return xxx_messageInfo_GetDiffsResponse.Size(m) |
| } |
| func (m *GetDiffsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetDiffsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetDiffsResponse proto.InternalMessageInfo |
| |
| func (m *GetDiffsResponse) GetDiffs() []byte { |
| if m != nil { |
| return m.Diffs |
| } |
| return nil |
| } |
| |
| type PurgeDigestsRequest struct { |
| Digests []string `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"` |
| PurgeGCS bool `protobuf:"varint,2,opt,name=purgeGCS,proto3" json:"purgeGCS,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PurgeDigestsRequest) Reset() { *m = PurgeDigestsRequest{} } |
| func (m *PurgeDigestsRequest) String() string { return proto.CompactTextString(m) } |
| func (*PurgeDigestsRequest) ProtoMessage() {} |
| func (*PurgeDigestsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{3} |
| } |
| |
| func (m *PurgeDigestsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PurgeDigestsRequest.Unmarshal(m, b) |
| } |
| func (m *PurgeDigestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PurgeDigestsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *PurgeDigestsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PurgeDigestsRequest.Merge(m, src) |
| } |
| func (m *PurgeDigestsRequest) XXX_Size() int { |
| return xxx_messageInfo_PurgeDigestsRequest.Size(m) |
| } |
| func (m *PurgeDigestsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_PurgeDigestsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PurgeDigestsRequest proto.InternalMessageInfo |
| |
| func (m *PurgeDigestsRequest) GetDigests() []string { |
| if m != nil { |
| return m.Digests |
| } |
| return nil |
| } |
| |
| func (m *PurgeDigestsRequest) GetPurgeGCS() bool { |
| if m != nil { |
| return m.PurgeGCS |
| } |
| return false |
| } |
| |
| type UnavailableDigestsResponse struct { |
| DigestFailures map[string]*DigestFailureResponse `protobuf:"bytes,1,rep,name=digestFailures,proto3" json:"digestFailures,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UnavailableDigestsResponse) Reset() { *m = UnavailableDigestsResponse{} } |
| func (m *UnavailableDigestsResponse) String() string { return proto.CompactTextString(m) } |
| func (*UnavailableDigestsResponse) ProtoMessage() {} |
| func (*UnavailableDigestsResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{4} |
| } |
| |
| func (m *UnavailableDigestsResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UnavailableDigestsResponse.Unmarshal(m, b) |
| } |
| func (m *UnavailableDigestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UnavailableDigestsResponse.Marshal(b, m, deterministic) |
| } |
| func (m *UnavailableDigestsResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UnavailableDigestsResponse.Merge(m, src) |
| } |
| func (m *UnavailableDigestsResponse) XXX_Size() int { |
| return xxx_messageInfo_UnavailableDigestsResponse.Size(m) |
| } |
| func (m *UnavailableDigestsResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_UnavailableDigestsResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UnavailableDigestsResponse proto.InternalMessageInfo |
| |
| func (m *UnavailableDigestsResponse) GetDigestFailures() map[string]*DigestFailureResponse { |
| if m != nil { |
| return m.DigestFailures |
| } |
| return nil |
| } |
| |
| type WarmDigestsRequest struct { |
| Priority int64 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` |
| Digests []string `protobuf:"bytes,2,rep,name=digests,proto3" json:"digests,omitempty"` |
| Sync bool `protobuf:"varint,3,opt,name=sync,proto3" json:"sync,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WarmDigestsRequest) Reset() { *m = WarmDigestsRequest{} } |
| func (m *WarmDigestsRequest) String() string { return proto.CompactTextString(m) } |
| func (*WarmDigestsRequest) ProtoMessage() {} |
| func (*WarmDigestsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{5} |
| } |
| |
| func (m *WarmDigestsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WarmDigestsRequest.Unmarshal(m, b) |
| } |
| func (m *WarmDigestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WarmDigestsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *WarmDigestsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WarmDigestsRequest.Merge(m, src) |
| } |
| func (m *WarmDigestsRequest) XXX_Size() int { |
| return xxx_messageInfo_WarmDigestsRequest.Size(m) |
| } |
| func (m *WarmDigestsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_WarmDigestsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WarmDigestsRequest proto.InternalMessageInfo |
| |
| func (m *WarmDigestsRequest) GetPriority() int64 { |
| if m != nil { |
| return m.Priority |
| } |
| return 0 |
| } |
| |
| func (m *WarmDigestsRequest) GetDigests() []string { |
| if m != nil { |
| return m.Digests |
| } |
| return nil |
| } |
| |
| func (m *WarmDigestsRequest) GetSync() bool { |
| if m != nil { |
| return m.Sync |
| } |
| return false |
| } |
| |
| type WarmDiffsRequest struct { |
| Priority int64 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` |
| LeftDigests []string `protobuf:"bytes,2,rep,name=leftDigests,proto3" json:"leftDigests,omitempty"` |
| RightDigests []string `protobuf:"bytes,3,rep,name=rightDigests,proto3" json:"rightDigests,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WarmDiffsRequest) Reset() { *m = WarmDiffsRequest{} } |
| func (m *WarmDiffsRequest) String() string { return proto.CompactTextString(m) } |
| func (*WarmDiffsRequest) ProtoMessage() {} |
| func (*WarmDiffsRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{6} |
| } |
| |
| func (m *WarmDiffsRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WarmDiffsRequest.Unmarshal(m, b) |
| } |
| func (m *WarmDiffsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WarmDiffsRequest.Marshal(b, m, deterministic) |
| } |
| func (m *WarmDiffsRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WarmDiffsRequest.Merge(m, src) |
| } |
| func (m *WarmDiffsRequest) XXX_Size() int { |
| return xxx_messageInfo_WarmDiffsRequest.Size(m) |
| } |
| func (m *WarmDiffsRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_WarmDiffsRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WarmDiffsRequest proto.InternalMessageInfo |
| |
| func (m *WarmDiffsRequest) GetPriority() int64 { |
| if m != nil { |
| return m.Priority |
| } |
| return 0 |
| } |
| |
| func (m *WarmDiffsRequest) GetLeftDigests() []string { |
| if m != nil { |
| return m.LeftDigests |
| } |
| return nil |
| } |
| |
| func (m *WarmDiffsRequest) GetRightDigests() []string { |
| if m != nil { |
| return m.RightDigests |
| } |
| return nil |
| } |
| |
| type DigestFailureResponse struct { |
| Digest string `protobuf:"bytes,1,opt,name=Digest,proto3" json:"Digest,omitempty"` |
| Reason string `protobuf:"bytes,2,opt,name=Reason,proto3" json:"Reason,omitempty"` |
| TS int64 `protobuf:"varint,3,opt,name=TS,proto3" json:"TS,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DigestFailureResponse) Reset() { *m = DigestFailureResponse{} } |
| func (m *DigestFailureResponse) String() string { return proto.CompactTextString(m) } |
| func (*DigestFailureResponse) ProtoMessage() {} |
| func (*DigestFailureResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7be44b2c6ca656f4, []int{7} |
| } |
| |
| func (m *DigestFailureResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DigestFailureResponse.Unmarshal(m, b) |
| } |
| func (m *DigestFailureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DigestFailureResponse.Marshal(b, m, deterministic) |
| } |
| func (m *DigestFailureResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DigestFailureResponse.Merge(m, src) |
| } |
| func (m *DigestFailureResponse) XXX_Size() int { |
| return xxx_messageInfo_DigestFailureResponse.Size(m) |
| } |
| func (m *DigestFailureResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_DigestFailureResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DigestFailureResponse proto.InternalMessageInfo |
| |
| func (m *DigestFailureResponse) GetDigest() string { |
| if m != nil { |
| return m.Digest |
| } |
| return "" |
| } |
| |
| func (m *DigestFailureResponse) GetReason() string { |
| if m != nil { |
| return m.Reason |
| } |
| return "" |
| } |
| |
| func (m *DigestFailureResponse) GetTS() int64 { |
| if m != nil { |
| return m.TS |
| } |
| return 0 |
| } |
| |
| func init() { |
| proto.RegisterType((*Empty)(nil), "diffstore.Empty") |
| proto.RegisterType((*GetDiffsRequest)(nil), "diffstore.GetDiffsRequest") |
| proto.RegisterType((*GetDiffsResponse)(nil), "diffstore.GetDiffsResponse") |
| proto.RegisterType((*PurgeDigestsRequest)(nil), "diffstore.PurgeDigestsRequest") |
| proto.RegisterType((*UnavailableDigestsResponse)(nil), "diffstore.UnavailableDigestsResponse") |
| proto.RegisterMapType((map[string]*DigestFailureResponse)(nil), "diffstore.UnavailableDigestsResponse.DigestFailuresEntry") |
| proto.RegisterType((*WarmDigestsRequest)(nil), "diffstore.WarmDigestsRequest") |
| proto.RegisterType((*WarmDiffsRequest)(nil), "diffstore.WarmDiffsRequest") |
| proto.RegisterType((*DigestFailureResponse)(nil), "diffstore.DigestFailureResponse") |
| } |
| |
| func init() { proto.RegisterFile("diffservice.proto", fileDescriptor_7be44b2c6ca656f4) } |
| |
| var fileDescriptor_7be44b2c6ca656f4 = []byte{ |
| // 490 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xc1, 0x6e, 0xd3, 0x40, |
| 0x10, 0x8d, 0xed, 0xa6, 0x8d, 0xc7, 0x51, 0x09, 0x53, 0x40, 0x96, 0x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0x99, 0x98, 0x4d, 0xc1, 0x31, 0x74, 0xb6, 0xe6, 0xc4, 0xc8, 0xd2, 0x7d, 0x6f, 0x49, 0xa2, 0xf3, |
| 0xc6, 0x33, 0x43, 0x8a, 0xb4, 0xf0, 0x13, 0x04, 0xd6, 0x2b, 0xe0, 0x4b, 0xab, 0xba, 0xfe, 0x3a, |
| 0x51, 0xcf, 0x3a, 0x36, 0x6b, 0xd9, 0xc2, 0x8f, 0xe0, 0x57, 0x3a, 0xe3, 0x79, 0xad, 0xdf, 0xa2, |
| 0xd2, 0xd4, 0xfd, 0x1d, 0xb0, 0x6e, 0x56, 0xac, 0x55, 0x46, 0xaf, 0x0e, 0x72, 0x37, 0x69, 0xe1, |
| 0x67, 0xe8, 0xda, 0xab, 0x88, 0x17, 0x56, 0x63, 0xc3, 0x8e, 0x36, 0x92, 0x7a, 0x0d, 0x47, 0x57, |
| 0x22, 0x9d, 0x37, 0xd0, 0x68, 0xa8, 0xbe, 0x3d, 0xd6, 0x3f, 0xad, 0x37, 0xff, 0x02, 0x00, 0x00, |
| 0xff, 0xff, 0x5c, 0x68, 0x23, 0x23, 0xc9, 0x04, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion4 |
| |
| // DiffServiceClient is the client API for DiffService service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type DiffServiceClient interface { |
| // Same functionality as Get in the diff.DiffStore interface. |
| GetDiffs(ctx context.Context, in *GetDiffsRequest, opts ...grpc.CallOption) (*GetDiffsResponse, error) |
| // Same functionality as WarmDigests in the diff.DiffStore interface. |
| WarmDigests(ctx context.Context, in *WarmDigestsRequest, opts ...grpc.CallOption) (*Empty, error) |
| // Same functionality as WarmDiffs in the diff.DiffStore interface. |
| WarmDiffs(ctx context.Context, in *WarmDiffsRequest, opts ...grpc.CallOption) (*Empty, error) |
| // Same functionality asSee UnavailableDigests in the diff.DiffStore interface. |
| UnavailableDigests(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UnavailableDigestsResponse, error) |
| //Same functionality asSee PurgeDigestset in the diff.DiffStore interface. |
| PurgeDigests(ctx context.Context, in *PurgeDigestsRequest, opts ...grpc.CallOption) (*Empty, error) |
| // Ping is used to test connection. |
| Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) |
| } |
| |
| type diffServiceClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewDiffServiceClient(cc *grpc.ClientConn) DiffServiceClient { |
| return &diffServiceClient{cc} |
| } |
| |
| func (c *diffServiceClient) GetDiffs(ctx context.Context, in *GetDiffsRequest, opts ...grpc.CallOption) (*GetDiffsResponse, error) { |
| out := new(GetDiffsResponse) |
| err := c.cc.Invoke(ctx, "/diffstore.DiffService/GetDiffs", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *diffServiceClient) WarmDigests(ctx context.Context, in *WarmDigestsRequest, opts ...grpc.CallOption) (*Empty, error) { |
| out := new(Empty) |
| err := c.cc.Invoke(ctx, "/diffstore.DiffService/WarmDigests", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *diffServiceClient) WarmDiffs(ctx context.Context, in *WarmDiffsRequest, opts ...grpc.CallOption) (*Empty, error) { |
| out := new(Empty) |
| err := c.cc.Invoke(ctx, "/diffstore.DiffService/WarmDiffs", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *diffServiceClient) UnavailableDigests(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UnavailableDigestsResponse, error) { |
| out := new(UnavailableDigestsResponse) |
| err := c.cc.Invoke(ctx, "/diffstore.DiffService/UnavailableDigests", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *diffServiceClient) PurgeDigests(ctx context.Context, in *PurgeDigestsRequest, opts ...grpc.CallOption) (*Empty, error) { |
| out := new(Empty) |
| err := c.cc.Invoke(ctx, "/diffstore.DiffService/PurgeDigests", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *diffServiceClient) Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) { |
| out := new(Empty) |
| err := c.cc.Invoke(ctx, "/diffstore.DiffService/Ping", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // DiffServiceServer is the server API for DiffService service. |
| type DiffServiceServer interface { |
| // Same functionality as Get in the diff.DiffStore interface. |
| GetDiffs(context.Context, *GetDiffsRequest) (*GetDiffsResponse, error) |
| // Same functionality as WarmDigests in the diff.DiffStore interface. |
| WarmDigests(context.Context, *WarmDigestsRequest) (*Empty, error) |
| // Same functionality as WarmDiffs in the diff.DiffStore interface. |
| WarmDiffs(context.Context, *WarmDiffsRequest) (*Empty, error) |
| // Same functionality asSee UnavailableDigests in the diff.DiffStore interface. |
| UnavailableDigests(context.Context, *Empty) (*UnavailableDigestsResponse, error) |
| //Same functionality asSee PurgeDigestset in the diff.DiffStore interface. |
| PurgeDigests(context.Context, *PurgeDigestsRequest) (*Empty, error) |
| // Ping is used to test connection. |
| Ping(context.Context, *Empty) (*Empty, error) |
| } |
| |
| func RegisterDiffServiceServer(s *grpc.Server, srv DiffServiceServer) { |
| s.RegisterService(&_DiffService_serviceDesc, srv) |
| } |
| |
| func _DiffService_GetDiffs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetDiffsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(DiffServiceServer).GetDiffs(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/diffstore.DiffService/GetDiffs", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(DiffServiceServer).GetDiffs(ctx, req.(*GetDiffsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _DiffService_WarmDigests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(WarmDigestsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(DiffServiceServer).WarmDigests(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/diffstore.DiffService/WarmDigests", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(DiffServiceServer).WarmDigests(ctx, req.(*WarmDigestsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _DiffService_WarmDiffs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(WarmDiffsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(DiffServiceServer).WarmDiffs(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/diffstore.DiffService/WarmDiffs", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(DiffServiceServer).WarmDiffs(ctx, req.(*WarmDiffsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _DiffService_UnavailableDigests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Empty) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(DiffServiceServer).UnavailableDigests(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/diffstore.DiffService/UnavailableDigests", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(DiffServiceServer).UnavailableDigests(ctx, req.(*Empty)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _DiffService_PurgeDigests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(PurgeDigestsRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(DiffServiceServer).PurgeDigests(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/diffstore.DiffService/PurgeDigests", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(DiffServiceServer).PurgeDigests(ctx, req.(*PurgeDigestsRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _DiffService_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Empty) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(DiffServiceServer).Ping(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/diffstore.DiffService/Ping", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(DiffServiceServer).Ping(ctx, req.(*Empty)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _DiffService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "diffstore.DiffService", |
| HandlerType: (*DiffServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "GetDiffs", |
| Handler: _DiffService_GetDiffs_Handler, |
| }, |
| { |
| MethodName: "WarmDigests", |
| Handler: _DiffService_WarmDigests_Handler, |
| }, |
| { |
| MethodName: "WarmDiffs", |
| Handler: _DiffService_WarmDiffs_Handler, |
| }, |
| { |
| MethodName: "UnavailableDigests", |
| Handler: _DiffService_UnavailableDigests_Handler, |
| }, |
| { |
| MethodName: "PurgeDigests", |
| Handler: _DiffService_PurgeDigests_Handler, |
| }, |
| { |
| MethodName: "Ping", |
| Handler: _DiffService_Ping_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "diffservice.proto", |
| } |