2019-03-18 10:55:06 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
|
|
// source: metainfo.proto
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
import (
|
2019-06-18 23:22:14 +01:00
|
|
|
context "context"
|
|
|
|
fmt "fmt"
|
|
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
2019-03-18 10:55:06 +00:00
|
|
|
grpc "google.golang.org/grpc"
|
2019-06-18 23:22:14 +01:00
|
|
|
math "math"
|
2019-03-18 10:55:06 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
|
|
|
type AddressedOrderLimit struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
Limit *OrderLimit2 `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
StorageNodeAddress *NodeAddress `protobuf:"bytes,2,opt,name=storage_node_address,json=storageNodeAddress,proto3" json:"storage_node_address,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddressedOrderLimit) Reset() { *m = AddressedOrderLimit{} }
|
|
|
|
func (m *AddressedOrderLimit) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AddressedOrderLimit) ProtoMessage() {}
|
|
|
|
func (*AddressedOrderLimit) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{0}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *AddressedOrderLimit) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_AddressedOrderLimit.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *AddressedOrderLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_AddressedOrderLimit.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *AddressedOrderLimit) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_AddressedOrderLimit.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *AddressedOrderLimit) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_AddressedOrderLimit.Size(m)
|
|
|
|
}
|
|
|
|
func (m *AddressedOrderLimit) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_AddressedOrderLimit.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_AddressedOrderLimit proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *AddressedOrderLimit) GetLimit() *OrderLimit2 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AddressedOrderLimit) GetStorageNodeAddress() *NodeAddress {
|
|
|
|
if m != nil {
|
|
|
|
return m.StorageNodeAddress
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentWriteRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
2019-06-18 23:22:14 +01:00
|
|
|
Redundancy *RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
MaxEncryptedSegmentSize int64 `protobuf:"varint,5,opt,name=max_encrypted_segment_size,json=maxEncryptedSegmentSize,proto3" json:"max_encrypted_segment_size,omitempty"`
|
2019-06-18 23:22:14 +01:00
|
|
|
Expiration *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) Reset() { *m = SegmentWriteRequest{} }
|
|
|
|
func (m *SegmentWriteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentWriteRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentWriteRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{1}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentWriteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentWriteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentWriteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentWriteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentWriteRequest.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentWriteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentWriteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentWriteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentWriteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentWriteRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) GetSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) GetRedundancy() *RedundancyScheme {
|
|
|
|
if m != nil {
|
|
|
|
return m.Redundancy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) GetMaxEncryptedSegmentSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MaxEncryptedSegmentSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteRequest) GetExpiration() *timestamp.Timestamp {
|
|
|
|
if m != nil {
|
|
|
|
return m.Expiration
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentWriteResponse struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
RootPieceId PieceID `protobuf:"bytes,2,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentWriteResponse) Reset() { *m = SegmentWriteResponse{} }
|
|
|
|
func (m *SegmentWriteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentWriteResponse) ProtoMessage() {}
|
|
|
|
func (*SegmentWriteResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{2}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentWriteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentWriteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentWriteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentWriteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentWriteResponse.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentWriteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentWriteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentWriteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentWriteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentWriteResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentWriteResponse) GetAddressedLimits() []*AddressedOrderLimit {
|
|
|
|
if m != nil {
|
|
|
|
return m.AddressedLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentCommitRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
2019-06-18 23:22:14 +01:00
|
|
|
Pointer *Pointer `protobuf:"bytes,4,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
|
|
|
OriginalLimits []*OrderLimit2 `protobuf:"bytes,5,rep,name=original_limits,json=originalLimits,proto3" json:"original_limits,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentCommitRequest) Reset() { *m = SegmentCommitRequest{} }
|
|
|
|
func (m *SegmentCommitRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentCommitRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentCommitRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{3}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentCommitRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentCommitRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentCommitRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentCommitRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentCommitRequest.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentCommitRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentCommitRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentCommitRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentCommitRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentCommitRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentCommitRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentCommitRequest) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentCommitRequest) GetSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentCommitRequest) GetPointer() *Pointer {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentCommitRequest) GetOriginalLimits() []*OrderLimit2 {
|
|
|
|
if m != nil {
|
|
|
|
return m.OriginalLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentCommitResponse struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
Pointer *Pointer `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentCommitResponse) Reset() { *m = SegmentCommitResponse{} }
|
|
|
|
func (m *SegmentCommitResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentCommitResponse) ProtoMessage() {}
|
|
|
|
func (*SegmentCommitResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{4}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentCommitResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentCommitResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentCommitResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentCommitResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentCommitResponse.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentCommitResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentCommitResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentCommitResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentCommitResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentCommitResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentCommitResponse) GetPointer() *Pointer {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentDownloadRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDownloadRequest) Reset() { *m = SegmentDownloadRequest{} }
|
|
|
|
func (m *SegmentDownloadRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDownloadRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentDownloadRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{5}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDownloadRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDownloadRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDownloadRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentDownloadRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDownloadRequest.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDownloadRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDownloadRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentDownloadRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDownloadRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentDownloadRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentDownloadRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDownloadRequest) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDownloadRequest) GetSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentDownloadResponse struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
|
|
|
|
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDownloadResponse) Reset() { *m = SegmentDownloadResponse{} }
|
|
|
|
func (m *SegmentDownloadResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDownloadResponse) ProtoMessage() {}
|
|
|
|
func (*SegmentDownloadResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{6}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDownloadResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDownloadResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDownloadResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentDownloadResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDownloadResponse.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDownloadResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDownloadResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentDownloadResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDownloadResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentDownloadResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentDownloadResponse) GetAddressedLimits() []*AddressedOrderLimit {
|
|
|
|
if m != nil {
|
|
|
|
return m.AddressedLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDownloadResponse) GetPointer() *Pointer {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentInfoRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfoRequest) Reset() { *m = SegmentInfoRequest{} }
|
|
|
|
func (m *SegmentInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentInfoRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentInfoRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{7}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentInfoRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentInfoRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentInfoRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentInfoRequest.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentInfoRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentInfoRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfoRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentInfoRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentInfoRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentInfoRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfoRequest) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfoRequest) GetSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentInfoResponse struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentInfoResponse) Reset() { *m = SegmentInfoResponse{} }
|
|
|
|
func (m *SegmentInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentInfoResponse) ProtoMessage() {}
|
|
|
|
func (*SegmentInfoResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{8}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentInfoResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentInfoResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentInfoResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentInfoResponse.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentInfoResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentInfoResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentInfoResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentInfoResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentInfoResponse) GetPointer() *Pointer {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentDeleteRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDeleteRequest) Reset() { *m = SegmentDeleteRequest{} }
|
|
|
|
func (m *SegmentDeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDeleteRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentDeleteRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{9}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDeleteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDeleteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentDeleteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDeleteRequest.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDeleteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDeleteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentDeleteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDeleteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentDeleteRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentDeleteRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDeleteRequest) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDeleteRequest) GetSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentDeleteResponse struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentDeleteResponse) Reset() { *m = SegmentDeleteResponse{} }
|
|
|
|
func (m *SegmentDeleteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDeleteResponse) ProtoMessage() {}
|
|
|
|
func (*SegmentDeleteResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{10}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDeleteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDeleteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDeleteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *SegmentDeleteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDeleteResponse.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentDeleteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDeleteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentDeleteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDeleteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentDeleteResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentDeleteResponse) GetAddressedLimits() []*AddressedOrderLimit {
|
|
|
|
if m != nil {
|
|
|
|
return m.AddressedLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListSegmentsRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
Prefix []byte `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
|
|
StartAfter []byte `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
|
|
|
|
EndBefore []byte `protobuf:"bytes,4,opt,name=end_before,json=endBefore,proto3" json:"end_before,omitempty"`
|
|
|
|
Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"`
|
|
|
|
Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
MetaFlags uint32 `protobuf:"fixed32,7,opt,name=meta_flags,json=metaFlags,proto3" json:"meta_flags,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) Reset() { *m = ListSegmentsRequest{} }
|
|
|
|
func (m *ListSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*ListSegmentsRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{11}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *ListSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListSegmentsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListSegmentsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *ListSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListSegmentsRequest.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *ListSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListSegmentsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListSegmentsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListSegmentsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetPrefix() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Prefix
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetStartAfter() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.StartAfter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetEndBefore() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.EndBefore
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetRecursive() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Recursive
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetLimit() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsRequest) GetMetaFlags() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MetaFlags
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListSegmentsResponse struct {
|
2019-06-18 23:22:14 +01:00
|
|
|
Items []*ListSegmentsResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse) Reset() { *m = ListSegmentsResponse{} }
|
|
|
|
func (m *ListSegmentsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListSegmentsResponse) ProtoMessage() {}
|
|
|
|
func (*ListSegmentsResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{12}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *ListSegmentsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListSegmentsResponse.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListSegmentsResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListSegmentsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse) GetItems() []*ListSegmentsResponse_Item {
|
|
|
|
if m != nil {
|
|
|
|
return m.Items
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse) GetMore() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.More
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListSegmentsResponse_Item struct {
|
|
|
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
2019-06-18 23:22:14 +01:00
|
|
|
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
2019-03-18 10:55:06 +00:00
|
|
|
IsPrefix bool `protobuf:"varint,3,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse_Item) Reset() { *m = ListSegmentsResponse_Item{} }
|
|
|
|
func (m *ListSegmentsResponse_Item) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListSegmentsResponse_Item) ProtoMessage() {}
|
|
|
|
func (*ListSegmentsResponse_Item) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{12, 0}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse_Item) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponse_Item.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponse_Item.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *ListSegmentsResponse_Item) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListSegmentsResponse_Item.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse_Item) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponse_Item.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListSegmentsResponse_Item) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListSegmentsResponse_Item.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListSegmentsResponse_Item proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse_Item) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse_Item) GetPointer() *Pointer {
|
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListSegmentsResponse_Item) GetIsPrefix() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.IsPrefix
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
type SetAttributionRequest struct {
|
2019-06-13 02:35:37 +01:00
|
|
|
BucketName []byte `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
|
|
|
|
PartnerId []byte `protobuf:"bytes,2,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) Reset() { *m = SetAttributionRequest{} }
|
|
|
|
func (m *SetAttributionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SetAttributionRequest) ProtoMessage() {}
|
|
|
|
func (*SetAttributionRequest) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{13}
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SetAttributionRequest.Unmarshal(m, b)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SetAttributionRequest.Marshal(b, m, deterministic)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SetAttributionRequest.Merge(m, src)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SetAttributionRequest.Size(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SetAttributionRequest.DiscardUnknown(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
var xxx_messageInfo_SetAttributionRequest proto.InternalMessageInfo
|
2019-06-13 02:35:37 +01:00
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) GetBucketName() []byte {
|
2019-06-13 02:35:37 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.BucketName
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionRequest) GetPartnerId() []byte {
|
2019-06-13 02:35:37 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.PartnerId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
type SetAttributionResponse struct {
|
2019-06-13 02:35:37 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionResponse) Reset() { *m = SetAttributionResponse{} }
|
|
|
|
func (m *SetAttributionResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SetAttributionResponse) ProtoMessage() {}
|
|
|
|
func (*SetAttributionResponse) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{14}
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SetAttributionResponse.Unmarshal(m, b)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SetAttributionResponse.Marshal(b, m, deterministic)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SetAttributionResponse.Merge(m, src)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SetAttributionResponse.Size(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-06-19 13:02:37 +01:00
|
|
|
func (m *SetAttributionResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SetAttributionResponse.DiscardUnknown(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
var xxx_messageInfo_SetAttributionResponse proto.InternalMessageInfo
|
2019-06-13 02:35:37 +01:00
|
|
|
|
2019-03-18 10:55:06 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*AddressedOrderLimit)(nil), "metainfo.AddressedOrderLimit")
|
|
|
|
proto.RegisterType((*SegmentWriteRequest)(nil), "metainfo.SegmentWriteRequest")
|
|
|
|
proto.RegisterType((*SegmentWriteResponse)(nil), "metainfo.SegmentWriteResponse")
|
|
|
|
proto.RegisterType((*SegmentCommitRequest)(nil), "metainfo.SegmentCommitRequest")
|
|
|
|
proto.RegisterType((*SegmentCommitResponse)(nil), "metainfo.SegmentCommitResponse")
|
|
|
|
proto.RegisterType((*SegmentDownloadRequest)(nil), "metainfo.SegmentDownloadRequest")
|
|
|
|
proto.RegisterType((*SegmentDownloadResponse)(nil), "metainfo.SegmentDownloadResponse")
|
|
|
|
proto.RegisterType((*SegmentInfoRequest)(nil), "metainfo.SegmentInfoRequest")
|
|
|
|
proto.RegisterType((*SegmentInfoResponse)(nil), "metainfo.SegmentInfoResponse")
|
|
|
|
proto.RegisterType((*SegmentDeleteRequest)(nil), "metainfo.SegmentDeleteRequest")
|
|
|
|
proto.RegisterType((*SegmentDeleteResponse)(nil), "metainfo.SegmentDeleteResponse")
|
|
|
|
proto.RegisterType((*ListSegmentsRequest)(nil), "metainfo.ListSegmentsRequest")
|
|
|
|
proto.RegisterType((*ListSegmentsResponse)(nil), "metainfo.ListSegmentsResponse")
|
|
|
|
proto.RegisterType((*ListSegmentsResponse_Item)(nil), "metainfo.ListSegmentsResponse.Item")
|
2019-06-19 13:02:37 +01:00
|
|
|
proto.RegisterType((*SetAttributionRequest)(nil), "metainfo.SetAttributionRequest")
|
|
|
|
proto.RegisterType((*SetAttributionResponse)(nil), "metainfo.SetAttributionResponse")
|
2019-03-18 13:08:24 +00:00
|
|
|
}
|
|
|
|
|
2019-06-18 23:22:14 +01:00
|
|
|
func init() { proto.RegisterFile("metainfo.proto", fileDescriptor_631e2f30a93cd64e) }
|
|
|
|
|
|
|
|
var fileDescriptor_631e2f30a93cd64e = []byte{
|
2019-06-19 13:02:37 +01:00
|
|
|
// 922 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
|
|
|
|
0x14, 0x66, 0xfd, 0x13, 0xc7, 0xc7, 0x4e, 0x0c, 0x93, 0x90, 0xae, 0xb6, 0x0d, 0x36, 0xcb, 0x4d,
|
|
|
|
0x90, 0x90, 0x2b, 0xa5, 0x57, 0x50, 0x6e, 0xf2, 0x53, 0x44, 0x50, 0x1b, 0xa2, 0x0d, 0xa2, 0x52,
|
|
|
|
0x85, 0x58, 0x8d, 0xbd, 0xc7, 0xee, 0x08, 0xef, 0xce, 0x32, 0x33, 0x86, 0xb4, 0xf7, 0x3c, 0x40,
|
|
|
|
0x2f, 0x78, 0x25, 0xd4, 0x0b, 0x1e, 0x00, 0x71, 0xd1, 0x67, 0x41, 0xf3, 0xb3, 0xf6, 0x3a, 0xb6,
|
|
|
|
0x09, 0x48, 0xbe, 0xdb, 0x73, 0xe6, 0x9b, 0xf3, 0xf3, 0x7d, 0x67, 0x8e, 0x0d, 0xbb, 0x29, 0x2a,
|
|
|
|
0xca, 0xb2, 0x11, 0xef, 0xe7, 0x82, 0x2b, 0x4e, 0xb6, 0x0b, 0x3b, 0x80, 0x31, 0x1f, 0x3b, 0x6f,
|
|
|
|
0xd0, 0x1d, 0x73, 0x3e, 0x9e, 0xe0, 0x43, 0x63, 0x0d, 0xa6, 0xa3, 0x87, 0x8a, 0xa5, 0x28, 0x15,
|
|
|
|
0x4d, 0x73, 0x07, 0x80, 0x8c, 0x27, 0xe8, 0xbe, 0x3b, 0x39, 0x67, 0x99, 0x42, 0x91, 0x0c, 0x9c,
|
|
|
|
0xa3, 0xcd, 0x45, 0x82, 0x42, 0x5a, 0x2b, 0xfc, 0xcd, 0x83, 0xbd, 0x93, 0x24, 0x11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c5, 0xfa, 0x1e, 0x3a, 0xc5, 0x16, 0x2c, 0xea, 0xeb, 0x2d, 0xdd, 0xb8, 0xb5, 0x88, 0x83,
|
|
|
|
0x8f, 0xff, 0x05, 0x31, 0xef, 0xda, 0xbe, 0xe5, 0xf5, 0x5d, 0x2f, 0x6c, 0x92, 0x15, 0x5d, 0xdf,
|
|
|
|
0xda, 0x05, 0xcf, 0xa0, 0x5d, 0x1e, 0xdb, 0xb2, 0x2c, 0x2b, 0x1e, 0x76, 0x59, 0x96, 0x95, 0x8f,
|
|
|
|
0xe3, 0x1a, 0x76, 0x17, 0xa7, 0x81, 0x2c, 0x54, 0xb0, 0x62, 0x00, 0x83, 0xde, 0x7a, 0x80, 0x0d,
|
|
|
|
0x7a, 0x5a, 0x7b, 0x51, 0xc9, 0x07, 0x83, 0x2d, 0xf3, 0x5f, 0xe4, 0xd1, 0x3f, 0x01, 0x00, 0x00,
|
|
|
|
0xff, 0xff, 0x5a, 0x2a, 0xfb, 0x35, 0x82, 0x0a, 0x00, 0x00,
|
2019-06-18 23:22:14 +01:00
|
|
|
}
|
|
|
|
|
2019-03-18 10:55:06 +00:00
|
|
|
// 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
|
|
|
|
|
|
|
|
// MetainfoClient is the client API for Metainfo service.
|
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
type MetainfoClient interface {
|
|
|
|
CreateSegment(ctx context.Context, in *SegmentWriteRequest, opts ...grpc.CallOption) (*SegmentWriteResponse, error)
|
|
|
|
CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error)
|
|
|
|
SegmentInfo(ctx context.Context, in *SegmentInfoRequest, opts ...grpc.CallOption) (*SegmentInfoResponse, error)
|
|
|
|
DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error)
|
|
|
|
DeleteSegment(ctx context.Context, in *SegmentDeleteRequest, opts ...grpc.CallOption) (*SegmentDeleteResponse, error)
|
|
|
|
ListSegments(ctx context.Context, in *ListSegmentsRequest, opts ...grpc.CallOption) (*ListSegmentsResponse, error)
|
2019-06-19 13:02:37 +01:00
|
|
|
SetAttribution(ctx context.Context, in *SetAttributionRequest, opts ...grpc.CallOption) (*SetAttributionResponse, error)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type metainfoClient struct {
|
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewMetainfoClient(cc *grpc.ClientConn) MetainfoClient {
|
|
|
|
return &metainfoClient{cc}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) CreateSegment(ctx context.Context, in *SegmentWriteRequest, opts ...grpc.CallOption) (*SegmentWriteResponse, error) {
|
|
|
|
out := new(SegmentWriteResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateSegment", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error) {
|
|
|
|
out := new(SegmentCommitResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegment", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) SegmentInfo(ctx context.Context, in *SegmentInfoRequest, opts ...grpc.CallOption) (*SegmentInfoResponse, error) {
|
|
|
|
out := new(SegmentInfoResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SegmentInfo", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error) {
|
|
|
|
out := new(SegmentDownloadResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegment", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) DeleteSegment(ctx context.Context, in *SegmentDeleteRequest, opts ...grpc.CallOption) (*SegmentDeleteResponse, error) {
|
|
|
|
out := new(SegmentDeleteResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteSegment", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) ListSegments(ctx context.Context, in *ListSegmentsRequest, opts ...grpc.CallOption) (*ListSegmentsResponse, error) {
|
|
|
|
out := new(ListSegmentsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegments", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
func (c *metainfoClient) SetAttribution(ctx context.Context, in *SetAttributionRequest, opts ...grpc.CallOption) (*SetAttributionResponse, error) {
|
|
|
|
out := new(SetAttributionResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetAttribution", in, out, opts...)
|
2019-06-13 02:35:37 +01:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-03-18 10:55:06 +00:00
|
|
|
// MetainfoServer is the server API for Metainfo service.
|
|
|
|
type MetainfoServer interface {
|
|
|
|
CreateSegment(context.Context, *SegmentWriteRequest) (*SegmentWriteResponse, error)
|
|
|
|
CommitSegment(context.Context, *SegmentCommitRequest) (*SegmentCommitResponse, error)
|
|
|
|
SegmentInfo(context.Context, *SegmentInfoRequest) (*SegmentInfoResponse, error)
|
|
|
|
DownloadSegment(context.Context, *SegmentDownloadRequest) (*SegmentDownloadResponse, error)
|
|
|
|
DeleteSegment(context.Context, *SegmentDeleteRequest) (*SegmentDeleteResponse, error)
|
|
|
|
ListSegments(context.Context, *ListSegmentsRequest) (*ListSegmentsResponse, error)
|
2019-06-19 13:02:37 +01:00
|
|
|
SetAttribution(context.Context, *SetAttributionRequest) (*SetAttributionResponse, error)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func RegisterMetainfoServer(s *grpc.Server, srv MetainfoServer) {
|
|
|
|
s.RegisterService(&_Metainfo_serviceDesc, srv)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_CreateSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentWriteRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).CreateSegment(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/CreateSegment",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).CreateSegment(ctx, req.(*SegmentWriteRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_CommitSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentCommitRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).CommitSegment(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/CommitSegment",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).CommitSegment(ctx, req.(*SegmentCommitRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_SegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentInfoRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).SegmentInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/SegmentInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).SegmentInfo(ctx, req.(*SegmentInfoRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_DownloadSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentDownloadRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).DownloadSegment(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/DownloadSegment",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).DownloadSegment(ctx, req.(*SegmentDownloadRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_DeleteSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentDeleteRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).DeleteSegment(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/DeleteSegment",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).DeleteSegment(ctx, req.(*SegmentDeleteRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_ListSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListSegmentsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).ListSegments(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/ListSegments",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).ListSegments(ctx, req.(*ListSegmentsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-06-19 13:02:37 +01:00
|
|
|
func _Metainfo_SetAttribution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetAttributionRequest)
|
2019-06-13 02:35:37 +01:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-06-19 13:02:37 +01:00
|
|
|
return srv.(MetainfoServer).SetAttribution(ctx, in)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-06-19 13:02:37 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/SetAttribution",
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-06-19 13:02:37 +01:00
|
|
|
return srv.(MetainfoServer).SetAttribution(ctx, req.(*SetAttributionRequest))
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-03-18 10:55:06 +00:00
|
|
|
var _Metainfo_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "metainfo.Metainfo",
|
|
|
|
HandlerType: (*MetainfoServer)(nil),
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
|
|
|
MethodName: "CreateSegment",
|
|
|
|
Handler: _Metainfo_CreateSegment_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "CommitSegment",
|
|
|
|
Handler: _Metainfo_CommitSegment_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SegmentInfo",
|
|
|
|
Handler: _Metainfo_SegmentInfo_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DownloadSegment",
|
|
|
|
Handler: _Metainfo_DownloadSegment_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DeleteSegment",
|
|
|
|
Handler: _Metainfo_DeleteSegment_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ListSegments",
|
|
|
|
Handler: _Metainfo_ListSegments_Handler,
|
|
|
|
},
|
2019-06-13 02:35:37 +01:00
|
|
|
{
|
2019-06-19 13:02:37 +01:00
|
|
|
MethodName: "SetAttribution",
|
|
|
|
Handler: _Metainfo_SetAttribution_Handler,
|
2019-06-13 02:35:37 +01:00
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "metainfo.proto",
|
|
|
|
}
|