storj/pkg/pb/metainfo.pb.go
Jess G f11bf46a11
Jg/1967 mv bucket metadata uplink (#2505)
* add bucketstore, add init uplink bucket

* update uplink to use bucket rpc

* fix tests

* wrap metainfo client errors

* add allowedBucket struct, fix tests

* update comment

* add paging

* updates per CR

* add test for pagination

* fix lint

* fix uplink test so its easier tyo understand

* fix gateway pagination bug

* changes per cr

* fix bug w/allowedBuckets, add test to catch
2019-07-12 08:57:02 -04:00

2066 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"`
CreatedAt time.Time `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
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 *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) 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"`
DefaultSegmentSize int64 `protobuf:"varint,3,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
DefaultRedundancyScheme *RedundancyScheme `protobuf:"bytes,4,opt,name=default_redundancy_scheme,json=defaultRedundancyScheme,proto3" json:"default_redundancy_scheme,omitempty"`
DefaultEncryptionParameters *EncryptionParameters `protobuf:"bytes,5,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) 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"`
Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,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
}
func (m *BucketListRequest) GetDirection() int32 {
if m != nil {
return m.Direction
}
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{
// 1448 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcb, 0x6f, 0xdb, 0x46,
0x13, 0xff, 0x68, 0x5b, 0xb2, 0x3d, 0x52, 0x6c, 0x67, 0xe3, 0xcf, 0x56, 0xe8, 0x28, 0x56, 0x98,
0x2f, 0x81, 0x3e, 0xa0, 0x50, 0x0a, 0xe7, 0x12, 0x20, 0x2d, 0x50, 0x3f, 0xf2, 0x70, 0x9b, 0x87,
0x41, 0x15, 0x4d, 0x1a, 0xb4, 0x20, 0x28, 0x71, 0xa4, 0xb0, 0x11, 0x1f, 0x5d, 0xae, 0x52, 0x3b,
0xe7, 0x1e, 0x7b, 0xe8, 0x5f, 0x90, 0xbf, 0xa7, 0xe8, 0xa1, 0x87, 0xa2, 0xa7, 0x16, 0x48, 0x6f,
0xfd, 0x3b, 0x8a, 0x7d, 0x89, 0xa4, 0x44, 0xd9, 0x49, 0xa0, 0x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
0x35, 0xdb, 0xd1, 0xc6, 0x38, 0x2c, 0x6e, 0xfe, 0x59, 0x0e, 0xa7, 0x35, 0xd0, 0x6f, 0xe0, 0x7c,
0x3e, 0x6d, 0xb8, 0x30, 0xe7, 0x50, 0x71, 0x93, 0x32, 0xaf, 0x4e, 0xd7, 0x49, 0xad, 0x7f, 0x0e,
0x95, 0x4c, 0x5b, 0x21, 0x99, 0x72, 0x98, 0xec, 0x41, 0x66, 0x7d, 0xca, 0xae, 0x34, 0xb7, 0xb7,
0xf0, 0x6c, 0x2e, 0xee, 0x74, 0xca, 0x62, 0xba, 0xbf, 0xf9, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff,
0xaf, 0x93, 0xe9, 0x5f, 0x5a, 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",
}