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-07-01 16:54:11 +01:00
|
|
|
Limit *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
2019-06-18 23:22:14 +01:00
|
|
|
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
|
|
|
|
|
2019-07-01 16:54:11 +01:00
|
|
|
func (m *AddressedOrderLimit) GetLimit() *OrderLimit {
|
2019-03-18 10:55:06 +00:00
|
|
|
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 {
|
2019-07-01 16:54:11 +01:00
|
|
|
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"`
|
|
|
|
Pointer *Pointer `protobuf:"bytes,4,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
|
|
|
OriginalLimits []*OrderLimit `protobuf:"bytes,5,rep,name=original_limits,json=originalLimits,proto3" json:"original_limits,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-07-01 16:54:11 +01:00
|
|
|
func (m *SegmentCommitRequest) GetOriginalLimits() []*OrderLimit {
|
2019-03-18 10:55:06 +00:00
|
|
|
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-06-24 18:15:45 +01:00
|
|
|
type ProjectInfoRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProjectInfoRequest) Reset() { *m = ProjectInfoRequest{} }
|
|
|
|
func (m *ProjectInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ProjectInfoRequest) ProtoMessage() {}
|
|
|
|
func (*ProjectInfoRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{15}
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ProjectInfoRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ProjectInfoRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ProjectInfoRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ProjectInfoRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ProjectInfoRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ProjectInfoRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ProjectInfoResponse struct {
|
|
|
|
ProjectSalt []byte `protobuf:"bytes,1,opt,name=project_salt,json=projectSalt,proto3" json:"project_salt,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ProjectInfoResponse) Reset() { *m = ProjectInfoResponse{} }
|
|
|
|
func (m *ProjectInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ProjectInfoResponse) ProtoMessage() {}
|
|
|
|
func (*ProjectInfoResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{16}
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ProjectInfoResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ProjectInfoResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ProjectInfoResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ProjectInfoResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ProjectInfoResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ProjectInfoResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ProjectInfoResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ProjectInfoResponse) GetProjectSalt() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ProjectSalt
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
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-06-24 18:15:45 +01:00
|
|
|
proto.RegisterType((*ProjectInfoRequest)(nil), "metainfo.ProjectInfoRequest")
|
|
|
|
proto.RegisterType((*ProjectInfoResponse)(nil), "metainfo.ProjectInfoResponse")
|
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-07-01 16:54:11 +01:00
|
|
|
// 965 bytes of a gzipped FileDescriptorProto
|
2019-06-19 13:02:37 +01:00
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
|
2019-07-01 16:54:11 +01:00
|
|
|
0x14, 0x66, 0xed, 0x38, 0x8e, 0x8f, 0x9d, 0x18, 0x26, 0x26, 0x5d, 0x6d, 0x1b, 0xec, 0x2e, 0x37,
|
|
|
|
0xbe, 0x40, 0xae, 0x94, 0xde, 0x00, 0xb9, 0xca, 0x4f, 0x11, 0x41, 0x6d, 0xb0, 0xd6, 0x88, 0x4a,
|
|
|
|
0x15, 0x62, 0x35, 0xf6, 0x1e, 0xbb, 0x03, 0xde, 0x9d, 0x65, 0x66, 0x0c, 0x69, 0xaf, 0x79, 0x81,
|
|
|
|
0x22, 0xf1, 0x4c, 0x70, 0xc1, 0x03, 0x20, 0x2e, 0xfa, 0x2c, 0x68, 0x67, 0x66, 0xed, 0x75, 0x6c,
|
|
|
|
0x13, 0x2a, 0xf9, 0x6e, 0xce, 0x99, 0x33, 0xe7, 0xe7, 0xfb, 0x8e, 0xbf, 0x35, 0x1c, 0xc4, 0xa8,
|
|
|
|
0x28, 0x4b, 0xc6, 0xbc, 0x97, 0x0a, 0xae, 0x38, 0xd9, 0xcb, 0x6d, 0x0f, 0x26, 0x7c, 0x62, 0xbd,
|
|
|
|
0x5e, 0x7b, 0xc2, 0xf9, 0x64, 0x8a, 0x8f, 0xb4, 0x35, 0x9c, 0x8d, 0x1f, 0x29, 0x16, 0xa3, 0x54,
|
|
|
|
0x34, 0x4e, 0x6d, 0x00, 0x24, 0x3c, 0x42, 0x7b, 0x6e, 0xa6, 0x9c, 0x25, 0x0a, 0x45, 0x34,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, 0x27, 0x85, 0xd5, 0x5d, 0xf3, 0x91, 0xf6, 0x3e, 0xda, 0x74, 0x6d, 0xeb,
|
|
|
|
0xf7, 0x61, 0xdf, 0xe8, 0x6b, 0x9e, 0x6f, 0xf5, 0xc1, 0xd2, 0x87, 0xc4, 0x6b, 0x6f, 0xbc, 0xb7,
|
|
|
|
0x19, 0xbf, 0x82, 0x7a, 0x41, 0x21, 0xc8, 0x83, 0x95, 0xf8, 0x02, 0x2a, 0xde, 0xf1, 0x86, 0x5b,
|
|
|
|
0x9b, 0xeb, 0x5b, 0x68, 0xe6, 0xaa, 0x9a, 0xf7, 0xd7, 0x59, 0x79, 0x71, 0x4b, 0xd8, 0xbd, 0x87,
|
|
|
|
0xff, 0x11, 0xb1, 0x98, 0xda, 0x68, 0xc3, 0xe6, 0xa9, 0x97, 0x94, 0x69, 0xcd, 0xd4, 0xb7, 0xb4,
|
|
|
|
0xe5, 0x19, 0x34, 0x8a, 0x3f, 0x83, 0x22, 0x2d, 0x6b, 0x84, 0xa2, 0x48, 0xcb, 0xda, 0x1f, 0xdb,
|
|
|
|
0x00, 0x0e, 0x96, 0xb7, 0x8b, 0x2c, 0x75, 0xb0, 0x66, 0xa1, 0xbd, 0xce, 0xe6, 0x80, 0x05, 0x33,
|
|
|
|
0x85, 0x15, 0x2c, 0x32, 0xb3, 0xba, 0xaf, 0x45, 0x66, 0xd6, 0xec, 0xed, 0xf9, 0xce, 0x8b, 0x52,
|
|
|
|
0x3a, 0x1c, 0xee, 0xea, 0xbf, 0x49, 0x8f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x06, 0xec, 0x5b,
|
|
|
|
0x84, 0x1c, 0x0b, 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-06-24 18:15:45 +01:00
|
|
|
ProjectInfo(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, 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-06-24 18:15:45 +01:00
|
|
|
func (c *metainfoClient) ProjectInfo(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, error) {
|
|
|
|
out := new(ProjectInfoResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ProjectInfo", in, out, opts...)
|
|
|
|
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-06-24 18:15:45 +01:00
|
|
|
ProjectInfo(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, 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-06-24 18:15:45 +01:00
|
|
|
func _Metainfo_ProjectInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ProjectInfoRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).ProjectInfo(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/ProjectInfo",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).ProjectInfo(ctx, req.(*ProjectInfoRequest))
|
|
|
|
}
|
|
|
|
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-06-24 18:15:45 +01:00
|
|
|
{
|
|
|
|
MethodName: "ProjectInfo",
|
|
|
|
Handler: _Metainfo_ProjectInfo_Handler,
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
Metadata: "metainfo.proto",
|
|
|
|
}
|