2074 lines
81 KiB
Go
2074 lines
81 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: metainfo.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
_ "github.com/golang/protobuf/ptypes/timestamp"
|
|
grpc "google.golang.org/grpc"
|
|
math "math"
|
|
time "time"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
var _ = time.Kitchen
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type Bucket struct {
|
|
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
PathCipher CipherSuite `protobuf:"varint,2,opt,name=path_cipher,json=pathCipher,proto3,enum=encryption.CipherSuite" json:"path_cipher,omitempty"`
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *Bucket) Reset() { *m = Bucket{} }
|
|
func (m *Bucket) String() string { return proto.CompactTextString(m) }
|
|
func (*Bucket) ProtoMessage() {}
|
|
func (*Bucket) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{0}
|
|
}
|
|
func (m *Bucket) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Bucket.Unmarshal(m, b)
|
|
}
|
|
func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Bucket.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Bucket) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Bucket.Merge(m, src)
|
|
}
|
|
func (m *Bucket) XXX_Size() int {
|
|
return xxx_messageInfo_Bucket.Size(m)
|
|
}
|
|
func (m *Bucket) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Bucket.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Bucket proto.InternalMessageInfo
|
|
|
|
func (m *Bucket) GetName() []byte {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Bucket) GetPathCipher() CipherSuite {
|
|
if m != nil {
|
|
return m.PathCipher
|
|
}
|
|
return CipherSuite_ENC_UNSPECIFIED
|
|
}
|
|
|
|
func (m *Bucket) GetAttributionId() []byte {
|
|
if m != nil {
|
|
return m.AttributionId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Bucket) GetCreatedAt() time.Time {
|
|
if m != nil {
|
|
return m.CreatedAt
|
|
}
|
|
return time.Time{}
|
|
}
|
|
|
|
func (m *Bucket) GetDefaultSegmentSize() int64 {
|
|
if m != nil {
|
|
return m.DefaultSegmentSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Bucket) GetDefaultRedundancyScheme() *RedundancyScheme {
|
|
if m != nil {
|
|
return m.DefaultRedundancyScheme
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Bucket) GetDefaultEncryptionParameters() *EncryptionParameters {
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{1}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketListItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketListItem.Merge(m, src)
|
|
}
|
|
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"`
|
|
PathCipher CipherSuite `protobuf:"varint,2,opt,name=path_cipher,json=pathCipher,proto3,enum=encryption.CipherSuite" json:"path_cipher,omitempty"`
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{2}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketCreateRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketCreateRequest.Merge(m, src)
|
|
}
|
|
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
|
|
}
|
|
|
|
func (m *BucketCreateRequest) GetPathCipher() CipherSuite {
|
|
if m != nil {
|
|
return m.PathCipher
|
|
}
|
|
return CipherSuite_ENC_UNSPECIFIED
|
|
}
|
|
|
|
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 {
|
|
Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BucketCreateResponse) Reset() { *m = BucketCreateResponse{} }
|
|
func (m *BucketCreateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BucketCreateResponse) ProtoMessage() {}
|
|
func (*BucketCreateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{3}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketCreateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketCreateResponse.Merge(m, src)
|
|
}
|
|
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
|
|
|
|
func (m *BucketCreateResponse) GetBucket() *Bucket {
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{4}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketGetRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketGetRequest.Merge(m, src)
|
|
}
|
|
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 {
|
|
Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BucketGetResponse) Reset() { *m = BucketGetResponse{} }
|
|
func (m *BucketGetResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BucketGetResponse) ProtoMessage() {}
|
|
func (*BucketGetResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{5}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketGetResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketGetResponse.Merge(m, src)
|
|
}
|
|
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
|
|
|
|
func (m *BucketGetResponse) GetBucket() *Bucket {
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{6}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketDeleteRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketDeleteRequest.Merge(m, src)
|
|
}
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{7}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketDeleteResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketDeleteResponse.Merge(m, src)
|
|
}
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{8}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketListRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketListRequest.Merge(m, src)
|
|
}
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{9}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketListResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketListResponse.Merge(m, src)
|
|
}
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{10}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketSetAttributionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketSetAttributionRequest.Merge(m, src)
|
|
}
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{11}
|
|
}
|
|
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)
|
|
}
|
|
func (m *BucketSetAttributionResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BucketSetAttributionResponse.Merge(m, src)
|
|
}
|
|
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
|
|
|
|
type AddressedOrderLimit struct {
|
|
Limit *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
StorageNodeAddress *NodeAddress `protobuf:"bytes,2,opt,name=storage_node_address,json=storageNodeAddress,proto3" json:"storage_node_address,omitempty"`
|
|
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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{12}
|
|
}
|
|
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)
|
|
}
|
|
func (m *AddressedOrderLimit) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AddressedOrderLimit.Merge(m, src)
|
|
}
|
|
func (m *AddressedOrderLimit) XXX_Size() int {
|
|
return xxx_messageInfo_AddressedOrderLimit.Size(m)
|
|
}
|
|
func (m *AddressedOrderLimit) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AddressedOrderLimit.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AddressedOrderLimit proto.InternalMessageInfo
|
|
|
|
func (m *AddressedOrderLimit) GetLimit() *OrderLimit {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AddressedOrderLimit) GetStorageNodeAddress() *NodeAddress {
|
|
if m != nil {
|
|
return m.StorageNodeAddress
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentWriteRequestOld struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
Redundancy *RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
|
|
MaxEncryptedSegmentSize int64 `protobuf:"varint,5,opt,name=max_encrypted_segment_size,json=maxEncryptedSegmentSize,proto3" json:"max_encrypted_segment_size,omitempty"`
|
|
Expiration time.Time `protobuf:"bytes,6,opt,name=expiration,proto3,stdtime" json:"expiration"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentWriteRequestOld) Reset() { *m = SegmentWriteRequestOld{} }
|
|
func (m *SegmentWriteRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentWriteRequestOld) ProtoMessage() {}
|
|
func (*SegmentWriteRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{13}
|
|
}
|
|
func (m *SegmentWriteRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentWriteRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentWriteRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentWriteRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentWriteRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentWriteRequestOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentWriteRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentWriteRequestOld.Size(m)
|
|
}
|
|
func (m *SegmentWriteRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentWriteRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentWriteRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentWriteRequestOld) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentWriteRequestOld) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentWriteRequestOld) GetSegment() int64 {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentWriteRequestOld) GetRedundancy() *RedundancyScheme {
|
|
if m != nil {
|
|
return m.Redundancy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentWriteRequestOld) GetMaxEncryptedSegmentSize() int64 {
|
|
if m != nil {
|
|
return m.MaxEncryptedSegmentSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentWriteRequestOld) GetExpiration() time.Time {
|
|
if m != nil {
|
|
return m.Expiration
|
|
}
|
|
return time.Time{}
|
|
}
|
|
|
|
type SegmentWriteResponseOld struct {
|
|
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
|
|
RootPieceId PieceID `protobuf:"bytes,2,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
|
|
PrivateKey PiecePrivateKey `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentWriteResponseOld) Reset() { *m = SegmentWriteResponseOld{} }
|
|
func (m *SegmentWriteResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentWriteResponseOld) ProtoMessage() {}
|
|
func (*SegmentWriteResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{14}
|
|
}
|
|
func (m *SegmentWriteResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentWriteResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentWriteResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentWriteResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentWriteResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentWriteResponseOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentWriteResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentWriteResponseOld.Size(m)
|
|
}
|
|
func (m *SegmentWriteResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentWriteResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentWriteResponseOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentWriteResponseOld) GetAddressedLimits() []*AddressedOrderLimit {
|
|
if m != nil {
|
|
return m.AddressedLimits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentCommitRequestOld struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *SegmentCommitRequestOld) Reset() { *m = SegmentCommitRequestOld{} }
|
|
func (m *SegmentCommitRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentCommitRequestOld) ProtoMessage() {}
|
|
func (*SegmentCommitRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{15}
|
|
}
|
|
func (m *SegmentCommitRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentCommitRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentCommitRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentCommitRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentCommitRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentCommitRequestOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentCommitRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentCommitRequestOld.Size(m)
|
|
}
|
|
func (m *SegmentCommitRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentCommitRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentCommitRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentCommitRequestOld) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentCommitRequestOld) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentCommitRequestOld) GetSegment() int64 {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentCommitRequestOld) GetPointer() *Pointer {
|
|
if m != nil {
|
|
return m.Pointer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentCommitRequestOld) GetOriginalLimits() []*OrderLimit {
|
|
if m != nil {
|
|
return m.OriginalLimits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentCommitResponseOld struct {
|
|
Pointer *Pointer `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentCommitResponseOld) Reset() { *m = SegmentCommitResponseOld{} }
|
|
func (m *SegmentCommitResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentCommitResponseOld) ProtoMessage() {}
|
|
func (*SegmentCommitResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{16}
|
|
}
|
|
func (m *SegmentCommitResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentCommitResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentCommitResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentCommitResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentCommitResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentCommitResponseOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentCommitResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentCommitResponseOld.Size(m)
|
|
}
|
|
func (m *SegmentCommitResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentCommitResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentCommitResponseOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentCommitResponseOld) GetPointer() *Pointer {
|
|
if m != nil {
|
|
return m.Pointer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentDownloadRequestOld struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentDownloadRequestOld) Reset() { *m = SegmentDownloadRequestOld{} }
|
|
func (m *SegmentDownloadRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentDownloadRequestOld) ProtoMessage() {}
|
|
func (*SegmentDownloadRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{17}
|
|
}
|
|
func (m *SegmentDownloadRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentDownloadRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentDownloadRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentDownloadRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentDownloadRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentDownloadRequestOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentDownloadRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentDownloadRequestOld.Size(m)
|
|
}
|
|
func (m *SegmentDownloadRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentDownloadRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentDownloadRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentDownloadRequestOld) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentDownloadRequestOld) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentDownloadRequestOld) GetSegment() int64 {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentDownloadResponseOld struct {
|
|
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"`
|
|
PrivateKey PiecePrivateKey `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentDownloadResponseOld) Reset() { *m = SegmentDownloadResponseOld{} }
|
|
func (m *SegmentDownloadResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentDownloadResponseOld) ProtoMessage() {}
|
|
func (*SegmentDownloadResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{18}
|
|
}
|
|
func (m *SegmentDownloadResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentDownloadResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentDownloadResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentDownloadResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentDownloadResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentDownloadResponseOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentDownloadResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentDownloadResponseOld.Size(m)
|
|
}
|
|
func (m *SegmentDownloadResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentDownloadResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentDownloadResponseOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentDownloadResponseOld) GetAddressedLimits() []*AddressedOrderLimit {
|
|
if m != nil {
|
|
return m.AddressedLimits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentDownloadResponseOld) GetPointer() *Pointer {
|
|
if m != nil {
|
|
return m.Pointer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentInfoRequestOld struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfoRequestOld) Reset() { *m = SegmentInfoRequestOld{} }
|
|
func (m *SegmentInfoRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfoRequestOld) ProtoMessage() {}
|
|
func (*SegmentInfoRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{19}
|
|
}
|
|
func (m *SegmentInfoRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfoRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfoRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfoRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfoRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfoRequestOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfoRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfoRequestOld.Size(m)
|
|
}
|
|
func (m *SegmentInfoRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfoRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfoRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfoRequestOld) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfoRequestOld) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentInfoRequestOld) GetSegment() int64 {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentInfoResponseOld struct {
|
|
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentInfoResponseOld) Reset() { *m = SegmentInfoResponseOld{} }
|
|
func (m *SegmentInfoResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentInfoResponseOld) ProtoMessage() {}
|
|
func (*SegmentInfoResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{20}
|
|
}
|
|
func (m *SegmentInfoResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentInfoResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentInfoResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentInfoResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentInfoResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentInfoResponseOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentInfoResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentInfoResponseOld.Size(m)
|
|
}
|
|
func (m *SegmentInfoResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentInfoResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentInfoResponseOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentInfoResponseOld) GetPointer() *Pointer {
|
|
if m != nil {
|
|
return m.Pointer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SegmentDeleteRequestOld struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentDeleteRequestOld) Reset() { *m = SegmentDeleteRequestOld{} }
|
|
func (m *SegmentDeleteRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentDeleteRequestOld) ProtoMessage() {}
|
|
func (*SegmentDeleteRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{21}
|
|
}
|
|
func (m *SegmentDeleteRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentDeleteRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentDeleteRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentDeleteRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentDeleteRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentDeleteRequestOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentDeleteRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentDeleteRequestOld.Size(m)
|
|
}
|
|
func (m *SegmentDeleteRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentDeleteRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentDeleteRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentDeleteRequestOld) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentDeleteRequestOld) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentDeleteRequestOld) GetSegment() int64 {
|
|
if m != nil {
|
|
return m.Segment
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SegmentDeleteResponseOld struct {
|
|
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
|
|
PrivateKey PiecePrivateKey `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentDeleteResponseOld) Reset() { *m = SegmentDeleteResponseOld{} }
|
|
func (m *SegmentDeleteResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentDeleteResponseOld) ProtoMessage() {}
|
|
func (*SegmentDeleteResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{22}
|
|
}
|
|
func (m *SegmentDeleteResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentDeleteResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentDeleteResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentDeleteResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentDeleteResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentDeleteResponseOld.Merge(m, src)
|
|
}
|
|
func (m *SegmentDeleteResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentDeleteResponseOld.Size(m)
|
|
}
|
|
func (m *SegmentDeleteResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentDeleteResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentDeleteResponseOld proto.InternalMessageInfo
|
|
|
|
func (m *SegmentDeleteResponseOld) GetAddressedLimits() []*AddressedOrderLimit {
|
|
if m != nil {
|
|
return m.AddressedLimits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListSegmentsRequestOld struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Prefix []byte `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
StartAfter []byte `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
|
|
EndBefore []byte `protobuf:"bytes,4,opt,name=end_before,json=endBefore,proto3" json:"end_before,omitempty"`
|
|
Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"`
|
|
Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
MetaFlags uint32 `protobuf:"fixed32,7,opt,name=meta_flags,json=metaFlags,proto3" json:"meta_flags,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) Reset() { *m = ListSegmentsRequestOld{} }
|
|
func (m *ListSegmentsRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*ListSegmentsRequestOld) ProtoMessage() {}
|
|
func (*ListSegmentsRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{23}
|
|
}
|
|
func (m *ListSegmentsRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListSegmentsRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *ListSegmentsRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListSegmentsRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListSegmentsRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListSegmentsRequestOld.Merge(m, src)
|
|
}
|
|
func (m *ListSegmentsRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_ListSegmentsRequestOld.Size(m)
|
|
}
|
|
func (m *ListSegmentsRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListSegmentsRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListSegmentsRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *ListSegmentsRequestOld) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) GetPrefix() []byte {
|
|
if m != nil {
|
|
return m.Prefix
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) GetStartAfter() []byte {
|
|
if m != nil {
|
|
return m.StartAfter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) GetEndBefore() []byte {
|
|
if m != nil {
|
|
return m.EndBefore
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) GetRecursive() bool {
|
|
if m != nil {
|
|
return m.Recursive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) GetLimit() int32 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListSegmentsRequestOld) GetMetaFlags() uint32 {
|
|
if m != nil {
|
|
return m.MetaFlags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *ListSegmentsResponseOld) Reset() { *m = ListSegmentsResponseOld{} }
|
|
func (m *ListSegmentsResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*ListSegmentsResponseOld) ProtoMessage() {}
|
|
func (*ListSegmentsResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{24}
|
|
}
|
|
func (m *ListSegmentsResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListSegmentsResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *ListSegmentsResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListSegmentsResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListSegmentsResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListSegmentsResponseOld.Merge(m, src)
|
|
}
|
|
func (m *ListSegmentsResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_ListSegmentsResponseOld.Size(m)
|
|
}
|
|
func (m *ListSegmentsResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListSegmentsResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListSegmentsResponseOld proto.InternalMessageInfo
|
|
|
|
func (m *ListSegmentsResponseOld) GetItems() []*ListSegmentsResponseOld_Item {
|
|
if m != nil {
|
|
return m.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsResponseOld) GetMore() bool {
|
|
if m != nil {
|
|
return m.More
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListSegmentsResponseOld_Item struct {
|
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
|
IsPrefix bool `protobuf:"varint,3,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *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) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{24, 0}
|
|
}
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListSegmentsResponseOld_Item.Unmarshal(m, b)
|
|
}
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListSegmentsResponseOld_Item.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListSegmentsResponseOld_Item.Merge(m, src)
|
|
}
|
|
func (m *ListSegmentsResponseOld_Item) XXX_Size() int {
|
|
return xxx_messageInfo_ListSegmentsResponseOld_Item.Size(m)
|
|
}
|
|
func (m *ListSegmentsResponseOld_Item) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListSegmentsResponseOld_Item.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListSegmentsResponseOld_Item proto.InternalMessageInfo
|
|
|
|
func (m *ListSegmentsResponseOld_Item) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsResponseOld_Item) GetPointer() *Pointer {
|
|
if m != nil {
|
|
return m.Pointer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListSegmentsResponseOld_Item) GetIsPrefix() bool {
|
|
if m != nil {
|
|
return m.IsPrefix
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetAttributionRequestOld struct {
|
|
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:"-"`
|
|
}
|
|
|
|
func (m *SetAttributionRequestOld) Reset() { *m = SetAttributionRequestOld{} }
|
|
func (m *SetAttributionRequestOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SetAttributionRequestOld) ProtoMessage() {}
|
|
func (*SetAttributionRequestOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{25}
|
|
}
|
|
func (m *SetAttributionRequestOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetAttributionRequestOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SetAttributionRequestOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetAttributionRequestOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SetAttributionRequestOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetAttributionRequestOld.Merge(m, src)
|
|
}
|
|
func (m *SetAttributionRequestOld) XXX_Size() int {
|
|
return xxx_messageInfo_SetAttributionRequestOld.Size(m)
|
|
}
|
|
func (m *SetAttributionRequestOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetAttributionRequestOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetAttributionRequestOld proto.InternalMessageInfo
|
|
|
|
func (m *SetAttributionRequestOld) GetBucketName() []byte {
|
|
if m != nil {
|
|
return m.BucketName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SetAttributionRequestOld) GetPartnerId() []byte {
|
|
if m != nil {
|
|
return m.PartnerId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetAttributionResponseOld struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SetAttributionResponseOld) Reset() { *m = SetAttributionResponseOld{} }
|
|
func (m *SetAttributionResponseOld) String() string { return proto.CompactTextString(m) }
|
|
func (*SetAttributionResponseOld) ProtoMessage() {}
|
|
func (*SetAttributionResponseOld) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{26}
|
|
}
|
|
func (m *SetAttributionResponseOld) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetAttributionResponseOld.Unmarshal(m, b)
|
|
}
|
|
func (m *SetAttributionResponseOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetAttributionResponseOld.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SetAttributionResponseOld) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetAttributionResponseOld.Merge(m, src)
|
|
}
|
|
func (m *SetAttributionResponseOld) XXX_Size() int {
|
|
return xxx_messageInfo_SetAttributionResponseOld.Size(m)
|
|
}
|
|
func (m *SetAttributionResponseOld) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetAttributionResponseOld.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetAttributionResponseOld proto.InternalMessageInfo
|
|
|
|
type ProjectInfoRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ProjectInfoRequest) Reset() { *m = ProjectInfoRequest{} }
|
|
func (m *ProjectInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ProjectInfoRequest) ProtoMessage() {}
|
|
func (*ProjectInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{27}
|
|
}
|
|
func (m *ProjectInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ProjectInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ProjectInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ProjectInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ProjectInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProjectInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *ProjectInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ProjectInfoRequest.Size(m)
|
|
}
|
|
func (m *ProjectInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProjectInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProjectInfoRequest proto.InternalMessageInfo
|
|
|
|
type ProjectInfoResponse struct {
|
|
ProjectSalt []byte `protobuf:"bytes,1,opt,name=project_salt,json=projectSalt,proto3" json:"project_salt,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ProjectInfoResponse) Reset() { *m = ProjectInfoResponse{} }
|
|
func (m *ProjectInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ProjectInfoResponse) ProtoMessage() {}
|
|
func (*ProjectInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_631e2f30a93cd64e, []int{28}
|
|
}
|
|
func (m *ProjectInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ProjectInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ProjectInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ProjectInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ProjectInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ProjectInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *ProjectInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ProjectInfoResponse.Size(m)
|
|
}
|
|
func (m *ProjectInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ProjectInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ProjectInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *ProjectInfoResponse) GetProjectSalt() []byte {
|
|
if m != nil {
|
|
return m.ProjectSalt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Bucket)(nil), "metainfo.Bucket")
|
|
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")
|
|
proto.RegisterType((*AddressedOrderLimit)(nil), "metainfo.AddressedOrderLimit")
|
|
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")
|
|
proto.RegisterType((*ProjectInfoRequest)(nil), "metainfo.ProjectInfoRequest")
|
|
proto.RegisterType((*ProjectInfoResponse)(nil), "metainfo.ProjectInfoResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("metainfo.proto", fileDescriptor_631e2f30a93cd64e) }
|
|
|
|
var fileDescriptor_631e2f30a93cd64e = []byte{
|
|
// 1444 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, 0x40, 0x5a, 0xa0, 0x7e, 0xe4, 0xe1, 0x36, 0x0f,
|
|
0x83, 0x2a, 0x9a, 0x34, 0x68, 0x41, 0x50, 0xe2, 0x91, 0xc2, 0x46, 0x7c, 0x74, 0x38, 0x4a, 0xed,
|
|
0xac, 0xfb, 0x03, 0xfa, 0x0b, 0xf2, 0x27, 0xfa, 0x27, 0x8a, 0x2e, 0xba, 0xe8, 0xb2, 0x05, 0xd2,
|
|
0x5d, 0xff, 0x44, 0x37, 0xc5, 0xbc, 0x44, 0x52, 0xa2, 0xec, 0x24, 0x70, 0xd0, 0x1d, 0xe7, 0xcc,
|
|
0x99, 0x33, 0x73, 0xbe, 0xef, 0xbc, 0x08, 0xcb, 0x01, 0x32, 0xd7, 0x0f, 0xfb, 0x51, 0x3b, 0xa6,
|
|
0x11, 0x8b, 0x48, 0x45, 0xaf, 0xcd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 0x42, 0x30, 0xff, 0x73, 0x82, 0x52, 0x0e, 0x10, 0x19, 0x2c,
|
|
0x27, 0x02, 0x32, 0xd9, 0xa5, 0x0a, 0x00, 0x99, 0x6e, 0x33, 0x5f, 0xc0, 0x4a, 0xb6, 0xa2, 0x4d,
|
|
0x70, 0x58, 0x5c, 0xfc, 0xb3, 0x1c, 0xce, 0x2a, 0xa0, 0x5f, 0xc1, 0xf9, 0x7c, 0xd8, 0x70, 0x61,
|
|
0xee, 0x41, 0xc5, 0x45, 0xca, 0xbc, 0x3a, 0x5b, 0x27, 0xb5, 0xfe, 0x29, 0xd4, 0x32, 0x65, 0x85,
|
|
0x64, 0xd2, 0x61, 0xba, 0x06, 0x99, 0x9b, 0x33, 0x76, 0xa5, 0xb9, 0xdd, 0xf9, 0x67, 0xa5, 0xb8,
|
|
0xdb, 0x2d, 0x8b, 0xe9, 0xfe, 0xe6, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xcd, 0xfb, 0xa6,
|
|
0x8a, 0x13, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// 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 {
|
|
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)
|
|
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)
|
|
ProjectInfo(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, error)
|
|
}
|
|
|
|
type metainfoClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewMetainfoClient(cc *grpc.ClientConn) MetainfoClient {
|
|
return &metainfoClient{cc}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
// MetainfoServer is the server API for Metainfo service.
|
|
type MetainfoServer interface {
|
|
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)
|
|
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)
|
|
ProjectInfo(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, error)
|
|
}
|
|
|
|
func RegisterMetainfoServer(s *grpc.Server, srv MetainfoServer) {
|
|
s.RegisterService(&_Metainfo_serviceDesc, srv)
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
func _Metainfo_CreateSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentWriteRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).CreateSegmentOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/CreateSegmentOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).CreateSegmentOld(ctx, req.(*SegmentWriteRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Metainfo_CommitSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentCommitRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).CommitSegmentOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/CommitSegmentOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).CommitSegmentOld(ctx, req.(*SegmentCommitRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Metainfo_SegmentInfoOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentInfoRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).SegmentInfoOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/SegmentInfoOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).SegmentInfoOld(ctx, req.(*SegmentInfoRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Metainfo_DownloadSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentDownloadRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).DownloadSegmentOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/DownloadSegmentOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).DownloadSegmentOld(ctx, req.(*SegmentDownloadRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Metainfo_DeleteSegmentOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SegmentDeleteRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).DeleteSegmentOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/DeleteSegmentOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).DeleteSegmentOld(ctx, req.(*SegmentDeleteRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Metainfo_ListSegmentsOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListSegmentsRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).ListSegmentsOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/ListSegmentsOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).ListSegmentsOld(ctx, req.(*ListSegmentsRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Metainfo_SetAttributionOld_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetAttributionRequestOld)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MetainfoServer).SetAttributionOld(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/metainfo.Metainfo/SetAttributionOld",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MetainfoServer).SetAttributionOld(ctx, req.(*SetAttributionRequestOld))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
var _Metainfo_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "metainfo.Metainfo",
|
|
HandlerType: (*MetainfoServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
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,
|
|
},
|
|
{
|
|
MethodName: "CreateSegmentOld",
|
|
Handler: _Metainfo_CreateSegmentOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "CommitSegmentOld",
|
|
Handler: _Metainfo_CommitSegmentOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "SegmentInfoOld",
|
|
Handler: _Metainfo_SegmentInfoOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadSegmentOld",
|
|
Handler: _Metainfo_DownloadSegmentOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteSegmentOld",
|
|
Handler: _Metainfo_DeleteSegmentOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListSegmentsOld",
|
|
Handler: _Metainfo_ListSegmentsOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetAttributionOld",
|
|
Handler: _Metainfo_SetAttributionOld_Handler,
|
|
},
|
|
{
|
|
MethodName: "ProjectInfo",
|
|
Handler: _Metainfo_ProjectInfo_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "metainfo.proto",
|
|
}
|