storj/pkg/pb/metainfo.pb.go

2068 lines
80 KiB
Go
Raw Normal View History

// 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"
timestamp "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:"bytes,2,opt,name=path_cipher,json=pathCipher,proto3" 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 nil
}
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:"bytes,2,opt,name=path_cipher,json=pathCipher,proto3" 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 nil
}
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 *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"`
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() *timestamp.Timestamp {
if m != nil {
return m.Expiration
}
return nil
}
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"`
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"`
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"`
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")
2019-03-18 13:08:24 +00:00
}
func init() { proto.RegisterFile("metainfo.proto", fileDescriptor_631e2f30a93cd64e) }
var fileDescriptor_631e2f30a93cd64e = []byte{
// 1402 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4b, 0x6f, 0x1b, 0xd5,
0x17, 0xff, 0x8f, 0x93, 0x38, 0xf6, 0x71, 0x9a, 0xa4, 0xb7, 0xf9, 0x27, 0xee, 0xb8, 0x69, 0xdc,
0x29, 0xad, 0x82, 0x84, 0x5c, 0x94, 0x6e, 0x2a, 0x0a, 0x12, 0x79, 0xf4, 0x11, 0xd4, 0x47, 0x34,
0x46, 0xb4, 0x54, 0xa0, 0xd1, 0xd8, 0x73, 0xec, 0x0c, 0x78, 0x1e, 0xdc, 0xb9, 0x86, 0xb4, 0x6b,
0x3e, 0x00, 0x8b, 0x2e, 0xf8, 0x1e, 0x7c, 0x09, 0xc4, 0x92, 0x25, 0x48, 0x65, 0xc7, 0x97, 0x60,
0x83, 0xee, 0xcb, 0x33, 0x63, 0x8f, 0x9d, 0xb6, 0x4a, 0xc5, 0x6e, 0xee, 0xb9, 0xbf, 0x7b, 0xee,
0x39, 0xbf, 0xf3, 0xba, 0x03, 0xcb, 0x01, 0x32, 0xd7, 0x0f, 0x7b, 0x51, 0x2b, 0xa6, 0x11, 0x8b,
0x48, 0x45, 0xaf, 0xcd, 0x55, 0x0c, 0xbb, 0xf4, 0x79, 0xcc, 0xfc, 0x28, 0x94, 0x7b, 0x26, 0xf4,
0xa3, 0xbe, 0xc2, 0x99, 0x5b, 0xfd, 0x28, 0xea, 0x0f, 0xf0, 0x86, 0x58, 0x75, 0x86, 0xbd, 0x1b,
0xcc, 0x0f, 0x30, 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2f, 0x2d, 0xf3, 0xca, 0x34, 0x44, 0x5a, 0x7c, 0x5f,
0xc2, 0xaa, 0x9c, 0x90, 0x19, 0xc5, 0x93, 0xc7, 0xc6, 0x1f, 0x04, 0xa6, 0x35, 0x15, 0x92, 0xaa,
0x6e, 0xc3, 0x72, 0xa6, 0xc1, 0x8b, 0xa2, 0x98, 0x38, 0x95, 0x9f, 0x2c, 0x66, 0x73, 0x0a, 0x20,
0x55, 0xea, 0x00, 0xd1, 0x33, 0x32, 0x63, 0xf1, 0xd5, 0x89, 0x73, 0x93, 0xc3, 0xda, 0x7c, 0x6f,
0x06, 0x28, 0x47, 0x88, 0x4c, 0x96, 0x99, 0x84, 0x8c, 0x8f, 0x9a, 0x02, 0x42, 0x26, 0x87, 0xc5,
0x17, 0xb0, 0x92, 0xed, 0x68, 0x63, 0x31, 0x2c, 0x6e, 0xfe, 0xd9, 0x18, 0x4e, 0x6b, 0xa0, 0x5f,
0xc1, 0xf9, 0x7c, 0xda, 0x70, 0x61, 0xce, 0xa0, 0xe2, 0x26, 0x65, 0x5e, 0x9d, 0x8e, 0x49, 0xb5,
0x7f, 0x06, 0xb5, 0x4c, 0x5b, 0x21, 0x99, 0x72, 0x98, 0xec, 0x41, 0xe6, 0xe6, 0x94, 0x5d, 0xa9,
0x6e, 0x6f, 0xfe, 0x59, 0x29, 0xee, 0x74, 0xca, 0xe2, 0x91, 0x7c, 0xf3, 0xdf, 0x00, 0x00, 0x00,
0xff, 0xff, 0x7b, 0xfa, 0x2e, 0x7b, 0xd1, 0x12, 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",
}