2019-03-18 10:55:06 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
|
|
// source: metainfo.proto
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
import (
|
2019-07-06 14:40:58 +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-07-06 14:40:58 +01:00
|
|
|
math "math"
|
|
|
|
time "time"
|
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
|
2019-07-01 23:17:30 +01:00
|
|
|
var _ = time.Kitchen
|
2019-03-18 10:55:06 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
type Bucket struct {
|
2019-07-01 23:17:30 +01:00
|
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
2019-07-08 23:32:18 +01:00
|
|
|
PathCipher CipherSuite `protobuf:"varint,2,opt,name=path_cipher,json=pathCipher,proto3,enum=encryption.CipherSuite" json:"path_cipher,omitempty"`
|
2019-07-01 23:17:30 +01:00
|
|
|
AttributionId []byte `protobuf:"bytes,3,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
|
|
|
|
CreatedAt time.Time `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
|
|
|
|
DefaultSegmentSize int64 `protobuf:"varint,5,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
|
|
|
|
DefaultRedundancyScheme *RedundancyScheme `protobuf:"bytes,6,opt,name=default_redundancy_scheme,json=defaultRedundancyScheme,proto3" json:"default_redundancy_scheme,omitempty"`
|
|
|
|
DefaultEncryptionParameters *EncryptionParameters `protobuf:"bytes,7,opt,name=default_encryption_parameters,json=defaultEncryptionParameters,proto3" json:"default_encryption_parameters,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) Reset() { *m = Bucket{} }
|
|
|
|
func (m *Bucket) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Bucket) ProtoMessage() {}
|
|
|
|
func (*Bucket) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{0}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Bucket.Unmarshal(m, b)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Bucket.Marshal(b, m, deterministic)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *Bucket) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Bucket.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Bucket.Size(m)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Bucket.DiscardUnknown(m)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
var xxx_messageInfo_Bucket proto.InternalMessageInfo
|
2019-07-01 23:17:30 +01:00
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) GetName() []byte {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 23:32:18 +01:00
|
|
|
func (m *Bucket) GetPathCipher() CipherSuite {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.PathCipher
|
|
|
|
}
|
2019-07-08 23:32:18 +01:00
|
|
|
return CipherSuite_ENC_UNSPECIFIED
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) GetAttributionId() []byte {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.AttributionId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) GetCreatedAt() time.Time {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.CreatedAt
|
|
|
|
}
|
|
|
|
return time.Time{}
|
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) GetDefaultSegmentSize() int64 {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.DefaultSegmentSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) GetDefaultRedundancyScheme() *RedundancyScheme {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.DefaultRedundancyScheme
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *Bucket) GetDefaultEncryptionParameters() *EncryptionParameters {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.DefaultEncryptionParameters
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketListItem struct {
|
|
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
CreatedAt time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketListItem) Reset() { *m = BucketListItem{} }
|
|
|
|
func (m *BucketListItem) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketListItem) ProtoMessage() {}
|
|
|
|
func (*BucketListItem) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{1}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketListItem) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketListItem.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketListItem.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketListItem) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketListItem.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketListItem) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketListItem.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketListItem) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketListItem.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketListItem proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketListItem) GetName() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketListItem) GetCreatedAt() time.Time {
|
|
|
|
if m != nil {
|
|
|
|
return m.CreatedAt
|
|
|
|
}
|
|
|
|
return time.Time{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketCreateRequest struct {
|
|
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
2019-07-08 23:32:18 +01:00
|
|
|
PathCipher CipherSuite `protobuf:"varint,2,opt,name=path_cipher,json=pathCipher,proto3,enum=encryption.CipherSuite" json:"path_cipher,omitempty"`
|
2019-07-01 23:17:30 +01:00
|
|
|
AttributionId []byte `protobuf:"bytes,3,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
|
|
|
|
DefaultSegmentSize int64 `protobuf:"varint,4,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
|
|
|
|
DefaultRedundancyScheme *RedundancyScheme `protobuf:"bytes,5,opt,name=default_redundancy_scheme,json=defaultRedundancyScheme,proto3" json:"default_redundancy_scheme,omitempty"`
|
|
|
|
DefaultEncryptionParameters *EncryptionParameters `protobuf:"bytes,6,opt,name=default_encryption_parameters,json=defaultEncryptionParameters,proto3" json:"default_encryption_parameters,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketCreateRequest) Reset() { *m = BucketCreateRequest{} }
|
|
|
|
func (m *BucketCreateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketCreateRequest) ProtoMessage() {}
|
|
|
|
func (*BucketCreateRequest) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{2}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketCreateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketCreateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketCreateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketCreateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketCreateRequest.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketCreateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketCreateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketCreateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketCreateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketCreateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketCreateRequest) GetName() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 23:32:18 +01:00
|
|
|
func (m *BucketCreateRequest) GetPathCipher() CipherSuite {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.PathCipher
|
|
|
|
}
|
2019-07-08 23:32:18 +01:00
|
|
|
return CipherSuite_ENC_UNSPECIFIED
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketCreateRequest) GetAttributionId() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.AttributionId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketCreateRequest) GetDefaultSegmentSize() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.DefaultSegmentSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketCreateRequest) GetDefaultRedundancyScheme() *RedundancyScheme {
|
|
|
|
if m != nil {
|
|
|
|
return m.DefaultRedundancyScheme
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketCreateRequest) GetDefaultEncryptionParameters() *EncryptionParameters {
|
|
|
|
if m != nil {
|
|
|
|
return m.DefaultEncryptionParameters
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketCreateResponse struct {
|
2019-07-03 20:44:02 +01:00
|
|
|
Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketCreateResponse) Reset() { *m = BucketCreateResponse{} }
|
|
|
|
func (m *BucketCreateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketCreateResponse) ProtoMessage() {}
|
|
|
|
func (*BucketCreateResponse) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{3}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketCreateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketCreateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketCreateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketCreateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketCreateResponse.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketCreateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketCreateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketCreateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketCreateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketCreateResponse proto.InternalMessageInfo
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *BucketCreateResponse) GetBucket() *Bucket {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketGetRequest struct {
|
|
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketGetRequest) Reset() { *m = BucketGetRequest{} }
|
|
|
|
func (m *BucketGetRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketGetRequest) ProtoMessage() {}
|
|
|
|
func (*BucketGetRequest) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{4}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketGetRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketGetRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketGetRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketGetRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketGetRequest.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketGetRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketGetRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketGetRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketGetRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketGetRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketGetRequest) GetName() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketGetResponse struct {
|
2019-07-03 20:44:02 +01:00
|
|
|
Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketGetResponse) Reset() { *m = BucketGetResponse{} }
|
|
|
|
func (m *BucketGetResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketGetResponse) ProtoMessage() {}
|
|
|
|
func (*BucketGetResponse) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{5}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketGetResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketGetResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketGetResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketGetResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketGetResponse.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketGetResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketGetResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketGetResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketGetResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketGetResponse proto.InternalMessageInfo
|
|
|
|
|
2019-07-03 20:44:02 +01:00
|
|
|
func (m *BucketGetResponse) GetBucket() *Bucket {
|
2019-07-01 23:17:30 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketDeleteRequest struct {
|
|
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketDeleteRequest) Reset() { *m = BucketDeleteRequest{} }
|
|
|
|
func (m *BucketDeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketDeleteRequest) ProtoMessage() {}
|
|
|
|
func (*BucketDeleteRequest) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{6}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketDeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketDeleteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketDeleteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketDeleteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketDeleteRequest.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketDeleteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketDeleteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketDeleteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketDeleteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketDeleteRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketDeleteRequest) GetName() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketDeleteResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketDeleteResponse) Reset() { *m = BucketDeleteResponse{} }
|
|
|
|
func (m *BucketDeleteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketDeleteResponse) ProtoMessage() {}
|
|
|
|
func (*BucketDeleteResponse) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{7}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketDeleteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketDeleteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketDeleteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketDeleteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketDeleteResponse.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketDeleteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketDeleteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketDeleteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketDeleteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketDeleteResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type BucketListRequest struct {
|
|
|
|
Cursor []byte `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
|
|
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketListRequest) Reset() { *m = BucketListRequest{} }
|
|
|
|
func (m *BucketListRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketListRequest) ProtoMessage() {}
|
|
|
|
func (*BucketListRequest) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{8}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketListRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketListRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketListRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketListRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketListRequest.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketListRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketListRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketListRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketListRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketListRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketListRequest) GetCursor() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Cursor
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketListRequest) GetLimit() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketListResponse struct {
|
|
|
|
Items []*BucketListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
|
|
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 *BucketListResponse) Reset() { *m = BucketListResponse{} }
|
|
|
|
func (m *BucketListResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketListResponse) ProtoMessage() {}
|
|
|
|
func (*BucketListResponse) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{9}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketListResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketListResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketListResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketListResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketListResponse.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketListResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketListResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketListResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketListResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketListResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketListResponse) GetItems() []*BucketListItem {
|
|
|
|
if m != nil {
|
|
|
|
return m.Items
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketListResponse) GetMore() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.More
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketSetAttributionRequest struct {
|
|
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
AttributionId []byte `protobuf:"bytes,2,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketSetAttributionRequest) Reset() { *m = BucketSetAttributionRequest{} }
|
|
|
|
func (m *BucketSetAttributionRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketSetAttributionRequest) ProtoMessage() {}
|
|
|
|
func (*BucketSetAttributionRequest) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{10}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketSetAttributionRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketSetAttributionRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketSetAttributionRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketSetAttributionRequest.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketSetAttributionRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketSetAttributionRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketSetAttributionRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *BucketSetAttributionRequest) GetName() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketSetAttributionRequest) GetAttributionId() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.AttributionId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type BucketSetAttributionResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BucketSetAttributionResponse) Reset() { *m = BucketSetAttributionResponse{} }
|
|
|
|
func (m *BucketSetAttributionResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BucketSetAttributionResponse) ProtoMessage() {}
|
|
|
|
func (*BucketSetAttributionResponse) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{11}
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_BucketSetAttributionResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_BucketSetAttributionResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *BucketSetAttributionResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_BucketSetAttributionResponse.Merge(m, src)
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_BucketSetAttributionResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *BucketSetAttributionResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_BucketSetAttributionResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_BucketSetAttributionResponse proto.InternalMessageInfo
|
|
|
|
|
2019-03-18 10:55:06 +00:00
|
|
|
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-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{12}
|
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-07-06 14:40:58 +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
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentWriteRequestOld struct {
|
2019-03-18 10:55:06 +00: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"`
|
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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) Reset() { *m = SegmentWriteRequestOld{} }
|
|
|
|
func (m *SegmentWriteRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentWriteRequestOld) ProtoMessage() {}
|
|
|
|
func (*SegmentWriteRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{13}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentWriteRequestOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentWriteRequestOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentWriteRequestOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentWriteRequestOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentWriteRequestOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentWriteRequestOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) GetBucket() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) GetPath() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) GetSegment() int64 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) GetRedundancy() *RedundancyScheme {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Redundancy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) GetMaxEncryptedSegmentSize() int64 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.MaxEncryptedSegmentSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteRequestOld) GetExpiration() *timestamp.Timestamp {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Expiration
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentWriteResponseOld 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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) Reset() { *m = SegmentWriteResponseOld{} }
|
|
|
|
func (m *SegmentWriteResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentWriteResponseOld) ProtoMessage() {}
|
|
|
|
func (*SegmentWriteResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{14}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentWriteResponseOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentWriteResponseOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentWriteResponseOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentWriteResponseOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentWriteResponseOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentWriteResponseOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentWriteResponseOld) GetAddressedLimits() []*AddressedOrderLimit {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.AddressedLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentCommitRequestOld 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
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) Reset() { *m = SegmentCommitRequestOld{} }
|
|
|
|
func (m *SegmentCommitRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentCommitRequestOld) ProtoMessage() {}
|
|
|
|
func (*SegmentCommitRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{15}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentCommitRequestOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentCommitRequestOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentCommitRequestOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentCommitRequestOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentCommitRequestOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentCommitRequestOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) GetBucket() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) GetPath() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) GetSegment() int64 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) GetPointer() *Pointer {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitRequestOld) GetOriginalLimits() []*OrderLimit {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.OriginalLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentCommitResponseOld 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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) Reset() { *m = SegmentCommitResponseOld{} }
|
|
|
|
func (m *SegmentCommitResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentCommitResponseOld) ProtoMessage() {}
|
|
|
|
func (*SegmentCommitResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{16}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentCommitResponseOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentCommitResponseOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentCommitResponseOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentCommitResponseOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentCommitResponseOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentCommitResponseOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentCommitResponseOld) GetPointer() *Pointer {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentDownloadRequestOld struct {
|
2019-03-18 10:55:06 +00: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"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) Reset() { *m = SegmentDownloadRequestOld{} }
|
|
|
|
func (m *SegmentDownloadRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDownloadRequestOld) ProtoMessage() {}
|
|
|
|
func (*SegmentDownloadRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{17}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDownloadRequestOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDownloadRequestOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDownloadRequestOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDownloadRequestOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDownloadRequestOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentDownloadRequestOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) GetBucket() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) GetPath() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadRequestOld) GetSegment() int64 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentDownloadResponseOld 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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) Reset() { *m = SegmentDownloadResponseOld{} }
|
|
|
|
func (m *SegmentDownloadResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDownloadResponseOld) ProtoMessage() {}
|
|
|
|
func (*SegmentDownloadResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{18}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDownloadResponseOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDownloadResponseOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDownloadResponseOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDownloadResponseOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDownloadResponseOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentDownloadResponseOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) GetAddressedLimits() []*AddressedOrderLimit {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.AddressedLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDownloadResponseOld) GetPointer() *Pointer {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentInfoRequestOld struct {
|
2019-03-18 10:55:06 +00: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"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) Reset() { *m = SegmentInfoRequestOld{} }
|
|
|
|
func (m *SegmentInfoRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentInfoRequestOld) ProtoMessage() {}
|
|
|
|
func (*SegmentInfoRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{19}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentInfoRequestOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentInfoRequestOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentInfoRequestOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentInfoRequestOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentInfoRequestOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentInfoRequestOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) GetBucket() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) GetPath() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoRequestOld) GetSegment() int64 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentInfoResponseOld 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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) Reset() { *m = SegmentInfoResponseOld{} }
|
|
|
|
func (m *SegmentInfoResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentInfoResponseOld) ProtoMessage() {}
|
|
|
|
func (*SegmentInfoResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{20}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentInfoResponseOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentInfoResponseOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentInfoResponseOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentInfoResponseOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentInfoResponseOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentInfoResponseOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentInfoResponseOld) GetPointer() *Pointer {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentDeleteRequestOld struct {
|
2019-03-18 10:55:06 +00: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"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) Reset() { *m = SegmentDeleteRequestOld{} }
|
|
|
|
func (m *SegmentDeleteRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDeleteRequestOld) ProtoMessage() {}
|
|
|
|
func (*SegmentDeleteRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{21}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDeleteRequestOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDeleteRequestOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDeleteRequestOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDeleteRequestOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDeleteRequestOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentDeleteRequestOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) GetBucket() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) GetPath() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteRequestOld) GetSegment() int64 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SegmentDeleteResponseOld 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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) Reset() { *m = SegmentDeleteResponseOld{} }
|
|
|
|
func (m *SegmentDeleteResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentDeleteResponseOld) ProtoMessage() {}
|
|
|
|
func (*SegmentDeleteResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{22}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentDeleteResponseOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentDeleteResponseOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentDeleteResponseOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentDeleteResponseOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentDeleteResponseOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SegmentDeleteResponseOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SegmentDeleteResponseOld) GetAddressedLimits() []*AddressedOrderLimit {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.AddressedLimits
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type ListSegmentsRequestOld struct {
|
2019-03-18 10:55:06 +00:00
|
|
|
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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) Reset() { *m = ListSegmentsRequestOld{} }
|
|
|
|
func (m *ListSegmentsRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListSegmentsRequestOld) ProtoMessage() {}
|
|
|
|
func (*ListSegmentsRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{23}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListSegmentsRequestOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListSegmentsRequestOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListSegmentsRequestOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListSegmentsRequestOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListSegmentsRequestOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_ListSegmentsRequestOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetBucket() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetPrefix() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Prefix
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetStartAfter() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.StartAfter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetEndBefore() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.EndBefore
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetRecursive() bool {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Recursive
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetLimit() int32 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsRequestOld) GetMetaFlags() uint32 {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.MetaFlags
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type ListSegmentsResponseOld struct {
|
|
|
|
Items []*ListSegmentsResponseOld_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
|
|
More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) Reset() { *m = ListSegmentsResponseOld{} }
|
|
|
|
func (m *ListSegmentsResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListSegmentsResponseOld) ProtoMessage() {}
|
|
|
|
func (*ListSegmentsResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{24}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponseOld.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponseOld.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListSegmentsResponseOld.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponseOld.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListSegmentsResponseOld.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_ListSegmentsResponseOld proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) GetItems() []*ListSegmentsResponseOld_Item {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Items
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld) GetMore() bool {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.More
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type ListSegmentsResponseOld_Item struct {
|
2019-03-18 10:55:06 +00:00
|
|
|
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:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) Reset() { *m = ListSegmentsResponseOld_Item{} }
|
|
|
|
func (m *ListSegmentsResponseOld_Item) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListSegmentsResponseOld_Item) ProtoMessage() {}
|
|
|
|
func (*ListSegmentsResponseOld_Item) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{24, 0}
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponseOld_Item.Unmarshal(m, b)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponseOld_Item.Marshal(b, m, deterministic)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListSegmentsResponseOld_Item.Merge(m, src)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListSegmentsResponseOld_Item.Size(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListSegmentsResponseOld_Item.DiscardUnknown(m)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_ListSegmentsResponseOld_Item proto.InternalMessageInfo
|
2019-03-18 10:55:06 +00:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) GetPath() []byte {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) GetPointer() *Pointer {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Pointer
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *ListSegmentsResponseOld_Item) GetIsPrefix() bool {
|
2019-03-18 10:55:06 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.IsPrefix
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SetAttributionRequestOld 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-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) Reset() { *m = SetAttributionRequestOld{} }
|
|
|
|
func (m *SetAttributionRequestOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SetAttributionRequestOld) ProtoMessage() {}
|
|
|
|
func (*SetAttributionRequestOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{25}
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SetAttributionRequestOld.Unmarshal(m, b)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SetAttributionRequestOld.Marshal(b, m, deterministic)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SetAttributionRequestOld.Merge(m, src)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SetAttributionRequestOld.Size(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SetAttributionRequestOld.DiscardUnknown(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SetAttributionRequestOld proto.InternalMessageInfo
|
2019-06-13 02:35:37 +01:00
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) GetBucketName() []byte {
|
2019-06-13 02:35:37 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.BucketName
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionRequestOld) GetPartnerId() []byte {
|
2019-06-13 02:35:37 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.PartnerId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
type SetAttributionResponseOld struct {
|
2019-06-13 02:35:37 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionResponseOld) Reset() { *m = SetAttributionResponseOld{} }
|
|
|
|
func (m *SetAttributionResponseOld) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SetAttributionResponseOld) ProtoMessage() {}
|
|
|
|
func (*SetAttributionResponseOld) Descriptor() ([]byte, []int) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{26}
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionResponseOld) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SetAttributionResponseOld.Unmarshal(m, b)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SetAttributionResponseOld.Marshal(b, m, deterministic)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionResponseOld) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SetAttributionResponseOld.Merge(m, src)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionResponseOld) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SetAttributionResponseOld.Size(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
2019-07-08 14:33:15 +01:00
|
|
|
func (m *SetAttributionResponseOld) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SetAttributionResponseOld.DiscardUnknown(m)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
var xxx_messageInfo_SetAttributionResponseOld 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) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{27}
|
2019-06-24 18:15:45 +01:00
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *ProjectInfoRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ProjectInfoRequest.Merge(m, src)
|
2019-06-24 18:15:45 +01:00
|
|
|
}
|
|
|
|
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) {
|
2019-07-06 14:40:58 +01:00
|
|
|
return fileDescriptor_631e2f30a93cd64e, []int{28}
|
2019-06-24 18:15:45 +01:00
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
2019-07-06 14:40:58 +01:00
|
|
|
func (m *ProjectInfoResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ProjectInfoResponse.Merge(m, src)
|
2019-06-24 18:15:45 +01:00
|
|
|
}
|
|
|
|
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() {
|
2019-07-03 20:44:02 +01:00
|
|
|
proto.RegisterType((*Bucket)(nil), "metainfo.Bucket")
|
2019-07-01 23:17:30 +01:00
|
|
|
proto.RegisterType((*BucketListItem)(nil), "metainfo.BucketListItem")
|
|
|
|
proto.RegisterType((*BucketCreateRequest)(nil), "metainfo.BucketCreateRequest")
|
|
|
|
proto.RegisterType((*BucketCreateResponse)(nil), "metainfo.BucketCreateResponse")
|
|
|
|
proto.RegisterType((*BucketGetRequest)(nil), "metainfo.BucketGetRequest")
|
|
|
|
proto.RegisterType((*BucketGetResponse)(nil), "metainfo.BucketGetResponse")
|
|
|
|
proto.RegisterType((*BucketDeleteRequest)(nil), "metainfo.BucketDeleteRequest")
|
|
|
|
proto.RegisterType((*BucketDeleteResponse)(nil), "metainfo.BucketDeleteResponse")
|
|
|
|
proto.RegisterType((*BucketListRequest)(nil), "metainfo.BucketListRequest")
|
|
|
|
proto.RegisterType((*BucketListResponse)(nil), "metainfo.BucketListResponse")
|
|
|
|
proto.RegisterType((*BucketSetAttributionRequest)(nil), "metainfo.BucketSetAttributionRequest")
|
|
|
|
proto.RegisterType((*BucketSetAttributionResponse)(nil), "metainfo.BucketSetAttributionResponse")
|
2019-03-18 10:55:06 +00:00
|
|
|
proto.RegisterType((*AddressedOrderLimit)(nil), "metainfo.AddressedOrderLimit")
|
2019-07-08 14:33:15 +01:00
|
|
|
proto.RegisterType((*SegmentWriteRequestOld)(nil), "metainfo.SegmentWriteRequestOld")
|
|
|
|
proto.RegisterType((*SegmentWriteResponseOld)(nil), "metainfo.SegmentWriteResponseOld")
|
|
|
|
proto.RegisterType((*SegmentCommitRequestOld)(nil), "metainfo.SegmentCommitRequestOld")
|
|
|
|
proto.RegisterType((*SegmentCommitResponseOld)(nil), "metainfo.SegmentCommitResponseOld")
|
|
|
|
proto.RegisterType((*SegmentDownloadRequestOld)(nil), "metainfo.SegmentDownloadRequestOld")
|
|
|
|
proto.RegisterType((*SegmentDownloadResponseOld)(nil), "metainfo.SegmentDownloadResponseOld")
|
|
|
|
proto.RegisterType((*SegmentInfoRequestOld)(nil), "metainfo.SegmentInfoRequestOld")
|
|
|
|
proto.RegisterType((*SegmentInfoResponseOld)(nil), "metainfo.SegmentInfoResponseOld")
|
|
|
|
proto.RegisterType((*SegmentDeleteRequestOld)(nil), "metainfo.SegmentDeleteRequestOld")
|
|
|
|
proto.RegisterType((*SegmentDeleteResponseOld)(nil), "metainfo.SegmentDeleteResponseOld")
|
|
|
|
proto.RegisterType((*ListSegmentsRequestOld)(nil), "metainfo.ListSegmentsRequestOld")
|
|
|
|
proto.RegisterType((*ListSegmentsResponseOld)(nil), "metainfo.ListSegmentsResponseOld")
|
|
|
|
proto.RegisterType((*ListSegmentsResponseOld_Item)(nil), "metainfo.ListSegmentsResponseOld.Item")
|
|
|
|
proto.RegisterType((*SetAttributionRequestOld)(nil), "metainfo.SetAttributionRequestOld")
|
|
|
|
proto.RegisterType((*SetAttributionResponseOld)(nil), "metainfo.SetAttributionResponseOld")
|
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-07-06 14:40:58 +01:00
|
|
|
func init() { proto.RegisterFile("metainfo.proto", fileDescriptor_631e2f30a93cd64e) }
|
|
|
|
|
|
|
|
var fileDescriptor_631e2f30a93cd64e = []byte{
|
2019-07-08 23:32:18 +01:00
|
|
|
// 1406 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4b, 0x6f, 0xdb, 0xc6,
|
|
|
|
0x16, 0xbe, 0x94, 0x6d, 0x59, 0x3a, 0x72, 0x6c, 0x67, 0xe2, 0x6b, 0x2b, 0x54, 0x1c, 0x2b, 0xcc,
|
|
|
|
0x4d, 0xa0, 0x0b, 0x5c, 0x28, 0x17, 0xce, 0x26, 0x68, 0x5a, 0xa0, 0x7e, 0xe4, 0xe1, 0x22, 0x0f,
|
|
|
|
0x83, 0x2a, 0x9a, 0x34, 0x68, 0x41, 0x50, 0xe2, 0x91, 0xc2, 0x56, 0x7c, 0x74, 0x38, 0x6a, 0x9d,
|
|
|
|
0xac, 0xfb, 0x03, 0xba, 0xc8, 0xa2, 0xff, 0xa3, 0x7f, 0xa2, 0xe8, 0xb2, 0xcb, 0x16, 0x48, 0x77,
|
|
|
|
0xfd, 0x13, 0xdd, 0x14, 0xf3, 0x12, 0x49, 0x89, 0x92, 0x93, 0xc0, 0x41, 0x77, 0x9c, 0x33, 0xdf,
|
|
|
|
0x9c, 0x39, 0xe7, 0x3b, 0xaf, 0x21, 0xac, 0x06, 0xc8, 0x5c, 0x3f, 0xec, 0x47, 0xed, 0x98, 0x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 0x59,
|
|
|
|
0xcc, 0xe6, 0x0c, 0x40, 0xaa, 0xd4, 0x01, 0xa2, 0x67, 0x64, 0xc6, 0xe2, 0xab, 0x53, 0xe7, 0xa6,
|
|
|
|
0x87, 0xb5, 0xf9, 0x9f, 0x39, 0xa0, 0x1c, 0x21, 0x32, 0x59, 0xe6, 0x12, 0x32, 0x39, 0x6a, 0x0a,
|
|
|
|
0x08, 0x99, 0x1e, 0x16, 0x9f, 0xc1, 0x5a, 0xb6, 0xa3, 0x4d, 0xc4, 0xb0, 0xb8, 0xf9, 0x67, 0x63,
|
|
|
|
0x38, 0xab, 0x81, 0x7e, 0x01, 0xe7, 0xf3, 0x69, 0xc3, 0x85, 0x39, 0x83, 0x8a, 0x9b, 0x94, 0x79,
|
|
|
|
0x75, 0x36, 0x26, 0xd5, 0xfe, 0x09, 0xd4, 0x32, 0x6d, 0x85, 0x64, 0xca, 0x61, 0xba, 0x07, 0x99,
|
|
|
|
0xdb, 0x33, 0x76, 0xa5, 0xba, 0xfd, 0xc5, 0x67, 0xa5, 0xb8, 0xdb, 0x2d, 0x8b, 0x47, 0xf2, 0xcd,
|
|
|
|
0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xbc, 0x93, 0xd5, 0xd1, 0x12, 0x00, 0x00,
|
2019-07-06 14:40:58 +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 {
|
2019-07-01 23:17:30 +01:00
|
|
|
CreateBucket(ctx context.Context, in *BucketCreateRequest, opts ...grpc.CallOption) (*BucketCreateResponse, error)
|
|
|
|
GetBucket(ctx context.Context, in *BucketGetRequest, opts ...grpc.CallOption) (*BucketGetResponse, error)
|
|
|
|
DeleteBucket(ctx context.Context, in *BucketDeleteRequest, opts ...grpc.CallOption) (*BucketDeleteResponse, error)
|
|
|
|
ListBuckets(ctx context.Context, in *BucketListRequest, opts ...grpc.CallOption) (*BucketListResponse, error)
|
|
|
|
SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest, opts ...grpc.CallOption) (*BucketSetAttributionResponse, error)
|
2019-07-08 14:33:15 +01:00
|
|
|
CreateSegmentOld(ctx context.Context, in *SegmentWriteRequestOld, opts ...grpc.CallOption) (*SegmentWriteResponseOld, error)
|
|
|
|
CommitSegmentOld(ctx context.Context, in *SegmentCommitRequestOld, opts ...grpc.CallOption) (*SegmentCommitResponseOld, error)
|
|
|
|
SegmentInfoOld(ctx context.Context, in *SegmentInfoRequestOld, opts ...grpc.CallOption) (*SegmentInfoResponseOld, error)
|
|
|
|
DownloadSegmentOld(ctx context.Context, in *SegmentDownloadRequestOld, opts ...grpc.CallOption) (*SegmentDownloadResponseOld, error)
|
|
|
|
DeleteSegmentOld(ctx context.Context, in *SegmentDeleteRequestOld, opts ...grpc.CallOption) (*SegmentDeleteResponseOld, error)
|
|
|
|
ListSegmentsOld(ctx context.Context, in *ListSegmentsRequestOld, opts ...grpc.CallOption) (*ListSegmentsResponseOld, error)
|
|
|
|
SetAttributionOld(ctx context.Context, in *SetAttributionRequestOld, opts ...grpc.CallOption) (*SetAttributionResponseOld, 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}
|
|
|
|
}
|
|
|
|
|
2019-07-01 23:17:30 +01:00
|
|
|
func (c *metainfoClient) CreateBucket(ctx context.Context, in *BucketCreateRequest, opts ...grpc.CallOption) (*BucketCreateResponse, error) {
|
|
|
|
out := new(BucketCreateResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateBucket", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) GetBucket(ctx context.Context, in *BucketGetRequest, opts ...grpc.CallOption) (*BucketGetResponse, error) {
|
|
|
|
out := new(BucketGetResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucket", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) DeleteBucket(ctx context.Context, in *BucketDeleteRequest, opts ...grpc.CallOption) (*BucketDeleteResponse, error) {
|
|
|
|
out := new(BucketDeleteResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteBucket", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) ListBuckets(ctx context.Context, in *BucketListRequest, opts ...grpc.CallOption) (*BucketListResponse, error) {
|
|
|
|
out := new(BucketListResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListBuckets", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *metainfoClient) SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest, opts ...grpc.CallOption) (*BucketSetAttributionResponse, error) {
|
|
|
|
out := new(BucketSetAttributionResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketAttribution", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) CreateSegmentOld(ctx context.Context, in *SegmentWriteRequestOld, opts ...grpc.CallOption) (*SegmentWriteResponseOld, error) {
|
|
|
|
out := new(SegmentWriteResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateSegmentOld", in, out, opts...)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) CommitSegmentOld(ctx context.Context, in *SegmentCommitRequestOld, opts ...grpc.CallOption) (*SegmentCommitResponseOld, error) {
|
|
|
|
out := new(SegmentCommitResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegmentOld", in, out, opts...)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) SegmentInfoOld(ctx context.Context, in *SegmentInfoRequestOld, opts ...grpc.CallOption) (*SegmentInfoResponseOld, error) {
|
|
|
|
out := new(SegmentInfoResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SegmentInfoOld", in, out, opts...)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) DownloadSegmentOld(ctx context.Context, in *SegmentDownloadRequestOld, opts ...grpc.CallOption) (*SegmentDownloadResponseOld, error) {
|
|
|
|
out := new(SegmentDownloadResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegmentOld", in, out, opts...)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) DeleteSegmentOld(ctx context.Context, in *SegmentDeleteRequestOld, opts ...grpc.CallOption) (*SegmentDeleteResponseOld, error) {
|
|
|
|
out := new(SegmentDeleteResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteSegmentOld", in, out, opts...)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) ListSegmentsOld(ctx context.Context, in *ListSegmentsRequestOld, opts ...grpc.CallOption) (*ListSegmentsResponseOld, error) {
|
|
|
|
out := new(ListSegmentsResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegmentsOld", in, out, opts...)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func (c *metainfoClient) SetAttributionOld(ctx context.Context, in *SetAttributionRequestOld, opts ...grpc.CallOption) (*SetAttributionResponseOld, error) {
|
|
|
|
out := new(SetAttributionResponseOld)
|
|
|
|
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetAttributionOld", 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 {
|
2019-07-01 23:17:30 +01:00
|
|
|
CreateBucket(context.Context, *BucketCreateRequest) (*BucketCreateResponse, error)
|
|
|
|
GetBucket(context.Context, *BucketGetRequest) (*BucketGetResponse, error)
|
|
|
|
DeleteBucket(context.Context, *BucketDeleteRequest) (*BucketDeleteResponse, error)
|
|
|
|
ListBuckets(context.Context, *BucketListRequest) (*BucketListResponse, error)
|
|
|
|
SetBucketAttribution(context.Context, *BucketSetAttributionRequest) (*BucketSetAttributionResponse, error)
|
2019-07-08 14:33:15 +01:00
|
|
|
CreateSegmentOld(context.Context, *SegmentWriteRequestOld) (*SegmentWriteResponseOld, error)
|
|
|
|
CommitSegmentOld(context.Context, *SegmentCommitRequestOld) (*SegmentCommitResponseOld, error)
|
|
|
|
SegmentInfoOld(context.Context, *SegmentInfoRequestOld) (*SegmentInfoResponseOld, error)
|
|
|
|
DownloadSegmentOld(context.Context, *SegmentDownloadRequestOld) (*SegmentDownloadResponseOld, error)
|
|
|
|
DeleteSegmentOld(context.Context, *SegmentDeleteRequestOld) (*SegmentDeleteResponseOld, error)
|
|
|
|
ListSegmentsOld(context.Context, *ListSegmentsRequestOld) (*ListSegmentsResponseOld, error)
|
|
|
|
SetAttributionOld(context.Context, *SetAttributionRequestOld) (*SetAttributionResponseOld, 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)
|
|
|
|
}
|
|
|
|
|
2019-07-01 23:17:30 +01:00
|
|
|
func _Metainfo_CreateBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BucketCreateRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).CreateBucket(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/CreateBucket",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).CreateBucket(ctx, req.(*BucketCreateRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_GetBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BucketGetRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).GetBucket(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/GetBucket",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).GetBucket(ctx, req.(*BucketGetRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_DeleteBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BucketDeleteRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).DeleteBucket(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/DeleteBucket",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).DeleteBucket(ctx, req.(*BucketDeleteRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_ListBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BucketListRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).ListBuckets(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/ListBuckets",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).ListBuckets(ctx, req.(*BucketListRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Metainfo_SetBucketAttribution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(BucketSetAttributionRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(MetainfoServer).SetBucketAttribution(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/metainfo.Metainfo/SetBucketAttribution",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(MetainfoServer).SetBucketAttribution(ctx, req.(*BucketSetAttributionRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_CreateSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentWriteRequestOld)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).CreateSegmentOld(ctx, in)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/CreateSegmentOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).CreateSegmentOld(ctx, req.(*SegmentWriteRequestOld))
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_CommitSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentCommitRequestOld)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).CommitSegmentOld(ctx, in)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/CommitSegmentOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).CommitSegmentOld(ctx, req.(*SegmentCommitRequestOld))
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_SegmentInfoOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentInfoRequestOld)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).SegmentInfoOld(ctx, in)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/SegmentInfoOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).SegmentInfoOld(ctx, req.(*SegmentInfoRequestOld))
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_DownloadSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentDownloadRequestOld)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).DownloadSegmentOld(ctx, in)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/DownloadSegmentOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).DownloadSegmentOld(ctx, req.(*SegmentDownloadRequestOld))
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_DeleteSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SegmentDeleteRequestOld)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).DeleteSegmentOld(ctx, in)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/DeleteSegmentOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).DeleteSegmentOld(ctx, req.(*SegmentDeleteRequestOld))
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_ListSegmentsOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(ListSegmentsRequestOld)
|
2019-03-18 10:55:06 +00:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).ListSegmentsOld(ctx, in)
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/ListSegmentsOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).ListSegmentsOld(ctx, req.(*ListSegmentsRequestOld))
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2019-07-08 14:33:15 +01:00
|
|
|
func _Metainfo_SetAttributionOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetAttributionRequestOld)
|
2019-06-13 02:35:37 +01:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).SetAttributionOld(ctx, in)
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2019-07-08 14:33:15 +01:00
|
|
|
FullMethod: "/metainfo.Metainfo/SetAttributionOld",
|
2019-06-13 02:35:37 +01:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2019-07-08 14:33:15 +01:00
|
|
|
return srv.(MetainfoServer).SetAttributionOld(ctx, req.(*SetAttributionRequestOld))
|
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{
|
2019-07-01 23:17:30 +01:00
|
|
|
{
|
|
|
|
MethodName: "CreateBucket",
|
|
|
|
Handler: _Metainfo_CreateBucket_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "GetBucket",
|
|
|
|
Handler: _Metainfo_GetBucket_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "DeleteBucket",
|
|
|
|
Handler: _Metainfo_DeleteBucket_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "ListBuckets",
|
|
|
|
Handler: _Metainfo_ListBuckets_Handler,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetBucketAttribution",
|
|
|
|
Handler: _Metainfo_SetBucketAttribution_Handler,
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "CreateSegmentOld",
|
|
|
|
Handler: _Metainfo_CreateSegmentOld_Handler,
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "CommitSegmentOld",
|
|
|
|
Handler: _Metainfo_CommitSegmentOld_Handler,
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "SegmentInfoOld",
|
|
|
|
Handler: _Metainfo_SegmentInfoOld_Handler,
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "DownloadSegmentOld",
|
|
|
|
Handler: _Metainfo_DownloadSegmentOld_Handler,
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "DeleteSegmentOld",
|
|
|
|
Handler: _Metainfo_DeleteSegmentOld_Handler,
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "ListSegmentsOld",
|
|
|
|
Handler: _Metainfo_ListSegmentsOld_Handler,
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
2019-06-13 02:35:37 +01:00
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
MethodName: "SetAttributionOld",
|
|
|
|
Handler: _Metainfo_SetAttributionOld_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",
|
|
|
|
}
|