storj/pkg/pb/metainfo.pb.go

7324 lines
271 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"
_ "github.com/golang/protobuf/ptypes/timestamp"
grpc "google.golang.org/grpc"
math "math"
drpc "storj.io/drpc"
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
2019-07-16 11:39:23 +01:00
type Object_Status int32
const (
Object_INVALID Object_Status = 0
Object_UPLOADING Object_Status = 1
Object_COMMITTING Object_Status = 2
Object_COMMITTED Object_Status = 3
Object_DELETING Object_Status = 4
)
var Object_Status_name = map[int32]string{
0: "INVALID",
1: "UPLOADING",
2: "COMMITTING",
3: "COMMITTED",
4: "DELETING",
}
2019-07-16 11:39:23 +01:00
var Object_Status_value = map[string]int32{
"INVALID": 0,
"UPLOADING": 1,
"COMMITTING": 2,
"COMMITTED": 3,
"DELETING": 4,
}
func (x Object_Status) String() string {
return proto.EnumName(Object_Status_name, int32(x))
}
2019-07-16 11:39:23 +01:00
func (Object_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{30, 0}
}
type RequestHeader struct {
ApiKey []byte `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
UserAgent []byte `protobuf:"bytes,2,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RequestHeader) Reset() { *m = RequestHeader{} }
func (m *RequestHeader) String() string { return proto.CompactTextString(m) }
func (*RequestHeader) ProtoMessage() {}
func (*RequestHeader) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{0}
}
func (m *RequestHeader) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RequestHeader.Unmarshal(m, b)
}
func (m *RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RequestHeader.Marshal(b, m, deterministic)
}
func (m *RequestHeader) XXX_Merge(src proto.Message) {
xxx_messageInfo_RequestHeader.Merge(m, src)
}
func (m *RequestHeader) XXX_Size() int {
return xxx_messageInfo_RequestHeader.Size(m)
}
func (m *RequestHeader) XXX_DiscardUnknown() {
xxx_messageInfo_RequestHeader.DiscardUnknown(m)
}
var xxx_messageInfo_RequestHeader proto.InternalMessageInfo
func (m *RequestHeader) GetApiKey() []byte {
if m != nil {
return m.ApiKey
}
return nil
2019-07-16 11:39:23 +01:00
}
func (m *RequestHeader) GetUserAgent() []byte {
if m != nil {
return m.UserAgent
}
return nil
}
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"`
PartnerId []byte `protobuf:"bytes,7,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 *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{1}
}
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
}
func (m *Bucket) GetPartnerId() []byte {
if m != nil {
return m.PartnerId
}
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{2}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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"`
PartnerId []byte `protobuf:"bytes,6,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 *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{3}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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
}
func (m *BucketCreateRequest) GetPartnerId() []byte {
if m != nil {
return m.PartnerId
}
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{4}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{5}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{6}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{7}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{8}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{9}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{10}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"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 *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{11}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *BucketSetAttributionRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *BucketSetAttributionRequest) GetPartnerId() []byte {
if m != nil {
return m.PartnerId
}
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{12}
}
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{13}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{14}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{15}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{16}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{17}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{18}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{19}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{20}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{21}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{22}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{23}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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"` // Deprecated: Do not use.
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{24}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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
}
// Deprecated: Do not use.
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{25}
}
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{25, 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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{26}
}
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) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{27}
}
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 {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
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{28}
}
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
func (m *ProjectInfoRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
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{29}
}
func (m *ProjectInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProjectInfoResponse.Unmarshal(m, b)
}
func (m *ProjectInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProjectInfoResponse.Marshal(b, m, deterministic)
}
func (m *ProjectInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProjectInfoResponse.Merge(m, src)
}
func (m *ProjectInfoResponse) XXX_Size() int {
return xxx_messageInfo_ProjectInfoResponse.Size(m)
}
func (m *ProjectInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ProjectInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ProjectInfoResponse proto.InternalMessageInfo
func (m *ProjectInfoResponse) GetProjectSalt() []byte {
if m != nil {
return m.ProjectSalt
}
return nil
}
2019-07-16 11:39:23 +01:00
type Object struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
Status Object_Status `protobuf:"varint,4,opt,name=status,proto3,enum=metainfo.Object_Status" json:"status,omitempty"`
StreamId StreamID `protobuf:"bytes,5,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
CreatedAt time.Time `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
StatusAt time.Time `protobuf:"bytes,7,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"`
ExpiresAt time.Time `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"`
2019-07-16 11:39:23 +01:00
EncryptedMetadataNonce Nonce `protobuf:"bytes,9,opt,name=encrypted_metadata_nonce,json=encryptedMetadataNonce,proto3,customtype=Nonce" json:"encrypted_metadata_nonce"`
EncryptedMetadata []byte `protobuf:"bytes,10,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
FixedSegmentSize int64 `protobuf:"varint,11,opt,name=fixed_segment_size,json=fixedSegmentSize,proto3" json:"fixed_segment_size,omitempty"`
RedundancyScheme *RedundancyScheme `protobuf:"bytes,12,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
EncryptionParameters *EncryptionParameters `protobuf:"bytes,13,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
2019-07-16 11:39:23 +01:00
TotalSize int64 `protobuf:"varint,14,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
InlineSize int64 `protobuf:"varint,15,opt,name=inline_size,json=inlineSize,proto3" json:"inline_size,omitempty"`
RemoteSize int64 `protobuf:"varint,16,opt,name=remote_size,json=remoteSize,proto3" json:"remote_size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-03-18 13:08:24 +00:00
}
2019-07-16 11:39:23 +01:00
func (m *Object) Reset() { *m = Object{} }
func (m *Object) String() string { return proto.CompactTextString(m) }
func (*Object) ProtoMessage() {}
func (*Object) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{30}
}
2019-07-16 11:39:23 +01:00
func (m *Object) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Object.Unmarshal(m, b)
}
2019-07-16 11:39:23 +01:00
func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Object.Marshal(b, m, deterministic)
}
func (m *Object) XXX_Merge(src proto.Message) {
xxx_messageInfo_Object.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *Object) XXX_Size() int {
return xxx_messageInfo_Object.Size(m)
}
func (m *Object) XXX_DiscardUnknown() {
xxx_messageInfo_Object.DiscardUnknown(m)
}
2019-07-16 11:39:23 +01:00
var xxx_messageInfo_Object proto.InternalMessageInfo
func (m *Object) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
2019-07-16 11:39:23 +01:00
return nil
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetVersion() int32 {
if m != nil {
return m.Version
}
2019-07-16 11:39:23 +01:00
return 0
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetStatus() Object_Status {
if m != nil {
return m.Status
}
2019-07-16 11:39:23 +01:00
return Object_INVALID
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetCreatedAt() time.Time {
if m != nil {
return m.CreatedAt
}
2019-07-16 11:39:23 +01:00
return time.Time{}
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetStatusAt() time.Time {
if m != nil {
return m.StatusAt
}
2019-07-16 11:39:23 +01:00
return time.Time{}
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetExpiresAt() time.Time {
if m != nil {
return m.ExpiresAt
}
2019-07-16 11:39:23 +01:00
return time.Time{}
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetEncryptedMetadata() []byte {
if m != nil {
return m.EncryptedMetadata
}
2019-07-16 11:39:23 +01:00
return nil
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetFixedSegmentSize() int64 {
if m != nil {
return m.FixedSegmentSize
}
2019-07-16 11:39:23 +01:00
return 0
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetRedundancyScheme() *RedundancyScheme {
if m != nil {
return m.RedundancyScheme
}
2019-07-16 11:39:23 +01:00
return nil
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetEncryptionParameters() *EncryptionParameters {
if m != nil {
return m.EncryptionParameters
}
2019-07-16 11:39:23 +01:00
return nil
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetTotalSize() int64 {
if m != nil {
return m.TotalSize
}
2019-07-16 11:39:23 +01:00
return 0
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetInlineSize() int64 {
if m != nil {
return m.InlineSize
}
2019-07-16 11:39:23 +01:00
return 0
}
2019-07-16 11:39:23 +01:00
func (m *Object) GetRemoteSize() int64 {
if m != nil {
return m.RemoteSize
}
2019-07-16 11:39:23 +01:00
return 0
}
2019-07-16 11:39:23 +01:00
type ObjectBeginRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
ExpiresAt time.Time `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"`
RedundancyScheme *RedundancyScheme `protobuf:"bytes,7,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
EncryptionParameters *EncryptionParameters `protobuf:"bytes,8,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
2019-07-16 11:39:23 +01:00
func (m *ObjectBeginRequest) Reset() { *m = ObjectBeginRequest{} }
func (m *ObjectBeginRequest) String() string { return proto.CompactTextString(m) }
func (*ObjectBeginRequest) ProtoMessage() {}
func (*ObjectBeginRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{31}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectBeginRequest.Unmarshal(m, b)
}
func (m *ObjectBeginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectBeginRequest.Marshal(b, m, deterministic)
}
func (m *ObjectBeginRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectBeginRequest.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginRequest) XXX_Size() int {
return xxx_messageInfo_ObjectBeginRequest.Size(m)
}
func (m *ObjectBeginRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectBeginRequest.DiscardUnknown(m)
}
2019-07-16 11:39:23 +01:00
var xxx_messageInfo_ObjectBeginRequest proto.InternalMessageInfo
func (m *ObjectBeginRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
2019-07-16 11:39:23 +01:00
func (m *ObjectBeginRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
2019-07-16 11:39:23 +01:00
return nil
}
2019-07-16 11:39:23 +01:00
func (m *ObjectBeginRequest) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
2019-07-16 11:39:23 +01:00
return nil
}
func (m *ObjectBeginRequest) GetVersion() int32 {
if m != nil {
return m.Version
}
2019-07-16 11:39:23 +01:00
return 0
}
func (m *ObjectBeginRequest) GetExpiresAt() time.Time {
if m != nil {
return m.ExpiresAt
}
2019-07-16 11:39:23 +01:00
return time.Time{}
}
2019-07-16 11:39:23 +01:00
func (m *ObjectBeginRequest) GetRedundancyScheme() *RedundancyScheme {
if m != nil {
return m.RedundancyScheme
}
return nil
}
func (m *ObjectBeginRequest) GetEncryptionParameters() *EncryptionParameters {
if m != nil {
return m.EncryptionParameters
}
return nil
}
type ObjectBeginResponse struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
StreamId StreamID `protobuf:"bytes,4,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
RedundancyScheme *RedundancyScheme `protobuf:"bytes,5,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
EncryptionParameters *EncryptionParameters `protobuf:"bytes,6,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
2019-07-16 11:39:23 +01:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectBeginResponse) Reset() { *m = ObjectBeginResponse{} }
func (m *ObjectBeginResponse) String() string { return proto.CompactTextString(m) }
func (*ObjectBeginResponse) ProtoMessage() {}
func (*ObjectBeginResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{32}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectBeginResponse.Unmarshal(m, b)
}
func (m *ObjectBeginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectBeginResponse.Marshal(b, m, deterministic)
}
func (m *ObjectBeginResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectBeginResponse.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginResponse) XXX_Size() int {
return xxx_messageInfo_ObjectBeginResponse.Size(m)
}
func (m *ObjectBeginResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectBeginResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectBeginResponse proto.InternalMessageInfo
func (m *ObjectBeginResponse) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *ObjectBeginResponse) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
return nil
}
func (m *ObjectBeginResponse) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
func (m *ObjectBeginResponse) GetRedundancyScheme() *RedundancyScheme {
if m != nil {
return m.RedundancyScheme
}
return nil
}
func (m *ObjectBeginResponse) GetEncryptionParameters() *EncryptionParameters {
if m != nil {
return m.EncryptionParameters
}
return nil
}
type ObjectCommitRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
EncryptedMetadataNonce Nonce `protobuf:"bytes,2,opt,name=encrypted_metadata_nonce,json=encryptedMetadataNonce,proto3,customtype=Nonce" json:"encrypted_metadata_nonce"`
EncryptedMetadata []byte `protobuf:"bytes,3,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *ObjectCommitRequest) Reset() { *m = ObjectCommitRequest{} }
func (m *ObjectCommitRequest) String() string { return proto.CompactTextString(m) }
func (*ObjectCommitRequest) ProtoMessage() {}
func (*ObjectCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{33}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectCommitRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectCommitRequest.Unmarshal(m, b)
}
func (m *ObjectCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectCommitRequest.Marshal(b, m, deterministic)
}
func (m *ObjectCommitRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectCommitRequest.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectCommitRequest) XXX_Size() int {
return xxx_messageInfo_ObjectCommitRequest.Size(m)
}
func (m *ObjectCommitRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectCommitRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectCommitRequest proto.InternalMessageInfo
func (m *ObjectCommitRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *ObjectCommitRequest) GetEncryptedMetadata() []byte {
if m != nil {
return m.EncryptedMetadata
}
return nil
}
2019-07-16 11:39:23 +01:00
type ObjectCommitResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectCommitResponse) Reset() { *m = ObjectCommitResponse{} }
func (m *ObjectCommitResponse) String() string { return proto.CompactTextString(m) }
func (*ObjectCommitResponse) ProtoMessage() {}
func (*ObjectCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{34}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectCommitResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectCommitResponse.Unmarshal(m, b)
}
func (m *ObjectCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectCommitResponse.Marshal(b, m, deterministic)
}
func (m *ObjectCommitResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectCommitResponse.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectCommitResponse) XXX_Size() int {
return xxx_messageInfo_ObjectCommitResponse.Size(m)
}
func (m *ObjectCommitResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectCommitResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectCommitResponse proto.InternalMessageInfo
type ObjectGetRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectGetRequest) Reset() { *m = ObjectGetRequest{} }
func (m *ObjectGetRequest) String() string { return proto.CompactTextString(m) }
func (*ObjectGetRequest) ProtoMessage() {}
func (*ObjectGetRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{35}
}
func (m *ObjectGetRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectGetRequest.Unmarshal(m, b)
}
func (m *ObjectGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectGetRequest.Marshal(b, m, deterministic)
}
func (m *ObjectGetRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectGetRequest.Merge(m, src)
}
func (m *ObjectGetRequest) XXX_Size() int {
return xxx_messageInfo_ObjectGetRequest.Size(m)
}
func (m *ObjectGetRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectGetRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectGetRequest proto.InternalMessageInfo
func (m *ObjectGetRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *ObjectGetRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *ObjectGetRequest) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
return nil
}
func (m *ObjectGetRequest) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
type ObjectGetResponse struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectGetResponse) Reset() { *m = ObjectGetResponse{} }
func (m *ObjectGetResponse) String() string { return proto.CompactTextString(m) }
func (*ObjectGetResponse) ProtoMessage() {}
func (*ObjectGetResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{36}
}
func (m *ObjectGetResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectGetResponse.Unmarshal(m, b)
}
func (m *ObjectGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectGetResponse.Marshal(b, m, deterministic)
}
func (m *ObjectGetResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectGetResponse.Merge(m, src)
}
func (m *ObjectGetResponse) XXX_Size() int {
return xxx_messageInfo_ObjectGetResponse.Size(m)
}
func (m *ObjectGetResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectGetResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectGetResponse proto.InternalMessageInfo
func (m *ObjectGetResponse) GetObject() *Object {
if m != nil {
return m.Object
}
return nil
}
2019-07-16 11:39:23 +01:00
type ObjectListRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
2019-07-16 11:39:23 +01:00
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPrefix []byte `protobuf:"bytes,2,opt,name=encrypted_prefix,json=encryptedPrefix,proto3" json:"encrypted_prefix,omitempty"`
EncryptedCursor []byte `protobuf:"bytes,3,opt,name=encrypted_cursor,json=encryptedCursor,proto3" json:"encrypted_cursor,omitempty"`
Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
ObjectIncludes *ObjectListItemIncludes `protobuf:"bytes,6,opt,name=object_includes,json=objectIncludes,proto3" json:"object_includes,omitempty"`
2019-07-16 11:39:23 +01:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectListRequest) Reset() { *m = ObjectListRequest{} }
func (m *ObjectListRequest) String() string { return proto.CompactTextString(m) }
func (*ObjectListRequest) ProtoMessage() {}
func (*ObjectListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{37}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectListRequest.Unmarshal(m, b)
}
func (m *ObjectListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectListRequest.Marshal(b, m, deterministic)
}
func (m *ObjectListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectListRequest.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListRequest) XXX_Size() int {
return xxx_messageInfo_ObjectListRequest.Size(m)
}
func (m *ObjectListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectListRequest proto.InternalMessageInfo
func (m *ObjectListRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
2019-07-16 11:39:23 +01:00
func (m *ObjectListRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *ObjectListRequest) GetEncryptedPrefix() []byte {
if m != nil {
return m.EncryptedPrefix
}
return nil
}
func (m *ObjectListRequest) GetEncryptedCursor() []byte {
if m != nil {
return m.EncryptedCursor
}
return nil
}
func (m *ObjectListRequest) GetRecursive() bool {
if m != nil {
return m.Recursive
}
return false
}
2019-07-16 11:39:23 +01:00
func (m *ObjectListRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ObjectListRequest) GetObjectIncludes() *ObjectListItemIncludes {
if m != nil {
return m.ObjectIncludes
}
return nil
}
type ObjectListResponse struct {
Items []*ObjectListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
2019-07-16 11:39:23 +01:00
More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectListResponse) Reset() { *m = ObjectListResponse{} }
func (m *ObjectListResponse) String() string { return proto.CompactTextString(m) }
func (*ObjectListResponse) ProtoMessage() {}
func (*ObjectListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{38}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectListResponse.Unmarshal(m, b)
}
func (m *ObjectListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectListResponse.Marshal(b, m, deterministic)
}
func (m *ObjectListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectListResponse.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListResponse) XXX_Size() int {
return xxx_messageInfo_ObjectListResponse.Size(m)
}
func (m *ObjectListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectListResponse proto.InternalMessageInfo
func (m *ObjectListResponse) GetItems() []*ObjectListItem {
if m != nil {
return m.Items
}
return nil
}
func (m *ObjectListResponse) GetMore() bool {
if m != nil {
return m.More
}
return false
}
type ObjectListItem struct {
EncryptedPath []byte `protobuf:"bytes,1,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
Status Object_Status `protobuf:"varint,3,opt,name=status,proto3,enum=metainfo.Object_Status" json:"status,omitempty"`
CreatedAt time.Time `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
StatusAt time.Time `protobuf:"bytes,5,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"`
ExpiresAt time.Time `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"`
2019-07-16 11:39:23 +01:00
EncryptedMetadataNonce Nonce `protobuf:"bytes,7,opt,name=encrypted_metadata_nonce,json=encryptedMetadataNonce,proto3,customtype=Nonce" json:"encrypted_metadata_nonce"`
EncryptedMetadata []byte `protobuf:"bytes,8,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectListItem) Reset() { *m = ObjectListItem{} }
func (m *ObjectListItem) String() string { return proto.CompactTextString(m) }
func (*ObjectListItem) ProtoMessage() {}
func (*ObjectListItem) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{39}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectListItem.Unmarshal(m, b)
}
func (m *ObjectListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectListItem.Marshal(b, m, deterministic)
}
func (m *ObjectListItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectListItem.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListItem) XXX_Size() int {
return xxx_messageInfo_ObjectListItem.Size(m)
}
func (m *ObjectListItem) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectListItem.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectListItem proto.InternalMessageInfo
func (m *ObjectListItem) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
return nil
}
func (m *ObjectListItem) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
func (m *ObjectListItem) GetStatus() Object_Status {
if m != nil {
return m.Status
}
return Object_INVALID
}
func (m *ObjectListItem) GetCreatedAt() time.Time {
if m != nil {
return m.CreatedAt
}
return time.Time{}
}
func (m *ObjectListItem) GetStatusAt() time.Time {
if m != nil {
return m.StatusAt
}
return time.Time{}
}
func (m *ObjectListItem) GetExpiresAt() time.Time {
if m != nil {
return m.ExpiresAt
}
return time.Time{}
}
func (m *ObjectListItem) GetEncryptedMetadata() []byte {
if m != nil {
return m.EncryptedMetadata
}
return nil
}
type ObjectListItemIncludes struct {
Metadata bool `protobuf:"varint,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectListItemIncludes) Reset() { *m = ObjectListItemIncludes{} }
func (m *ObjectListItemIncludes) String() string { return proto.CompactTextString(m) }
func (*ObjectListItemIncludes) ProtoMessage() {}
func (*ObjectListItemIncludes) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{40}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListItemIncludes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectListItemIncludes.Unmarshal(m, b)
}
func (m *ObjectListItemIncludes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectListItemIncludes.Marshal(b, m, deterministic)
}
func (m *ObjectListItemIncludes) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectListItemIncludes.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectListItemIncludes) XXX_Size() int {
return xxx_messageInfo_ObjectListItemIncludes.Size(m)
}
func (m *ObjectListItemIncludes) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectListItemIncludes.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectListItemIncludes proto.InternalMessageInfo
func (m *ObjectListItemIncludes) GetMetadata() bool {
if m != nil {
return m.Metadata
}
return false
}
type ObjectBeginDeleteRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginDeleteRequest) Reset() { *m = ObjectBeginDeleteRequest{} }
func (m *ObjectBeginDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*ObjectBeginDeleteRequest) ProtoMessage() {}
func (*ObjectBeginDeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{41}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginDeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectBeginDeleteRequest.Unmarshal(m, b)
}
func (m *ObjectBeginDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectBeginDeleteRequest.Marshal(b, m, deterministic)
}
func (m *ObjectBeginDeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectBeginDeleteRequest.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginDeleteRequest) XXX_Size() int {
return xxx_messageInfo_ObjectBeginDeleteRequest.Size(m)
}
func (m *ObjectBeginDeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectBeginDeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectBeginDeleteRequest proto.InternalMessageInfo
func (m *ObjectBeginDeleteRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
2019-07-16 11:39:23 +01:00
func (m *ObjectBeginDeleteRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *ObjectBeginDeleteRequest) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
return nil
}
func (m *ObjectBeginDeleteRequest) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
type ObjectBeginDeleteResponse struct {
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectBeginDeleteResponse) Reset() { *m = ObjectBeginDeleteResponse{} }
func (m *ObjectBeginDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*ObjectBeginDeleteResponse) ProtoMessage() {}
func (*ObjectBeginDeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{42}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginDeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectBeginDeleteResponse.Unmarshal(m, b)
}
func (m *ObjectBeginDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectBeginDeleteResponse.Marshal(b, m, deterministic)
}
func (m *ObjectBeginDeleteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectBeginDeleteResponse.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectBeginDeleteResponse) XXX_Size() int {
return xxx_messageInfo_ObjectBeginDeleteResponse.Size(m)
}
func (m *ObjectBeginDeleteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectBeginDeleteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectBeginDeleteResponse proto.InternalMessageInfo
type ObjectFinishDeleteRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *ObjectFinishDeleteRequest) Reset() { *m = ObjectFinishDeleteRequest{} }
func (m *ObjectFinishDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*ObjectFinishDeleteRequest) ProtoMessage() {}
func (*ObjectFinishDeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{43}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectFinishDeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectFinishDeleteRequest.Unmarshal(m, b)
}
func (m *ObjectFinishDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectFinishDeleteRequest.Marshal(b, m, deterministic)
}
func (m *ObjectFinishDeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectFinishDeleteRequest.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectFinishDeleteRequest) XXX_Size() int {
return xxx_messageInfo_ObjectFinishDeleteRequest.Size(m)
}
func (m *ObjectFinishDeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectFinishDeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectFinishDeleteRequest proto.InternalMessageInfo
func (m *ObjectFinishDeleteRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
2019-07-16 11:39:23 +01:00
type ObjectFinishDeleteResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ObjectFinishDeleteResponse) Reset() { *m = ObjectFinishDeleteResponse{} }
func (m *ObjectFinishDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*ObjectFinishDeleteResponse) ProtoMessage() {}
func (*ObjectFinishDeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{44}
2019-07-16 11:39:23 +01:00
}
func (m *ObjectFinishDeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ObjectFinishDeleteResponse.Unmarshal(m, b)
}
func (m *ObjectFinishDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ObjectFinishDeleteResponse.Marshal(b, m, deterministic)
}
func (m *ObjectFinishDeleteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ObjectFinishDeleteResponse.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *ObjectFinishDeleteResponse) XXX_Size() int {
return xxx_messageInfo_ObjectFinishDeleteResponse.Size(m)
}
func (m *ObjectFinishDeleteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ObjectFinishDeleteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ObjectFinishDeleteResponse proto.InternalMessageInfo
// only for satellite use
type SatStreamID struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
Redundancy *RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
CreationDate time.Time `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
ExpirationDate time.Time `protobuf:"bytes,6,opt,name=expiration_date,json=expirationDate,proto3,stdtime" json:"expiration_date"`
SatelliteSignature []byte `protobuf:"bytes,9,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *SatStreamID) Reset() { *m = SatStreamID{} }
func (m *SatStreamID) String() string { return proto.CompactTextString(m) }
func (*SatStreamID) ProtoMessage() {}
func (*SatStreamID) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{45}
2019-07-16 11:39:23 +01:00
}
func (m *SatStreamID) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SatStreamID.Unmarshal(m, b)
}
func (m *SatStreamID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SatStreamID.Marshal(b, m, deterministic)
}
func (m *SatStreamID) XXX_Merge(src proto.Message) {
xxx_messageInfo_SatStreamID.Merge(m, src)
2019-07-16 11:39:23 +01:00
}
func (m *SatStreamID) XXX_Size() int {
return xxx_messageInfo_SatStreamID.Size(m)
}
func (m *SatStreamID) XXX_DiscardUnknown() {
xxx_messageInfo_SatStreamID.DiscardUnknown(m)
}
var xxx_messageInfo_SatStreamID proto.InternalMessageInfo
func (m *SatStreamID) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *SatStreamID) GetEncryptedPath() []byte {
if m != nil {
return m.EncryptedPath
}
return nil
}
func (m *SatStreamID) GetVersion() int32 {
if m != nil {
return m.Version
}
return 0
}
func (m *SatStreamID) GetRedundancy() *RedundancyScheme {
if m != nil {
return m.Redundancy
}
return nil
}
func (m *SatStreamID) GetCreationDate() time.Time {
if m != nil {
return m.CreationDate
}
return time.Time{}
}
func (m *SatStreamID) GetExpirationDate() time.Time {
if m != nil {
return m.ExpirationDate
}
return time.Time{}
}
func (m *SatStreamID) GetSatelliteSignature() []byte {
if m != nil {
return m.SatelliteSignature
}
return nil
}
type Segment struct {
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
Position *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
EncryptedKeyNonce Nonce `protobuf:"bytes,3,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
EncryptedKey []byte `protobuf:"bytes,4,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
SizeEncryptedData int64 `protobuf:"varint,5,opt,name=size_encrypted_data,json=sizeEncryptedData,proto3" json:"size_encrypted_data,omitempty"`
EncryptedInlineData []byte `protobuf:"bytes,6,opt,name=encrypted_inline_data,json=encryptedInlineData,proto3" json:"encrypted_inline_data,omitempty"`
Pieces []*Piece `protobuf:"bytes,7,rep,name=pieces,proto3" json:"pieces,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *Segment) Reset() { *m = Segment{} }
func (m *Segment) String() string { return proto.CompactTextString(m) }
func (*Segment) ProtoMessage() {}
func (*Segment) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{46}
2019-07-16 11:39:23 +01:00
}
func (m *Segment) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Segment.Unmarshal(m, b)
2019-07-16 11:39:23 +01:00
}
func (m *Segment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Segment.Marshal(b, m, deterministic)
2019-07-16 11:39:23 +01:00
}
func (m *Segment) XXX_Merge(src proto.Message) {
xxx_messageInfo_Segment.Merge(m, src)
}
func (m *Segment) XXX_Size() int {
return xxx_messageInfo_Segment.Size(m)
}
func (m *Segment) XXX_DiscardUnknown() {
xxx_messageInfo_Segment.DiscardUnknown(m)
2019-07-16 11:39:23 +01:00
}
var xxx_messageInfo_Segment proto.InternalMessageInfo
func (m *Segment) GetPosition() *SegmentPosition {
if m != nil {
return m.Position
2019-07-16 11:39:23 +01:00
}
return nil
2019-07-16 11:39:23 +01:00
}
func (m *Segment) GetEncryptedKey() []byte {
if m != nil {
return m.EncryptedKey
2019-07-16 11:39:23 +01:00
}
return nil
2019-07-16 11:39:23 +01:00
}
func (m *Segment) GetSizeEncryptedData() int64 {
if m != nil {
return m.SizeEncryptedData
2019-07-16 11:39:23 +01:00
}
return 0
2019-07-16 11:39:23 +01:00
}
func (m *Segment) GetEncryptedInlineData() []byte {
if m != nil {
return m.EncryptedInlineData
2019-07-16 11:39:23 +01:00
}
return nil
2019-07-16 11:39:23 +01:00
}
func (m *Segment) GetPieces() []*Piece {
if m != nil {
return m.Pieces
2019-07-16 11:39:23 +01:00
}
return nil
2019-07-16 11:39:23 +01:00
}
type Piece struct {
PieceNum int32 `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
Node NodeID `protobuf:"bytes,2,opt,name=node,proto3,customtype=NodeID" json:"node"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *Piece) Reset() { *m = Piece{} }
func (m *Piece) String() string { return proto.CompactTextString(m) }
func (*Piece) ProtoMessage() {}
func (*Piece) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{47}
}
func (m *Piece) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Piece.Unmarshal(m, b)
}
func (m *Piece) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Piece.Marshal(b, m, deterministic)
}
func (m *Piece) XXX_Merge(src proto.Message) {
xxx_messageInfo_Piece.Merge(m, src)
}
func (m *Piece) XXX_Size() int {
return xxx_messageInfo_Piece.Size(m)
}
func (m *Piece) XXX_DiscardUnknown() {
xxx_messageInfo_Piece.DiscardUnknown(m)
2019-07-16 11:39:23 +01:00
}
var xxx_messageInfo_Piece proto.InternalMessageInfo
func (m *Piece) GetPieceNum() int32 {
if m != nil {
return m.PieceNum
2019-07-16 11:39:23 +01:00
}
return 0
2019-07-16 11:39:23 +01:00
}
type SegmentPosition struct {
PartNumber int32 `protobuf:"varint,1,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *SegmentPosition) Reset() { *m = SegmentPosition{} }
func (m *SegmentPosition) String() string { return proto.CompactTextString(m) }
func (*SegmentPosition) ProtoMessage() {}
func (*SegmentPosition) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{48}
}
func (m *SegmentPosition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentPosition.Unmarshal(m, b)
}
func (m *SegmentPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentPosition.Marshal(b, m, deterministic)
}
func (m *SegmentPosition) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentPosition.Merge(m, src)
}
func (m *SegmentPosition) XXX_Size() int {
return xxx_messageInfo_SegmentPosition.Size(m)
}
func (m *SegmentPosition) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentPosition.DiscardUnknown(m)
2019-07-16 11:39:23 +01:00
}
var xxx_messageInfo_SegmentPosition proto.InternalMessageInfo
func (m *SegmentPosition) GetPartNumber() int32 {
if m != nil {
return m.PartNumber
2019-07-16 11:39:23 +01:00
}
return 0
2019-07-16 11:39:23 +01:00
}
func (m *SegmentPosition) GetIndex() int32 {
if m != nil {
return m.Index
2019-07-16 11:39:23 +01:00
}
return 0
2019-07-16 11:39:23 +01:00
}
type SegmentBeginRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
Position *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
MaxOrderLimit int64 `protobuf:"varint,3,opt,name=max_order_limit,json=maxOrderLimit,proto3" json:"max_order_limit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2019-07-16 11:39:23 +01:00
}
func (m *SegmentBeginRequest) Reset() { *m = SegmentBeginRequest{} }
func (m *SegmentBeginRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentBeginRequest) ProtoMessage() {}
func (*SegmentBeginRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{49}
}
func (m *SegmentBeginRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentBeginRequest.Unmarshal(m, b)
}
func (m *SegmentBeginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentBeginRequest.Marshal(b, m, deterministic)
}
func (m *SegmentBeginRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentBeginRequest.Merge(m, src)
}
func (m *SegmentBeginRequest) XXX_Size() int {
return xxx_messageInfo_SegmentBeginRequest.Size(m)
}
func (m *SegmentBeginRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentBeginRequest.DiscardUnknown(m)
2019-07-16 11:39:23 +01:00
}
var xxx_messageInfo_SegmentBeginRequest proto.InternalMessageInfo
func (m *SegmentBeginRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentBeginRequest) GetPosition() *SegmentPosition {
if m != nil {
return m.Position
2019-07-16 11:39:23 +01:00
}
return nil
2019-07-16 11:39:23 +01:00
}
func (m *SegmentBeginRequest) GetMaxOrderLimit() int64 {
if m != nil {
return m.MaxOrderLimit
2019-07-16 11:39:23 +01:00
}
return 0
2019-07-16 11:39:23 +01:00
}
type SegmentBeginResponse struct {
SegmentId SegmentID `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,2,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,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 *SegmentBeginResponse) Reset() { *m = SegmentBeginResponse{} }
func (m *SegmentBeginResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentBeginResponse) ProtoMessage() {}
func (*SegmentBeginResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{50}
}
func (m *SegmentBeginResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentBeginResponse.Unmarshal(m, b)
}
func (m *SegmentBeginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentBeginResponse.Marshal(b, m, deterministic)
}
func (m *SegmentBeginResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentBeginResponse.Merge(m, src)
}
func (m *SegmentBeginResponse) XXX_Size() int {
return xxx_messageInfo_SegmentBeginResponse.Size(m)
}
func (m *SegmentBeginResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentBeginResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentBeginResponse proto.InternalMessageInfo
func (m *SegmentBeginResponse) GetAddressedLimits() []*AddressedOrderLimit {
if m != nil {
return m.AddressedLimits
}
return nil
}
type SegmentCommitRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
SegmentId SegmentID `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
EncryptedKeyNonce Nonce `protobuf:"bytes,2,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
EncryptedKey []byte `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
SizeEncryptedData int64 `protobuf:"varint,4,opt,name=size_encrypted_data,json=sizeEncryptedData,proto3" json:"size_encrypted_data,omitempty"`
UploadResult []*SegmentPieceUploadResult `protobuf:"bytes,5,rep,name=upload_result,json=uploadResult,proto3" json:"upload_result,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentCommitRequest) Reset() { *m = SegmentCommitRequest{} }
func (m *SegmentCommitRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentCommitRequest) ProtoMessage() {}
func (*SegmentCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{51}
}
func (m *SegmentCommitRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentCommitRequest.Unmarshal(m, b)
}
func (m *SegmentCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentCommitRequest.Marshal(b, m, deterministic)
}
func (m *SegmentCommitRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentCommitRequest.Merge(m, src)
}
func (m *SegmentCommitRequest) XXX_Size() int {
return xxx_messageInfo_SegmentCommitRequest.Size(m)
}
func (m *SegmentCommitRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentCommitRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentCommitRequest proto.InternalMessageInfo
func (m *SegmentCommitRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentCommitRequest) GetEncryptedKey() []byte {
if m != nil {
return m.EncryptedKey
}
return nil
}
func (m *SegmentCommitRequest) GetSizeEncryptedData() int64 {
if m != nil {
return m.SizeEncryptedData
}
return 0
}
func (m *SegmentCommitRequest) GetUploadResult() []*SegmentPieceUploadResult {
if m != nil {
return m.UploadResult
}
return nil
}
type SegmentPieceUploadResult struct {
PieceNum int32 `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
NodeId NodeID `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
Hash *PieceHash `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentPieceUploadResult) Reset() { *m = SegmentPieceUploadResult{} }
func (m *SegmentPieceUploadResult) String() string { return proto.CompactTextString(m) }
func (*SegmentPieceUploadResult) ProtoMessage() {}
func (*SegmentPieceUploadResult) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{52}
}
func (m *SegmentPieceUploadResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentPieceUploadResult.Unmarshal(m, b)
}
func (m *SegmentPieceUploadResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentPieceUploadResult.Marshal(b, m, deterministic)
}
func (m *SegmentPieceUploadResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentPieceUploadResult.Merge(m, src)
}
func (m *SegmentPieceUploadResult) XXX_Size() int {
return xxx_messageInfo_SegmentPieceUploadResult.Size(m)
}
func (m *SegmentPieceUploadResult) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentPieceUploadResult.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentPieceUploadResult proto.InternalMessageInfo
func (m *SegmentPieceUploadResult) GetPieceNum() int32 {
if m != nil {
return m.PieceNum
}
return 0
}
func (m *SegmentPieceUploadResult) GetHash() *PieceHash {
if m != nil {
return m.Hash
}
return nil
}
// only for satellite use
type SatSegmentID struct {
StreamId *SatStreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
PartNumber int32 `protobuf:"varint,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
// TODO we have redundancy in SatStreamID, do we need it here?
// pointerdb.RedundancyScheme redundancy = 4;
RootPieceId PieceID `protobuf:"bytes,5,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
OriginalOrderLimits []*AddressedOrderLimit `protobuf:"bytes,6,rep,name=original_order_limits,json=originalOrderLimits,proto3" json:"original_order_limits,omitempty"`
CreationDate time.Time `protobuf:"bytes,7,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
SatelliteSignature []byte `protobuf:"bytes,8,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SatSegmentID) Reset() { *m = SatSegmentID{} }
func (m *SatSegmentID) String() string { return proto.CompactTextString(m) }
func (*SatSegmentID) ProtoMessage() {}
func (*SatSegmentID) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{53}
}
func (m *SatSegmentID) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SatSegmentID.Unmarshal(m, b)
}
func (m *SatSegmentID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SatSegmentID.Marshal(b, m, deterministic)
}
func (m *SatSegmentID) XXX_Merge(src proto.Message) {
xxx_messageInfo_SatSegmentID.Merge(m, src)
}
func (m *SatSegmentID) XXX_Size() int {
return xxx_messageInfo_SatSegmentID.Size(m)
}
func (m *SatSegmentID) XXX_DiscardUnknown() {
xxx_messageInfo_SatSegmentID.DiscardUnknown(m)
}
var xxx_messageInfo_SatSegmentID proto.InternalMessageInfo
func (m *SatSegmentID) GetStreamId() *SatStreamID {
if m != nil {
return m.StreamId
}
return nil
}
func (m *SatSegmentID) GetPartNumber() int32 {
if m != nil {
return m.PartNumber
}
return 0
}
func (m *SatSegmentID) GetIndex() int32 {
if m != nil {
return m.Index
}
return 0
}
func (m *SatSegmentID) GetOriginalOrderLimits() []*AddressedOrderLimit {
if m != nil {
return m.OriginalOrderLimits
}
return nil
}
func (m *SatSegmentID) GetCreationDate() time.Time {
if m != nil {
return m.CreationDate
}
return time.Time{}
}
func (m *SatSegmentID) GetSatelliteSignature() []byte {
if m != nil {
return m.SatelliteSignature
}
return nil
}
type SegmentCommitResponse struct {
SuccessfulPieces int32 `protobuf:"varint,1,opt,name=successful_pieces,json=successfulPieces,proto3" json:"successful_pieces,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentCommitResponse) Reset() { *m = SegmentCommitResponse{} }
func (m *SegmentCommitResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentCommitResponse) ProtoMessage() {}
func (*SegmentCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{54}
}
func (m *SegmentCommitResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentCommitResponse.Unmarshal(m, b)
}
func (m *SegmentCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentCommitResponse.Marshal(b, m, deterministic)
}
func (m *SegmentCommitResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentCommitResponse.Merge(m, src)
}
func (m *SegmentCommitResponse) XXX_Size() int {
return xxx_messageInfo_SegmentCommitResponse.Size(m)
}
func (m *SegmentCommitResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentCommitResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentCommitResponse proto.InternalMessageInfo
func (m *SegmentCommitResponse) GetSuccessfulPieces() int32 {
if m != nil {
return m.SuccessfulPieces
}
return 0
}
type SegmentMakeInlineRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
Position *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
EncryptedKeyNonce Nonce `protobuf:"bytes,3,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
EncryptedKey []byte `protobuf:"bytes,4,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
EncryptedInlineData []byte `protobuf:"bytes,5,opt,name=encrypted_inline_data,json=encryptedInlineData,proto3" json:"encrypted_inline_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentMakeInlineRequest) Reset() { *m = SegmentMakeInlineRequest{} }
func (m *SegmentMakeInlineRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentMakeInlineRequest) ProtoMessage() {}
func (*SegmentMakeInlineRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{55}
}
func (m *SegmentMakeInlineRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentMakeInlineRequest.Unmarshal(m, b)
}
func (m *SegmentMakeInlineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentMakeInlineRequest.Marshal(b, m, deterministic)
}
func (m *SegmentMakeInlineRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentMakeInlineRequest.Merge(m, src)
}
func (m *SegmentMakeInlineRequest) XXX_Size() int {
return xxx_messageInfo_SegmentMakeInlineRequest.Size(m)
}
func (m *SegmentMakeInlineRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentMakeInlineRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentMakeInlineRequest proto.InternalMessageInfo
func (m *SegmentMakeInlineRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentMakeInlineRequest) GetPosition() *SegmentPosition {
if m != nil {
return m.Position
}
return nil
}
func (m *SegmentMakeInlineRequest) GetEncryptedKey() []byte {
if m != nil {
return m.EncryptedKey
}
return nil
}
func (m *SegmentMakeInlineRequest) GetEncryptedInlineData() []byte {
if m != nil {
return m.EncryptedInlineData
}
return nil
}
type SegmentMakeInlineResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentMakeInlineResponse) Reset() { *m = SegmentMakeInlineResponse{} }
func (m *SegmentMakeInlineResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentMakeInlineResponse) ProtoMessage() {}
func (*SegmentMakeInlineResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{56}
}
func (m *SegmentMakeInlineResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentMakeInlineResponse.Unmarshal(m, b)
}
func (m *SegmentMakeInlineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentMakeInlineResponse.Marshal(b, m, deterministic)
}
func (m *SegmentMakeInlineResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentMakeInlineResponse.Merge(m, src)
}
func (m *SegmentMakeInlineResponse) XXX_Size() int {
return xxx_messageInfo_SegmentMakeInlineResponse.Size(m)
}
func (m *SegmentMakeInlineResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentMakeInlineResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentMakeInlineResponse proto.InternalMessageInfo
type SegmentBeginDeleteRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
Position *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentBeginDeleteRequest) Reset() { *m = SegmentBeginDeleteRequest{} }
func (m *SegmentBeginDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentBeginDeleteRequest) ProtoMessage() {}
func (*SegmentBeginDeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{57}
}
func (m *SegmentBeginDeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentBeginDeleteRequest.Unmarshal(m, b)
}
func (m *SegmentBeginDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentBeginDeleteRequest.Marshal(b, m, deterministic)
}
func (m *SegmentBeginDeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentBeginDeleteRequest.Merge(m, src)
}
func (m *SegmentBeginDeleteRequest) XXX_Size() int {
return xxx_messageInfo_SegmentBeginDeleteRequest.Size(m)
}
func (m *SegmentBeginDeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentBeginDeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentBeginDeleteRequest proto.InternalMessageInfo
func (m *SegmentBeginDeleteRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentBeginDeleteRequest) GetPosition() *SegmentPosition {
if m != nil {
return m.Position
}
return nil
}
type SegmentBeginDeleteResponse struct {
SegmentId SegmentID `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,2,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,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 *SegmentBeginDeleteResponse) Reset() { *m = SegmentBeginDeleteResponse{} }
func (m *SegmentBeginDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentBeginDeleteResponse) ProtoMessage() {}
func (*SegmentBeginDeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{58}
}
func (m *SegmentBeginDeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentBeginDeleteResponse.Unmarshal(m, b)
}
func (m *SegmentBeginDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentBeginDeleteResponse.Marshal(b, m, deterministic)
}
func (m *SegmentBeginDeleteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentBeginDeleteResponse.Merge(m, src)
}
func (m *SegmentBeginDeleteResponse) XXX_Size() int {
return xxx_messageInfo_SegmentBeginDeleteResponse.Size(m)
}
func (m *SegmentBeginDeleteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentBeginDeleteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentBeginDeleteResponse proto.InternalMessageInfo
func (m *SegmentBeginDeleteResponse) GetAddressedLimits() []*AddressedOrderLimit {
if m != nil {
return m.AddressedLimits
}
return nil
}
type SegmentFinishDeleteRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
SegmentId SegmentID `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
Results []*SegmentPieceDeleteResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentFinishDeleteRequest) Reset() { *m = SegmentFinishDeleteRequest{} }
func (m *SegmentFinishDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentFinishDeleteRequest) ProtoMessage() {}
func (*SegmentFinishDeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{59}
}
func (m *SegmentFinishDeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentFinishDeleteRequest.Unmarshal(m, b)
}
func (m *SegmentFinishDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentFinishDeleteRequest.Marshal(b, m, deterministic)
}
func (m *SegmentFinishDeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentFinishDeleteRequest.Merge(m, src)
}
func (m *SegmentFinishDeleteRequest) XXX_Size() int {
return xxx_messageInfo_SegmentFinishDeleteRequest.Size(m)
}
func (m *SegmentFinishDeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentFinishDeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentFinishDeleteRequest proto.InternalMessageInfo
func (m *SegmentFinishDeleteRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentFinishDeleteRequest) GetResults() []*SegmentPieceDeleteResult {
if m != nil {
return m.Results
}
return nil
}
type SegmentPieceDeleteResult struct {
PieceNum int32 `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
NodeId NodeID `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
Hash *PieceHash `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentPieceDeleteResult) Reset() { *m = SegmentPieceDeleteResult{} }
func (m *SegmentPieceDeleteResult) String() string { return proto.CompactTextString(m) }
func (*SegmentPieceDeleteResult) ProtoMessage() {}
func (*SegmentPieceDeleteResult) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{60}
}
func (m *SegmentPieceDeleteResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentPieceDeleteResult.Unmarshal(m, b)
}
func (m *SegmentPieceDeleteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentPieceDeleteResult.Marshal(b, m, deterministic)
}
func (m *SegmentPieceDeleteResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentPieceDeleteResult.Merge(m, src)
}
func (m *SegmentPieceDeleteResult) XXX_Size() int {
return xxx_messageInfo_SegmentPieceDeleteResult.Size(m)
}
func (m *SegmentPieceDeleteResult) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentPieceDeleteResult.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentPieceDeleteResult proto.InternalMessageInfo
func (m *SegmentPieceDeleteResult) GetPieceNum() int32 {
if m != nil {
return m.PieceNum
}
return 0
}
func (m *SegmentPieceDeleteResult) GetHash() *PieceHash {
if m != nil {
return m.Hash
}
return nil
}
type SegmentFinishDeleteResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentFinishDeleteResponse) Reset() { *m = SegmentFinishDeleteResponse{} }
func (m *SegmentFinishDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentFinishDeleteResponse) ProtoMessage() {}
func (*SegmentFinishDeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{61}
}
func (m *SegmentFinishDeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentFinishDeleteResponse.Unmarshal(m, b)
}
func (m *SegmentFinishDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentFinishDeleteResponse.Marshal(b, m, deterministic)
}
func (m *SegmentFinishDeleteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentFinishDeleteResponse.Merge(m, src)
}
func (m *SegmentFinishDeleteResponse) XXX_Size() int {
return xxx_messageInfo_SegmentFinishDeleteResponse.Size(m)
}
func (m *SegmentFinishDeleteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentFinishDeleteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentFinishDeleteResponse proto.InternalMessageInfo
type SegmentListRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
CursorPosition *SegmentPosition `protobuf:"bytes,2,opt,name=cursor_position,json=cursorPosition,proto3" json:"cursor_position,omitempty"`
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentListRequest) Reset() { *m = SegmentListRequest{} }
func (m *SegmentListRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentListRequest) ProtoMessage() {}
func (*SegmentListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{62}
}
func (m *SegmentListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentListRequest.Unmarshal(m, b)
}
func (m *SegmentListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentListRequest.Marshal(b, m, deterministic)
}
func (m *SegmentListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentListRequest.Merge(m, src)
}
func (m *SegmentListRequest) XXX_Size() int {
return xxx_messageInfo_SegmentListRequest.Size(m)
}
func (m *SegmentListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentListRequest proto.InternalMessageInfo
func (m *SegmentListRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentListRequest) GetCursorPosition() *SegmentPosition {
if m != nil {
return m.CursorPosition
}
return nil
}
func (m *SegmentListRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
type SegmentListResponse struct {
Items []*SegmentListItem `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 *SegmentListResponse) Reset() { *m = SegmentListResponse{} }
func (m *SegmentListResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentListResponse) ProtoMessage() {}
func (*SegmentListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{63}
}
func (m *SegmentListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentListResponse.Unmarshal(m, b)
}
func (m *SegmentListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentListResponse.Marshal(b, m, deterministic)
}
func (m *SegmentListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentListResponse.Merge(m, src)
}
func (m *SegmentListResponse) XXX_Size() int {
return xxx_messageInfo_SegmentListResponse.Size(m)
}
func (m *SegmentListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentListResponse proto.InternalMessageInfo
func (m *SegmentListResponse) GetItems() []*SegmentListItem {
if m != nil {
return m.Items
}
return nil
}
func (m *SegmentListResponse) GetMore() bool {
if m != nil {
return m.More
}
return false
}
type SegmentListItem struct {
Position *SegmentPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentListItem) Reset() { *m = SegmentListItem{} }
func (m *SegmentListItem) String() string { return proto.CompactTextString(m) }
func (*SegmentListItem) ProtoMessage() {}
func (*SegmentListItem) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{64}
}
func (m *SegmentListItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentListItem.Unmarshal(m, b)
}
func (m *SegmentListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentListItem.Marshal(b, m, deterministic)
}
func (m *SegmentListItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentListItem.Merge(m, src)
}
func (m *SegmentListItem) XXX_Size() int {
return xxx_messageInfo_SegmentListItem.Size(m)
}
func (m *SegmentListItem) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentListItem.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentListItem proto.InternalMessageInfo
func (m *SegmentListItem) GetPosition() *SegmentPosition {
if m != nil {
return m.Position
}
return nil
}
type SegmentDownloadRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
CursorPosition *SegmentPosition `protobuf:"bytes,2,opt,name=cursor_position,json=cursorPosition,proto3" json:"cursor_position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentDownloadRequest) Reset() { *m = SegmentDownloadRequest{} }
func (m *SegmentDownloadRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentDownloadRequest) ProtoMessage() {}
func (*SegmentDownloadRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{65}
}
func (m *SegmentDownloadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentDownloadRequest.Unmarshal(m, b)
}
func (m *SegmentDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentDownloadRequest.Marshal(b, m, deterministic)
}
func (m *SegmentDownloadRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentDownloadRequest.Merge(m, src)
}
func (m *SegmentDownloadRequest) XXX_Size() int {
return xxx_messageInfo_SegmentDownloadRequest.Size(m)
}
func (m *SegmentDownloadRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentDownloadRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentDownloadRequest proto.InternalMessageInfo
func (m *SegmentDownloadRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
func (m *SegmentDownloadRequest) GetCursorPosition() *SegmentPosition {
if m != nil {
return m.CursorPosition
}
return nil
}
type SegmentDownloadResponse struct {
SegmentId SegmentID `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,2,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
PrivateKey PiecePrivateKey `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
EncryptedInlineData []byte `protobuf:"bytes,4,opt,name=encrypted_inline_data,json=encryptedInlineData,proto3" json:"encrypted_inline_data,omitempty"`
SegmentSize int64 `protobuf:"varint,5,opt,name=segment_size,json=segmentSize,proto3" json:"segment_size,omitempty"`
EncryptedKeyNonce Nonce `protobuf:"bytes,6,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
EncryptedKey []byte `protobuf:"bytes,7,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
Next *SegmentPosition `protobuf:"bytes,8,opt,name=next,proto3" json:"next,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentDownloadResponse) Reset() { *m = SegmentDownloadResponse{} }
func (m *SegmentDownloadResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentDownloadResponse) ProtoMessage() {}
func (*SegmentDownloadResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{66}
}
func (m *SegmentDownloadResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentDownloadResponse.Unmarshal(m, b)
}
func (m *SegmentDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentDownloadResponse.Marshal(b, m, deterministic)
}
func (m *SegmentDownloadResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentDownloadResponse.Merge(m, src)
}
func (m *SegmentDownloadResponse) XXX_Size() int {
return xxx_messageInfo_SegmentDownloadResponse.Size(m)
}
func (m *SegmentDownloadResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentDownloadResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentDownloadResponse proto.InternalMessageInfo
func (m *SegmentDownloadResponse) GetAddressedLimits() []*AddressedOrderLimit {
if m != nil {
return m.AddressedLimits
}
return nil
}
func (m *SegmentDownloadResponse) GetEncryptedInlineData() []byte {
if m != nil {
return m.EncryptedInlineData
}
return nil
}
func (m *SegmentDownloadResponse) GetSegmentSize() int64 {
if m != nil {
return m.SegmentSize
}
return 0
}
func (m *SegmentDownloadResponse) GetEncryptedKey() []byte {
if m != nil {
return m.EncryptedKey
}
return nil
}
func (m *SegmentDownloadResponse) GetNext() *SegmentPosition {
if m != nil {
return m.Next
}
return nil
}
2019-08-06 15:56:23 +01:00
type BatchRequest struct {
Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
// headers for specific BatchRequestItems are ignored entirely
2019-08-06 15:56:23 +01:00
Requests []*BatchRequestItem `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchRequest) Reset() { *m = BatchRequest{} }
func (m *BatchRequest) String() string { return proto.CompactTextString(m) }
func (*BatchRequest) ProtoMessage() {}
func (*BatchRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{67}
2019-08-06 15:56:23 +01:00
}
func (m *BatchRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRequest.Unmarshal(m, b)
}
func (m *BatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRequest.Marshal(b, m, deterministic)
}
func (m *BatchRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRequest.Merge(m, src)
}
func (m *BatchRequest) XXX_Size() int {
return xxx_messageInfo_BatchRequest.Size(m)
}
func (m *BatchRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRequest proto.InternalMessageInfo
func (m *BatchRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
2019-08-06 15:56:23 +01:00
func (m *BatchRequest) GetRequests() []*BatchRequestItem {
if m != nil {
return m.Requests
}
return nil
}
type BatchRequestItem struct {
// Types that are valid to be assigned to Request:
// *BatchRequestItem_BucketCreate
// *BatchRequestItem_BucketGet
// *BatchRequestItem_BucketDelete
// *BatchRequestItem_BucketList
// *BatchRequestItem_BucketSetAttribution
// *BatchRequestItem_ObjectBegin
// *BatchRequestItem_ObjectCommit
// *BatchRequestItem_ObjectGet
// *BatchRequestItem_ObjectList
// *BatchRequestItem_ObjectBeginDelete
// *BatchRequestItem_ObjectFinishDelete
// *BatchRequestItem_SegmentBegin
// *BatchRequestItem_SegmentCommit
// *BatchRequestItem_SegmentMakeInline
// *BatchRequestItem_SegmentBeginDelete
// *BatchRequestItem_SegmentFinishDelete
// *BatchRequestItem_SegmentList
// *BatchRequestItem_SegmentDownload
Request isBatchRequestItem_Request `protobuf_oneof:"Request"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchRequestItem) Reset() { *m = BatchRequestItem{} }
func (m *BatchRequestItem) String() string { return proto.CompactTextString(m) }
func (*BatchRequestItem) ProtoMessage() {}
func (*BatchRequestItem) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{68}
2019-08-06 15:56:23 +01:00
}
func (m *BatchRequestItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRequestItem.Unmarshal(m, b)
}
func (m *BatchRequestItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRequestItem.Marshal(b, m, deterministic)
}
func (m *BatchRequestItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRequestItem.Merge(m, src)
}
func (m *BatchRequestItem) XXX_Size() int {
return xxx_messageInfo_BatchRequestItem.Size(m)
}
func (m *BatchRequestItem) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRequestItem.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRequestItem proto.InternalMessageInfo
type isBatchRequestItem_Request interface {
isBatchRequestItem_Request()
}
type BatchRequestItem_BucketCreate struct {
BucketCreate *BucketCreateRequest `protobuf:"bytes,1,opt,name=bucket_create,json=bucketCreate,proto3,oneof"`
}
type BatchRequestItem_BucketGet struct {
BucketGet *BucketGetRequest `protobuf:"bytes,2,opt,name=bucket_get,json=bucketGet,proto3,oneof"`
}
type BatchRequestItem_BucketDelete struct {
BucketDelete *BucketDeleteRequest `protobuf:"bytes,3,opt,name=bucket_delete,json=bucketDelete,proto3,oneof"`
}
type BatchRequestItem_BucketList struct {
BucketList *BucketListRequest `protobuf:"bytes,4,opt,name=bucket_list,json=bucketList,proto3,oneof"`
}
type BatchRequestItem_BucketSetAttribution struct {
BucketSetAttribution *BucketSetAttributionRequest `protobuf:"bytes,5,opt,name=bucket_set_attribution,json=bucketSetAttribution,proto3,oneof"`
}
type BatchRequestItem_ObjectBegin struct {
ObjectBegin *ObjectBeginRequest `protobuf:"bytes,6,opt,name=object_begin,json=objectBegin,proto3,oneof"`
}
type BatchRequestItem_ObjectCommit struct {
ObjectCommit *ObjectCommitRequest `protobuf:"bytes,7,opt,name=object_commit,json=objectCommit,proto3,oneof"`
}
type BatchRequestItem_ObjectGet struct {
ObjectGet *ObjectGetRequest `protobuf:"bytes,8,opt,name=object_get,json=objectGet,proto3,oneof"`
}
type BatchRequestItem_ObjectList struct {
ObjectList *ObjectListRequest `protobuf:"bytes,9,opt,name=object_list,json=objectList,proto3,oneof"`
}
type BatchRequestItem_ObjectBeginDelete struct {
ObjectBeginDelete *ObjectBeginDeleteRequest `protobuf:"bytes,10,opt,name=object_begin_delete,json=objectBeginDelete,proto3,oneof"`
}
type BatchRequestItem_ObjectFinishDelete struct {
ObjectFinishDelete *ObjectFinishDeleteRequest `protobuf:"bytes,11,opt,name=object_finish_delete,json=objectFinishDelete,proto3,oneof"`
}
type BatchRequestItem_SegmentBegin struct {
SegmentBegin *SegmentBeginRequest `protobuf:"bytes,12,opt,name=segment_begin,json=segmentBegin,proto3,oneof"`
}
type BatchRequestItem_SegmentCommit struct {
SegmentCommit *SegmentCommitRequest `protobuf:"bytes,13,opt,name=segment_commit,json=segmentCommit,proto3,oneof"`
}
type BatchRequestItem_SegmentMakeInline struct {
SegmentMakeInline *SegmentMakeInlineRequest `protobuf:"bytes,14,opt,name=segment_make_inline,json=segmentMakeInline,proto3,oneof"`
}
type BatchRequestItem_SegmentBeginDelete struct {
SegmentBeginDelete *SegmentBeginDeleteRequest `protobuf:"bytes,15,opt,name=segment_begin_delete,json=segmentBeginDelete,proto3,oneof"`
}
type BatchRequestItem_SegmentFinishDelete struct {
SegmentFinishDelete *SegmentFinishDeleteRequest `protobuf:"bytes,16,opt,name=segment_finish_delete,json=segmentFinishDelete,proto3,oneof"`
}
type BatchRequestItem_SegmentList struct {
SegmentList *SegmentListRequest `protobuf:"bytes,17,opt,name=segment_list,json=segmentList,proto3,oneof"`
}
type BatchRequestItem_SegmentDownload struct {
SegmentDownload *SegmentDownloadRequest `protobuf:"bytes,18,opt,name=segment_download,json=segmentDownload,proto3,oneof"`
}
func (*BatchRequestItem_BucketCreate) isBatchRequestItem_Request() {}
func (*BatchRequestItem_BucketGet) isBatchRequestItem_Request() {}
func (*BatchRequestItem_BucketDelete) isBatchRequestItem_Request() {}
func (*BatchRequestItem_BucketList) isBatchRequestItem_Request() {}
func (*BatchRequestItem_BucketSetAttribution) isBatchRequestItem_Request() {}
func (*BatchRequestItem_ObjectBegin) isBatchRequestItem_Request() {}
func (*BatchRequestItem_ObjectCommit) isBatchRequestItem_Request() {}
func (*BatchRequestItem_ObjectGet) isBatchRequestItem_Request() {}
func (*BatchRequestItem_ObjectList) isBatchRequestItem_Request() {}
func (*BatchRequestItem_ObjectBeginDelete) isBatchRequestItem_Request() {}
func (*BatchRequestItem_ObjectFinishDelete) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentBegin) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentCommit) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentMakeInline) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentBeginDelete) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentFinishDelete) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentList) isBatchRequestItem_Request() {}
func (*BatchRequestItem_SegmentDownload) isBatchRequestItem_Request() {}
func (m *BatchRequestItem) GetRequest() isBatchRequestItem_Request {
if m != nil {
return m.Request
}
return nil
}
func (m *BatchRequestItem) GetBucketCreate() *BucketCreateRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_BucketCreate); ok {
return x.BucketCreate
}
return nil
}
func (m *BatchRequestItem) GetBucketGet() *BucketGetRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_BucketGet); ok {
return x.BucketGet
}
return nil
}
func (m *BatchRequestItem) GetBucketDelete() *BucketDeleteRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_BucketDelete); ok {
return x.BucketDelete
}
return nil
}
func (m *BatchRequestItem) GetBucketList() *BucketListRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_BucketList); ok {
return x.BucketList
}
return nil
}
func (m *BatchRequestItem) GetBucketSetAttribution() *BucketSetAttributionRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_BucketSetAttribution); ok {
return x.BucketSetAttribution
}
return nil
}
func (m *BatchRequestItem) GetObjectBegin() *ObjectBeginRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_ObjectBegin); ok {
return x.ObjectBegin
}
return nil
}
func (m *BatchRequestItem) GetObjectCommit() *ObjectCommitRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_ObjectCommit); ok {
return x.ObjectCommit
}
return nil
}
func (m *BatchRequestItem) GetObjectGet() *ObjectGetRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_ObjectGet); ok {
return x.ObjectGet
}
return nil
}
func (m *BatchRequestItem) GetObjectList() *ObjectListRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_ObjectList); ok {
return x.ObjectList
}
return nil
}
func (m *BatchRequestItem) GetObjectBeginDelete() *ObjectBeginDeleteRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_ObjectBeginDelete); ok {
return x.ObjectBeginDelete
}
return nil
}
func (m *BatchRequestItem) GetObjectFinishDelete() *ObjectFinishDeleteRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_ObjectFinishDelete); ok {
return x.ObjectFinishDelete
}
return nil
}
func (m *BatchRequestItem) GetSegmentBegin() *SegmentBeginRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentBegin); ok {
return x.SegmentBegin
}
return nil
}
func (m *BatchRequestItem) GetSegmentCommit() *SegmentCommitRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentCommit); ok {
return x.SegmentCommit
}
return nil
}
func (m *BatchRequestItem) GetSegmentMakeInline() *SegmentMakeInlineRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentMakeInline); ok {
return x.SegmentMakeInline
}
return nil
}
func (m *BatchRequestItem) GetSegmentBeginDelete() *SegmentBeginDeleteRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentBeginDelete); ok {
return x.SegmentBeginDelete
}
return nil
}
func (m *BatchRequestItem) GetSegmentFinishDelete() *SegmentFinishDeleteRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentFinishDelete); ok {
return x.SegmentFinishDelete
}
return nil
}
func (m *BatchRequestItem) GetSegmentList() *SegmentListRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentList); ok {
return x.SegmentList
}
return nil
}
func (m *BatchRequestItem) GetSegmentDownload() *SegmentDownloadRequest {
if x, ok := m.GetRequest().(*BatchRequestItem_SegmentDownload); ok {
return x.SegmentDownload
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*BatchRequestItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _BatchRequestItem_OneofMarshaler, _BatchRequestItem_OneofUnmarshaler, _BatchRequestItem_OneofSizer, []interface{}{
(*BatchRequestItem_BucketCreate)(nil),
(*BatchRequestItem_BucketGet)(nil),
(*BatchRequestItem_BucketDelete)(nil),
(*BatchRequestItem_BucketList)(nil),
(*BatchRequestItem_BucketSetAttribution)(nil),
(*BatchRequestItem_ObjectBegin)(nil),
(*BatchRequestItem_ObjectCommit)(nil),
(*BatchRequestItem_ObjectGet)(nil),
(*BatchRequestItem_ObjectList)(nil),
(*BatchRequestItem_ObjectBeginDelete)(nil),
(*BatchRequestItem_ObjectFinishDelete)(nil),
(*BatchRequestItem_SegmentBegin)(nil),
(*BatchRequestItem_SegmentCommit)(nil),
(*BatchRequestItem_SegmentMakeInline)(nil),
(*BatchRequestItem_SegmentBeginDelete)(nil),
(*BatchRequestItem_SegmentFinishDelete)(nil),
(*BatchRequestItem_SegmentList)(nil),
(*BatchRequestItem_SegmentDownload)(nil),
}
}
func _BatchRequestItem_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*BatchRequestItem)
// Request
switch x := m.Request.(type) {
case *BatchRequestItem_BucketCreate:
_ = b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketCreate); err != nil {
return err
}
case *BatchRequestItem_BucketGet:
_ = b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketGet); err != nil {
return err
}
case *BatchRequestItem_BucketDelete:
_ = b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketDelete); err != nil {
return err
}
case *BatchRequestItem_BucketList:
_ = b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketList); err != nil {
return err
}
case *BatchRequestItem_BucketSetAttribution:
_ = b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketSetAttribution); err != nil {
return err
}
case *BatchRequestItem_ObjectBegin:
_ = b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectBegin); err != nil {
return err
}
case *BatchRequestItem_ObjectCommit:
_ = b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectCommit); err != nil {
return err
}
case *BatchRequestItem_ObjectGet:
_ = b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectGet); err != nil {
return err
}
case *BatchRequestItem_ObjectList:
_ = b.EncodeVarint(9<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectList); err != nil {
return err
}
case *BatchRequestItem_ObjectBeginDelete:
_ = b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectBeginDelete); err != nil {
return err
}
case *BatchRequestItem_ObjectFinishDelete:
_ = b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectFinishDelete); err != nil {
return err
}
case *BatchRequestItem_SegmentBegin:
_ = b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentBegin); err != nil {
return err
}
case *BatchRequestItem_SegmentCommit:
_ = b.EncodeVarint(13<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentCommit); err != nil {
return err
}
case *BatchRequestItem_SegmentMakeInline:
_ = b.EncodeVarint(14<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentMakeInline); err != nil {
return err
}
case *BatchRequestItem_SegmentBeginDelete:
_ = b.EncodeVarint(15<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentBeginDelete); err != nil {
return err
}
case *BatchRequestItem_SegmentFinishDelete:
_ = b.EncodeVarint(16<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentFinishDelete); err != nil {
return err
}
case *BatchRequestItem_SegmentList:
_ = b.EncodeVarint(17<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentList); err != nil {
return err
}
case *BatchRequestItem_SegmentDownload:
_ = b.EncodeVarint(18<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentDownload); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("BatchRequestItem.Request has unexpected type %T", x)
}
return nil
}
func _BatchRequestItem_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*BatchRequestItem)
switch tag {
case 1: // Request.bucket_create
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketCreateRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_BucketCreate{msg}
return true, err
case 2: // Request.bucket_get
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketGetRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_BucketGet{msg}
return true, err
case 3: // Request.bucket_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketDeleteRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_BucketDelete{msg}
return true, err
case 4: // Request.bucket_list
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketListRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_BucketList{msg}
return true, err
case 5: // Request.bucket_set_attribution
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketSetAttributionRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_BucketSetAttribution{msg}
return true, err
case 6: // Request.object_begin
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectBeginRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_ObjectBegin{msg}
return true, err
case 7: // Request.object_commit
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectCommitRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_ObjectCommit{msg}
return true, err
case 8: // Request.object_get
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectGetRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_ObjectGet{msg}
return true, err
case 9: // Request.object_list
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectListRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_ObjectList{msg}
return true, err
case 10: // Request.object_begin_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectBeginDeleteRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_ObjectBeginDelete{msg}
return true, err
case 11: // Request.object_finish_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectFinishDeleteRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_ObjectFinishDelete{msg}
return true, err
case 12: // Request.segment_begin
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentBeginRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentBegin{msg}
return true, err
case 13: // Request.segment_commit
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentCommitRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentCommit{msg}
return true, err
case 14: // Request.segment_make_inline
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentMakeInlineRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentMakeInline{msg}
return true, err
case 15: // Request.segment_begin_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentBeginDeleteRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentBeginDelete{msg}
return true, err
case 16: // Request.segment_finish_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentFinishDeleteRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentFinishDelete{msg}
return true, err
case 17: // Request.segment_list
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentListRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentList{msg}
return true, err
case 18: // Request.segment_download
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentDownloadRequest)
err := b.DecodeMessage(msg)
m.Request = &BatchRequestItem_SegmentDownload{msg}
return true, err
default:
return false, nil
}
}
func _BatchRequestItem_OneofSizer(msg proto.Message) (n int) {
m := msg.(*BatchRequestItem)
// Request
switch x := m.Request.(type) {
case *BatchRequestItem_BucketCreate:
s := proto.Size(x.BucketCreate)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_BucketGet:
s := proto.Size(x.BucketGet)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_BucketDelete:
s := proto.Size(x.BucketDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_BucketList:
s := proto.Size(x.BucketList)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_BucketSetAttribution:
s := proto.Size(x.BucketSetAttribution)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_ObjectBegin:
s := proto.Size(x.ObjectBegin)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_ObjectCommit:
s := proto.Size(x.ObjectCommit)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_ObjectGet:
s := proto.Size(x.ObjectGet)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_ObjectList:
s := proto.Size(x.ObjectList)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_ObjectBeginDelete:
s := proto.Size(x.ObjectBeginDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_ObjectFinishDelete:
s := proto.Size(x.ObjectFinishDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentBegin:
s := proto.Size(x.SegmentBegin)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentCommit:
s := proto.Size(x.SegmentCommit)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentMakeInline:
s := proto.Size(x.SegmentMakeInline)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentBeginDelete:
s := proto.Size(x.SegmentBeginDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentFinishDelete:
s := proto.Size(x.SegmentFinishDelete)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentList:
s := proto.Size(x.SegmentList)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchRequestItem_SegmentDownload:
s := proto.Size(x.SegmentDownload)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type BatchResponse struct {
Responses []*BatchResponseItem `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchResponse) Reset() { *m = BatchResponse{} }
func (m *BatchResponse) String() string { return proto.CompactTextString(m) }
func (*BatchResponse) ProtoMessage() {}
func (*BatchResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{69}
2019-08-06 15:56:23 +01:00
}
func (m *BatchResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchResponse.Unmarshal(m, b)
}
func (m *BatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchResponse.Marshal(b, m, deterministic)
}
func (m *BatchResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchResponse.Merge(m, src)
}
func (m *BatchResponse) XXX_Size() int {
return xxx_messageInfo_BatchResponse.Size(m)
}
func (m *BatchResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchResponse proto.InternalMessageInfo
func (m *BatchResponse) GetResponses() []*BatchResponseItem {
if m != nil {
return m.Responses
}
return nil
}
type BatchResponseItem struct {
// Types that are valid to be assigned to Response:
// *BatchResponseItem_BucketCreate
// *BatchResponseItem_BucketGet
// *BatchResponseItem_BucketDelete
// *BatchResponseItem_BucketList
// *BatchResponseItem_BucketSetAttribution
// *BatchResponseItem_ObjectBegin
// *BatchResponseItem_ObjectCommit
// *BatchResponseItem_ObjectGet
// *BatchResponseItem_ObjectList
// *BatchResponseItem_ObjectBeginDelete
// *BatchResponseItem_ObjectFinishDelete
// *BatchResponseItem_SegmentBegin
// *BatchResponseItem_SegmentCommit
// *BatchResponseItem_SegmentMakeInline
// *BatchResponseItem_SegmentBeginDelete
// *BatchResponseItem_SegmentFinishDelete
// *BatchResponseItem_SegmentList
// *BatchResponseItem_SegmentDownload
Response isBatchResponseItem_Response `protobuf_oneof:"Response"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchResponseItem) Reset() { *m = BatchResponseItem{} }
func (m *BatchResponseItem) String() string { return proto.CompactTextString(m) }
func (*BatchResponseItem) ProtoMessage() {}
func (*BatchResponseItem) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{70}
2019-08-06 15:56:23 +01:00
}
func (m *BatchResponseItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchResponseItem.Unmarshal(m, b)
}
func (m *BatchResponseItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchResponseItem.Marshal(b, m, deterministic)
}
func (m *BatchResponseItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchResponseItem.Merge(m, src)
}
func (m *BatchResponseItem) XXX_Size() int {
return xxx_messageInfo_BatchResponseItem.Size(m)
}
func (m *BatchResponseItem) XXX_DiscardUnknown() {
xxx_messageInfo_BatchResponseItem.DiscardUnknown(m)
}
var xxx_messageInfo_BatchResponseItem proto.InternalMessageInfo
type isBatchResponseItem_Response interface {
isBatchResponseItem_Response()
}
type BatchResponseItem_BucketCreate struct {
BucketCreate *BucketCreateResponse `protobuf:"bytes,1,opt,name=bucket_create,json=bucketCreate,proto3,oneof"`
}
type BatchResponseItem_BucketGet struct {
BucketGet *BucketGetResponse `protobuf:"bytes,2,opt,name=bucket_get,json=bucketGet,proto3,oneof"`
}
type BatchResponseItem_BucketDelete struct {
BucketDelete *BucketDeleteResponse `protobuf:"bytes,3,opt,name=bucket_delete,json=bucketDelete,proto3,oneof"`
}
type BatchResponseItem_BucketList struct {
BucketList *BucketListResponse `protobuf:"bytes,4,opt,name=bucket_list,json=bucketList,proto3,oneof"`
}
type BatchResponseItem_BucketSetAttribution struct {
BucketSetAttribution *BucketSetAttributionResponse `protobuf:"bytes,5,opt,name=bucket_set_attribution,json=bucketSetAttribution,proto3,oneof"`
}
type BatchResponseItem_ObjectBegin struct {
ObjectBegin *ObjectBeginResponse `protobuf:"bytes,6,opt,name=object_begin,json=objectBegin,proto3,oneof"`
}
type BatchResponseItem_ObjectCommit struct {
ObjectCommit *ObjectCommitResponse `protobuf:"bytes,7,opt,name=object_commit,json=objectCommit,proto3,oneof"`
}
type BatchResponseItem_ObjectGet struct {
ObjectGet *ObjectGetResponse `protobuf:"bytes,8,opt,name=object_get,json=objectGet,proto3,oneof"`
}
type BatchResponseItem_ObjectList struct {
ObjectList *ObjectListResponse `protobuf:"bytes,9,opt,name=object_list,json=objectList,proto3,oneof"`
}
type BatchResponseItem_ObjectBeginDelete struct {
ObjectBeginDelete *ObjectBeginDeleteResponse `protobuf:"bytes,10,opt,name=object_begin_delete,json=objectBeginDelete,proto3,oneof"`
}
type BatchResponseItem_ObjectFinishDelete struct {
ObjectFinishDelete *ObjectFinishDeleteResponse `protobuf:"bytes,11,opt,name=object_finish_delete,json=objectFinishDelete,proto3,oneof"`
}
type BatchResponseItem_SegmentBegin struct {
SegmentBegin *SegmentBeginResponse `protobuf:"bytes,12,opt,name=segment_begin,json=segmentBegin,proto3,oneof"`
}
type BatchResponseItem_SegmentCommit struct {
SegmentCommit *SegmentCommitResponse `protobuf:"bytes,13,opt,name=segment_commit,json=segmentCommit,proto3,oneof"`
}
type BatchResponseItem_SegmentMakeInline struct {
SegmentMakeInline *SegmentMakeInlineResponse `protobuf:"bytes,14,opt,name=segment_make_inline,json=segmentMakeInline,proto3,oneof"`
}
type BatchResponseItem_SegmentBeginDelete struct {
SegmentBeginDelete *SegmentBeginDeleteResponse `protobuf:"bytes,15,opt,name=segment_begin_delete,json=segmentBeginDelete,proto3,oneof"`
}
type BatchResponseItem_SegmentFinishDelete struct {
SegmentFinishDelete *SegmentFinishDeleteResponse `protobuf:"bytes,16,opt,name=segment_finish_delete,json=segmentFinishDelete,proto3,oneof"`
}
type BatchResponseItem_SegmentList struct {
SegmentList *SegmentListResponse `protobuf:"bytes,17,opt,name=segment_list,json=segmentList,proto3,oneof"`
}
type BatchResponseItem_SegmentDownload struct {
SegmentDownload *SegmentDownloadResponse `protobuf:"bytes,18,opt,name=segment_download,json=segmentDownload,proto3,oneof"`
}
func (*BatchResponseItem_BucketCreate) isBatchResponseItem_Response() {}
func (*BatchResponseItem_BucketGet) isBatchResponseItem_Response() {}
func (*BatchResponseItem_BucketDelete) isBatchResponseItem_Response() {}
func (*BatchResponseItem_BucketList) isBatchResponseItem_Response() {}
func (*BatchResponseItem_BucketSetAttribution) isBatchResponseItem_Response() {}
func (*BatchResponseItem_ObjectBegin) isBatchResponseItem_Response() {}
func (*BatchResponseItem_ObjectCommit) isBatchResponseItem_Response() {}
func (*BatchResponseItem_ObjectGet) isBatchResponseItem_Response() {}
func (*BatchResponseItem_ObjectList) isBatchResponseItem_Response() {}
func (*BatchResponseItem_ObjectBeginDelete) isBatchResponseItem_Response() {}
func (*BatchResponseItem_ObjectFinishDelete) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentBegin) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentCommit) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentMakeInline) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentBeginDelete) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentFinishDelete) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentList) isBatchResponseItem_Response() {}
func (*BatchResponseItem_SegmentDownload) isBatchResponseItem_Response() {}
func (m *BatchResponseItem) GetResponse() isBatchResponseItem_Response {
if m != nil {
return m.Response
}
return nil
}
func (m *BatchResponseItem) GetBucketCreate() *BucketCreateResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_BucketCreate); ok {
return x.BucketCreate
}
return nil
}
func (m *BatchResponseItem) GetBucketGet() *BucketGetResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_BucketGet); ok {
return x.BucketGet
}
return nil
}
func (m *BatchResponseItem) GetBucketDelete() *BucketDeleteResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_BucketDelete); ok {
return x.BucketDelete
}
return nil
}
func (m *BatchResponseItem) GetBucketList() *BucketListResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_BucketList); ok {
return x.BucketList
}
return nil
}
func (m *BatchResponseItem) GetBucketSetAttribution() *BucketSetAttributionResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_BucketSetAttribution); ok {
return x.BucketSetAttribution
}
return nil
}
func (m *BatchResponseItem) GetObjectBegin() *ObjectBeginResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_ObjectBegin); ok {
return x.ObjectBegin
}
return nil
}
func (m *BatchResponseItem) GetObjectCommit() *ObjectCommitResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_ObjectCommit); ok {
return x.ObjectCommit
}
return nil
}
func (m *BatchResponseItem) GetObjectGet() *ObjectGetResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_ObjectGet); ok {
return x.ObjectGet
}
return nil
}
func (m *BatchResponseItem) GetObjectList() *ObjectListResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_ObjectList); ok {
return x.ObjectList
}
return nil
}
func (m *BatchResponseItem) GetObjectBeginDelete() *ObjectBeginDeleteResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_ObjectBeginDelete); ok {
return x.ObjectBeginDelete
}
return nil
}
func (m *BatchResponseItem) GetObjectFinishDelete() *ObjectFinishDeleteResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_ObjectFinishDelete); ok {
return x.ObjectFinishDelete
}
return nil
}
func (m *BatchResponseItem) GetSegmentBegin() *SegmentBeginResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentBegin); ok {
return x.SegmentBegin
}
return nil
}
func (m *BatchResponseItem) GetSegmentCommit() *SegmentCommitResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentCommit); ok {
return x.SegmentCommit
}
return nil
}
func (m *BatchResponseItem) GetSegmentMakeInline() *SegmentMakeInlineResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentMakeInline); ok {
return x.SegmentMakeInline
}
return nil
}
func (m *BatchResponseItem) GetSegmentBeginDelete() *SegmentBeginDeleteResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentBeginDelete); ok {
return x.SegmentBeginDelete
}
return nil
}
func (m *BatchResponseItem) GetSegmentFinishDelete() *SegmentFinishDeleteResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentFinishDelete); ok {
return x.SegmentFinishDelete
}
return nil
}
func (m *BatchResponseItem) GetSegmentList() *SegmentListResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentList); ok {
return x.SegmentList
}
return nil
}
func (m *BatchResponseItem) GetSegmentDownload() *SegmentDownloadResponse {
if x, ok := m.GetResponse().(*BatchResponseItem_SegmentDownload); ok {
return x.SegmentDownload
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*BatchResponseItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _BatchResponseItem_OneofMarshaler, _BatchResponseItem_OneofUnmarshaler, _BatchResponseItem_OneofSizer, []interface{}{
(*BatchResponseItem_BucketCreate)(nil),
(*BatchResponseItem_BucketGet)(nil),
(*BatchResponseItem_BucketDelete)(nil),
(*BatchResponseItem_BucketList)(nil),
(*BatchResponseItem_BucketSetAttribution)(nil),
(*BatchResponseItem_ObjectBegin)(nil),
(*BatchResponseItem_ObjectCommit)(nil),
(*BatchResponseItem_ObjectGet)(nil),
(*BatchResponseItem_ObjectList)(nil),
(*BatchResponseItem_ObjectBeginDelete)(nil),
(*BatchResponseItem_ObjectFinishDelete)(nil),
(*BatchResponseItem_SegmentBegin)(nil),
(*BatchResponseItem_SegmentCommit)(nil),
(*BatchResponseItem_SegmentMakeInline)(nil),
(*BatchResponseItem_SegmentBeginDelete)(nil),
(*BatchResponseItem_SegmentFinishDelete)(nil),
(*BatchResponseItem_SegmentList)(nil),
(*BatchResponseItem_SegmentDownload)(nil),
}
}
func _BatchResponseItem_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*BatchResponseItem)
// Response
switch x := m.Response.(type) {
case *BatchResponseItem_BucketCreate:
_ = b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketCreate); err != nil {
return err
}
case *BatchResponseItem_BucketGet:
_ = b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketGet); err != nil {
return err
}
case *BatchResponseItem_BucketDelete:
_ = b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketDelete); err != nil {
return err
}
case *BatchResponseItem_BucketList:
_ = b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketList); err != nil {
return err
}
case *BatchResponseItem_BucketSetAttribution:
_ = b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BucketSetAttribution); err != nil {
return err
}
case *BatchResponseItem_ObjectBegin:
_ = b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectBegin); err != nil {
return err
}
case *BatchResponseItem_ObjectCommit:
_ = b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectCommit); err != nil {
return err
}
case *BatchResponseItem_ObjectGet:
_ = b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectGet); err != nil {
return err
}
case *BatchResponseItem_ObjectList:
_ = b.EncodeVarint(9<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectList); err != nil {
return err
}
case *BatchResponseItem_ObjectBeginDelete:
_ = b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectBeginDelete); err != nil {
return err
}
case *BatchResponseItem_ObjectFinishDelete:
_ = b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ObjectFinishDelete); err != nil {
return err
}
case *BatchResponseItem_SegmentBegin:
_ = b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentBegin); err != nil {
return err
}
case *BatchResponseItem_SegmentCommit:
_ = b.EncodeVarint(13<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentCommit); err != nil {
return err
}
case *BatchResponseItem_SegmentMakeInline:
_ = b.EncodeVarint(14<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentMakeInline); err != nil {
return err
}
case *BatchResponseItem_SegmentBeginDelete:
_ = b.EncodeVarint(15<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentBeginDelete); err != nil {
return err
}
case *BatchResponseItem_SegmentFinishDelete:
_ = b.EncodeVarint(16<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentFinishDelete); err != nil {
return err
}
case *BatchResponseItem_SegmentList:
_ = b.EncodeVarint(17<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentList); err != nil {
return err
}
case *BatchResponseItem_SegmentDownload:
_ = b.EncodeVarint(18<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SegmentDownload); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("BatchResponseItem.Response has unexpected type %T", x)
}
return nil
}
func _BatchResponseItem_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*BatchResponseItem)
switch tag {
case 1: // Response.bucket_create
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketCreateResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_BucketCreate{msg}
return true, err
case 2: // Response.bucket_get
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketGetResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_BucketGet{msg}
return true, err
case 3: // Response.bucket_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketDeleteResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_BucketDelete{msg}
return true, err
case 4: // Response.bucket_list
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketListResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_BucketList{msg}
return true, err
case 5: // Response.bucket_set_attribution
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BucketSetAttributionResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_BucketSetAttribution{msg}
return true, err
case 6: // Response.object_begin
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectBeginResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_ObjectBegin{msg}
return true, err
case 7: // Response.object_commit
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectCommitResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_ObjectCommit{msg}
return true, err
case 8: // Response.object_get
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectGetResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_ObjectGet{msg}
return true, err
case 9: // Response.object_list
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectListResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_ObjectList{msg}
return true, err
case 10: // Response.object_begin_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectBeginDeleteResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_ObjectBeginDelete{msg}
return true, err
case 11: // Response.object_finish_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ObjectFinishDeleteResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_ObjectFinishDelete{msg}
return true, err
case 12: // Response.segment_begin
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentBeginResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentBegin{msg}
return true, err
case 13: // Response.segment_commit
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentCommitResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentCommit{msg}
return true, err
case 14: // Response.segment_make_inline
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentMakeInlineResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentMakeInline{msg}
return true, err
case 15: // Response.segment_begin_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentBeginDeleteResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentBeginDelete{msg}
return true, err
case 16: // Response.segment_finish_delete
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentFinishDeleteResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentFinishDelete{msg}
return true, err
case 17: // Response.segment_list
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentListResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentList{msg}
return true, err
case 18: // Response.segment_download
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SegmentDownloadResponse)
err := b.DecodeMessage(msg)
m.Response = &BatchResponseItem_SegmentDownload{msg}
return true, err
default:
return false, nil
}
}
func _BatchResponseItem_OneofSizer(msg proto.Message) (n int) {
m := msg.(*BatchResponseItem)
// Response
switch x := m.Response.(type) {
case *BatchResponseItem_BucketCreate:
s := proto.Size(x.BucketCreate)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_BucketGet:
s := proto.Size(x.BucketGet)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_BucketDelete:
s := proto.Size(x.BucketDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_BucketList:
s := proto.Size(x.BucketList)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_BucketSetAttribution:
s := proto.Size(x.BucketSetAttribution)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_ObjectBegin:
s := proto.Size(x.ObjectBegin)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_ObjectCommit:
s := proto.Size(x.ObjectCommit)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_ObjectGet:
s := proto.Size(x.ObjectGet)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_ObjectList:
s := proto.Size(x.ObjectList)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_ObjectBeginDelete:
s := proto.Size(x.ObjectBeginDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_ObjectFinishDelete:
s := proto.Size(x.ObjectFinishDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentBegin:
s := proto.Size(x.SegmentBegin)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentCommit:
s := proto.Size(x.SegmentCommit)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentMakeInline:
s := proto.Size(x.SegmentMakeInline)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentBeginDelete:
s := proto.Size(x.SegmentBeginDelete)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentFinishDelete:
s := proto.Size(x.SegmentFinishDelete)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentList:
s := proto.Size(x.SegmentList)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *BatchResponseItem_SegmentDownload:
s := proto.Size(x.SegmentDownload)
n += 2 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
func init() {
proto.RegisterEnum("metainfo.Object_Status", Object_Status_name, Object_Status_value)
proto.RegisterType((*RequestHeader)(nil), "metainfo.RequestHeader")
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")
proto.RegisterType((*Object)(nil), "metainfo.Object")
proto.RegisterType((*ObjectBeginRequest)(nil), "metainfo.ObjectBeginRequest")
proto.RegisterType((*ObjectBeginResponse)(nil), "metainfo.ObjectBeginResponse")
proto.RegisterType((*ObjectCommitRequest)(nil), "metainfo.ObjectCommitRequest")
proto.RegisterType((*ObjectCommitResponse)(nil), "metainfo.ObjectCommitResponse")
proto.RegisterType((*ObjectGetRequest)(nil), "metainfo.ObjectGetRequest")
proto.RegisterType((*ObjectGetResponse)(nil), "metainfo.ObjectGetResponse")
proto.RegisterType((*ObjectListRequest)(nil), "metainfo.ObjectListRequest")
proto.RegisterType((*ObjectListResponse)(nil), "metainfo.ObjectListResponse")
proto.RegisterType((*ObjectListItem)(nil), "metainfo.ObjectListItem")
proto.RegisterType((*ObjectListItemIncludes)(nil), "metainfo.ObjectListItemIncludes")
proto.RegisterType((*ObjectBeginDeleteRequest)(nil), "metainfo.ObjectBeginDeleteRequest")
proto.RegisterType((*ObjectBeginDeleteResponse)(nil), "metainfo.ObjectBeginDeleteResponse")
proto.RegisterType((*ObjectFinishDeleteRequest)(nil), "metainfo.ObjectFinishDeleteRequest")
proto.RegisterType((*ObjectFinishDeleteResponse)(nil), "metainfo.ObjectFinishDeleteResponse")
proto.RegisterType((*SatStreamID)(nil), "metainfo.SatStreamID")
proto.RegisterType((*Segment)(nil), "metainfo.Segment")
proto.RegisterType((*Piece)(nil), "metainfo.Piece")
proto.RegisterType((*SegmentPosition)(nil), "metainfo.SegmentPosition")
proto.RegisterType((*SegmentBeginRequest)(nil), "metainfo.SegmentBeginRequest")
proto.RegisterType((*SegmentBeginResponse)(nil), "metainfo.SegmentBeginResponse")
proto.RegisterType((*SegmentCommitRequest)(nil), "metainfo.SegmentCommitRequest")
proto.RegisterType((*SegmentPieceUploadResult)(nil), "metainfo.SegmentPieceUploadResult")
proto.RegisterType((*SatSegmentID)(nil), "metainfo.SatSegmentID")
proto.RegisterType((*SegmentCommitResponse)(nil), "metainfo.SegmentCommitResponse")
proto.RegisterType((*SegmentMakeInlineRequest)(nil), "metainfo.SegmentMakeInlineRequest")
proto.RegisterType((*SegmentMakeInlineResponse)(nil), "metainfo.SegmentMakeInlineResponse")
proto.RegisterType((*SegmentBeginDeleteRequest)(nil), "metainfo.SegmentBeginDeleteRequest")
proto.RegisterType((*SegmentBeginDeleteResponse)(nil), "metainfo.SegmentBeginDeleteResponse")
proto.RegisterType((*SegmentFinishDeleteRequest)(nil), "metainfo.SegmentFinishDeleteRequest")
proto.RegisterType((*SegmentPieceDeleteResult)(nil), "metainfo.SegmentPieceDeleteResult")
proto.RegisterType((*SegmentFinishDeleteResponse)(nil), "metainfo.SegmentFinishDeleteResponse")
proto.RegisterType((*SegmentListRequest)(nil), "metainfo.SegmentListRequest")
proto.RegisterType((*SegmentListResponse)(nil), "metainfo.SegmentListResponse")
proto.RegisterType((*SegmentListItem)(nil), "metainfo.SegmentListItem")
proto.RegisterType((*SegmentDownloadRequest)(nil), "metainfo.SegmentDownloadRequest")
proto.RegisterType((*SegmentDownloadResponse)(nil), "metainfo.SegmentDownloadResponse")
2019-08-06 15:56:23 +01:00
proto.RegisterType((*BatchRequest)(nil), "metainfo.BatchRequest")
proto.RegisterType((*BatchRequestItem)(nil), "metainfo.BatchRequestItem")
proto.RegisterType((*BatchResponse)(nil), "metainfo.BatchResponse")
proto.RegisterType((*BatchResponseItem)(nil), "metainfo.BatchResponseItem")
}
func init() { proto.RegisterFile("metainfo.proto", fileDescriptor_631e2f30a93cd64e) }
var fileDescriptor_631e2f30a93cd64e = []byte{
// 3730 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5b, 0x4d, 0x6c, 0x1c, 0xc7,
0x95, 0xe6, 0xfc, 0xcf, 0xbc, 0x19, 0x72, 0x86, 0x45, 0x8a, 0x1c, 0x35, 0x45, 0x51, 0x6a, 0x49,
0xb6, 0x16, 0x6b, 0x53, 0x06, 0xbd, 0xbb, 0xf0, 0x42, 0xf2, 0x7a, 0x49, 0x0d, 0xad, 0x19, 0x4b,
0xa4, 0xe8, 0xa6, 0x64, 0x69, 0xb5, 0x4e, 0x1a, 0xcd, 0xe9, 0x22, 0xd9, 0xd1, 0xcc, 0xf4, 0xa4,
0xbb, 0xc7, 0xa6, 0x9c, 0x53, 0x00, 0x03, 0x41, 0x10, 0x20, 0x30, 0x72, 0x0e, 0x72, 0xf2, 0x2d,
0xa7, 0xe4, 0x16, 0x20, 0xc9, 0x35, 0x09, 0x10, 0x38, 0x80, 0x11, 0xe4, 0x90, 0x83, 0x93, 0x53,
0x6e, 0xc9, 0x25, 0xb7, 0x04, 0x01, 0x82, 0xfa, 0xeb, 0xff, 0x9e, 0x1f, 0xfe, 0x48, 0xf1, 0xad,
0xfb, 0x55, 0xd5, 0xeb,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0x94, 0xd0, 0xc1, 0x53, 0xaa, 0x02, 0x0a, 0x99, 0x86, 0x48, 0xaf, 0x8c,
0xb2, 0x0e, 0x51, 0x7e, 0x75, 0xa4, 0x81, 0x38, 0x20, 0x01, 0x37, 0x8d, 0x07, 0x24, 0xfc, 0x07,
0x58, 0x0c, 0x20, 0xd1, 0x3f, 0xb2, 0xde, 0x83, 0xaa, 0xdf, 0x47, 0x43, 0x36, 0x8c, 0xff, 0x4f,
0xca, 0x6f, 0xc3, 0xa4, 0xdf, 0x86, 0xde, 0x87, 0xd9, 0x60, 0x0c, 0x23, 0xc2, 0xc0, 0x84, 0xe2,
0xff, 0xcc, 0x09, 0xd2, 0x43, 0xc2, 0x0f, 0x33, 0x24, 0x0e, 0xfa, 0xfe, 0x74, 0xf1, 0x6f, 0xac,
0xe8, 0x7f, 0x34, 0xfe, 0x8d, 0x15, 0xf3, 0x7b, 0xcc, 0x46, 0xf6, 0x49, 0xba, 0xbf, 0xb7, 0x97,
0xa7, 0xe7, 0xb2, 0xaf, 0xff, 0x33, 0x00, 0x00, 0xff, 0xff, 0xef, 0x28, 0x67, 0x84, 0xf3, 0x44,
0x00, 0x00,
}
type DRPCMetainfoClient interface {
DRPCConn() drpc.Conn
// Bucket
CreateBucket(ctx context.Context, in *BucketCreateRequest) (*BucketCreateResponse, error)
GetBucket(ctx context.Context, in *BucketGetRequest) (*BucketGetResponse, error)
DeleteBucket(ctx context.Context, in *BucketDeleteRequest) (*BucketDeleteResponse, error)
ListBuckets(ctx context.Context, in *BucketListRequest) (*BucketListResponse, error)
SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest) (*BucketSetAttributionResponse, error)
// Object
BeginObject(ctx context.Context, in *ObjectBeginRequest) (*ObjectBeginResponse, error)
CommitObject(ctx context.Context, in *ObjectCommitRequest) (*ObjectCommitResponse, error)
GetObject(ctx context.Context, in *ObjectGetRequest) (*ObjectGetResponse, error)
ListObjects(ctx context.Context, in *ObjectListRequest) (*ObjectListResponse, error)
BeginDeleteObject(ctx context.Context, in *ObjectBeginDeleteRequest) (*ObjectBeginDeleteResponse, error)
FinishDeleteObject(ctx context.Context, in *ObjectFinishDeleteRequest) (*ObjectFinishDeleteResponse, error)
BeginSegment(ctx context.Context, in *SegmentBeginRequest) (*SegmentBeginResponse, error)
CommitSegment(ctx context.Context, in *SegmentCommitRequest) (*SegmentCommitResponse, error)
MakeInlineSegment(ctx context.Context, in *SegmentMakeInlineRequest) (*SegmentMakeInlineResponse, error)
BeginDeleteSegment(ctx context.Context, in *SegmentBeginDeleteRequest) (*SegmentBeginDeleteResponse, error)
FinishDeleteSegment(ctx context.Context, in *SegmentFinishDeleteRequest) (*SegmentFinishDeleteResponse, error)
ListSegments(ctx context.Context, in *SegmentListRequest) (*SegmentListResponse, error)
DownloadSegment(ctx context.Context, in *SegmentDownloadRequest) (*SegmentDownloadResponse, error)
Batch(ctx context.Context, in *BatchRequest) (*BatchResponse, error)
CreateSegmentOld(ctx context.Context, in *SegmentWriteRequestOld) (*SegmentWriteResponseOld, error)
CommitSegmentOld(ctx context.Context, in *SegmentCommitRequestOld) (*SegmentCommitResponseOld, error)
SegmentInfoOld(ctx context.Context, in *SegmentInfoRequestOld) (*SegmentInfoResponseOld, error)
DownloadSegmentOld(ctx context.Context, in *SegmentDownloadRequestOld) (*SegmentDownloadResponseOld, error)
DeleteSegmentOld(ctx context.Context, in *SegmentDeleteRequestOld) (*SegmentDeleteResponseOld, error)
ListSegmentsOld(ctx context.Context, in *ListSegmentsRequestOld) (*ListSegmentsResponseOld, error)
SetAttributionOld(ctx context.Context, in *SetAttributionRequestOld) (*SetAttributionResponseOld, error)
ProjectInfo(ctx context.Context, in *ProjectInfoRequest) (*ProjectInfoResponse, error)
}
type drpcMetainfoClient struct {
cc drpc.Conn
}
func NewDRPCMetainfoClient(cc drpc.Conn) DRPCMetainfoClient {
return &drpcMetainfoClient{cc}
}
func (c *drpcMetainfoClient) DRPCConn() drpc.Conn { return c.cc }
func (c *drpcMetainfoClient) CreateBucket(ctx context.Context, in *BucketCreateRequest) (*BucketCreateResponse, error) {
out := new(BucketCreateResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateBucket", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) GetBucket(ctx context.Context, in *BucketGetRequest) (*BucketGetResponse, error) {
out := new(BucketGetResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucket", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) DeleteBucket(ctx context.Context, in *BucketDeleteRequest) (*BucketDeleteResponse, error) {
out := new(BucketDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteBucket", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) ListBuckets(ctx context.Context, in *BucketListRequest) (*BucketListResponse, error) {
out := new(BucketListResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListBuckets", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest) (*BucketSetAttributionResponse, error) {
out := new(BucketSetAttributionResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketAttribution", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) BeginObject(ctx context.Context, in *ObjectBeginRequest) (*ObjectBeginResponse, error) {
out := new(ObjectBeginResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginObject", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) CommitObject(ctx context.Context, in *ObjectCommitRequest) (*ObjectCommitResponse, error) {
out := new(ObjectCommitResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitObject", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) GetObject(ctx context.Context, in *ObjectGetRequest) (*ObjectGetResponse, error) {
out := new(ObjectGetResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetObject", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) ListObjects(ctx context.Context, in *ObjectListRequest) (*ObjectListResponse, error) {
out := new(ObjectListResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListObjects", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) BeginDeleteObject(ctx context.Context, in *ObjectBeginDeleteRequest) (*ObjectBeginDeleteResponse, error) {
out := new(ObjectBeginDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginDeleteObject", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) FinishDeleteObject(ctx context.Context, in *ObjectFinishDeleteRequest) (*ObjectFinishDeleteResponse, error) {
out := new(ObjectFinishDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishDeleteObject", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) BeginSegment(ctx context.Context, in *SegmentBeginRequest) (*SegmentBeginResponse, error) {
out := new(SegmentBeginResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginSegment", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) CommitSegment(ctx context.Context, in *SegmentCommitRequest) (*SegmentCommitResponse, error) {
out := new(SegmentCommitResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegment", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) MakeInlineSegment(ctx context.Context, in *SegmentMakeInlineRequest) (*SegmentMakeInlineResponse, error) {
out := new(SegmentMakeInlineResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/MakeInlineSegment", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) BeginDeleteSegment(ctx context.Context, in *SegmentBeginDeleteRequest) (*SegmentBeginDeleteResponse, error) {
out := new(SegmentBeginDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginDeleteSegment", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) FinishDeleteSegment(ctx context.Context, in *SegmentFinishDeleteRequest) (*SegmentFinishDeleteResponse, error) {
out := new(SegmentFinishDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishDeleteSegment", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) ListSegments(ctx context.Context, in *SegmentListRequest) (*SegmentListResponse, error) {
out := new(SegmentListResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegments", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) DownloadSegment(ctx context.Context, in *SegmentDownloadRequest) (*SegmentDownloadResponse, error) {
out := new(SegmentDownloadResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegment", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) Batch(ctx context.Context, in *BatchRequest) (*BatchResponse, error) {
out := new(BatchResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/Batch", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) CreateSegmentOld(ctx context.Context, in *SegmentWriteRequestOld) (*SegmentWriteResponseOld, error) {
out := new(SegmentWriteResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateSegmentOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) CommitSegmentOld(ctx context.Context, in *SegmentCommitRequestOld) (*SegmentCommitResponseOld, error) {
out := new(SegmentCommitResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegmentOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) SegmentInfoOld(ctx context.Context, in *SegmentInfoRequestOld) (*SegmentInfoResponseOld, error) {
out := new(SegmentInfoResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SegmentInfoOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) DownloadSegmentOld(ctx context.Context, in *SegmentDownloadRequestOld) (*SegmentDownloadResponseOld, error) {
out := new(SegmentDownloadResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegmentOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) DeleteSegmentOld(ctx context.Context, in *SegmentDeleteRequestOld) (*SegmentDeleteResponseOld, error) {
out := new(SegmentDeleteResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteSegmentOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) ListSegmentsOld(ctx context.Context, in *ListSegmentsRequestOld) (*ListSegmentsResponseOld, error) {
out := new(ListSegmentsResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegmentsOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) SetAttributionOld(ctx context.Context, in *SetAttributionRequestOld) (*SetAttributionResponseOld, error) {
out := new(SetAttributionResponseOld)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetAttributionOld", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *drpcMetainfoClient) ProjectInfo(ctx context.Context, in *ProjectInfoRequest) (*ProjectInfoResponse, error) {
out := new(ProjectInfoResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ProjectInfo", in, out)
if err != nil {
return nil, err
}
return out, nil
}
type DRPCMetainfoServer interface {
// Bucket
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)
// Object
BeginObject(context.Context, *ObjectBeginRequest) (*ObjectBeginResponse, error)
CommitObject(context.Context, *ObjectCommitRequest) (*ObjectCommitResponse, error)
GetObject(context.Context, *ObjectGetRequest) (*ObjectGetResponse, error)
ListObjects(context.Context, *ObjectListRequest) (*ObjectListResponse, error)
BeginDeleteObject(context.Context, *ObjectBeginDeleteRequest) (*ObjectBeginDeleteResponse, error)
FinishDeleteObject(context.Context, *ObjectFinishDeleteRequest) (*ObjectFinishDeleteResponse, error)
BeginSegment(context.Context, *SegmentBeginRequest) (*SegmentBeginResponse, error)
CommitSegment(context.Context, *SegmentCommitRequest) (*SegmentCommitResponse, error)
MakeInlineSegment(context.Context, *SegmentMakeInlineRequest) (*SegmentMakeInlineResponse, error)
BeginDeleteSegment(context.Context, *SegmentBeginDeleteRequest) (*SegmentBeginDeleteResponse, error)
FinishDeleteSegment(context.Context, *SegmentFinishDeleteRequest) (*SegmentFinishDeleteResponse, error)
ListSegments(context.Context, *SegmentListRequest) (*SegmentListResponse, error)
DownloadSegment(context.Context, *SegmentDownloadRequest) (*SegmentDownloadResponse, error)
Batch(context.Context, *BatchRequest) (*BatchResponse, 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)
}
type DRPCMetainfoDescription struct{}
func (DRPCMetainfoDescription) NumMethods() int { return 27 }
func (DRPCMetainfoDescription) Method(n int) (string, drpc.Handler, interface{}, bool) {
switch n {
case 0:
return "/metainfo.Metainfo/CreateBucket",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
CreateBucket(
ctx,
in1.(*BucketCreateRequest),
)
}, DRPCMetainfoServer.CreateBucket, true
case 1:
return "/metainfo.Metainfo/GetBucket",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
GetBucket(
ctx,
in1.(*BucketGetRequest),
)
}, DRPCMetainfoServer.GetBucket, true
case 2:
return "/metainfo.Metainfo/DeleteBucket",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
DeleteBucket(
ctx,
in1.(*BucketDeleteRequest),
)
}, DRPCMetainfoServer.DeleteBucket, true
case 3:
return "/metainfo.Metainfo/ListBuckets",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
ListBuckets(
ctx,
in1.(*BucketListRequest),
)
}, DRPCMetainfoServer.ListBuckets, true
case 4:
return "/metainfo.Metainfo/SetBucketAttribution",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
SetBucketAttribution(
ctx,
in1.(*BucketSetAttributionRequest),
)
}, DRPCMetainfoServer.SetBucketAttribution, true
case 5:
return "/metainfo.Metainfo/BeginObject",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
BeginObject(
ctx,
in1.(*ObjectBeginRequest),
)
}, DRPCMetainfoServer.BeginObject, true
case 6:
return "/metainfo.Metainfo/CommitObject",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
CommitObject(
ctx,
in1.(*ObjectCommitRequest),
)
}, DRPCMetainfoServer.CommitObject, true
case 7:
return "/metainfo.Metainfo/GetObject",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
GetObject(
ctx,
in1.(*ObjectGetRequest),
)
}, DRPCMetainfoServer.GetObject, true
case 8:
return "/metainfo.Metainfo/ListObjects",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
ListObjects(
ctx,
in1.(*ObjectListRequest),
)
}, DRPCMetainfoServer.ListObjects, true
case 9:
return "/metainfo.Metainfo/BeginDeleteObject",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
BeginDeleteObject(
ctx,
in1.(*ObjectBeginDeleteRequest),
)
}, DRPCMetainfoServer.BeginDeleteObject, true
case 10:
return "/metainfo.Metainfo/FinishDeleteObject",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
FinishDeleteObject(
ctx,
in1.(*ObjectFinishDeleteRequest),
)
}, DRPCMetainfoServer.FinishDeleteObject, true
case 11:
return "/metainfo.Metainfo/BeginSegment",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
BeginSegment(
ctx,
in1.(*SegmentBeginRequest),
)
}, DRPCMetainfoServer.BeginSegment, true
case 12:
return "/metainfo.Metainfo/CommitSegment",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
CommitSegment(
ctx,
in1.(*SegmentCommitRequest),
)
}, DRPCMetainfoServer.CommitSegment, true
case 13:
return "/metainfo.Metainfo/MakeInlineSegment",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
MakeInlineSegment(
ctx,
in1.(*SegmentMakeInlineRequest),
)
}, DRPCMetainfoServer.MakeInlineSegment, true
case 14:
return "/metainfo.Metainfo/BeginDeleteSegment",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
BeginDeleteSegment(
ctx,
in1.(*SegmentBeginDeleteRequest),
)
}, DRPCMetainfoServer.BeginDeleteSegment, true
case 15:
return "/metainfo.Metainfo/FinishDeleteSegment",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
FinishDeleteSegment(
ctx,
in1.(*SegmentFinishDeleteRequest),
)
}, DRPCMetainfoServer.FinishDeleteSegment, true
case 16:
return "/metainfo.Metainfo/ListSegments",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
ListSegments(
ctx,
in1.(*SegmentListRequest),
)
}, DRPCMetainfoServer.ListSegments, true
case 17:
return "/metainfo.Metainfo/DownloadSegment",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
DownloadSegment(
ctx,
in1.(*SegmentDownloadRequest),
)
}, DRPCMetainfoServer.DownloadSegment, true
case 18:
return "/metainfo.Metainfo/Batch",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
Batch(
ctx,
in1.(*BatchRequest),
)
}, DRPCMetainfoServer.Batch, true
case 19:
return "/metainfo.Metainfo/CreateSegmentOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
CreateSegmentOld(
ctx,
in1.(*SegmentWriteRequestOld),
)
}, DRPCMetainfoServer.CreateSegmentOld, true
case 20:
return "/metainfo.Metainfo/CommitSegmentOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
CommitSegmentOld(
ctx,
in1.(*SegmentCommitRequestOld),
)
}, DRPCMetainfoServer.CommitSegmentOld, true
case 21:
return "/metainfo.Metainfo/SegmentInfoOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
SegmentInfoOld(
ctx,
in1.(*SegmentInfoRequestOld),
)
}, DRPCMetainfoServer.SegmentInfoOld, true
case 22:
return "/metainfo.Metainfo/DownloadSegmentOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
DownloadSegmentOld(
ctx,
in1.(*SegmentDownloadRequestOld),
)
}, DRPCMetainfoServer.DownloadSegmentOld, true
case 23:
return "/metainfo.Metainfo/DeleteSegmentOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
DeleteSegmentOld(
ctx,
in1.(*SegmentDeleteRequestOld),
)
}, DRPCMetainfoServer.DeleteSegmentOld, true
case 24:
return "/metainfo.Metainfo/ListSegmentsOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
ListSegmentsOld(
ctx,
in1.(*ListSegmentsRequestOld),
)
}, DRPCMetainfoServer.ListSegmentsOld, true
case 25:
return "/metainfo.Metainfo/SetAttributionOld",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
SetAttributionOld(
ctx,
in1.(*SetAttributionRequestOld),
)
}, DRPCMetainfoServer.SetAttributionOld, true
case 26:
return "/metainfo.Metainfo/ProjectInfo",
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCMetainfoServer).
ProjectInfo(
ctx,
in1.(*ProjectInfoRequest),
)
}, DRPCMetainfoServer.ProjectInfo, true
default:
return "", nil, nil, false
}
}
func DRPCRegisterMetainfo(srv drpc.Server, impl DRPCMetainfoServer) {
srv.Register(impl, DRPCMetainfoDescription{})
}
type DRPCMetainfo_CreateBucketStream interface {
drpc.Stream
SendAndClose(*BucketCreateResponse) error
}
type drpcMetainfoCreateBucketStream struct {
drpc.Stream
}
func (x *drpcMetainfoCreateBucketStream) SendAndClose(m *BucketCreateResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_GetBucketStream interface {
drpc.Stream
SendAndClose(*BucketGetResponse) error
}
type drpcMetainfoGetBucketStream struct {
drpc.Stream
}
func (x *drpcMetainfoGetBucketStream) SendAndClose(m *BucketGetResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_DeleteBucketStream interface {
drpc.Stream
SendAndClose(*BucketDeleteResponse) error
}
type drpcMetainfoDeleteBucketStream struct {
drpc.Stream
}
func (x *drpcMetainfoDeleteBucketStream) SendAndClose(m *BucketDeleteResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_ListBucketsStream interface {
drpc.Stream
SendAndClose(*BucketListResponse) error
}
type drpcMetainfoListBucketsStream struct {
drpc.Stream
}
func (x *drpcMetainfoListBucketsStream) SendAndClose(m *BucketListResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_SetBucketAttributionStream interface {
drpc.Stream
SendAndClose(*BucketSetAttributionResponse) error
}
type drpcMetainfoSetBucketAttributionStream struct {
drpc.Stream
}
func (x *drpcMetainfoSetBucketAttributionStream) SendAndClose(m *BucketSetAttributionResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_BeginObjectStream interface {
drpc.Stream
SendAndClose(*ObjectBeginResponse) error
}
type drpcMetainfoBeginObjectStream struct {
drpc.Stream
}
func (x *drpcMetainfoBeginObjectStream) SendAndClose(m *ObjectBeginResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_CommitObjectStream interface {
drpc.Stream
SendAndClose(*ObjectCommitResponse) error
}
type drpcMetainfoCommitObjectStream struct {
drpc.Stream
}
func (x *drpcMetainfoCommitObjectStream) SendAndClose(m *ObjectCommitResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_GetObjectStream interface {
drpc.Stream
SendAndClose(*ObjectGetResponse) error
}
type drpcMetainfoGetObjectStream struct {
drpc.Stream
}
func (x *drpcMetainfoGetObjectStream) SendAndClose(m *ObjectGetResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_ListObjectsStream interface {
drpc.Stream
SendAndClose(*ObjectListResponse) error
}
type drpcMetainfoListObjectsStream struct {
drpc.Stream
}
func (x *drpcMetainfoListObjectsStream) SendAndClose(m *ObjectListResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_BeginDeleteObjectStream interface {
drpc.Stream
SendAndClose(*ObjectBeginDeleteResponse) error
}
type drpcMetainfoBeginDeleteObjectStream struct {
drpc.Stream
}
func (x *drpcMetainfoBeginDeleteObjectStream) SendAndClose(m *ObjectBeginDeleteResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_FinishDeleteObjectStream interface {
drpc.Stream
SendAndClose(*ObjectFinishDeleteResponse) error
}
type drpcMetainfoFinishDeleteObjectStream struct {
drpc.Stream
}
func (x *drpcMetainfoFinishDeleteObjectStream) SendAndClose(m *ObjectFinishDeleteResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_BeginSegmentStream interface {
drpc.Stream
SendAndClose(*SegmentBeginResponse) error
}
type drpcMetainfoBeginSegmentStream struct {
drpc.Stream
}
func (x *drpcMetainfoBeginSegmentStream) SendAndClose(m *SegmentBeginResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_CommitSegmentStream interface {
drpc.Stream
SendAndClose(*SegmentCommitResponse) error
}
type drpcMetainfoCommitSegmentStream struct {
drpc.Stream
}
func (x *drpcMetainfoCommitSegmentStream) SendAndClose(m *SegmentCommitResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_MakeInlineSegmentStream interface {
drpc.Stream
SendAndClose(*SegmentMakeInlineResponse) error
}
type drpcMetainfoMakeInlineSegmentStream struct {
drpc.Stream
}
func (x *drpcMetainfoMakeInlineSegmentStream) SendAndClose(m *SegmentMakeInlineResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_BeginDeleteSegmentStream interface {
drpc.Stream
SendAndClose(*SegmentBeginDeleteResponse) error
}
type drpcMetainfoBeginDeleteSegmentStream struct {
drpc.Stream
}
func (x *drpcMetainfoBeginDeleteSegmentStream) SendAndClose(m *SegmentBeginDeleteResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_FinishDeleteSegmentStream interface {
drpc.Stream
SendAndClose(*SegmentFinishDeleteResponse) error
}
type drpcMetainfoFinishDeleteSegmentStream struct {
drpc.Stream
}
func (x *drpcMetainfoFinishDeleteSegmentStream) SendAndClose(m *SegmentFinishDeleteResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_ListSegmentsStream interface {
drpc.Stream
SendAndClose(*SegmentListResponse) error
}
type drpcMetainfoListSegmentsStream struct {
drpc.Stream
}
func (x *drpcMetainfoListSegmentsStream) SendAndClose(m *SegmentListResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_DownloadSegmentStream interface {
drpc.Stream
SendAndClose(*SegmentDownloadResponse) error
}
type drpcMetainfoDownloadSegmentStream struct {
drpc.Stream
}
func (x *drpcMetainfoDownloadSegmentStream) SendAndClose(m *SegmentDownloadResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_BatchStream interface {
drpc.Stream
SendAndClose(*BatchResponse) error
}
type drpcMetainfoBatchStream struct {
drpc.Stream
}
func (x *drpcMetainfoBatchStream) SendAndClose(m *BatchResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_CreateSegmentOldStream interface {
drpc.Stream
SendAndClose(*SegmentWriteResponseOld) error
}
type drpcMetainfoCreateSegmentOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoCreateSegmentOldStream) SendAndClose(m *SegmentWriteResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_CommitSegmentOldStream interface {
drpc.Stream
SendAndClose(*SegmentCommitResponseOld) error
}
type drpcMetainfoCommitSegmentOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoCommitSegmentOldStream) SendAndClose(m *SegmentCommitResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_SegmentInfoOldStream interface {
drpc.Stream
SendAndClose(*SegmentInfoResponseOld) error
}
type drpcMetainfoSegmentInfoOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoSegmentInfoOldStream) SendAndClose(m *SegmentInfoResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_DownloadSegmentOldStream interface {
drpc.Stream
SendAndClose(*SegmentDownloadResponseOld) error
}
type drpcMetainfoDownloadSegmentOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoDownloadSegmentOldStream) SendAndClose(m *SegmentDownloadResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_DeleteSegmentOldStream interface {
drpc.Stream
SendAndClose(*SegmentDeleteResponseOld) error
}
type drpcMetainfoDeleteSegmentOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoDeleteSegmentOldStream) SendAndClose(m *SegmentDeleteResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_ListSegmentsOldStream interface {
drpc.Stream
SendAndClose(*ListSegmentsResponseOld) error
}
type drpcMetainfoListSegmentsOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoListSegmentsOldStream) SendAndClose(m *ListSegmentsResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_SetAttributionOldStream interface {
drpc.Stream
SendAndClose(*SetAttributionResponseOld) error
}
type drpcMetainfoSetAttributionOldStream struct {
drpc.Stream
}
func (x *drpcMetainfoSetAttributionOldStream) SendAndClose(m *SetAttributionResponseOld) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
type DRPCMetainfo_ProjectInfoStream interface {
drpc.Stream
SendAndClose(*ProjectInfoResponse) error
}
type drpcMetainfoProjectInfoStream struct {
drpc.Stream
}
func (x *drpcMetainfoProjectInfoStream) SendAndClose(m *ProjectInfoResponse) error {
if err := x.MsgSend(m); err != nil {
return err
}
return x.CloseSend()
}
// 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 {
// Bucket
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)
// Object
BeginObject(ctx context.Context, in *ObjectBeginRequest, opts ...grpc.CallOption) (*ObjectBeginResponse, error)
CommitObject(ctx context.Context, in *ObjectCommitRequest, opts ...grpc.CallOption) (*ObjectCommitResponse, error)
GetObject(ctx context.Context, in *ObjectGetRequest, opts ...grpc.CallOption) (*ObjectGetResponse, error)
ListObjects(ctx context.Context, in *ObjectListRequest, opts ...grpc.CallOption) (*ObjectListResponse, error)
BeginDeleteObject(ctx context.Context, in *ObjectBeginDeleteRequest, opts ...grpc.CallOption) (*ObjectBeginDeleteResponse, error)
FinishDeleteObject(ctx context.Context, in *ObjectFinishDeleteRequest, opts ...grpc.CallOption) (*ObjectFinishDeleteResponse, error)
BeginSegment(ctx context.Context, in *SegmentBeginRequest, opts ...grpc.CallOption) (*SegmentBeginResponse, error)
CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error)
MakeInlineSegment(ctx context.Context, in *SegmentMakeInlineRequest, opts ...grpc.CallOption) (*SegmentMakeInlineResponse, error)
BeginDeleteSegment(ctx context.Context, in *SegmentBeginDeleteRequest, opts ...grpc.CallOption) (*SegmentBeginDeleteResponse, error)
FinishDeleteSegment(ctx context.Context, in *SegmentFinishDeleteRequest, opts ...grpc.CallOption) (*SegmentFinishDeleteResponse, error)
ListSegments(ctx context.Context, in *SegmentListRequest, opts ...grpc.CallOption) (*SegmentListResponse, error)
DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error)
2019-08-06 15:56:23 +01:00
Batch(ctx context.Context, in *BatchRequest, opts ...grpc.CallOption) (*BatchResponse, 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) BeginObject(ctx context.Context, in *ObjectBeginRequest, opts ...grpc.CallOption) (*ObjectBeginResponse, error) {
out := new(ObjectBeginResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginObject", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) CommitObject(ctx context.Context, in *ObjectCommitRequest, opts ...grpc.CallOption) (*ObjectCommitResponse, error) {
out := new(ObjectCommitResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitObject", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) GetObject(ctx context.Context, in *ObjectGetRequest, opts ...grpc.CallOption) (*ObjectGetResponse, error) {
out := new(ObjectGetResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetObject", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) ListObjects(ctx context.Context, in *ObjectListRequest, opts ...grpc.CallOption) (*ObjectListResponse, error) {
out := new(ObjectListResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListObjects", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) BeginDeleteObject(ctx context.Context, in *ObjectBeginDeleteRequest, opts ...grpc.CallOption) (*ObjectBeginDeleteResponse, error) {
out := new(ObjectBeginDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginDeleteObject", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) FinishDeleteObject(ctx context.Context, in *ObjectFinishDeleteRequest, opts ...grpc.CallOption) (*ObjectFinishDeleteResponse, error) {
out := new(ObjectFinishDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishDeleteObject", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) BeginSegment(ctx context.Context, in *SegmentBeginRequest, opts ...grpc.CallOption) (*SegmentBeginResponse, error) {
out := new(SegmentBeginResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error) {
out := new(SegmentCommitResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) MakeInlineSegment(ctx context.Context, in *SegmentMakeInlineRequest, opts ...grpc.CallOption) (*SegmentMakeInlineResponse, error) {
out := new(SegmentMakeInlineResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/MakeInlineSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) BeginDeleteSegment(ctx context.Context, in *SegmentBeginDeleteRequest, opts ...grpc.CallOption) (*SegmentBeginDeleteResponse, error) {
out := new(SegmentBeginDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginDeleteSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) FinishDeleteSegment(ctx context.Context, in *SegmentFinishDeleteRequest, opts ...grpc.CallOption) (*SegmentFinishDeleteResponse, error) {
out := new(SegmentFinishDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishDeleteSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) ListSegments(ctx context.Context, in *SegmentListRequest, opts ...grpc.CallOption) (*SegmentListResponse, error) {
out := new(SegmentListResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegments", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error) {
out := new(SegmentDownloadResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2019-08-06 15:56:23 +01:00
func (c *metainfoClient) Batch(ctx context.Context, in *BatchRequest, opts ...grpc.CallOption) (*BatchResponse, error) {
out := new(BatchResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/Batch", 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
2019-07-16 11:39:23 +01:00
}
// MetainfoServer is the server API for Metainfo service.
type MetainfoServer interface {
// Bucket
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)
// Object
BeginObject(context.Context, *ObjectBeginRequest) (*ObjectBeginResponse, error)
CommitObject(context.Context, *ObjectCommitRequest) (*ObjectCommitResponse, error)
GetObject(context.Context, *ObjectGetRequest) (*ObjectGetResponse, error)
2019-07-16 11:39:23 +01:00
ListObjects(context.Context, *ObjectListRequest) (*ObjectListResponse, error)
BeginDeleteObject(context.Context, *ObjectBeginDeleteRequest) (*ObjectBeginDeleteResponse, error)
FinishDeleteObject(context.Context, *ObjectFinishDeleteRequest) (*ObjectFinishDeleteResponse, error)
BeginSegment(context.Context, *SegmentBeginRequest) (*SegmentBeginResponse, error)
CommitSegment(context.Context, *SegmentCommitRequest) (*SegmentCommitResponse, error)
MakeInlineSegment(context.Context, *SegmentMakeInlineRequest) (*SegmentMakeInlineResponse, error)
BeginDeleteSegment(context.Context, *SegmentBeginDeleteRequest) (*SegmentBeginDeleteResponse, error)
FinishDeleteSegment(context.Context, *SegmentFinishDeleteRequest) (*SegmentFinishDeleteResponse, error)
ListSegments(context.Context, *SegmentListRequest) (*SegmentListResponse, error)
DownloadSegment(context.Context, *SegmentDownloadRequest) (*SegmentDownloadResponse, error)
2019-08-06 15:56:23 +01:00
Batch(context.Context, *BatchRequest) (*BatchResponse, error)
2019-07-16 11:39:23 +01:00
CreateSegmentOld(context.Context, *SegmentWriteRequestOld) (*SegmentWriteResponseOld, error)
CommitSegmentOld(context.Context, *SegmentCommitRequestOld) (*SegmentCommitResponseOld, error)
SegmentInfoOld(context.Context, *SegmentInfoRequestOld) (*SegmentInfoResponseOld, error)
DownloadSegmentOld(context.Context, *SegmentDownloadRequestOld) (*SegmentDownloadResponseOld, error)
DeleteSegmentOld(context.Context, *SegmentDeleteRequestOld) (*SegmentDeleteResponseOld, error)
ListSegmentsOld(context.Context, *ListSegmentsRequestOld) (*ListSegmentsResponseOld, error)
SetAttributionOld(context.Context, *SetAttributionRequestOld) (*SetAttributionResponseOld, error)
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)
}
2019-07-16 11:39:23 +01:00
func _Metainfo_BeginObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ObjectBeginRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).BeginObject(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/BeginObject",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).BeginObject(ctx, req.(*ObjectBeginRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_CommitObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ObjectCommitRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).CommitObject(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/CommitObject",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).CommitObject(ctx, req.(*ObjectCommitRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_GetObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ObjectGetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).GetObject(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/GetObject",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).GetObject(ctx, req.(*ObjectGetRequest))
}
return interceptor(ctx, in, info, handler)
}
2019-07-16 11:39:23 +01:00
func _Metainfo_ListObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ObjectListRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).ListObjects(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/ListObjects",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).ListObjects(ctx, req.(*ObjectListRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_BeginDeleteObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ObjectBeginDeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).BeginDeleteObject(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/BeginDeleteObject",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).BeginDeleteObject(ctx, req.(*ObjectBeginDeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_FinishDeleteObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ObjectFinishDeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).FinishDeleteObject(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/FinishDeleteObject",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).FinishDeleteObject(ctx, req.(*ObjectFinishDeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_BeginSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentBeginRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).BeginSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/BeginSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).BeginSegment(ctx, req.(*SegmentBeginRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_CommitSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentCommitRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).CommitSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/CommitSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).CommitSegment(ctx, req.(*SegmentCommitRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_MakeInlineSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentMakeInlineRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).MakeInlineSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/MakeInlineSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).MakeInlineSegment(ctx, req.(*SegmentMakeInlineRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_BeginDeleteSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentBeginDeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).BeginDeleteSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/BeginDeleteSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).BeginDeleteSegment(ctx, req.(*SegmentBeginDeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_FinishDeleteSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentFinishDeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).FinishDeleteSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/FinishDeleteSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).FinishDeleteSegment(ctx, req.(*SegmentFinishDeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_ListSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentListRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).ListSegments(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/ListSegments",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).ListSegments(ctx, req.(*SegmentListRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_DownloadSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentDownloadRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).DownloadSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/DownloadSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).DownloadSegment(ctx, req.(*SegmentDownloadRequest))
}
return interceptor(ctx, in, info, handler)
}
2019-08-06 15:56:23 +01:00
func _Metainfo_Batch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).Batch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/Batch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).Batch(ctx, req.(*BatchRequest))
}
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,
},
2019-07-16 11:39:23 +01:00
{
MethodName: "BeginObject",
Handler: _Metainfo_BeginObject_Handler,
},
{
MethodName: "CommitObject",
Handler: _Metainfo_CommitObject_Handler,
},
{
MethodName: "GetObject",
Handler: _Metainfo_GetObject_Handler,
},
2019-07-16 11:39:23 +01:00
{
MethodName: "ListObjects",
Handler: _Metainfo_ListObjects_Handler,
},
{
MethodName: "BeginDeleteObject",
Handler: _Metainfo_BeginDeleteObject_Handler,
},
{
MethodName: "FinishDeleteObject",
Handler: _Metainfo_FinishDeleteObject_Handler,
},
{
MethodName: "BeginSegment",
Handler: _Metainfo_BeginSegment_Handler,
},
{
MethodName: "CommitSegment",
Handler: _Metainfo_CommitSegment_Handler,
},
{
MethodName: "MakeInlineSegment",
Handler: _Metainfo_MakeInlineSegment_Handler,
},
{
MethodName: "BeginDeleteSegment",
Handler: _Metainfo_BeginDeleteSegment_Handler,
},
{
MethodName: "FinishDeleteSegment",
Handler: _Metainfo_FinishDeleteSegment_Handler,
},
{
MethodName: "ListSegments",
Handler: _Metainfo_ListSegments_Handler,
},
{
MethodName: "DownloadSegment",
Handler: _Metainfo_DownloadSegment_Handler,
},
2019-08-06 15:56:23 +01:00
{
MethodName: "Batch",
Handler: _Metainfo_Batch_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",
}