// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: metainfo.proto

package pb

import (
	time "time"

	proto "github.com/gogo/protobuf/proto"
)

// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package

type ListDirection int32

const (
	ListDirection_UNSET ListDirection = 0
	// Forward lists forwards from cursor, including cursor.
	ListDirection_FORWARD ListDirection = 1
	// After lists forwards from cursor, without cursor.
	ListDirection_AFTER ListDirection = 2
)

var ListDirection_name = map[int32]string{
	0: "UNSET",
	1: "FORWARD",
	2: "AFTER",
}

var ListDirection_value = map[string]int32{
	"UNSET":   0,
	"FORWARD": 1,
	"AFTER":   2,
}

func (x ListDirection) String() string {
	return proto.EnumName(ListDirection_name, int32(x))
}

type Retention_Mode int32

const (
	Retention_INVALID    Retention_Mode = 0
	Retention_COMPLIANCE Retention_Mode = 1
)

var Retention_Mode_name = map[int32]string{
	0: "INVALID",
	1: "COMPLIANCE",
}

var Retention_Mode_value = map[string]int32{
	"INVALID":    0,
	"COMPLIANCE": 1,
}

func (x Retention_Mode) String() string {
	return proto.EnumName(Retention_Mode_name, int32(x))
}

type Object_Status int32

const (
	Object_INVALID                   Object_Status = 0
	Object_UPLOADING                 Object_Status = 1
	Object_COMMITTING                Object_Status = 2 // Deprecated: Do not use.
	Object_COMMITTED_UNVERSIONED     Object_Status = 3
	Object_COMMITTED_VERSIONED       Object_Status = 4
	Object_DELETE_MARKER_VERSIONED   Object_Status = 5
	Object_DELETE_MARKER_UNVERSIONED Object_Status = 6
	Object_PREFIX                    Object_Status = 7
)

var Object_Status_name = map[int32]string{
	0: "INVALID",
	1: "UPLOADING",
	2: "COMMITTING",
	3: "COMMITTED_UNVERSIONED",
	4: "COMMITTED_VERSIONED",
	5: "DELETE_MARKER_VERSIONED",
	6: "DELETE_MARKER_UNVERSIONED",
	7: "PREFIX",
}

var Object_Status_value = map[string]int32{
	"INVALID":                   0,
	"UPLOADING":                 1,
	"COMMITTING":                2,
	"COMMITTED_UNVERSIONED":     3,
	"COMMITTED_VERSIONED":       4,
	"DELETE_MARKER_VERSIONED":   5,
	"DELETE_MARKER_UNVERSIONED": 6,
	"PREFIX":                    7,
}

func (x Object_Status) String() string {
	return proto.EnumName(Object_Status_name, int32(x))
}

type CompressedBatchRequest_CompressionType int32

const (
	CompressedBatchRequest_NONE CompressedBatchRequest_CompressionType = 0
	CompressedBatchRequest_ZSTD CompressedBatchRequest_CompressionType = 1
)

var CompressedBatchRequest_CompressionType_name = map[int32]string{
	0: "NONE",
	1: "ZSTD",
}

var CompressedBatchRequest_CompressionType_value = map[string]int32{
	"NONE": 0,
	"ZSTD": 1,
}

func (x CompressedBatchRequest_CompressionType) String() string {
	return proto.EnumName(CompressedBatchRequest_CompressionType_name, int32(x))
}

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 (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
}

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 (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"`
	UserAgent            []byte    `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,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 (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) GetUserAgent() []byte {
	if m != nil {
		return m.UserAgent
	}
	return nil
}

func (m *BucketListItem) GetCreatedAt() time.Time {
	if m != nil {
		return m.CreatedAt
	}
	return time.Time{}
}

type CreateBucketRequest 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"`
	ObjectLockEnabled           bool                  `protobuf:"varint,7,opt,name=object_lock_enabled,json=objectLockEnabled,proto3" json:"object_lock_enabled,omitempty"`
	XXX_NoUnkeyedLiteral        struct{}              `json:"-"`
	XXX_unrecognized            []byte                `json:"-"`
	XXX_sizecache               int32                 `json:"-"`
}

func (m *CreateBucketRequest) Reset()         { *m = CreateBucketRequest{} }
func (m *CreateBucketRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBucketRequest) ProtoMessage()    {}

func (m *CreateBucketRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateBucketRequest.Unmarshal(m, b)
}
func (m *CreateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateBucketRequest.Marshal(b, m, deterministic)
}
func (m *CreateBucketRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateBucketRequest.Merge(m, src)
}
func (m *CreateBucketRequest) XXX_Size() int {
	return xxx_messageInfo_CreateBucketRequest.Size(m)
}
func (m *CreateBucketRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateBucketRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateBucketRequest proto.InternalMessageInfo

func (m *CreateBucketRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *CreateBucketRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *CreateBucketRequest) GetPathCipher() CipherSuite {
	if m != nil {
		return m.PathCipher
	}
	return CipherSuite_ENC_UNSPECIFIED
}

func (m *CreateBucketRequest) GetDefaultSegmentSize() int64 {
	if m != nil {
		return m.DefaultSegmentSize
	}
	return 0
}

func (m *CreateBucketRequest) GetDefaultRedundancyScheme() *RedundancyScheme {
	if m != nil {
		return m.DefaultRedundancyScheme
	}
	return nil
}

func (m *CreateBucketRequest) GetDefaultEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.DefaultEncryptionParameters
	}
	return nil
}

func (m *CreateBucketRequest) GetPartnerId() []byte {
	if m != nil {
		return m.PartnerId
	}
	return nil
}

func (m *CreateBucketRequest) GetObjectLockEnabled() bool {
	if m != nil {
		return m.ObjectLockEnabled
	}
	return false
}

type CreateBucketResponse 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 *CreateBucketResponse) Reset()         { *m = CreateBucketResponse{} }
func (m *CreateBucketResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBucketResponse) ProtoMessage()    {}

func (m *CreateBucketResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateBucketResponse.Unmarshal(m, b)
}
func (m *CreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateBucketResponse.Marshal(b, m, deterministic)
}
func (m *CreateBucketResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateBucketResponse.Merge(m, src)
}
func (m *CreateBucketResponse) XXX_Size() int {
	return xxx_messageInfo_CreateBucketResponse.Size(m)
}
func (m *CreateBucketResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateBucketResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CreateBucketResponse proto.InternalMessageInfo

func (m *CreateBucketResponse) GetBucket() *Bucket {
	if m != nil {
		return m.Bucket
	}
	return nil
}

type GetBucketRequest 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 *GetBucketRequest) Reset()         { *m = GetBucketRequest{} }
func (m *GetBucketRequest) String() string { return proto.CompactTextString(m) }
func (*GetBucketRequest) ProtoMessage()    {}

func (m *GetBucketRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketRequest.Unmarshal(m, b)
}
func (m *GetBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketRequest.Marshal(b, m, deterministic)
}
func (m *GetBucketRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketRequest.Merge(m, src)
}
func (m *GetBucketRequest) XXX_Size() int {
	return xxx_messageInfo_GetBucketRequest.Size(m)
}
func (m *GetBucketRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketRequest proto.InternalMessageInfo

func (m *GetBucketRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetBucketRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

type GetBucketResponse 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 *GetBucketResponse) Reset()         { *m = GetBucketResponse{} }
func (m *GetBucketResponse) String() string { return proto.CompactTextString(m) }
func (*GetBucketResponse) ProtoMessage()    {}

func (m *GetBucketResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketResponse.Unmarshal(m, b)
}
func (m *GetBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketResponse.Marshal(b, m, deterministic)
}
func (m *GetBucketResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketResponse.Merge(m, src)
}
func (m *GetBucketResponse) XXX_Size() int {
	return xxx_messageInfo_GetBucketResponse.Size(m)
}
func (m *GetBucketResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketResponse proto.InternalMessageInfo

func (m *GetBucketResponse) GetBucket() *Bucket {
	if m != nil {
		return m.Bucket
	}
	return nil
}

type GetBucketLocationRequest 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 *GetBucketLocationRequest) Reset()         { *m = GetBucketLocationRequest{} }
func (m *GetBucketLocationRequest) String() string { return proto.CompactTextString(m) }
func (*GetBucketLocationRequest) ProtoMessage()    {}

func (m *GetBucketLocationRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketLocationRequest.Unmarshal(m, b)
}
func (m *GetBucketLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketLocationRequest.Marshal(b, m, deterministic)
}
func (m *GetBucketLocationRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketLocationRequest.Merge(m, src)
}
func (m *GetBucketLocationRequest) XXX_Size() int {
	return xxx_messageInfo_GetBucketLocationRequest.Size(m)
}
func (m *GetBucketLocationRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketLocationRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketLocationRequest proto.InternalMessageInfo

func (m *GetBucketLocationRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetBucketLocationRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

type GetBucketLocationResponse struct {
	Location             []byte   `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetBucketLocationResponse) Reset()         { *m = GetBucketLocationResponse{} }
func (m *GetBucketLocationResponse) String() string { return proto.CompactTextString(m) }
func (*GetBucketLocationResponse) ProtoMessage()    {}

func (m *GetBucketLocationResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketLocationResponse.Unmarshal(m, b)
}
func (m *GetBucketLocationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketLocationResponse.Marshal(b, m, deterministic)
}
func (m *GetBucketLocationResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketLocationResponse.Merge(m, src)
}
func (m *GetBucketLocationResponse) XXX_Size() int {
	return xxx_messageInfo_GetBucketLocationResponse.Size(m)
}
func (m *GetBucketLocationResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketLocationResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketLocationResponse proto.InternalMessageInfo

func (m *GetBucketLocationResponse) GetLocation() []byte {
	if m != nil {
		return m.Location
	}
	return nil
}

type GetBucketVersioningRequest 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 *GetBucketVersioningRequest) Reset()         { *m = GetBucketVersioningRequest{} }
func (m *GetBucketVersioningRequest) String() string { return proto.CompactTextString(m) }
func (*GetBucketVersioningRequest) ProtoMessage()    {}

func (m *GetBucketVersioningRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketVersioningRequest.Unmarshal(m, b)
}
func (m *GetBucketVersioningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketVersioningRequest.Marshal(b, m, deterministic)
}
func (m *GetBucketVersioningRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketVersioningRequest.Merge(m, src)
}
func (m *GetBucketVersioningRequest) XXX_Size() int {
	return xxx_messageInfo_GetBucketVersioningRequest.Size(m)
}
func (m *GetBucketVersioningRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketVersioningRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketVersioningRequest proto.InternalMessageInfo

func (m *GetBucketVersioningRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetBucketVersioningRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

type GetBucketVersioningResponse struct {
	Versioning           int32    `protobuf:"varint,1,opt,name=versioning,proto3" json:"versioning,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetBucketVersioningResponse) Reset()         { *m = GetBucketVersioningResponse{} }
func (m *GetBucketVersioningResponse) String() string { return proto.CompactTextString(m) }
func (*GetBucketVersioningResponse) ProtoMessage()    {}

func (m *GetBucketVersioningResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketVersioningResponse.Unmarshal(m, b)
}
func (m *GetBucketVersioningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketVersioningResponse.Marshal(b, m, deterministic)
}
func (m *GetBucketVersioningResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketVersioningResponse.Merge(m, src)
}
func (m *GetBucketVersioningResponse) XXX_Size() int {
	return xxx_messageInfo_GetBucketVersioningResponse.Size(m)
}
func (m *GetBucketVersioningResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketVersioningResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketVersioningResponse proto.InternalMessageInfo

func (m *GetBucketVersioningResponse) GetVersioning() int32 {
	if m != nil {
		return m.Versioning
	}
	return 0
}

type SetBucketVersioningRequest 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"`
	// versioning determines what to set the bucket versioning to be.
	// true = enable versioning.
	// false = suspend versioning.
	Versioning           bool     `protobuf:"varint,2,opt,name=versioning,proto3" json:"versioning,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SetBucketVersioningRequest) Reset()         { *m = SetBucketVersioningRequest{} }
func (m *SetBucketVersioningRequest) String() string { return proto.CompactTextString(m) }
func (*SetBucketVersioningRequest) ProtoMessage()    {}

func (m *SetBucketVersioningRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SetBucketVersioningRequest.Unmarshal(m, b)
}
func (m *SetBucketVersioningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SetBucketVersioningRequest.Marshal(b, m, deterministic)
}
func (m *SetBucketVersioningRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SetBucketVersioningRequest.Merge(m, src)
}
func (m *SetBucketVersioningRequest) XXX_Size() int {
	return xxx_messageInfo_SetBucketVersioningRequest.Size(m)
}
func (m *SetBucketVersioningRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_SetBucketVersioningRequest.DiscardUnknown(m)
}

var xxx_messageInfo_SetBucketVersioningRequest proto.InternalMessageInfo

func (m *SetBucketVersioningRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *SetBucketVersioningRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *SetBucketVersioningRequest) GetVersioning() bool {
	if m != nil {
		return m.Versioning
	}
	return false
}

type SetBucketVersioningResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SetBucketVersioningResponse) Reset()         { *m = SetBucketVersioningResponse{} }
func (m *SetBucketVersioningResponse) String() string { return proto.CompactTextString(m) }
func (*SetBucketVersioningResponse) ProtoMessage()    {}

func (m *SetBucketVersioningResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SetBucketVersioningResponse.Unmarshal(m, b)
}
func (m *SetBucketVersioningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SetBucketVersioningResponse.Marshal(b, m, deterministic)
}
func (m *SetBucketVersioningResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SetBucketVersioningResponse.Merge(m, src)
}
func (m *SetBucketVersioningResponse) XXX_Size() int {
	return xxx_messageInfo_SetBucketVersioningResponse.Size(m)
}
func (m *SetBucketVersioningResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SetBucketVersioningResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SetBucketVersioningResponse proto.InternalMessageInfo

type GetBucketObjectLockConfigurationRequest 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 *GetBucketObjectLockConfigurationRequest) Reset() {
	*m = GetBucketObjectLockConfigurationRequest{}
}
func (m *GetBucketObjectLockConfigurationRequest) String() string { return proto.CompactTextString(m) }
func (*GetBucketObjectLockConfigurationRequest) ProtoMessage()    {}

func (m *GetBucketObjectLockConfigurationRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketObjectLockConfigurationRequest.Unmarshal(m, b)
}
func (m *GetBucketObjectLockConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketObjectLockConfigurationRequest.Marshal(b, m, deterministic)
}
func (m *GetBucketObjectLockConfigurationRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketObjectLockConfigurationRequest.Merge(m, src)
}
func (m *GetBucketObjectLockConfigurationRequest) XXX_Size() int {
	return xxx_messageInfo_GetBucketObjectLockConfigurationRequest.Size(m)
}
func (m *GetBucketObjectLockConfigurationRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketObjectLockConfigurationRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketObjectLockConfigurationRequest proto.InternalMessageInfo

func (m *GetBucketObjectLockConfigurationRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetBucketObjectLockConfigurationRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

type ObjectLockConfiguration struct {
	Enabled              bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ObjectLockConfiguration) Reset()         { *m = ObjectLockConfiguration{} }
func (m *ObjectLockConfiguration) String() string { return proto.CompactTextString(m) }
func (*ObjectLockConfiguration) ProtoMessage()    {}

func (m *ObjectLockConfiguration) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ObjectLockConfiguration.Unmarshal(m, b)
}
func (m *ObjectLockConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ObjectLockConfiguration.Marshal(b, m, deterministic)
}
func (m *ObjectLockConfiguration) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ObjectLockConfiguration.Merge(m, src)
}
func (m *ObjectLockConfiguration) XXX_Size() int {
	return xxx_messageInfo_ObjectLockConfiguration.Size(m)
}
func (m *ObjectLockConfiguration) XXX_DiscardUnknown() {
	xxx_messageInfo_ObjectLockConfiguration.DiscardUnknown(m)
}

var xxx_messageInfo_ObjectLockConfiguration proto.InternalMessageInfo

func (m *ObjectLockConfiguration) GetEnabled() bool {
	if m != nil {
		return m.Enabled
	}
	return false
}

type GetBucketObjectLockConfigurationResponse struct {
	Configuration        *ObjectLockConfiguration `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *GetBucketObjectLockConfigurationResponse) Reset() {
	*m = GetBucketObjectLockConfigurationResponse{}
}
func (m *GetBucketObjectLockConfigurationResponse) String() string { return proto.CompactTextString(m) }
func (*GetBucketObjectLockConfigurationResponse) ProtoMessage()    {}

func (m *GetBucketObjectLockConfigurationResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetBucketObjectLockConfigurationResponse.Unmarshal(m, b)
}
func (m *GetBucketObjectLockConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetBucketObjectLockConfigurationResponse.Marshal(b, m, deterministic)
}
func (m *GetBucketObjectLockConfigurationResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetBucketObjectLockConfigurationResponse.Merge(m, src)
}
func (m *GetBucketObjectLockConfigurationResponse) XXX_Size() int {
	return xxx_messageInfo_GetBucketObjectLockConfigurationResponse.Size(m)
}
func (m *GetBucketObjectLockConfigurationResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetBucketObjectLockConfigurationResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetBucketObjectLockConfigurationResponse proto.InternalMessageInfo

func (m *GetBucketObjectLockConfigurationResponse) GetConfiguration() *ObjectLockConfiguration {
	if m != nil {
		return m.Configuration
	}
	return nil
}

type DeleteBucketRequest 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"`
	DeleteAll            bool           `protobuf:"varint,2,opt,name=delete_all,json=deleteAll,proto3" json:"delete_all,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *DeleteBucketRequest) Reset()         { *m = DeleteBucketRequest{} }
func (m *DeleteBucketRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteBucketRequest) ProtoMessage()    {}

func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteBucketRequest.Unmarshal(m, b)
}
func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteBucketRequest.Marshal(b, m, deterministic)
}
func (m *DeleteBucketRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteBucketRequest.Merge(m, src)
}
func (m *DeleteBucketRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteBucketRequest.Size(m)
}
func (m *DeleteBucketRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteBucketRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteBucketRequest proto.InternalMessageInfo

func (m *DeleteBucketRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *DeleteBucketRequest) GetName() []byte {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *DeleteBucketRequest) GetDeleteAll() bool {
	if m != nil {
		return m.DeleteAll
	}
	return false
}

type DeleteBucketResponse struct {
	Bucket               *Bucket  `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	DeletedObjectsCount  int64    `protobuf:"varint,2,opt,name=deleted_objects_count,json=deletedObjectsCount,proto3" json:"deleted_objects_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteBucketResponse) Reset()         { *m = DeleteBucketResponse{} }
func (m *DeleteBucketResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteBucketResponse) ProtoMessage()    {}

func (m *DeleteBucketResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteBucketResponse.Unmarshal(m, b)
}
func (m *DeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteBucketResponse.Marshal(b, m, deterministic)
}
func (m *DeleteBucketResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteBucketResponse.Merge(m, src)
}
func (m *DeleteBucketResponse) XXX_Size() int {
	return xxx_messageInfo_DeleteBucketResponse.Size(m)
}
func (m *DeleteBucketResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteBucketResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteBucketResponse proto.InternalMessageInfo

func (m *DeleteBucketResponse) GetBucket() *Bucket {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *DeleteBucketResponse) GetDeletedObjectsCount() int64 {
	if m != nil {
		return m.DeletedObjectsCount
	}
	return 0
}

type ListBucketsRequest 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            ListDirection  `protobuf:"varint,3,opt,name=direction,proto3,enum=metainfo.ListDirection" json:"direction,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *ListBucketsRequest) Reset()         { *m = ListBucketsRequest{} }
func (m *ListBucketsRequest) String() string { return proto.CompactTextString(m) }
func (*ListBucketsRequest) ProtoMessage()    {}

func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListBucketsRequest.Unmarshal(m, b)
}
func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListBucketsRequest.Marshal(b, m, deterministic)
}
func (m *ListBucketsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListBucketsRequest.Merge(m, src)
}
func (m *ListBucketsRequest) XXX_Size() int {
	return xxx_messageInfo_ListBucketsRequest.Size(m)
}
func (m *ListBucketsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListBucketsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListBucketsRequest proto.InternalMessageInfo

func (m *ListBucketsRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *ListBucketsRequest) GetCursor() []byte {
	if m != nil {
		return m.Cursor
	}
	return nil
}

func (m *ListBucketsRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func (m *ListBucketsRequest) GetDirection() ListDirection {
	if m != nil {
		return m.Direction
	}
	return ListDirection_UNSET
}

type ListBucketsResponse 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 *ListBucketsResponse) Reset()         { *m = ListBucketsResponse{} }
func (m *ListBucketsResponse) String() string { return proto.CompactTextString(m) }
func (*ListBucketsResponse) ProtoMessage()    {}

func (m *ListBucketsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListBucketsResponse.Unmarshal(m, b)
}
func (m *ListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListBucketsResponse.Marshal(b, m, deterministic)
}
func (m *ListBucketsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListBucketsResponse.Merge(m, src)
}
func (m *ListBucketsResponse) XXX_Size() int {
	return xxx_messageInfo_ListBucketsResponse.Size(m)
}
func (m *ListBucketsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListBucketsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListBucketsResponse proto.InternalMessageInfo

func (m *ListBucketsResponse) GetItems() []*BucketListItem {
	if m != nil {
		return m.Items
	}
	return nil
}

func (m *ListBucketsResponse) 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 (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 (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 (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 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 (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"`
	ProjectPublicId      []byte   `protobuf:"bytes,2,opt,name=project_public_id,json=projectPublicId,proto3" json:"project_public_id,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 (m *ProjectInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ProjectInfoResponse.Unmarshal(m, b)
}
func (m *ProjectInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ProjectInfoResponse.Marshal(b, m, deterministic)
}
func (m *ProjectInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ProjectInfoResponse.Merge(m, src)
}
func (m *ProjectInfoResponse) XXX_Size() int {
	return xxx_messageInfo_ProjectInfoResponse.Size(m)
}
func (m *ProjectInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ProjectInfoResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ProjectInfoResponse proto.InternalMessageInfo

func (m *ProjectInfoResponse) GetProjectSalt() []byte {
	if m != nil {
		return m.ProjectSalt
	}
	return nil
}

func (m *ProjectInfoResponse) GetProjectPublicId() []byte {
	if m != nil {
		return m.ProjectPublicId
	}
	return nil
}

type Retention struct {
	Mode                 Retention_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=metainfo.Retention_Mode" json:"mode,omitempty"`
	RetainUntil          time.Time      `protobuf:"bytes,2,opt,name=retain_until,json=retainUntil,proto3,stdtime" json:"retain_until"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *Retention) Reset()         { *m = Retention{} }
func (m *Retention) String() string { return proto.CompactTextString(m) }
func (*Retention) ProtoMessage()    {}

func (m *Retention) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Retention.Unmarshal(m, b)
}
func (m *Retention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Retention.Marshal(b, m, deterministic)
}
func (m *Retention) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Retention.Merge(m, src)
}
func (m *Retention) XXX_Size() int {
	return xxx_messageInfo_Retention.Size(m)
}
func (m *Retention) XXX_DiscardUnknown() {
	xxx_messageInfo_Retention.DiscardUnknown(m)
}

var xxx_messageInfo_Retention proto.InternalMessageInfo

func (m *Retention) GetMode() Retention_Mode {
	if m != nil {
		return m.Mode
	}
	return Retention_INVALID
}

func (m *Retention) GetRetainUntil() time.Time {
	if m != nil {
		return m.RetainUntil
	}
	return time.Time{}
}

type Object struct {
	Bucket                        []byte        `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedObjectKey            []byte        `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	Version                       int32         `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ObjectVersion                 []byte        `protobuf:"bytes,19,opt,name=object_version,json=objectVersion,proto3" json:"object_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"`
	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"`
	EncryptedMetadataEncryptedKey []byte        `protobuf:"bytes,17,opt,name=encrypted_metadata_encrypted_key,json=encryptedMetadataEncryptedKey,proto3" json:"encrypted_metadata_encrypted_key,omitempty"`
	// fixed_segment_size is 0 for migrated objects.
	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"`
	// This field is omitted if the object has no retention period or the request lacks the permission to read it.
	Retention *Retention `protobuf:"bytes,20,opt,name=retention,proto3" json:"retention,omitempty"`
	// total_size of object.
	TotalSize int64 `protobuf:"varint,14,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// size of inline part of object.
	InlineSize int64 `protobuf:"varint,15,opt,name=inline_size,json=inlineSize,proto3" json:"inline_size,omitempty"`
	// size of remote part of object.
	RemoteSize int64 `protobuf:"varint,16,opt,name=remote_size,json=remoteSize,proto3" json:"remote_size,omitempty"`
	// plain_size is 0 for migrated objects.
	PlainSize            int64    `protobuf:"varint,18,opt,name=plain_size,json=plainSize,proto3" json:"plain_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Object) Reset()         { *m = Object{} }
func (m *Object) String() string { return proto.CompactTextString(m) }
func (*Object) ProtoMessage()    {}

func (m *Object) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Object.Unmarshal(m, b)
}
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)
}
func (m *Object) XXX_Size() int {
	return xxx_messageInfo_Object.Size(m)
}
func (m *Object) XXX_DiscardUnknown() {
	xxx_messageInfo_Object.DiscardUnknown(m)
}

var xxx_messageInfo_Object proto.InternalMessageInfo

func (m *Object) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *Object) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *Object) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *Object) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *Object) GetStatus() Object_Status {
	if m != nil {
		return m.Status
	}
	return Object_INVALID
}

func (m *Object) GetCreatedAt() time.Time {
	if m != nil {
		return m.CreatedAt
	}
	return time.Time{}
}

func (m *Object) GetStatusAt() time.Time {
	if m != nil {
		return m.StatusAt
	}
	return time.Time{}
}

func (m *Object) GetExpiresAt() time.Time {
	if m != nil {
		return m.ExpiresAt
	}
	return time.Time{}
}

func (m *Object) GetEncryptedMetadata() []byte {
	if m != nil {
		return m.EncryptedMetadata
	}
	return nil
}

func (m *Object) GetEncryptedMetadataEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedMetadataEncryptedKey
	}
	return nil
}

func (m *Object) GetFixedSegmentSize() int64 {
	if m != nil {
		return m.FixedSegmentSize
	}
	return 0
}

func (m *Object) GetRedundancyScheme() *RedundancyScheme {
	if m != nil {
		return m.RedundancyScheme
	}
	return nil
}

func (m *Object) GetEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.EncryptionParameters
	}
	return nil
}

func (m *Object) GetRetention() *Retention {
	if m != nil {
		return m.Retention
	}
	return nil
}

func (m *Object) GetTotalSize() int64 {
	if m != nil {
		return m.TotalSize
	}
	return 0
}

func (m *Object) GetInlineSize() int64 {
	if m != nil {
		return m.InlineSize
	}
	return 0
}

func (m *Object) GetRemoteSize() int64 {
	if m != nil {
		return m.RemoteSize
	}
	return 0
}

func (m *Object) GetPlainSize() int64 {
	if m != nil {
		return m.PlainSize
	}
	return 0
}

type BeginObjectRequest 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"`
	EncryptedObjectKey            []byte                `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,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"`
	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"`
	EncryptedMetadataEncryptedKey []byte                `protobuf:"bytes,11,opt,name=encrypted_metadata_encrypted_key,json=encryptedMetadataEncryptedKey,proto3" json:"encrypted_metadata_encrypted_key,omitempty"`
	Retention                     *Retention            `protobuf:"bytes,12,opt,name=retention,proto3" json:"retention,omitempty"`
	XXX_NoUnkeyedLiteral          struct{}              `json:"-"`
	XXX_unrecognized              []byte                `json:"-"`
	XXX_sizecache                 int32                 `json:"-"`
}

func (m *BeginObjectRequest) Reset()         { *m = BeginObjectRequest{} }
func (m *BeginObjectRequest) String() string { return proto.CompactTextString(m) }
func (*BeginObjectRequest) ProtoMessage()    {}

func (m *BeginObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginObjectRequest.Unmarshal(m, b)
}
func (m *BeginObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginObjectRequest.Marshal(b, m, deterministic)
}
func (m *BeginObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginObjectRequest.Merge(m, src)
}
func (m *BeginObjectRequest) XXX_Size() int {
	return xxx_messageInfo_BeginObjectRequest.Size(m)
}
func (m *BeginObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_BeginObjectRequest proto.InternalMessageInfo

func (m *BeginObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *BeginObjectRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *BeginObjectRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *BeginObjectRequest) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *BeginObjectRequest) GetExpiresAt() time.Time {
	if m != nil {
		return m.ExpiresAt
	}
	return time.Time{}
}

func (m *BeginObjectRequest) GetRedundancyScheme() *RedundancyScheme {
	if m != nil {
		return m.RedundancyScheme
	}
	return nil
}

func (m *BeginObjectRequest) GetEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.EncryptionParameters
	}
	return nil
}

func (m *BeginObjectRequest) GetEncryptedMetadata() []byte {
	if m != nil {
		return m.EncryptedMetadata
	}
	return nil
}

func (m *BeginObjectRequest) GetEncryptedMetadataEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedMetadataEncryptedKey
	}
	return nil
}

func (m *BeginObjectRequest) GetRetention() *Retention {
	if m != nil {
		return m.Retention
	}
	return nil
}

type BeginObjectResponse struct {
	Bucket               []byte                `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedObjectKey   []byte                `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *BeginObjectResponse) Reset()         { *m = BeginObjectResponse{} }
func (m *BeginObjectResponse) String() string { return proto.CompactTextString(m) }
func (*BeginObjectResponse) ProtoMessage()    {}

func (m *BeginObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginObjectResponse.Unmarshal(m, b)
}
func (m *BeginObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginObjectResponse.Marshal(b, m, deterministic)
}
func (m *BeginObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginObjectResponse.Merge(m, src)
}
func (m *BeginObjectResponse) XXX_Size() int {
	return xxx_messageInfo_BeginObjectResponse.Size(m)
}
func (m *BeginObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BeginObjectResponse proto.InternalMessageInfo

func (m *BeginObjectResponse) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *BeginObjectResponse) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *BeginObjectResponse) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *BeginObjectResponse) GetRedundancyScheme() *RedundancyScheme {
	if m != nil {
		return m.RedundancyScheme
	}
	return nil
}

func (m *BeginObjectResponse) GetEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.EncryptionParameters
	}
	return nil
}

type CommitObjectRequest 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"`
	// skip_override_encrypted_metadata is used to control if we want to override metadata on commit
	// message which can lead to overriding existing metadata. We need to have flag where default (false)
	// value will be backward compatible with old uplinks, default false means metadata will be always
	// set by older uplinks.
	SkipOverrideEncryptedMetadata bool     `protobuf:"varint,5,opt,name=skip_override_encrypted_metadata,json=skipOverrideEncryptedMetadata,proto3" json:"skip_override_encrypted_metadata,omitempty"`
	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"`
	EncryptedMetadataEncryptedKey []byte   `protobuf:"bytes,4,opt,name=encrypted_metadata_encrypted_key,json=encryptedMetadataEncryptedKey,proto3" json:"encrypted_metadata_encrypted_key,omitempty"`
	XXX_NoUnkeyedLiteral          struct{} `json:"-"`
	XXX_unrecognized              []byte   `json:"-"`
	XXX_sizecache                 int32    `json:"-"`
}

func (m *CommitObjectRequest) Reset()         { *m = CommitObjectRequest{} }
func (m *CommitObjectRequest) String() string { return proto.CompactTextString(m) }
func (*CommitObjectRequest) ProtoMessage()    {}

func (m *CommitObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CommitObjectRequest.Unmarshal(m, b)
}
func (m *CommitObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CommitObjectRequest.Marshal(b, m, deterministic)
}
func (m *CommitObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CommitObjectRequest.Merge(m, src)
}
func (m *CommitObjectRequest) XXX_Size() int {
	return xxx_messageInfo_CommitObjectRequest.Size(m)
}
func (m *CommitObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CommitObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CommitObjectRequest proto.InternalMessageInfo

func (m *CommitObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *CommitObjectRequest) GetSkipOverrideEncryptedMetadata() bool {
	if m != nil {
		return m.SkipOverrideEncryptedMetadata
	}
	return false
}

func (m *CommitObjectRequest) GetEncryptedMetadata() []byte {
	if m != nil {
		return m.EncryptedMetadata
	}
	return nil
}

func (m *CommitObjectRequest) GetEncryptedMetadataEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedMetadataEncryptedKey
	}
	return nil
}

type CommitObjectResponse 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 *CommitObjectResponse) Reset()         { *m = CommitObjectResponse{} }
func (m *CommitObjectResponse) String() string { return proto.CompactTextString(m) }
func (*CommitObjectResponse) ProtoMessage()    {}

func (m *CommitObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CommitObjectResponse.Unmarshal(m, b)
}
func (m *CommitObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CommitObjectResponse.Marshal(b, m, deterministic)
}
func (m *CommitObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CommitObjectResponse.Merge(m, src)
}
func (m *CommitObjectResponse) XXX_Size() int {
	return xxx_messageInfo_CommitObjectResponse.Size(m)
}
func (m *CommitObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CommitObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CommitObjectResponse proto.InternalMessageInfo

func (m *CommitObjectResponse) GetObject() *Object {
	if m != nil {
		return m.Object
	}
	return nil
}

type ListPendingObjectStreamsRequest 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"`
	EncryptedObjectKey   []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	StreamIdCursor       []byte         `protobuf:"bytes,3,opt,name=stream_id_cursor,json=streamIdCursor,proto3" json:"stream_id_cursor,omitempty"`
	Limit                int32          `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *ListPendingObjectStreamsRequest) Reset()         { *m = ListPendingObjectStreamsRequest{} }
func (m *ListPendingObjectStreamsRequest) String() string { return proto.CompactTextString(m) }
func (*ListPendingObjectStreamsRequest) ProtoMessage()    {}

func (m *ListPendingObjectStreamsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListPendingObjectStreamsRequest.Unmarshal(m, b)
}
func (m *ListPendingObjectStreamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListPendingObjectStreamsRequest.Marshal(b, m, deterministic)
}
func (m *ListPendingObjectStreamsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListPendingObjectStreamsRequest.Merge(m, src)
}
func (m *ListPendingObjectStreamsRequest) XXX_Size() int {
	return xxx_messageInfo_ListPendingObjectStreamsRequest.Size(m)
}
func (m *ListPendingObjectStreamsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListPendingObjectStreamsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListPendingObjectStreamsRequest proto.InternalMessageInfo

func (m *ListPendingObjectStreamsRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *ListPendingObjectStreamsRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *ListPendingObjectStreamsRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *ListPendingObjectStreamsRequest) GetStreamIdCursor() []byte {
	if m != nil {
		return m.StreamIdCursor
	}
	return nil
}

func (m *ListPendingObjectStreamsRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

type ListPendingObjectStreamsResponse struct {
	Items                []*ObjectListItem `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 *ListPendingObjectStreamsResponse) Reset()         { *m = ListPendingObjectStreamsResponse{} }
func (m *ListPendingObjectStreamsResponse) String() string { return proto.CompactTextString(m) }
func (*ListPendingObjectStreamsResponse) ProtoMessage()    {}

func (m *ListPendingObjectStreamsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListPendingObjectStreamsResponse.Unmarshal(m, b)
}
func (m *ListPendingObjectStreamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListPendingObjectStreamsResponse.Marshal(b, m, deterministic)
}
func (m *ListPendingObjectStreamsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListPendingObjectStreamsResponse.Merge(m, src)
}
func (m *ListPendingObjectStreamsResponse) XXX_Size() int {
	return xxx_messageInfo_ListPendingObjectStreamsResponse.Size(m)
}
func (m *ListPendingObjectStreamsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListPendingObjectStreamsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListPendingObjectStreamsResponse proto.InternalMessageInfo

func (m *ListPendingObjectStreamsResponse) GetItems() []*ObjectListItem {
	if m != nil {
		return m.Items
	}
	return nil
}

func (m *ListPendingObjectStreamsResponse) GetMore() bool {
	if m != nil {
		return m.More
	}
	return false
}

type DownloadObjectRequest 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"`
	EncryptedObjectKey []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	ObjectVersion      []byte         `protobuf:"bytes,6,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	// limit specifies the maximum number of segments to return.
	Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// range of the object to download.
	Range *Range `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	// Number of nodes requested to download from. This is a hint for satellite to request nodes more than the optimal number,
	// calculated by the satellite. Satellite may or may not return with more nodes as requested.
	//
	// If you are not sure, use 0. In this case satellite will calculate the optimal number.
	//
	// In some specific cases it can be useful to request more nodes, downloading from more nodes can be faster, but also
	// more expensive.
	DesiredNodes         int32    `protobuf:"varint,5,opt,name=desired_nodes,json=desiredNodes,proto3" json:"desired_nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DownloadObjectRequest) Reset()         { *m = DownloadObjectRequest{} }
func (m *DownloadObjectRequest) String() string { return proto.CompactTextString(m) }
func (*DownloadObjectRequest) ProtoMessage()    {}

func (m *DownloadObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DownloadObjectRequest.Unmarshal(m, b)
}
func (m *DownloadObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DownloadObjectRequest.Marshal(b, m, deterministic)
}
func (m *DownloadObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DownloadObjectRequest.Merge(m, src)
}
func (m *DownloadObjectRequest) XXX_Size() int {
	return xxx_messageInfo_DownloadObjectRequest.Size(m)
}
func (m *DownloadObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DownloadObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DownloadObjectRequest proto.InternalMessageInfo

func (m *DownloadObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *DownloadObjectRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *DownloadObjectRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *DownloadObjectRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *DownloadObjectRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func (m *DownloadObjectRequest) GetRange() *Range {
	if m != nil {
		return m.Range
	}
	return nil
}

func (m *DownloadObjectRequest) GetDesiredNodes() int32 {
	if m != nil {
		return m.DesiredNodes
	}
	return 0
}

type Range struct {
	// Types that are valid to be assigned to Range:
	//	*Range_StartLimit
	//	*Range_Start
	//	*Range_Suffix
	Range                isRange_Range `protobuf_oneof:"Range"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *Range) Reset()         { *m = Range{} }
func (m *Range) String() string { return proto.CompactTextString(m) }
func (*Range) ProtoMessage()    {}

func (m *Range) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Range.Unmarshal(m, b)
}
func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Range.Marshal(b, m, deterministic)
}
func (m *Range) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Range.Merge(m, src)
}
func (m *Range) XXX_Size() int {
	return xxx_messageInfo_Range.Size(m)
}
func (m *Range) XXX_DiscardUnknown() {
	xxx_messageInfo_Range.DiscardUnknown(m)
}

var xxx_messageInfo_Range proto.InternalMessageInfo

type isRange_Range interface {
	isRange_Range()
}

type Range_StartLimit struct {
	StartLimit *RangeStartLimit `protobuf:"bytes,1,opt,name=start_limit,json=startLimit,proto3,oneof" json:"start_limit,omitempty"`
}
type Range_Start struct {
	Start *RangeStart `protobuf:"bytes,2,opt,name=start,proto3,oneof" json:"start,omitempty"`
}
type Range_Suffix struct {
	Suffix *RangeSuffix `protobuf:"bytes,3,opt,name=suffix,proto3,oneof" json:"suffix,omitempty"`
}

func (*Range_StartLimit) isRange_Range() {}
func (*Range_Start) isRange_Range()      {}
func (*Range_Suffix) isRange_Range()     {}

func (m *Range) GetRange() isRange_Range {
	if m != nil {
		return m.Range
	}
	return nil
}

func (m *Range) GetStartLimit() *RangeStartLimit {
	if x, ok := m.GetRange().(*Range_StartLimit); ok {
		return x.StartLimit
	}
	return nil
}

func (m *Range) GetStart() *RangeStart {
	if x, ok := m.GetRange().(*Range_Start); ok {
		return x.Start
	}
	return nil
}

func (m *Range) GetSuffix() *RangeSuffix {
	if x, ok := m.GetRange().(*Range_Suffix); ok {
		return x.Suffix
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*Range) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*Range_StartLimit)(nil),
		(*Range_Start)(nil),
		(*Range_Suffix)(nil),
	}
}

// RangeStartLimit is used to specify a range where the plain start and limit bytes
// are known and explicitly specified by the client. [start:limit)
type RangeStartLimit struct {
	// plain_start is the byte index where the client wishes to begin reading
	// the data.
	PlainStart int64 `protobuf:"varint,1,opt,name=plain_start,json=plainStart,proto3" json:"plain_start,omitempty"`
	// plain_limit is the limit whereto the client wishes to read.
	PlainLimit           int64    `protobuf:"varint,2,opt,name=plain_limit,json=plainLimit,proto3" json:"plain_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RangeStartLimit) Reset()         { *m = RangeStartLimit{} }
func (m *RangeStartLimit) String() string { return proto.CompactTextString(m) }
func (*RangeStartLimit) ProtoMessage()    {}

func (m *RangeStartLimit) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RangeStartLimit.Unmarshal(m, b)
}
func (m *RangeStartLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RangeStartLimit.Marshal(b, m, deterministic)
}
func (m *RangeStartLimit) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RangeStartLimit.Merge(m, src)
}
func (m *RangeStartLimit) XXX_Size() int {
	return xxx_messageInfo_RangeStartLimit.Size(m)
}
func (m *RangeStartLimit) XXX_DiscardUnknown() {
	xxx_messageInfo_RangeStartLimit.DiscardUnknown(m)
}

var xxx_messageInfo_RangeStartLimit proto.InternalMessageInfo

func (m *RangeStartLimit) GetPlainStart() int64 {
	if m != nil {
		return m.PlainStart
	}
	return 0
}

func (m *RangeStartLimit) GetPlainLimit() int64 {
	if m != nil {
		return m.PlainLimit
	}
	return 0
}

// RangeStart is used to specify a range where the client provides the first
// byte and wishes to read until the end of the blob.
type RangeStart struct {
	PlainStart           int64    `protobuf:"varint,1,opt,name=plain_start,json=plainStart,proto3" json:"plain_start,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RangeStart) Reset()         { *m = RangeStart{} }
func (m *RangeStart) String() string { return proto.CompactTextString(m) }
func (*RangeStart) ProtoMessage()    {}

func (m *RangeStart) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RangeStart.Unmarshal(m, b)
}
func (m *RangeStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RangeStart.Marshal(b, m, deterministic)
}
func (m *RangeStart) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RangeStart.Merge(m, src)
}
func (m *RangeStart) XXX_Size() int {
	return xxx_messageInfo_RangeStart.Size(m)
}
func (m *RangeStart) XXX_DiscardUnknown() {
	xxx_messageInfo_RangeStart.DiscardUnknown(m)
}

var xxx_messageInfo_RangeStart proto.InternalMessageInfo

func (m *RangeStart) GetPlainStart() int64 {
	if m != nil {
		return m.PlainStart
	}
	return 0
}

// RangeSuffix is used to specify a range where the client specifies how many
// bytes from the end of the blob to read. For example, a value of 500 means
// "the last 500 bytes."
type RangeSuffix struct {
	PlainSuffix          int64    `protobuf:"varint,1,opt,name=plain_suffix,json=plainSuffix,proto3" json:"plain_suffix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RangeSuffix) Reset()         { *m = RangeSuffix{} }
func (m *RangeSuffix) String() string { return proto.CompactTextString(m) }
func (*RangeSuffix) ProtoMessage()    {}

func (m *RangeSuffix) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RangeSuffix.Unmarshal(m, b)
}
func (m *RangeSuffix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RangeSuffix.Marshal(b, m, deterministic)
}
func (m *RangeSuffix) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RangeSuffix.Merge(m, src)
}
func (m *RangeSuffix) XXX_Size() int {
	return xxx_messageInfo_RangeSuffix.Size(m)
}
func (m *RangeSuffix) XXX_DiscardUnknown() {
	xxx_messageInfo_RangeSuffix.DiscardUnknown(m)
}

var xxx_messageInfo_RangeSuffix proto.InternalMessageInfo

func (m *RangeSuffix) GetPlainSuffix() int64 {
	if m != nil {
		return m.PlainSuffix
	}
	return 0
}

type DownloadObjectResponse struct {
	Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	// segment_list is populated if the Object does not contain the necessary
	// information for the client to derive segment information. It only
	// contains segments within the range specified in the
	// DownloadObjectRequest.
	//
	// If the `more` value in the response is true, additional request(s) to
	// ListSegments, with range and cursor position set, may be necessary to
	// fetch all the segment list items for this download.
	SegmentList *ListSegmentsResponse `protobuf:"bytes,2,opt,name=segment_list,json=segmentList,proto3" json:"segment_list,omitempty"`
	// segment_download will contain segment information for at least the first
	// segment within the requested range so that no additional calls to the
	// server are required before downloading data.
	SegmentDownload      []*DownloadSegmentResponse `protobuf:"bytes,3,rep,name=segment_download,json=segmentDownload,proto3" json:"segment_download,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (m *DownloadObjectResponse) Reset()         { *m = DownloadObjectResponse{} }
func (m *DownloadObjectResponse) String() string { return proto.CompactTextString(m) }
func (*DownloadObjectResponse) ProtoMessage()    {}

func (m *DownloadObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DownloadObjectResponse.Unmarshal(m, b)
}
func (m *DownloadObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DownloadObjectResponse.Marshal(b, m, deterministic)
}
func (m *DownloadObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DownloadObjectResponse.Merge(m, src)
}
func (m *DownloadObjectResponse) XXX_Size() int {
	return xxx_messageInfo_DownloadObjectResponse.Size(m)
}
func (m *DownloadObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DownloadObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DownloadObjectResponse proto.InternalMessageInfo

func (m *DownloadObjectResponse) GetObject() *Object {
	if m != nil {
		return m.Object
	}
	return nil
}

func (m *DownloadObjectResponse) GetSegmentList() *ListSegmentsResponse {
	if m != nil {
		return m.SegmentList
	}
	return nil
}

func (m *DownloadObjectResponse) GetSegmentDownload() []*DownloadSegmentResponse {
	if m != nil {
		return m.SegmentDownload
	}
	return nil
}

type GetObjectRequest 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"`
	EncryptedObjectKey []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	Version            int32          `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ObjectVersion      []byte         `protobuf:"bytes,5,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	// Feature flag used by satellite to determine if uplink is
	// using RS per object or RS per segment. If flag is set to false
	// satellite will try to get RS from one of existing segments
	// (e.g. first). If flag is set to true satellite won't return RS
	// value in response for this request.
	//
	// Redundancy scheme on object level is a legacy feature:
	// it is always determined per segment.
	// Therefor, this flag should always be set to true.
	RedundancySchemePerSegment bool     `protobuf:"varint,4,opt,name=redundancy_scheme_per_segment,json=redundancySchemePerSegment,proto3" json:"redundancy_scheme_per_segment,omitempty"`
	XXX_NoUnkeyedLiteral       struct{} `json:"-"`
	XXX_unrecognized           []byte   `json:"-"`
	XXX_sizecache              int32    `json:"-"`
}

func (m *GetObjectRequest) Reset()         { *m = GetObjectRequest{} }
func (m *GetObjectRequest) String() string { return proto.CompactTextString(m) }
func (*GetObjectRequest) ProtoMessage()    {}

func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetObjectRequest.Unmarshal(m, b)
}
func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetObjectRequest.Marshal(b, m, deterministic)
}
func (m *GetObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetObjectRequest.Merge(m, src)
}
func (m *GetObjectRequest) XXX_Size() int {
	return xxx_messageInfo_GetObjectRequest.Size(m)
}
func (m *GetObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetObjectRequest proto.InternalMessageInfo

func (m *GetObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetObjectRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *GetObjectRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *GetObjectRequest) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *GetObjectRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *GetObjectRequest) GetRedundancySchemePerSegment() bool {
	if m != nil {
		return m.RedundancySchemePerSegment
	}
	return false
}

type GetObjectResponse 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 *GetObjectResponse) Reset()         { *m = GetObjectResponse{} }
func (m *GetObjectResponse) String() string { return proto.CompactTextString(m) }
func (*GetObjectResponse) ProtoMessage()    {}

func (m *GetObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetObjectResponse.Unmarshal(m, b)
}
func (m *GetObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetObjectResponse.Marshal(b, m, deterministic)
}
func (m *GetObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetObjectResponse.Merge(m, src)
}
func (m *GetObjectResponse) XXX_Size() int {
	return xxx_messageInfo_GetObjectResponse.Size(m)
}
func (m *GetObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetObjectResponse proto.InternalMessageInfo

func (m *GetObjectResponse) GetObject() *Object {
	if m != nil {
		return m.Object
	}
	return nil
}

type ListObjectsRequest 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"`
	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"`
	VersionCursor   []byte                  `protobuf:"bytes,10,opt,name=version_cursor,json=versionCursor,proto3" json:"version_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"`
	Status          Object_Status           `protobuf:"varint,7,opt,name=status,proto3,enum=metainfo.Object_Status" json:"status,omitempty"`
	ObjectIncludes  *ObjectListItemIncludes `protobuf:"bytes,6,opt,name=object_includes,json=objectIncludes,proto3" json:"object_includes,omitempty"`
	// because uplink was not setting object_includes correctly
	// (object_includes.Metadata was always false) we need a way
	// to give satellite know that should be using object_includes,
	// otherwise old uplinks can break. Newer uplinks should
	// set this value always to true.
	UseObjectIncludes bool `protobuf:"varint,8,opt,name=use_object_includes,json=useObjectIncludes,proto3" json:"use_object_includes,omitempty"`
	// if include_all_versions is true, then the response will include all
	// versions of the object. If it is false (default), then the response
	// will only include the latest version of the object. An optional
	// version_cursor can be provided to include all versions starting after
	// that version.
	IncludeAllVersions   bool     `protobuf:"varint,9,opt,name=include_all_versions,json=includeAllVersions,proto3" json:"include_all_versions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ListObjectsRequest) Reset()         { *m = ListObjectsRequest{} }
func (m *ListObjectsRequest) String() string { return proto.CompactTextString(m) }
func (*ListObjectsRequest) ProtoMessage()    {}

func (m *ListObjectsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListObjectsRequest.Unmarshal(m, b)
}
func (m *ListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListObjectsRequest.Marshal(b, m, deterministic)
}
func (m *ListObjectsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListObjectsRequest.Merge(m, src)
}
func (m *ListObjectsRequest) XXX_Size() int {
	return xxx_messageInfo_ListObjectsRequest.Size(m)
}
func (m *ListObjectsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListObjectsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListObjectsRequest proto.InternalMessageInfo

func (m *ListObjectsRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *ListObjectsRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *ListObjectsRequest) GetEncryptedPrefix() []byte {
	if m != nil {
		return m.EncryptedPrefix
	}
	return nil
}

func (m *ListObjectsRequest) GetEncryptedCursor() []byte {
	if m != nil {
		return m.EncryptedCursor
	}
	return nil
}

func (m *ListObjectsRequest) GetVersionCursor() []byte {
	if m != nil {
		return m.VersionCursor
	}
	return nil
}

func (m *ListObjectsRequest) GetRecursive() bool {
	if m != nil {
		return m.Recursive
	}
	return false
}

func (m *ListObjectsRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func (m *ListObjectsRequest) GetStatus() Object_Status {
	if m != nil {
		return m.Status
	}
	return Object_INVALID
}

func (m *ListObjectsRequest) GetObjectIncludes() *ObjectListItemIncludes {
	if m != nil {
		return m.ObjectIncludes
	}
	return nil
}

func (m *ListObjectsRequest) GetUseObjectIncludes() bool {
	if m != nil {
		return m.UseObjectIncludes
	}
	return false
}

func (m *ListObjectsRequest) GetIncludeAllVersions() bool {
	if m != nil {
		return m.IncludeAllVersions
	}
	return false
}

type ListObjectsResponse struct {
	Items                []*ObjectListItem `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 *ListObjectsResponse) Reset()         { *m = ListObjectsResponse{} }
func (m *ListObjectsResponse) String() string { return proto.CompactTextString(m) }
func (*ListObjectsResponse) ProtoMessage()    {}

func (m *ListObjectsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListObjectsResponse.Unmarshal(m, b)
}
func (m *ListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListObjectsResponse.Marshal(b, m, deterministic)
}
func (m *ListObjectsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListObjectsResponse.Merge(m, src)
}
func (m *ListObjectsResponse) XXX_Size() int {
	return xxx_messageInfo_ListObjectsResponse.Size(m)
}
func (m *ListObjectsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListObjectsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListObjectsResponse proto.InternalMessageInfo

func (m *ListObjectsResponse) GetItems() []*ObjectListItem {
	if m != nil {
		return m.Items
	}
	return nil
}

func (m *ListObjectsResponse) GetMore() bool {
	if m != nil {
		return m.More
	}
	return false
}

type ObjectListItem struct {
	EncryptedObjectKey            []byte        `protobuf:"bytes,1,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	Version                       int32         `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	ObjectVersion                 []byte        `protobuf:"bytes,12,opt,name=object_version,json=objectVersion,proto3" json:"object_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"`
	EncryptedMetadataNonce        Nonce         `protobuf:"bytes,7,opt,name=encrypted_metadata_nonce,json=encryptedMetadataNonce,proto3,customtype=Nonce" json:"encrypted_metadata_nonce"`
	EncryptedMetadataEncryptedKey []byte        `protobuf:"bytes,11,opt,name=encrypted_metadata_encrypted_key,json=encryptedMetadataEncryptedKey,proto3" json:"encrypted_metadata_encrypted_key,omitempty"`
	EncryptedMetadata             []byte        `protobuf:"bytes,8,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
	// plain_size is 0 for migrated objects.
	PlainSize            int64     `protobuf:"varint,10,opt,name=plain_size,json=plainSize,proto3" json:"plain_size,omitempty"`
	StreamId             *StreamID `protobuf:"bytes,9,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id,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 (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)
}
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) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *ObjectListItem) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *ObjectListItem) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

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) GetEncryptedMetadataEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedMetadataEncryptedKey
	}
	return nil
}

func (m *ObjectListItem) GetEncryptedMetadata() []byte {
	if m != nil {
		return m.EncryptedMetadata
	}
	return nil
}

func (m *ObjectListItem) GetPlainSize() int64 {
	if m != nil {
		return m.PlainSize
	}
	return 0
}

type ObjectListItemIncludes struct {
	// rename to include_custom_metadata
	Metadata bool `protobuf:"varint,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Because of compatibility with older clients
	// we need to invert the boolean so it defaults to false.
	ExcludeSystemMetadata bool     `protobuf:"varint,2,opt,name=exclude_system_metadata,json=excludeSystemMetadata,proto3" json:"exclude_system_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 (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)
}
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
}

func (m *ObjectListItemIncludes) GetExcludeSystemMetadata() bool {
	if m != nil {
		return m.ExcludeSystemMetadata
	}
	return false
}

type BeginDeleteObjectRequest 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"`
	EncryptedObjectKey   []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	Version              int32          `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ObjectVersion        []byte         `protobuf:"bytes,6,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	Status               int32          `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	StreamId             *StreamID      `protobuf:"bytes,5,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *BeginDeleteObjectRequest) Reset()         { *m = BeginDeleteObjectRequest{} }
func (m *BeginDeleteObjectRequest) String() string { return proto.CompactTextString(m) }
func (*BeginDeleteObjectRequest) ProtoMessage()    {}

func (m *BeginDeleteObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginDeleteObjectRequest.Unmarshal(m, b)
}
func (m *BeginDeleteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginDeleteObjectRequest.Marshal(b, m, deterministic)
}
func (m *BeginDeleteObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginDeleteObjectRequest.Merge(m, src)
}
func (m *BeginDeleteObjectRequest) XXX_Size() int {
	return xxx_messageInfo_BeginDeleteObjectRequest.Size(m)
}
func (m *BeginDeleteObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginDeleteObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_BeginDeleteObjectRequest proto.InternalMessageInfo

func (m *BeginDeleteObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *BeginDeleteObjectRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *BeginDeleteObjectRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *BeginDeleteObjectRequest) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *BeginDeleteObjectRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *BeginDeleteObjectRequest) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

type BeginDeleteObjectResponse struct {
	StreamId             StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	Object               *Object  `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *BeginDeleteObjectResponse) Reset()         { *m = BeginDeleteObjectResponse{} }
func (m *BeginDeleteObjectResponse) String() string { return proto.CompactTextString(m) }
func (*BeginDeleteObjectResponse) ProtoMessage()    {}

func (m *BeginDeleteObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginDeleteObjectResponse.Unmarshal(m, b)
}
func (m *BeginDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginDeleteObjectResponse.Marshal(b, m, deterministic)
}
func (m *BeginDeleteObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginDeleteObjectResponse.Merge(m, src)
}
func (m *BeginDeleteObjectResponse) XXX_Size() int {
	return xxx_messageInfo_BeginDeleteObjectResponse.Size(m)
}
func (m *BeginDeleteObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginDeleteObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BeginDeleteObjectResponse proto.InternalMessageInfo

func (m *BeginDeleteObjectResponse) GetObject() *Object {
	if m != nil {
		return m.Object
	}
	return nil
}

type FinishDeleteObjectRequest 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:"-"`
}

func (m *FinishDeleteObjectRequest) Reset()         { *m = FinishDeleteObjectRequest{} }
func (m *FinishDeleteObjectRequest) String() string { return proto.CompactTextString(m) }
func (*FinishDeleteObjectRequest) ProtoMessage()    {}

func (m *FinishDeleteObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishDeleteObjectRequest.Unmarshal(m, b)
}
func (m *FinishDeleteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishDeleteObjectRequest.Marshal(b, m, deterministic)
}
func (m *FinishDeleteObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishDeleteObjectRequest.Merge(m, src)
}
func (m *FinishDeleteObjectRequest) XXX_Size() int {
	return xxx_messageInfo_FinishDeleteObjectRequest.Size(m)
}
func (m *FinishDeleteObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishDeleteObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_FinishDeleteObjectRequest proto.InternalMessageInfo

func (m *FinishDeleteObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

type FinishDeleteObjectResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *FinishDeleteObjectResponse) Reset()         { *m = FinishDeleteObjectResponse{} }
func (m *FinishDeleteObjectResponse) String() string { return proto.CompactTextString(m) }
func (*FinishDeleteObjectResponse) ProtoMessage()    {}

func (m *FinishDeleteObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishDeleteObjectResponse.Unmarshal(m, b)
}
func (m *FinishDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishDeleteObjectResponse.Marshal(b, m, deterministic)
}
func (m *FinishDeleteObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishDeleteObjectResponse.Merge(m, src)
}
func (m *FinishDeleteObjectResponse) XXX_Size() int {
	return xxx_messageInfo_FinishDeleteObjectResponse.Size(m)
}
func (m *FinishDeleteObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishDeleteObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_FinishDeleteObjectResponse proto.InternalMessageInfo

type GetObjectIPsRequest 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"`
	EncryptedObjectKey   []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	Version              int32          `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ObjectVersion        []byte         `protobuf:"bytes,4,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *GetObjectIPsRequest) Reset()         { *m = GetObjectIPsRequest{} }
func (m *GetObjectIPsRequest) String() string { return proto.CompactTextString(m) }
func (*GetObjectIPsRequest) ProtoMessage()    {}

func (m *GetObjectIPsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetObjectIPsRequest.Unmarshal(m, b)
}
func (m *GetObjectIPsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetObjectIPsRequest.Marshal(b, m, deterministic)
}
func (m *GetObjectIPsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetObjectIPsRequest.Merge(m, src)
}
func (m *GetObjectIPsRequest) XXX_Size() int {
	return xxx_messageInfo_GetObjectIPsRequest.Size(m)
}
func (m *GetObjectIPsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetObjectIPsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetObjectIPsRequest proto.InternalMessageInfo

func (m *GetObjectIPsRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetObjectIPsRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *GetObjectIPsRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *GetObjectIPsRequest) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *GetObjectIPsRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

type GetObjectIPsResponse struct {
	Ips                  [][]byte `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
	SegmentCount         int64    `protobuf:"varint,2,opt,name=segment_count,json=segmentCount,proto3" json:"segment_count,omitempty"`
	PieceCount           int64    `protobuf:"varint,3,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
	ReliablePieceCount   int64    `protobuf:"varint,4,opt,name=reliable_piece_count,json=reliablePieceCount,proto3" json:"reliable_piece_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetObjectIPsResponse) Reset()         { *m = GetObjectIPsResponse{} }
func (m *GetObjectIPsResponse) String() string { return proto.CompactTextString(m) }
func (*GetObjectIPsResponse) ProtoMessage()    {}

func (m *GetObjectIPsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetObjectIPsResponse.Unmarshal(m, b)
}
func (m *GetObjectIPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetObjectIPsResponse.Marshal(b, m, deterministic)
}
func (m *GetObjectIPsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetObjectIPsResponse.Merge(m, src)
}
func (m *GetObjectIPsResponse) XXX_Size() int {
	return xxx_messageInfo_GetObjectIPsResponse.Size(m)
}
func (m *GetObjectIPsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetObjectIPsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetObjectIPsResponse proto.InternalMessageInfo

func (m *GetObjectIPsResponse) GetIps() [][]byte {
	if m != nil {
		return m.Ips
	}
	return nil
}

func (m *GetObjectIPsResponse) GetSegmentCount() int64 {
	if m != nil {
		return m.SegmentCount
	}
	return 0
}

func (m *GetObjectIPsResponse) GetPieceCount() int64 {
	if m != nil {
		return m.PieceCount
	}
	return 0
}

func (m *GetObjectIPsResponse) GetReliablePieceCount() int64 {
	if m != nil {
		return m.ReliablePieceCount
	}
	return 0
}

type UpdateObjectMetadataRequest 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"`
	EncryptedObjectKey            []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	Version                       int32          `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ObjectVersion                 []byte         `protobuf:"bytes,8,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	StreamId                      StreamID       `protobuf:"bytes,7,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	EncryptedMetadataNonce        Nonce          `protobuf:"bytes,4,opt,name=encrypted_metadata_nonce,json=encryptedMetadataNonce,proto3,customtype=Nonce" json:"encrypted_metadata_nonce"`
	EncryptedMetadata             []byte         `protobuf:"bytes,5,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
	EncryptedMetadataEncryptedKey []byte         `protobuf:"bytes,6,opt,name=encrypted_metadata_encrypted_key,json=encryptedMetadataEncryptedKey,proto3" json:"encrypted_metadata_encrypted_key,omitempty"`
	XXX_NoUnkeyedLiteral          struct{}       `json:"-"`
	XXX_unrecognized              []byte         `json:"-"`
	XXX_sizecache                 int32          `json:"-"`
}

func (m *UpdateObjectMetadataRequest) Reset()         { *m = UpdateObjectMetadataRequest{} }
func (m *UpdateObjectMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateObjectMetadataRequest) ProtoMessage()    {}

func (m *UpdateObjectMetadataRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UpdateObjectMetadataRequest.Unmarshal(m, b)
}
func (m *UpdateObjectMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UpdateObjectMetadataRequest.Marshal(b, m, deterministic)
}
func (m *UpdateObjectMetadataRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UpdateObjectMetadataRequest.Merge(m, src)
}
func (m *UpdateObjectMetadataRequest) XXX_Size() int {
	return xxx_messageInfo_UpdateObjectMetadataRequest.Size(m)
}
func (m *UpdateObjectMetadataRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_UpdateObjectMetadataRequest.DiscardUnknown(m)
}

var xxx_messageInfo_UpdateObjectMetadataRequest proto.InternalMessageInfo

func (m *UpdateObjectMetadataRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *UpdateObjectMetadataRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *UpdateObjectMetadataRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *UpdateObjectMetadataRequest) GetVersion() int32 {
	if m != nil {
		return m.Version
	}
	return 0
}

func (m *UpdateObjectMetadataRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *UpdateObjectMetadataRequest) GetEncryptedMetadata() []byte {
	if m != nil {
		return m.EncryptedMetadata
	}
	return nil
}

func (m *UpdateObjectMetadataRequest) GetEncryptedMetadataEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedMetadataEncryptedKey
	}
	return nil
}

type UpdateObjectMetadataResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UpdateObjectMetadataResponse) Reset()         { *m = UpdateObjectMetadataResponse{} }
func (m *UpdateObjectMetadataResponse) String() string { return proto.CompactTextString(m) }
func (*UpdateObjectMetadataResponse) ProtoMessage()    {}

func (m *UpdateObjectMetadataResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_UpdateObjectMetadataResponse.Unmarshal(m, b)
}
func (m *UpdateObjectMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_UpdateObjectMetadataResponse.Marshal(b, m, deterministic)
}
func (m *UpdateObjectMetadataResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UpdateObjectMetadataResponse.Merge(m, src)
}
func (m *UpdateObjectMetadataResponse) XXX_Size() int {
	return xxx_messageInfo_UpdateObjectMetadataResponse.Size(m)
}
func (m *UpdateObjectMetadataResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_UpdateObjectMetadataResponse.DiscardUnknown(m)
}

var xxx_messageInfo_UpdateObjectMetadataResponse proto.InternalMessageInfo

type SetObjectRetentionRequest 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"`
	EncryptedObjectKey   []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	ObjectVersion        []byte         `protobuf:"bytes,3,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	Retention            *Retention     `protobuf:"bytes,4,opt,name=retention,proto3" json:"retention,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *SetObjectRetentionRequest) Reset()         { *m = SetObjectRetentionRequest{} }
func (m *SetObjectRetentionRequest) String() string { return proto.CompactTextString(m) }
func (*SetObjectRetentionRequest) ProtoMessage()    {}

func (m *SetObjectRetentionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SetObjectRetentionRequest.Unmarshal(m, b)
}
func (m *SetObjectRetentionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SetObjectRetentionRequest.Marshal(b, m, deterministic)
}
func (m *SetObjectRetentionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SetObjectRetentionRequest.Merge(m, src)
}
func (m *SetObjectRetentionRequest) XXX_Size() int {
	return xxx_messageInfo_SetObjectRetentionRequest.Size(m)
}
func (m *SetObjectRetentionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_SetObjectRetentionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_SetObjectRetentionRequest proto.InternalMessageInfo

func (m *SetObjectRetentionRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *SetObjectRetentionRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *SetObjectRetentionRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *SetObjectRetentionRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *SetObjectRetentionRequest) GetRetention() *Retention {
	if m != nil {
		return m.Retention
	}
	return nil
}

type SetObjectRetentionResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SetObjectRetentionResponse) Reset()         { *m = SetObjectRetentionResponse{} }
func (m *SetObjectRetentionResponse) String() string { return proto.CompactTextString(m) }
func (*SetObjectRetentionResponse) ProtoMessage()    {}

func (m *SetObjectRetentionResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SetObjectRetentionResponse.Unmarshal(m, b)
}
func (m *SetObjectRetentionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SetObjectRetentionResponse.Marshal(b, m, deterministic)
}
func (m *SetObjectRetentionResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SetObjectRetentionResponse.Merge(m, src)
}
func (m *SetObjectRetentionResponse) XXX_Size() int {
	return xxx_messageInfo_SetObjectRetentionResponse.Size(m)
}
func (m *SetObjectRetentionResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SetObjectRetentionResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SetObjectRetentionResponse proto.InternalMessageInfo

type GetObjectRetentionRequest 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"`
	EncryptedObjectKey   []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	ObjectVersion        []byte         `protobuf:"bytes,3,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *GetObjectRetentionRequest) Reset()         { *m = GetObjectRetentionRequest{} }
func (m *GetObjectRetentionRequest) String() string { return proto.CompactTextString(m) }
func (*GetObjectRetentionRequest) ProtoMessage()    {}

func (m *GetObjectRetentionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetObjectRetentionRequest.Unmarshal(m, b)
}
func (m *GetObjectRetentionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetObjectRetentionRequest.Marshal(b, m, deterministic)
}
func (m *GetObjectRetentionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetObjectRetentionRequest.Merge(m, src)
}
func (m *GetObjectRetentionRequest) XXX_Size() int {
	return xxx_messageInfo_GetObjectRetentionRequest.Size(m)
}
func (m *GetObjectRetentionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetObjectRetentionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetObjectRetentionRequest proto.InternalMessageInfo

func (m *GetObjectRetentionRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *GetObjectRetentionRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *GetObjectRetentionRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *GetObjectRetentionRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

type GetObjectRetentionResponse struct {
	Retention            *Retention `protobuf:"bytes,1,opt,name=retention,proto3" json:"retention,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (m *GetObjectRetentionResponse) Reset()         { *m = GetObjectRetentionResponse{} }
func (m *GetObjectRetentionResponse) String() string { return proto.CompactTextString(m) }
func (*GetObjectRetentionResponse) ProtoMessage()    {}

func (m *GetObjectRetentionResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetObjectRetentionResponse.Unmarshal(m, b)
}
func (m *GetObjectRetentionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetObjectRetentionResponse.Marshal(b, m, deterministic)
}
func (m *GetObjectRetentionResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetObjectRetentionResponse.Merge(m, src)
}
func (m *GetObjectRetentionResponse) XXX_Size() int {
	return xxx_messageInfo_GetObjectRetentionResponse.Size(m)
}
func (m *GetObjectRetentionResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetObjectRetentionResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetObjectRetentionResponse proto.InternalMessageInfo

func (m *GetObjectRetentionResponse) GetRetention() *Retention {
	if m != nil {
		return m.Retention
	}
	return nil
}

//
// Only for satellite use
//
// TODO this needs to be removed BUT unfortunately libuplink is using it and
// we need to keep this for backward compatibility
type SatStreamID struct {
	CreationDate         time.Time `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *SatStreamID) Reset()         { *m = SatStreamID{} }
func (m *SatStreamID) String() string { return proto.CompactTextString(m) }
func (*SatStreamID) ProtoMessage()    {}

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)
}
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) GetCreationDate() time.Time {
	if m != nil {
		return m.CreationDate
	}
	return time.Time{}
}

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:"-"`
}

func (m *Segment) Reset()         { *m = Segment{} }
func (m *Segment) String() string { return proto.CompactTextString(m) }
func (*Segment) ProtoMessage()    {}

func (m *Segment) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Segment.Unmarshal(m, b)
}
func (m *Segment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Segment.Marshal(b, m, deterministic)
}
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)
}

var xxx_messageInfo_Segment proto.InternalMessageInfo

func (m *Segment) GetPosition() *SegmentPosition {
	if m != nil {
		return m.Position
	}
	return nil
}

func (m *Segment) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}

func (m *Segment) GetSizeEncryptedData() int64 {
	if m != nil {
		return m.SizeEncryptedData
	}
	return 0
}

func (m *Segment) GetEncryptedInlineData() []byte {
	if m != nil {
		return m.EncryptedInlineData
	}
	return nil
}

func (m *Segment) GetPieces() []*Piece {
	if m != nil {
		return m.Pieces
	}
	return nil
}

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:"-"`
}

func (m *Piece) Reset()         { *m = Piece{} }
func (m *Piece) String() string { return proto.CompactTextString(m) }
func (*Piece) ProtoMessage()    {}

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)
}

var xxx_messageInfo_Piece proto.InternalMessageInfo

func (m *Piece) GetPieceNum() int32 {
	if m != nil {
		return m.PieceNum
	}
	return 0
}

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:"-"`
}

func (m *SegmentPosition) Reset()         { *m = SegmentPosition{} }
func (m *SegmentPosition) String() string { return proto.CompactTextString(m) }
func (*SegmentPosition) ProtoMessage()    {}

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)
}

var xxx_messageInfo_SegmentPosition proto.InternalMessageInfo

func (m *SegmentPosition) GetPartNumber() int32 {
	if m != nil {
		return m.PartNumber
	}
	return 0
}

func (m *SegmentPosition) GetIndex() int32 {
	if m != nil {
		return m.Index
	}
	return 0
}

type BeginSegmentRequest 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:"-"`
}

func (m *BeginSegmentRequest) Reset()         { *m = BeginSegmentRequest{} }
func (m *BeginSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*BeginSegmentRequest) ProtoMessage()    {}

func (m *BeginSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginSegmentRequest.Unmarshal(m, b)
}
func (m *BeginSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginSegmentRequest.Marshal(b, m, deterministic)
}
func (m *BeginSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginSegmentRequest.Merge(m, src)
}
func (m *BeginSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_BeginSegmentRequest.Size(m)
}
func (m *BeginSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_BeginSegmentRequest proto.InternalMessageInfo

func (m *BeginSegmentRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *BeginSegmentRequest) GetPosition() *SegmentPosition {
	if m != nil {
		return m.Position
	}
	return nil
}

func (m *BeginSegmentRequest) GetMaxOrderLimit() int64 {
	if m != nil {
		return m.MaxOrderLimit
	}
	return 0
}

type BeginSegmentResponse 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"`
	RedundancyScheme     *RedundancyScheme      `protobuf:"bytes,4,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *BeginSegmentResponse) Reset()         { *m = BeginSegmentResponse{} }
func (m *BeginSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*BeginSegmentResponse) ProtoMessage()    {}

func (m *BeginSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginSegmentResponse.Unmarshal(m, b)
}
func (m *BeginSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginSegmentResponse.Marshal(b, m, deterministic)
}
func (m *BeginSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginSegmentResponse.Merge(m, src)
}
func (m *BeginSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_BeginSegmentResponse.Size(m)
}
func (m *BeginSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BeginSegmentResponse proto.InternalMessageInfo

func (m *BeginSegmentResponse) GetAddressedLimits() []*AddressedOrderLimit {
	if m != nil {
		return m.AddressedLimits
	}
	return nil
}

func (m *BeginSegmentResponse) GetRedundancyScheme() *RedundancyScheme {
	if m != nil {
		return m.RedundancyScheme
	}
	return nil
}

type RetryBeginSegmentPiecesRequest 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"`
	RetryPieceNumbers    []int32        `protobuf:"varint,2,rep,packed,name=retry_piece_numbers,json=retryPieceNumbers,proto3" json:"retry_piece_numbers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *RetryBeginSegmentPiecesRequest) Reset()         { *m = RetryBeginSegmentPiecesRequest{} }
func (m *RetryBeginSegmentPiecesRequest) String() string { return proto.CompactTextString(m) }
func (*RetryBeginSegmentPiecesRequest) ProtoMessage()    {}

func (m *RetryBeginSegmentPiecesRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RetryBeginSegmentPiecesRequest.Unmarshal(m, b)
}
func (m *RetryBeginSegmentPiecesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RetryBeginSegmentPiecesRequest.Marshal(b, m, deterministic)
}
func (m *RetryBeginSegmentPiecesRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RetryBeginSegmentPiecesRequest.Merge(m, src)
}
func (m *RetryBeginSegmentPiecesRequest) XXX_Size() int {
	return xxx_messageInfo_RetryBeginSegmentPiecesRequest.Size(m)
}
func (m *RetryBeginSegmentPiecesRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RetryBeginSegmentPiecesRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RetryBeginSegmentPiecesRequest proto.InternalMessageInfo

func (m *RetryBeginSegmentPiecesRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *RetryBeginSegmentPiecesRequest) GetRetryPieceNumbers() []int32 {
	if m != nil {
		return m.RetryPieceNumbers
	}
	return nil
}

type RetryBeginSegmentPiecesResponse 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"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *RetryBeginSegmentPiecesResponse) Reset()         { *m = RetryBeginSegmentPiecesResponse{} }
func (m *RetryBeginSegmentPiecesResponse) String() string { return proto.CompactTextString(m) }
func (*RetryBeginSegmentPiecesResponse) ProtoMessage()    {}

func (m *RetryBeginSegmentPiecesResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RetryBeginSegmentPiecesResponse.Unmarshal(m, b)
}
func (m *RetryBeginSegmentPiecesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RetryBeginSegmentPiecesResponse.Marshal(b, m, deterministic)
}
func (m *RetryBeginSegmentPiecesResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RetryBeginSegmentPiecesResponse.Merge(m, src)
}
func (m *RetryBeginSegmentPiecesResponse) XXX_Size() int {
	return xxx_messageInfo_RetryBeginSegmentPiecesResponse.Size(m)
}
func (m *RetryBeginSegmentPiecesResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RetryBeginSegmentPiecesResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RetryBeginSegmentPiecesResponse proto.InternalMessageInfo

func (m *RetryBeginSegmentPiecesResponse) GetAddressedLimits() []*AddressedOrderLimit {
	if m != nil {
		return m.AddressedLimits
	}
	return nil
}

type CommitSegmentRequest 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"`
	PlainSize            int64                       `protobuf:"varint,6,opt,name=plain_size,json=plainSize,proto3" json:"plain_size,omitempty"`
	EncryptedETag        []byte                      `protobuf:"bytes,7,opt,name=encrypted_e_tag,json=encryptedETag,proto3" json:"encrypted_e_tag,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 *CommitSegmentRequest) Reset()         { *m = CommitSegmentRequest{} }
func (m *CommitSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*CommitSegmentRequest) ProtoMessage()    {}

func (m *CommitSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CommitSegmentRequest.Unmarshal(m, b)
}
func (m *CommitSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CommitSegmentRequest.Marshal(b, m, deterministic)
}
func (m *CommitSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CommitSegmentRequest.Merge(m, src)
}
func (m *CommitSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_CommitSegmentRequest.Size(m)
}
func (m *CommitSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CommitSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CommitSegmentRequest proto.InternalMessageInfo

func (m *CommitSegmentRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *CommitSegmentRequest) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}

func (m *CommitSegmentRequest) GetSizeEncryptedData() int64 {
	if m != nil {
		return m.SizeEncryptedData
	}
	return 0
}

func (m *CommitSegmentRequest) GetPlainSize() int64 {
	if m != nil {
		return m.PlainSize
	}
	return 0
}

func (m *CommitSegmentRequest) GetEncryptedETag() []byte {
	if m != nil {
		return m.EncryptedETag
	}
	return nil
}

func (m *CommitSegmentRequest) 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 (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
}

type CommitSegmentResponse 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 *CommitSegmentResponse) Reset()         { *m = CommitSegmentResponse{} }
func (m *CommitSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*CommitSegmentResponse) ProtoMessage()    {}

func (m *CommitSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CommitSegmentResponse.Unmarshal(m, b)
}
func (m *CommitSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CommitSegmentResponse.Marshal(b, m, deterministic)
}
func (m *CommitSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CommitSegmentResponse.Merge(m, src)
}
func (m *CommitSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_CommitSegmentResponse.Size(m)
}
func (m *CommitSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CommitSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CommitSegmentResponse proto.InternalMessageInfo

func (m *CommitSegmentResponse) GetSuccessfulPieces() int32 {
	if m != nil {
		return m.SuccessfulPieces
	}
	return 0
}

type MakeInlineSegmentRequest 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"`
	PlainSize            int64            `protobuf:"varint,6,opt,name=plain_size,json=plainSize,proto3" json:"plain_size,omitempty"`
	EncryptedETag        []byte           `protobuf:"bytes,7,opt,name=encrypted_e_tag,json=encryptedETag,proto3" json:"encrypted_e_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *MakeInlineSegmentRequest) Reset()         { *m = MakeInlineSegmentRequest{} }
func (m *MakeInlineSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*MakeInlineSegmentRequest) ProtoMessage()    {}

func (m *MakeInlineSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MakeInlineSegmentRequest.Unmarshal(m, b)
}
func (m *MakeInlineSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MakeInlineSegmentRequest.Marshal(b, m, deterministic)
}
func (m *MakeInlineSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MakeInlineSegmentRequest.Merge(m, src)
}
func (m *MakeInlineSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_MakeInlineSegmentRequest.Size(m)
}
func (m *MakeInlineSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_MakeInlineSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_MakeInlineSegmentRequest proto.InternalMessageInfo

func (m *MakeInlineSegmentRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *MakeInlineSegmentRequest) GetPosition() *SegmentPosition {
	if m != nil {
		return m.Position
	}
	return nil
}

func (m *MakeInlineSegmentRequest) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}

func (m *MakeInlineSegmentRequest) GetEncryptedInlineData() []byte {
	if m != nil {
		return m.EncryptedInlineData
	}
	return nil
}

func (m *MakeInlineSegmentRequest) GetPlainSize() int64 {
	if m != nil {
		return m.PlainSize
	}
	return 0
}

func (m *MakeInlineSegmentRequest) GetEncryptedETag() []byte {
	if m != nil {
		return m.EncryptedETag
	}
	return nil
}

type MakeInlineSegmentResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *MakeInlineSegmentResponse) Reset()         { *m = MakeInlineSegmentResponse{} }
func (m *MakeInlineSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*MakeInlineSegmentResponse) ProtoMessage()    {}

func (m *MakeInlineSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MakeInlineSegmentResponse.Unmarshal(m, b)
}
func (m *MakeInlineSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MakeInlineSegmentResponse.Marshal(b, m, deterministic)
}
func (m *MakeInlineSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MakeInlineSegmentResponse.Merge(m, src)
}
func (m *MakeInlineSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_MakeInlineSegmentResponse.Size(m)
}
func (m *MakeInlineSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_MakeInlineSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_MakeInlineSegmentResponse proto.InternalMessageInfo

type BeginDeleteSegmentRequest 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 *BeginDeleteSegmentRequest) Reset()         { *m = BeginDeleteSegmentRequest{} }
func (m *BeginDeleteSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*BeginDeleteSegmentRequest) ProtoMessage()    {}

func (m *BeginDeleteSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginDeleteSegmentRequest.Unmarshal(m, b)
}
func (m *BeginDeleteSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginDeleteSegmentRequest.Marshal(b, m, deterministic)
}
func (m *BeginDeleteSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginDeleteSegmentRequest.Merge(m, src)
}
func (m *BeginDeleteSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_BeginDeleteSegmentRequest.Size(m)
}
func (m *BeginDeleteSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginDeleteSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_BeginDeleteSegmentRequest proto.InternalMessageInfo

func (m *BeginDeleteSegmentRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *BeginDeleteSegmentRequest) GetPosition() *SegmentPosition {
	if m != nil {
		return m.Position
	}
	return nil
}

type BeginDeleteSegmentResponse 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 *BeginDeleteSegmentResponse) Reset()         { *m = BeginDeleteSegmentResponse{} }
func (m *BeginDeleteSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*BeginDeleteSegmentResponse) ProtoMessage()    {}

func (m *BeginDeleteSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginDeleteSegmentResponse.Unmarshal(m, b)
}
func (m *BeginDeleteSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginDeleteSegmentResponse.Marshal(b, m, deterministic)
}
func (m *BeginDeleteSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginDeleteSegmentResponse.Merge(m, src)
}
func (m *BeginDeleteSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_BeginDeleteSegmentResponse.Size(m)
}
func (m *BeginDeleteSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginDeleteSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BeginDeleteSegmentResponse proto.InternalMessageInfo

func (m *BeginDeleteSegmentResponse) GetAddressedLimits() []*AddressedOrderLimit {
	if m != nil {
		return m.AddressedLimits
	}
	return nil
}

type FinishDeleteSegmentRequest 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 *FinishDeleteSegmentRequest) Reset()         { *m = FinishDeleteSegmentRequest{} }
func (m *FinishDeleteSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*FinishDeleteSegmentRequest) ProtoMessage()    {}

func (m *FinishDeleteSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishDeleteSegmentRequest.Unmarshal(m, b)
}
func (m *FinishDeleteSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishDeleteSegmentRequest.Marshal(b, m, deterministic)
}
func (m *FinishDeleteSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishDeleteSegmentRequest.Merge(m, src)
}
func (m *FinishDeleteSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_FinishDeleteSegmentRequest.Size(m)
}
func (m *FinishDeleteSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishDeleteSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_FinishDeleteSegmentRequest proto.InternalMessageInfo

func (m *FinishDeleteSegmentRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *FinishDeleteSegmentRequest) 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 (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 FinishDeleteSegmentResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *FinishDeleteSegmentResponse) Reset()         { *m = FinishDeleteSegmentResponse{} }
func (m *FinishDeleteSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*FinishDeleteSegmentResponse) ProtoMessage()    {}

func (m *FinishDeleteSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishDeleteSegmentResponse.Unmarshal(m, b)
}
func (m *FinishDeleteSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishDeleteSegmentResponse.Marshal(b, m, deterministic)
}
func (m *FinishDeleteSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishDeleteSegmentResponse.Merge(m, src)
}
func (m *FinishDeleteSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_FinishDeleteSegmentResponse.Size(m)
}
func (m *FinishDeleteSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishDeleteSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_FinishDeleteSegmentResponse proto.InternalMessageInfo

type ListSegmentsRequest 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"`
	// If range is included in the request, the response will only include
	// SegmentListItems within the range specified.
	Range                *Range   `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ListSegmentsRequest) Reset()         { *m = ListSegmentsRequest{} }
func (m *ListSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ListSegmentsRequest) ProtoMessage()    {}

func (m *ListSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListSegmentsRequest.Unmarshal(m, b)
}
func (m *ListSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListSegmentsRequest.Marshal(b, m, deterministic)
}
func (m *ListSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListSegmentsRequest.Merge(m, src)
}
func (m *ListSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_ListSegmentsRequest.Size(m)
}
func (m *ListSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListSegmentsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListSegmentsRequest proto.InternalMessageInfo

func (m *ListSegmentsRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *ListSegmentsRequest) GetCursorPosition() *SegmentPosition {
	if m != nil {
		return m.CursorPosition
	}
	return nil
}

func (m *ListSegmentsRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func (m *ListSegmentsRequest) GetRange() *Range {
	if m != nil {
		return m.Range
	}
	return nil
}

type ListSegmentsResponse 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"`
	EncryptionParameters *EncryptionParameters `protobuf:"bytes,3,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *ListSegmentsResponse) Reset()         { *m = ListSegmentsResponse{} }
func (m *ListSegmentsResponse) String() string { return proto.CompactTextString(m) }
func (*ListSegmentsResponse) ProtoMessage()    {}

func (m *ListSegmentsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListSegmentsResponse.Unmarshal(m, b)
}
func (m *ListSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListSegmentsResponse.Marshal(b, m, deterministic)
}
func (m *ListSegmentsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListSegmentsResponse.Merge(m, src)
}
func (m *ListSegmentsResponse) XXX_Size() int {
	return xxx_messageInfo_ListSegmentsResponse.Size(m)
}
func (m *ListSegmentsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListSegmentsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListSegmentsResponse proto.InternalMessageInfo

func (m *ListSegmentsResponse) GetItems() []*SegmentListItem {
	if m != nil {
		return m.Items
	}
	return nil
}

func (m *ListSegmentsResponse) GetMore() bool {
	if m != nil {
		return m.More
	}
	return false
}

func (m *ListSegmentsResponse) GetEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.EncryptionParameters
	}
	return nil
}

type SegmentListItem struct {
	Position *SegmentPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// plain_size is 0 for migrated objects.
	PlainSize int64 `protobuf:"varint,2,opt,name=plain_size,json=plainSize,proto3" json:"plain_size,omitempty"`
	// plain_offset is 0 for migrated objects.
	PlainOffset          int64     `protobuf:"varint,4,opt,name=plain_offset,json=plainOffset,proto3" json:"plain_offset,omitempty"`
	CreatedAt            time.Time `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	EncryptedETag        []byte    `protobuf:"bytes,5,opt,name=encrypted_e_tag,json=encryptedETag,proto3" json:"encrypted_e_tag,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"`
	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 (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
}

func (m *SegmentListItem) GetPlainSize() int64 {
	if m != nil {
		return m.PlainSize
	}
	return 0
}

func (m *SegmentListItem) GetPlainOffset() int64 {
	if m != nil {
		return m.PlainOffset
	}
	return 0
}

func (m *SegmentListItem) GetCreatedAt() time.Time {
	if m != nil {
		return m.CreatedAt
	}
	return time.Time{}
}

func (m *SegmentListItem) GetEncryptedETag() []byte {
	if m != nil {
		return m.EncryptedETag
	}
	return nil
}

func (m *SegmentListItem) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}

type DownloadSegmentRequest 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"`
	// see DownloadObjectRequest.desired_nodes for more explanation.
	DesiredNodes         int32    `protobuf:"varint,3,opt,name=desired_nodes,json=desiredNodes,proto3" json:"desired_nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DownloadSegmentRequest) Reset()         { *m = DownloadSegmentRequest{} }
func (m *DownloadSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*DownloadSegmentRequest) ProtoMessage()    {}

func (m *DownloadSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DownloadSegmentRequest.Unmarshal(m, b)
}
func (m *DownloadSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DownloadSegmentRequest.Marshal(b, m, deterministic)
}
func (m *DownloadSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DownloadSegmentRequest.Merge(m, src)
}
func (m *DownloadSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_DownloadSegmentRequest.Size(m)
}
func (m *DownloadSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DownloadSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DownloadSegmentRequest proto.InternalMessageInfo

func (m *DownloadSegmentRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *DownloadSegmentRequest) GetCursorPosition() *SegmentPosition {
	if m != nil {
		return m.CursorPosition
	}
	return nil
}

func (m *DownloadSegmentRequest) GetDesiredNodes() int32 {
	if m != nil {
		return m.DesiredNodes
	}
	return 0
}

type DownloadSegmentResponse 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"`
	// plain_offset is 0 for migrated objects.
	PlainOffset int64 `protobuf:"varint,11,opt,name=plain_offset,json=plainOffset,proto3" json:"plain_offset,omitempty"`
	// plain_size is 0 for migrated objects.
	PlainSize int64 `protobuf:"varint,12,opt,name=plain_size,json=plainSize,proto3" json:"plain_size,omitempty"`
	// segment_size is encrypted_size.
	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"`
	RedundancyScheme  *RedundancyScheme `protobuf:"bytes,9,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
	Next              *SegmentPosition  `protobuf:"bytes,8,opt,name=next,proto3" json:"next,omitempty"`
	// Can be nil. This is the position of the requested segment.
	Position             *SegmentPosition `protobuf:"bytes,10,opt,name=position,proto3" json:"position,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *DownloadSegmentResponse) Reset()         { *m = DownloadSegmentResponse{} }
func (m *DownloadSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*DownloadSegmentResponse) ProtoMessage()    {}

func (m *DownloadSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DownloadSegmentResponse.Unmarshal(m, b)
}
func (m *DownloadSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DownloadSegmentResponse.Marshal(b, m, deterministic)
}
func (m *DownloadSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DownloadSegmentResponse.Merge(m, src)
}
func (m *DownloadSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_DownloadSegmentResponse.Size(m)
}
func (m *DownloadSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DownloadSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DownloadSegmentResponse proto.InternalMessageInfo

func (m *DownloadSegmentResponse) GetAddressedLimits() []*AddressedOrderLimit {
	if m != nil {
		return m.AddressedLimits
	}
	return nil
}

func (m *DownloadSegmentResponse) GetEncryptedInlineData() []byte {
	if m != nil {
		return m.EncryptedInlineData
	}
	return nil
}

func (m *DownloadSegmentResponse) GetPlainOffset() int64 {
	if m != nil {
		return m.PlainOffset
	}
	return 0
}

func (m *DownloadSegmentResponse) GetPlainSize() int64 {
	if m != nil {
		return m.PlainSize
	}
	return 0
}

func (m *DownloadSegmentResponse) GetSegmentSize() int64 {
	if m != nil {
		return m.SegmentSize
	}
	return 0
}

func (m *DownloadSegmentResponse) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}

func (m *DownloadSegmentResponse) GetRedundancyScheme() *RedundancyScheme {
	if m != nil {
		return m.RedundancyScheme
	}
	return nil
}

func (m *DownloadSegmentResponse) GetNext() *SegmentPosition {
	if m != nil {
		return m.Next
	}
	return nil
}

func (m *DownloadSegmentResponse) GetPosition() *SegmentPosition {
	if m != nil {
		return m.Position
	}
	return nil
}

type DeletePartRequest 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"`
	PartNumber           int32          `protobuf:"varint,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *DeletePartRequest) Reset()         { *m = DeletePartRequest{} }
func (m *DeletePartRequest) String() string { return proto.CompactTextString(m) }
func (*DeletePartRequest) ProtoMessage()    {}

func (m *DeletePartRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeletePartRequest.Unmarshal(m, b)
}
func (m *DeletePartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeletePartRequest.Marshal(b, m, deterministic)
}
func (m *DeletePartRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeletePartRequest.Merge(m, src)
}
func (m *DeletePartRequest) XXX_Size() int {
	return xxx_messageInfo_DeletePartRequest.Size(m)
}
func (m *DeletePartRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeletePartRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeletePartRequest proto.InternalMessageInfo

func (m *DeletePartRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *DeletePartRequest) GetPartNumber() int32 {
	if m != nil {
		return m.PartNumber
	}
	return 0
}

type DeletePartResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeletePartResponse) Reset()         { *m = DeletePartResponse{} }
func (m *DeletePartResponse) String() string { return proto.CompactTextString(m) }
func (*DeletePartResponse) ProtoMessage()    {}

func (m *DeletePartResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeletePartResponse.Unmarshal(m, b)
}
func (m *DeletePartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeletePartResponse.Marshal(b, m, deterministic)
}
func (m *DeletePartResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeletePartResponse.Merge(m, src)
}
func (m *DeletePartResponse) XXX_Size() int {
	return xxx_messageInfo_DeletePartResponse.Size(m)
}
func (m *DeletePartResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DeletePartResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DeletePartResponse proto.InternalMessageInfo

type CompressedBatchRequest struct {
	Supported            []CompressedBatchRequest_CompressionType `protobuf:"varint,1,rep,packed,name=supported,proto3,enum=metainfo.CompressedBatchRequest_CompressionType" json:"supported,omitempty"`
	Selected             CompressedBatchRequest_CompressionType   `protobuf:"varint,2,opt,name=selected,proto3,enum=metainfo.CompressedBatchRequest_CompressionType" json:"selected,omitempty"`
	Data                 []byte                                   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (m *CompressedBatchRequest) Reset()         { *m = CompressedBatchRequest{} }
func (m *CompressedBatchRequest) String() string { return proto.CompactTextString(m) }
func (*CompressedBatchRequest) ProtoMessage()    {}

func (m *CompressedBatchRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CompressedBatchRequest.Unmarshal(m, b)
}
func (m *CompressedBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CompressedBatchRequest.Marshal(b, m, deterministic)
}
func (m *CompressedBatchRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CompressedBatchRequest.Merge(m, src)
}
func (m *CompressedBatchRequest) XXX_Size() int {
	return xxx_messageInfo_CompressedBatchRequest.Size(m)
}
func (m *CompressedBatchRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CompressedBatchRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CompressedBatchRequest proto.InternalMessageInfo

func (m *CompressedBatchRequest) GetSupported() []CompressedBatchRequest_CompressionType {
	if m != nil {
		return m.Supported
	}
	return nil
}

func (m *CompressedBatchRequest) GetSelected() CompressedBatchRequest_CompressionType {
	if m != nil {
		return m.Selected
	}
	return CompressedBatchRequest_NONE
}

func (m *CompressedBatchRequest) GetData() []byte {
	if m != nil {
		return m.Data
	}
	return nil
}

type BatchRequest struct {
	Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	// headers for specific BatchRequestItems are ignored entirely
	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 (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
}

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_BucketGetLocation
	//	*BatchRequestItem_BucketGetVersioning
	//	*BatchRequestItem_BucketSetVersioning
	//	*BatchRequestItem_BucketGetObjectLockConfiguration
	//	*BatchRequestItem_BucketDelete
	//	*BatchRequestItem_BucketList
	//	*BatchRequestItem_ObjectBegin
	//	*BatchRequestItem_ObjectCommit
	//	*BatchRequestItem_ObjectGet
	//	*BatchRequestItem_ObjectList
	//	*BatchRequestItem_ObjectBeginDelete
	//	*BatchRequestItem_ObjectFinishDelete
	//	*BatchRequestItem_ObjectGetIps
	//	*BatchRequestItem_ObjectListPendingStreams
	//	*BatchRequestItem_ObjectDownload
	//	*BatchRequestItem_ObjectUpdateMetadata
	//	*BatchRequestItem_ObjectBeginMove
	//	*BatchRequestItem_ObjectFinishMove
	//	*BatchRequestItem_ObjectBeginCopy
	//	*BatchRequestItem_ObjectFinishCopy
	//	*BatchRequestItem_ObjectGetRetention
	//	*BatchRequestItem_ObjectSetRetention
	//	*BatchRequestItem_SegmentBegin
	//	*BatchRequestItem_SegmentCommit
	//	*BatchRequestItem_SegmentMakeInline
	//	*BatchRequestItem_SegmentBeginDelete
	//	*BatchRequestItem_SegmentFinishDelete
	//	*BatchRequestItem_SegmentList
	//	*BatchRequestItem_SegmentDownload
	//	*BatchRequestItem_PartDelete
	//	*BatchRequestItem_RevokeApiKey
	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 (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 *CreateBucketRequest `protobuf:"bytes,1,opt,name=bucket_create,json=bucketCreate,proto3,oneof" json:"bucket_create,omitempty"`
}
type BatchRequestItem_BucketGet struct {
	BucketGet *GetBucketRequest `protobuf:"bytes,2,opt,name=bucket_get,json=bucketGet,proto3,oneof" json:"bucket_get,omitempty"`
}
type BatchRequestItem_BucketGetLocation struct {
	BucketGetLocation *GetBucketLocationRequest `protobuf:"bytes,30,opt,name=bucket_get_location,json=bucketGetLocation,proto3,oneof" json:"bucket_get_location,omitempty"`
}
type BatchRequestItem_BucketGetVersioning struct {
	BucketGetVersioning *GetBucketVersioningRequest `protobuf:"bytes,31,opt,name=bucket_get_versioning,json=bucketGetVersioning,proto3,oneof" json:"bucket_get_versioning,omitempty"`
}
type BatchRequestItem_BucketSetVersioning struct {
	BucketSetVersioning *SetBucketVersioningRequest `protobuf:"bytes,32,opt,name=bucket_set_versioning,json=bucketSetVersioning,proto3,oneof" json:"bucket_set_versioning,omitempty"`
}
type BatchRequestItem_BucketGetObjectLockConfiguration struct {
	BucketGetObjectLockConfiguration *GetBucketObjectLockConfigurationRequest `protobuf:"bytes,33,opt,name=bucket_get_object_lock_configuration,json=bucketGetObjectLockConfiguration,proto3,oneof" json:"bucket_get_object_lock_configuration,omitempty"`
}
type BatchRequestItem_BucketDelete struct {
	BucketDelete *DeleteBucketRequest `protobuf:"bytes,3,opt,name=bucket_delete,json=bucketDelete,proto3,oneof" json:"bucket_delete,omitempty"`
}
type BatchRequestItem_BucketList struct {
	BucketList *ListBucketsRequest `protobuf:"bytes,4,opt,name=bucket_list,json=bucketList,proto3,oneof" json:"bucket_list,omitempty"`
}
type BatchRequestItem_ObjectBegin struct {
	ObjectBegin *BeginObjectRequest `protobuf:"bytes,6,opt,name=object_begin,json=objectBegin,proto3,oneof" json:"object_begin,omitempty"`
}
type BatchRequestItem_ObjectCommit struct {
	ObjectCommit *CommitObjectRequest `protobuf:"bytes,7,opt,name=object_commit,json=objectCommit,proto3,oneof" json:"object_commit,omitempty"`
}
type BatchRequestItem_ObjectGet struct {
	ObjectGet *GetObjectRequest `protobuf:"bytes,8,opt,name=object_get,json=objectGet,proto3,oneof" json:"object_get,omitempty"`
}
type BatchRequestItem_ObjectList struct {
	ObjectList *ListObjectsRequest `protobuf:"bytes,9,opt,name=object_list,json=objectList,proto3,oneof" json:"object_list,omitempty"`
}
type BatchRequestItem_ObjectBeginDelete struct {
	ObjectBeginDelete *BeginDeleteObjectRequest `protobuf:"bytes,10,opt,name=object_begin_delete,json=objectBeginDelete,proto3,oneof" json:"object_begin_delete,omitempty"`
}
type BatchRequestItem_ObjectFinishDelete struct {
	ObjectFinishDelete *FinishDeleteObjectRequest `protobuf:"bytes,11,opt,name=object_finish_delete,json=objectFinishDelete,proto3,oneof" json:"object_finish_delete,omitempty"`
}
type BatchRequestItem_ObjectGetIps struct {
	ObjectGetIps *GetObjectIPsRequest `protobuf:"bytes,20,opt,name=object_get_ips,json=objectGetIps,proto3,oneof" json:"object_get_ips,omitempty"`
}
type BatchRequestItem_ObjectListPendingStreams struct {
	ObjectListPendingStreams *ListPendingObjectStreamsRequest `protobuf:"bytes,22,opt,name=object_list_pending_streams,json=objectListPendingStreams,proto3,oneof" json:"object_list_pending_streams,omitempty"`
}
type BatchRequestItem_ObjectDownload struct {
	ObjectDownload *DownloadObjectRequest `protobuf:"bytes,23,opt,name=object_download,json=objectDownload,proto3,oneof" json:"object_download,omitempty"`
}
type BatchRequestItem_ObjectUpdateMetadata struct {
	ObjectUpdateMetadata *UpdateObjectMetadataRequest `protobuf:"bytes,24,opt,name=object_update_metadata,json=objectUpdateMetadata,proto3,oneof" json:"object_update_metadata,omitempty"`
}
type BatchRequestItem_ObjectBeginMove struct {
	ObjectBeginMove *BeginMoveObjectRequest `protobuf:"bytes,26,opt,name=object_begin_move,json=objectBeginMove,proto3,oneof" json:"object_begin_move,omitempty"`
}
type BatchRequestItem_ObjectFinishMove struct {
	ObjectFinishMove *FinishMoveObjectRequest `protobuf:"bytes,27,opt,name=object_finish_move,json=objectFinishMove,proto3,oneof" json:"object_finish_move,omitempty"`
}
type BatchRequestItem_ObjectBeginCopy struct {
	ObjectBeginCopy *BeginCopyObjectRequest `protobuf:"bytes,28,opt,name=object_begin_copy,json=objectBeginCopy,proto3,oneof" json:"object_begin_copy,omitempty"`
}
type BatchRequestItem_ObjectFinishCopy struct {
	ObjectFinishCopy *FinishCopyObjectRequest `protobuf:"bytes,29,opt,name=object_finish_copy,json=objectFinishCopy,proto3,oneof" json:"object_finish_copy,omitempty"`
}
type BatchRequestItem_ObjectGetRetention struct {
	ObjectGetRetention *GetObjectRetentionRequest `protobuf:"bytes,34,opt,name=object_get_retention,json=objectGetRetention,proto3,oneof" json:"object_get_retention,omitempty"`
}
type BatchRequestItem_ObjectSetRetention struct {
	ObjectSetRetention *SetObjectRetentionRequest `protobuf:"bytes,35,opt,name=object_set_retention,json=objectSetRetention,proto3,oneof" json:"object_set_retention,omitempty"`
}
type BatchRequestItem_SegmentBegin struct {
	SegmentBegin *BeginSegmentRequest `protobuf:"bytes,12,opt,name=segment_begin,json=segmentBegin,proto3,oneof" json:"segment_begin,omitempty"`
}
type BatchRequestItem_SegmentCommit struct {
	SegmentCommit *CommitSegmentRequest `protobuf:"bytes,13,opt,name=segment_commit,json=segmentCommit,proto3,oneof" json:"segment_commit,omitempty"`
}
type BatchRequestItem_SegmentMakeInline struct {
	SegmentMakeInline *MakeInlineSegmentRequest `protobuf:"bytes,14,opt,name=segment_make_inline,json=segmentMakeInline,proto3,oneof" json:"segment_make_inline,omitempty"`
}
type BatchRequestItem_SegmentBeginDelete struct {
	SegmentBeginDelete *BeginDeleteSegmentRequest `protobuf:"bytes,15,opt,name=segment_begin_delete,json=segmentBeginDelete,proto3,oneof" json:"segment_begin_delete,omitempty"`
}
type BatchRequestItem_SegmentFinishDelete struct {
	SegmentFinishDelete *FinishDeleteSegmentRequest `protobuf:"bytes,16,opt,name=segment_finish_delete,json=segmentFinishDelete,proto3,oneof" json:"segment_finish_delete,omitempty"`
}
type BatchRequestItem_SegmentList struct {
	SegmentList *ListSegmentsRequest `protobuf:"bytes,17,opt,name=segment_list,json=segmentList,proto3,oneof" json:"segment_list,omitempty"`
}
type BatchRequestItem_SegmentDownload struct {
	SegmentDownload *DownloadSegmentRequest `protobuf:"bytes,18,opt,name=segment_download,json=segmentDownload,proto3,oneof" json:"segment_download,omitempty"`
}
type BatchRequestItem_PartDelete struct {
	PartDelete *DeletePartRequest `protobuf:"bytes,25,opt,name=part_delete,json=partDelete,proto3,oneof" json:"part_delete,omitempty"`
}
type BatchRequestItem_RevokeApiKey struct {
	RevokeApiKey *RevokeAPIKeyRequest `protobuf:"bytes,19,opt,name=revoke_api_key,json=revokeApiKey,proto3,oneof" json:"revoke_api_key,omitempty"`
}

func (*BatchRequestItem_BucketCreate) isBatchRequestItem_Request()                     {}
func (*BatchRequestItem_BucketGet) isBatchRequestItem_Request()                        {}
func (*BatchRequestItem_BucketGetLocation) isBatchRequestItem_Request()                {}
func (*BatchRequestItem_BucketGetVersioning) isBatchRequestItem_Request()              {}
func (*BatchRequestItem_BucketSetVersioning) isBatchRequestItem_Request()              {}
func (*BatchRequestItem_BucketGetObjectLockConfiguration) isBatchRequestItem_Request() {}
func (*BatchRequestItem_BucketDelete) isBatchRequestItem_Request()                     {}
func (*BatchRequestItem_BucketList) 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_ObjectGetIps) isBatchRequestItem_Request()                     {}
func (*BatchRequestItem_ObjectListPendingStreams) isBatchRequestItem_Request()         {}
func (*BatchRequestItem_ObjectDownload) isBatchRequestItem_Request()                   {}
func (*BatchRequestItem_ObjectUpdateMetadata) isBatchRequestItem_Request()             {}
func (*BatchRequestItem_ObjectBeginMove) isBatchRequestItem_Request()                  {}
func (*BatchRequestItem_ObjectFinishMove) isBatchRequestItem_Request()                 {}
func (*BatchRequestItem_ObjectBeginCopy) isBatchRequestItem_Request()                  {}
func (*BatchRequestItem_ObjectFinishCopy) isBatchRequestItem_Request()                 {}
func (*BatchRequestItem_ObjectGetRetention) isBatchRequestItem_Request()               {}
func (*BatchRequestItem_ObjectSetRetention) 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 (*BatchRequestItem_PartDelete) isBatchRequestItem_Request()                       {}
func (*BatchRequestItem_RevokeApiKey) isBatchRequestItem_Request()                     {}

func (m *BatchRequestItem) GetRequest() isBatchRequestItem_Request {
	if m != nil {
		return m.Request
	}
	return nil
}

func (m *BatchRequestItem) GetBucketCreate() *CreateBucketRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketCreate); ok {
		return x.BucketCreate
	}
	return nil
}

func (m *BatchRequestItem) GetBucketGet() *GetBucketRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketGet); ok {
		return x.BucketGet
	}
	return nil
}

func (m *BatchRequestItem) GetBucketGetLocation() *GetBucketLocationRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketGetLocation); ok {
		return x.BucketGetLocation
	}
	return nil
}

func (m *BatchRequestItem) GetBucketGetVersioning() *GetBucketVersioningRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketGetVersioning); ok {
		return x.BucketGetVersioning
	}
	return nil
}

func (m *BatchRequestItem) GetBucketSetVersioning() *SetBucketVersioningRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketSetVersioning); ok {
		return x.BucketSetVersioning
	}
	return nil
}

func (m *BatchRequestItem) GetBucketGetObjectLockConfiguration() *GetBucketObjectLockConfigurationRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketGetObjectLockConfiguration); ok {
		return x.BucketGetObjectLockConfiguration
	}
	return nil
}

func (m *BatchRequestItem) GetBucketDelete() *DeleteBucketRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketDelete); ok {
		return x.BucketDelete
	}
	return nil
}

func (m *BatchRequestItem) GetBucketList() *ListBucketsRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_BucketList); ok {
		return x.BucketList
	}
	return nil
}

func (m *BatchRequestItem) GetObjectBegin() *BeginObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectBegin); ok {
		return x.ObjectBegin
	}
	return nil
}

func (m *BatchRequestItem) GetObjectCommit() *CommitObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectCommit); ok {
		return x.ObjectCommit
	}
	return nil
}

func (m *BatchRequestItem) GetObjectGet() *GetObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectGet); ok {
		return x.ObjectGet
	}
	return nil
}

func (m *BatchRequestItem) GetObjectList() *ListObjectsRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectList); ok {
		return x.ObjectList
	}
	return nil
}

func (m *BatchRequestItem) GetObjectBeginDelete() *BeginDeleteObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectBeginDelete); ok {
		return x.ObjectBeginDelete
	}
	return nil
}

func (m *BatchRequestItem) GetObjectFinishDelete() *FinishDeleteObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectFinishDelete); ok {
		return x.ObjectFinishDelete
	}
	return nil
}

func (m *BatchRequestItem) GetObjectGetIps() *GetObjectIPsRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectGetIps); ok {
		return x.ObjectGetIps
	}
	return nil
}

func (m *BatchRequestItem) GetObjectListPendingStreams() *ListPendingObjectStreamsRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectListPendingStreams); ok {
		return x.ObjectListPendingStreams
	}
	return nil
}

func (m *BatchRequestItem) GetObjectDownload() *DownloadObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectDownload); ok {
		return x.ObjectDownload
	}
	return nil
}

func (m *BatchRequestItem) GetObjectUpdateMetadata() *UpdateObjectMetadataRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectUpdateMetadata); ok {
		return x.ObjectUpdateMetadata
	}
	return nil
}

func (m *BatchRequestItem) GetObjectBeginMove() *BeginMoveObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectBeginMove); ok {
		return x.ObjectBeginMove
	}
	return nil
}

func (m *BatchRequestItem) GetObjectFinishMove() *FinishMoveObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectFinishMove); ok {
		return x.ObjectFinishMove
	}
	return nil
}

func (m *BatchRequestItem) GetObjectBeginCopy() *BeginCopyObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectBeginCopy); ok {
		return x.ObjectBeginCopy
	}
	return nil
}

func (m *BatchRequestItem) GetObjectFinishCopy() *FinishCopyObjectRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectFinishCopy); ok {
		return x.ObjectFinishCopy
	}
	return nil
}

func (m *BatchRequestItem) GetObjectGetRetention() *GetObjectRetentionRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectGetRetention); ok {
		return x.ObjectGetRetention
	}
	return nil
}

func (m *BatchRequestItem) GetObjectSetRetention() *SetObjectRetentionRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_ObjectSetRetention); ok {
		return x.ObjectSetRetention
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentBegin() *BeginSegmentRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentBegin); ok {
		return x.SegmentBegin
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentCommit() *CommitSegmentRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentCommit); ok {
		return x.SegmentCommit
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentMakeInline() *MakeInlineSegmentRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentMakeInline); ok {
		return x.SegmentMakeInline
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentBeginDelete() *BeginDeleteSegmentRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentBeginDelete); ok {
		return x.SegmentBeginDelete
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentFinishDelete() *FinishDeleteSegmentRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentFinishDelete); ok {
		return x.SegmentFinishDelete
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentList() *ListSegmentsRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentList); ok {
		return x.SegmentList
	}
	return nil
}

func (m *BatchRequestItem) GetSegmentDownload() *DownloadSegmentRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_SegmentDownload); ok {
		return x.SegmentDownload
	}
	return nil
}

func (m *BatchRequestItem) GetPartDelete() *DeletePartRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_PartDelete); ok {
		return x.PartDelete
	}
	return nil
}

func (m *BatchRequestItem) GetRevokeApiKey() *RevokeAPIKeyRequest {
	if x, ok := m.GetRequest().(*BatchRequestItem_RevokeApiKey); ok {
		return x.RevokeApiKey
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*BatchRequestItem) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*BatchRequestItem_BucketCreate)(nil),
		(*BatchRequestItem_BucketGet)(nil),
		(*BatchRequestItem_BucketGetLocation)(nil),
		(*BatchRequestItem_BucketGetVersioning)(nil),
		(*BatchRequestItem_BucketSetVersioning)(nil),
		(*BatchRequestItem_BucketGetObjectLockConfiguration)(nil),
		(*BatchRequestItem_BucketDelete)(nil),
		(*BatchRequestItem_BucketList)(nil),
		(*BatchRequestItem_ObjectBegin)(nil),
		(*BatchRequestItem_ObjectCommit)(nil),
		(*BatchRequestItem_ObjectGet)(nil),
		(*BatchRequestItem_ObjectList)(nil),
		(*BatchRequestItem_ObjectBeginDelete)(nil),
		(*BatchRequestItem_ObjectFinishDelete)(nil),
		(*BatchRequestItem_ObjectGetIps)(nil),
		(*BatchRequestItem_ObjectListPendingStreams)(nil),
		(*BatchRequestItem_ObjectDownload)(nil),
		(*BatchRequestItem_ObjectUpdateMetadata)(nil),
		(*BatchRequestItem_ObjectBeginMove)(nil),
		(*BatchRequestItem_ObjectFinishMove)(nil),
		(*BatchRequestItem_ObjectBeginCopy)(nil),
		(*BatchRequestItem_ObjectFinishCopy)(nil),
		(*BatchRequestItem_ObjectGetRetention)(nil),
		(*BatchRequestItem_ObjectSetRetention)(nil),
		(*BatchRequestItem_SegmentBegin)(nil),
		(*BatchRequestItem_SegmentCommit)(nil),
		(*BatchRequestItem_SegmentMakeInline)(nil),
		(*BatchRequestItem_SegmentBeginDelete)(nil),
		(*BatchRequestItem_SegmentFinishDelete)(nil),
		(*BatchRequestItem_SegmentList)(nil),
		(*BatchRequestItem_SegmentDownload)(nil),
		(*BatchRequestItem_PartDelete)(nil),
		(*BatchRequestItem_RevokeApiKey)(nil),
	}
}

type CompressedBatchResponse struct {
	Selected             CompressedBatchRequest_CompressionType `protobuf:"varint,2,opt,name=selected,proto3,enum=metainfo.CompressedBatchRequest_CompressionType" json:"selected,omitempty"`
	Data                 []byte                                 `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (m *CompressedBatchResponse) Reset()         { *m = CompressedBatchResponse{} }
func (m *CompressedBatchResponse) String() string { return proto.CompactTextString(m) }
func (*CompressedBatchResponse) ProtoMessage()    {}

func (m *CompressedBatchResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CompressedBatchResponse.Unmarshal(m, b)
}
func (m *CompressedBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CompressedBatchResponse.Marshal(b, m, deterministic)
}
func (m *CompressedBatchResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CompressedBatchResponse.Merge(m, src)
}
func (m *CompressedBatchResponse) XXX_Size() int {
	return xxx_messageInfo_CompressedBatchResponse.Size(m)
}
func (m *CompressedBatchResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CompressedBatchResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CompressedBatchResponse proto.InternalMessageInfo

func (m *CompressedBatchResponse) GetSelected() CompressedBatchRequest_CompressionType {
	if m != nil {
		return m.Selected
	}
	return CompressedBatchRequest_NONE
}

func (m *CompressedBatchResponse) GetData() []byte {
	if m != nil {
		return m.Data
	}
	return nil
}

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 (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_BucketGetLocation
	//	*BatchResponseItem_BucketGetVersioning
	//	*BatchResponseItem_BucketSetVersioning
	//	*BatchResponseItem_BucketGetObjectLockConfiguration
	//	*BatchResponseItem_BucketDelete
	//	*BatchResponseItem_BucketList
	//	*BatchResponseItem_ObjectBegin
	//	*BatchResponseItem_ObjectCommit
	//	*BatchResponseItem_ObjectGet
	//	*BatchResponseItem_ObjectList
	//	*BatchResponseItem_ObjectBeginDelete
	//	*BatchResponseItem_ObjectFinishDelete
	//	*BatchResponseItem_ObjectGetIps
	//	*BatchResponseItem_ObjectListPendingStreams
	//	*BatchResponseItem_ObjectDownload
	//	*BatchResponseItem_ObjectUpdateMetadata
	//	*BatchResponseItem_ObjectBeginMove
	//	*BatchResponseItem_ObjectFinishMove
	//	*BatchResponseItem_ObjectBeginCopy
	//	*BatchResponseItem_ObjectFinishCopy
	//	*BatchResponseItem_ObjectGetRetention
	//	*BatchResponseItem_ObjectSetRetention
	//	*BatchResponseItem_SegmentBegin
	//	*BatchResponseItem_SegmentCommit
	//	*BatchResponseItem_SegmentMakeInline
	//	*BatchResponseItem_SegmentBeginDelete
	//	*BatchResponseItem_SegmentFinishDelete
	//	*BatchResponseItem_SegmentList
	//	*BatchResponseItem_SegmentDownload
	//	*BatchResponseItem_PartDelete
	//	*BatchResponseItem_RevokeApiKey
	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 (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 *CreateBucketResponse `protobuf:"bytes,1,opt,name=bucket_create,json=bucketCreate,proto3,oneof" json:"bucket_create,omitempty"`
}
type BatchResponseItem_BucketGet struct {
	BucketGet *GetBucketResponse `protobuf:"bytes,2,opt,name=bucket_get,json=bucketGet,proto3,oneof" json:"bucket_get,omitempty"`
}
type BatchResponseItem_BucketGetLocation struct {
	BucketGetLocation *GetBucketLocationResponse `protobuf:"bytes,30,opt,name=bucket_get_location,json=bucketGetLocation,proto3,oneof" json:"bucket_get_location,omitempty"`
}
type BatchResponseItem_BucketGetVersioning struct {
	BucketGetVersioning *GetBucketVersioningResponse `protobuf:"bytes,31,opt,name=bucket_get_versioning,json=bucketGetVersioning,proto3,oneof" json:"bucket_get_versioning,omitempty"`
}
type BatchResponseItem_BucketSetVersioning struct {
	BucketSetVersioning *SetBucketVersioningResponse `protobuf:"bytes,32,opt,name=bucket_set_versioning,json=bucketSetVersioning,proto3,oneof" json:"bucket_set_versioning,omitempty"`
}
type BatchResponseItem_BucketGetObjectLockConfiguration struct {
	BucketGetObjectLockConfiguration *GetBucketObjectLockConfigurationResponse `protobuf:"bytes,33,opt,name=bucket_get_object_lock_configuration,json=bucketGetObjectLockConfiguration,proto3,oneof" json:"bucket_get_object_lock_configuration,omitempty"`
}
type BatchResponseItem_BucketDelete struct {
	BucketDelete *DeleteBucketResponse `protobuf:"bytes,3,opt,name=bucket_delete,json=bucketDelete,proto3,oneof" json:"bucket_delete,omitempty"`
}
type BatchResponseItem_BucketList struct {
	BucketList *ListBucketsResponse `protobuf:"bytes,4,opt,name=bucket_list,json=bucketList,proto3,oneof" json:"bucket_list,omitempty"`
}
type BatchResponseItem_ObjectBegin struct {
	ObjectBegin *BeginObjectResponse `protobuf:"bytes,6,opt,name=object_begin,json=objectBegin,proto3,oneof" json:"object_begin,omitempty"`
}
type BatchResponseItem_ObjectCommit struct {
	ObjectCommit *CommitObjectResponse `protobuf:"bytes,7,opt,name=object_commit,json=objectCommit,proto3,oneof" json:"object_commit,omitempty"`
}
type BatchResponseItem_ObjectGet struct {
	ObjectGet *GetObjectResponse `protobuf:"bytes,8,opt,name=object_get,json=objectGet,proto3,oneof" json:"object_get,omitempty"`
}
type BatchResponseItem_ObjectList struct {
	ObjectList *ListObjectsResponse `protobuf:"bytes,9,opt,name=object_list,json=objectList,proto3,oneof" json:"object_list,omitempty"`
}
type BatchResponseItem_ObjectBeginDelete struct {
	ObjectBeginDelete *BeginDeleteObjectResponse `protobuf:"bytes,10,opt,name=object_begin_delete,json=objectBeginDelete,proto3,oneof" json:"object_begin_delete,omitempty"`
}
type BatchResponseItem_ObjectFinishDelete struct {
	ObjectFinishDelete *FinishDeleteObjectResponse `protobuf:"bytes,11,opt,name=object_finish_delete,json=objectFinishDelete,proto3,oneof" json:"object_finish_delete,omitempty"`
}
type BatchResponseItem_ObjectGetIps struct {
	ObjectGetIps *GetObjectIPsResponse `protobuf:"bytes,20,opt,name=object_get_ips,json=objectGetIps,proto3,oneof" json:"object_get_ips,omitempty"`
}
type BatchResponseItem_ObjectListPendingStreams struct {
	ObjectListPendingStreams *ListPendingObjectStreamsResponse `protobuf:"bytes,22,opt,name=object_list_pending_streams,json=objectListPendingStreams,proto3,oneof" json:"object_list_pending_streams,omitempty"`
}
type BatchResponseItem_ObjectDownload struct {
	ObjectDownload *DownloadObjectResponse `protobuf:"bytes,23,opt,name=object_download,json=objectDownload,proto3,oneof" json:"object_download,omitempty"`
}
type BatchResponseItem_ObjectUpdateMetadata struct {
	ObjectUpdateMetadata *UpdateObjectMetadataResponse `protobuf:"bytes,24,opt,name=object_update_metadata,json=objectUpdateMetadata,proto3,oneof" json:"object_update_metadata,omitempty"`
}
type BatchResponseItem_ObjectBeginMove struct {
	ObjectBeginMove *BeginMoveObjectResponse `protobuf:"bytes,26,opt,name=object_begin_move,json=objectBeginMove,proto3,oneof" json:"object_begin_move,omitempty"`
}
type BatchResponseItem_ObjectFinishMove struct {
	ObjectFinishMove *FinishMoveObjectResponse `protobuf:"bytes,27,opt,name=object_finish_move,json=objectFinishMove,proto3,oneof" json:"object_finish_move,omitempty"`
}
type BatchResponseItem_ObjectBeginCopy struct {
	ObjectBeginCopy *BeginCopyObjectResponse `protobuf:"bytes,28,opt,name=object_begin_copy,json=objectBeginCopy,proto3,oneof" json:"object_begin_copy,omitempty"`
}
type BatchResponseItem_ObjectFinishCopy struct {
	ObjectFinishCopy *FinishCopyObjectResponse `protobuf:"bytes,29,opt,name=object_finish_copy,json=objectFinishCopy,proto3,oneof" json:"object_finish_copy,omitempty"`
}
type BatchResponseItem_ObjectGetRetention struct {
	ObjectGetRetention *GetObjectRetentionResponse `protobuf:"bytes,34,opt,name=object_get_retention,json=objectGetRetention,proto3,oneof" json:"object_get_retention,omitempty"`
}
type BatchResponseItem_ObjectSetRetention struct {
	ObjectSetRetention *SetObjectRetentionResponse `protobuf:"bytes,35,opt,name=object_set_retention,json=objectSetRetention,proto3,oneof" json:"object_set_retention,omitempty"`
}
type BatchResponseItem_SegmentBegin struct {
	SegmentBegin *BeginSegmentResponse `protobuf:"bytes,12,opt,name=segment_begin,json=segmentBegin,proto3,oneof" json:"segment_begin,omitempty"`
}
type BatchResponseItem_SegmentCommit struct {
	SegmentCommit *CommitSegmentResponse `protobuf:"bytes,13,opt,name=segment_commit,json=segmentCommit,proto3,oneof" json:"segment_commit,omitempty"`
}
type BatchResponseItem_SegmentMakeInline struct {
	SegmentMakeInline *MakeInlineSegmentResponse `protobuf:"bytes,14,opt,name=segment_make_inline,json=segmentMakeInline,proto3,oneof" json:"segment_make_inline,omitempty"`
}
type BatchResponseItem_SegmentBeginDelete struct {
	SegmentBeginDelete *BeginDeleteSegmentResponse `protobuf:"bytes,15,opt,name=segment_begin_delete,json=segmentBeginDelete,proto3,oneof" json:"segment_begin_delete,omitempty"`
}
type BatchResponseItem_SegmentFinishDelete struct {
	SegmentFinishDelete *FinishDeleteSegmentResponse `protobuf:"bytes,16,opt,name=segment_finish_delete,json=segmentFinishDelete,proto3,oneof" json:"segment_finish_delete,omitempty"`
}
type BatchResponseItem_SegmentList struct {
	SegmentList *ListSegmentsResponse `protobuf:"bytes,17,opt,name=segment_list,json=segmentList,proto3,oneof" json:"segment_list,omitempty"`
}
type BatchResponseItem_SegmentDownload struct {
	SegmentDownload *DownloadSegmentResponse `protobuf:"bytes,18,opt,name=segment_download,json=segmentDownload,proto3,oneof" json:"segment_download,omitempty"`
}
type BatchResponseItem_PartDelete struct {
	PartDelete *DeletePartResponse `protobuf:"bytes,25,opt,name=part_delete,json=partDelete,proto3,oneof" json:"part_delete,omitempty"`
}
type BatchResponseItem_RevokeApiKey struct {
	RevokeApiKey *RevokeAPIKeyResponse `protobuf:"bytes,19,opt,name=revoke_api_key,json=revokeApiKey,proto3,oneof" json:"revoke_api_key,omitempty"`
}

func (*BatchResponseItem_BucketCreate) isBatchResponseItem_Response()                     {}
func (*BatchResponseItem_BucketGet) isBatchResponseItem_Response()                        {}
func (*BatchResponseItem_BucketGetLocation) isBatchResponseItem_Response()                {}
func (*BatchResponseItem_BucketGetVersioning) isBatchResponseItem_Response()              {}
func (*BatchResponseItem_BucketSetVersioning) isBatchResponseItem_Response()              {}
func (*BatchResponseItem_BucketGetObjectLockConfiguration) isBatchResponseItem_Response() {}
func (*BatchResponseItem_BucketDelete) isBatchResponseItem_Response()                     {}
func (*BatchResponseItem_BucketList) 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_ObjectGetIps) isBatchResponseItem_Response()                     {}
func (*BatchResponseItem_ObjectListPendingStreams) isBatchResponseItem_Response()         {}
func (*BatchResponseItem_ObjectDownload) isBatchResponseItem_Response()                   {}
func (*BatchResponseItem_ObjectUpdateMetadata) isBatchResponseItem_Response()             {}
func (*BatchResponseItem_ObjectBeginMove) isBatchResponseItem_Response()                  {}
func (*BatchResponseItem_ObjectFinishMove) isBatchResponseItem_Response()                 {}
func (*BatchResponseItem_ObjectBeginCopy) isBatchResponseItem_Response()                  {}
func (*BatchResponseItem_ObjectFinishCopy) isBatchResponseItem_Response()                 {}
func (*BatchResponseItem_ObjectGetRetention) isBatchResponseItem_Response()               {}
func (*BatchResponseItem_ObjectSetRetention) 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 (*BatchResponseItem_PartDelete) isBatchResponseItem_Response()                       {}
func (*BatchResponseItem_RevokeApiKey) isBatchResponseItem_Response()                     {}

func (m *BatchResponseItem) GetResponse() isBatchResponseItem_Response {
	if m != nil {
		return m.Response
	}
	return nil
}

func (m *BatchResponseItem) GetBucketCreate() *CreateBucketResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketCreate); ok {
		return x.BucketCreate
	}
	return nil
}

func (m *BatchResponseItem) GetBucketGet() *GetBucketResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketGet); ok {
		return x.BucketGet
	}
	return nil
}

func (m *BatchResponseItem) GetBucketGetLocation() *GetBucketLocationResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketGetLocation); ok {
		return x.BucketGetLocation
	}
	return nil
}

func (m *BatchResponseItem) GetBucketGetVersioning() *GetBucketVersioningResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketGetVersioning); ok {
		return x.BucketGetVersioning
	}
	return nil
}

func (m *BatchResponseItem) GetBucketSetVersioning() *SetBucketVersioningResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketSetVersioning); ok {
		return x.BucketSetVersioning
	}
	return nil
}

func (m *BatchResponseItem) GetBucketGetObjectLockConfiguration() *GetBucketObjectLockConfigurationResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketGetObjectLockConfiguration); ok {
		return x.BucketGetObjectLockConfiguration
	}
	return nil
}

func (m *BatchResponseItem) GetBucketDelete() *DeleteBucketResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketDelete); ok {
		return x.BucketDelete
	}
	return nil
}

func (m *BatchResponseItem) GetBucketList() *ListBucketsResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_BucketList); ok {
		return x.BucketList
	}
	return nil
}

func (m *BatchResponseItem) GetObjectBegin() *BeginObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectBegin); ok {
		return x.ObjectBegin
	}
	return nil
}

func (m *BatchResponseItem) GetObjectCommit() *CommitObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectCommit); ok {
		return x.ObjectCommit
	}
	return nil
}

func (m *BatchResponseItem) GetObjectGet() *GetObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectGet); ok {
		return x.ObjectGet
	}
	return nil
}

func (m *BatchResponseItem) GetObjectList() *ListObjectsResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectList); ok {
		return x.ObjectList
	}
	return nil
}

func (m *BatchResponseItem) GetObjectBeginDelete() *BeginDeleteObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectBeginDelete); ok {
		return x.ObjectBeginDelete
	}
	return nil
}

func (m *BatchResponseItem) GetObjectFinishDelete() *FinishDeleteObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectFinishDelete); ok {
		return x.ObjectFinishDelete
	}
	return nil
}

func (m *BatchResponseItem) GetObjectGetIps() *GetObjectIPsResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectGetIps); ok {
		return x.ObjectGetIps
	}
	return nil
}

func (m *BatchResponseItem) GetObjectListPendingStreams() *ListPendingObjectStreamsResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectListPendingStreams); ok {
		return x.ObjectListPendingStreams
	}
	return nil
}

func (m *BatchResponseItem) GetObjectDownload() *DownloadObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectDownload); ok {
		return x.ObjectDownload
	}
	return nil
}

func (m *BatchResponseItem) GetObjectUpdateMetadata() *UpdateObjectMetadataResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectUpdateMetadata); ok {
		return x.ObjectUpdateMetadata
	}
	return nil
}

func (m *BatchResponseItem) GetObjectBeginMove() *BeginMoveObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectBeginMove); ok {
		return x.ObjectBeginMove
	}
	return nil
}

func (m *BatchResponseItem) GetObjectFinishMove() *FinishMoveObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectFinishMove); ok {
		return x.ObjectFinishMove
	}
	return nil
}

func (m *BatchResponseItem) GetObjectBeginCopy() *BeginCopyObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectBeginCopy); ok {
		return x.ObjectBeginCopy
	}
	return nil
}

func (m *BatchResponseItem) GetObjectFinishCopy() *FinishCopyObjectResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectFinishCopy); ok {
		return x.ObjectFinishCopy
	}
	return nil
}

func (m *BatchResponseItem) GetObjectGetRetention() *GetObjectRetentionResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectGetRetention); ok {
		return x.ObjectGetRetention
	}
	return nil
}

func (m *BatchResponseItem) GetObjectSetRetention() *SetObjectRetentionResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_ObjectSetRetention); ok {
		return x.ObjectSetRetention
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentBegin() *BeginSegmentResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentBegin); ok {
		return x.SegmentBegin
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentCommit() *CommitSegmentResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentCommit); ok {
		return x.SegmentCommit
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentMakeInline() *MakeInlineSegmentResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentMakeInline); ok {
		return x.SegmentMakeInline
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentBeginDelete() *BeginDeleteSegmentResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentBeginDelete); ok {
		return x.SegmentBeginDelete
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentFinishDelete() *FinishDeleteSegmentResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentFinishDelete); ok {
		return x.SegmentFinishDelete
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentList() *ListSegmentsResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentList); ok {
		return x.SegmentList
	}
	return nil
}

func (m *BatchResponseItem) GetSegmentDownload() *DownloadSegmentResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_SegmentDownload); ok {
		return x.SegmentDownload
	}
	return nil
}

func (m *BatchResponseItem) GetPartDelete() *DeletePartResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_PartDelete); ok {
		return x.PartDelete
	}
	return nil
}

func (m *BatchResponseItem) GetRevokeApiKey() *RevokeAPIKeyResponse {
	if x, ok := m.GetResponse().(*BatchResponseItem_RevokeApiKey); ok {
		return x.RevokeApiKey
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*BatchResponseItem) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*BatchResponseItem_BucketCreate)(nil),
		(*BatchResponseItem_BucketGet)(nil),
		(*BatchResponseItem_BucketGetLocation)(nil),
		(*BatchResponseItem_BucketGetVersioning)(nil),
		(*BatchResponseItem_BucketSetVersioning)(nil),
		(*BatchResponseItem_BucketGetObjectLockConfiguration)(nil),
		(*BatchResponseItem_BucketDelete)(nil),
		(*BatchResponseItem_BucketList)(nil),
		(*BatchResponseItem_ObjectBegin)(nil),
		(*BatchResponseItem_ObjectCommit)(nil),
		(*BatchResponseItem_ObjectGet)(nil),
		(*BatchResponseItem_ObjectList)(nil),
		(*BatchResponseItem_ObjectBeginDelete)(nil),
		(*BatchResponseItem_ObjectFinishDelete)(nil),
		(*BatchResponseItem_ObjectGetIps)(nil),
		(*BatchResponseItem_ObjectListPendingStreams)(nil),
		(*BatchResponseItem_ObjectDownload)(nil),
		(*BatchResponseItem_ObjectUpdateMetadata)(nil),
		(*BatchResponseItem_ObjectBeginMove)(nil),
		(*BatchResponseItem_ObjectFinishMove)(nil),
		(*BatchResponseItem_ObjectBeginCopy)(nil),
		(*BatchResponseItem_ObjectFinishCopy)(nil),
		(*BatchResponseItem_ObjectGetRetention)(nil),
		(*BatchResponseItem_ObjectSetRetention)(nil),
		(*BatchResponseItem_SegmentBegin)(nil),
		(*BatchResponseItem_SegmentCommit)(nil),
		(*BatchResponseItem_SegmentMakeInline)(nil),
		(*BatchResponseItem_SegmentBeginDelete)(nil),
		(*BatchResponseItem_SegmentFinishDelete)(nil),
		(*BatchResponseItem_SegmentList)(nil),
		(*BatchResponseItem_SegmentDownload)(nil),
		(*BatchResponseItem_PartDelete)(nil),
		(*BatchResponseItem_RevokeApiKey)(nil),
	}
}

type RevokeAPIKeyRequest struct {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	ApiKey               []byte         `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *RevokeAPIKeyRequest) Reset()         { *m = RevokeAPIKeyRequest{} }
func (m *RevokeAPIKeyRequest) String() string { return proto.CompactTextString(m) }
func (*RevokeAPIKeyRequest) ProtoMessage()    {}

func (m *RevokeAPIKeyRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RevokeAPIKeyRequest.Unmarshal(m, b)
}
func (m *RevokeAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RevokeAPIKeyRequest.Marshal(b, m, deterministic)
}
func (m *RevokeAPIKeyRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RevokeAPIKeyRequest.Merge(m, src)
}
func (m *RevokeAPIKeyRequest) XXX_Size() int {
	return xxx_messageInfo_RevokeAPIKeyRequest.Size(m)
}
func (m *RevokeAPIKeyRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RevokeAPIKeyRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RevokeAPIKeyRequest proto.InternalMessageInfo

func (m *RevokeAPIKeyRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *RevokeAPIKeyRequest) GetApiKey() []byte {
	if m != nil {
		return m.ApiKey
	}
	return nil
}

type RevokeAPIKeyResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RevokeAPIKeyResponse) Reset()         { *m = RevokeAPIKeyResponse{} }
func (m *RevokeAPIKeyResponse) String() string { return proto.CompactTextString(m) }
func (*RevokeAPIKeyResponse) ProtoMessage()    {}

func (m *RevokeAPIKeyResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RevokeAPIKeyResponse.Unmarshal(m, b)
}
func (m *RevokeAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RevokeAPIKeyResponse.Marshal(b, m, deterministic)
}
func (m *RevokeAPIKeyResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RevokeAPIKeyResponse.Merge(m, src)
}
func (m *RevokeAPIKeyResponse) XXX_Size() int {
	return xxx_messageInfo_RevokeAPIKeyResponse.Size(m)
}
func (m *RevokeAPIKeyResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RevokeAPIKeyResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RevokeAPIKeyResponse proto.InternalMessageInfo

// Server side move.
// Has the same fields as copy.
type BeginMoveObjectRequest 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"`
	EncryptedObjectKey    []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	NewBucket             []byte         `protobuf:"bytes,3,opt,name=new_bucket,json=newBucket,proto3" json:"new_bucket,omitempty"`
	NewEncryptedObjectKey []byte         `protobuf:"bytes,4,opt,name=new_encrypted_object_key,json=newEncryptedObjectKey,proto3" json:"new_encrypted_object_key,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}       `json:"-"`
	XXX_unrecognized      []byte         `json:"-"`
	XXX_sizecache         int32          `json:"-"`
}

func (m *BeginMoveObjectRequest) Reset()         { *m = BeginMoveObjectRequest{} }
func (m *BeginMoveObjectRequest) String() string { return proto.CompactTextString(m) }
func (*BeginMoveObjectRequest) ProtoMessage()    {}

func (m *BeginMoveObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginMoveObjectRequest.Unmarshal(m, b)
}
func (m *BeginMoveObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginMoveObjectRequest.Marshal(b, m, deterministic)
}
func (m *BeginMoveObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginMoveObjectRequest.Merge(m, src)
}
func (m *BeginMoveObjectRequest) XXX_Size() int {
	return xxx_messageInfo_BeginMoveObjectRequest.Size(m)
}
func (m *BeginMoveObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginMoveObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_BeginMoveObjectRequest proto.InternalMessageInfo

func (m *BeginMoveObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *BeginMoveObjectRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *BeginMoveObjectRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *BeginMoveObjectRequest) GetNewBucket() []byte {
	if m != nil {
		return m.NewBucket
	}
	return nil
}

func (m *BeginMoveObjectRequest) GetNewEncryptedObjectKey() []byte {
	if m != nil {
		return m.NewEncryptedObjectKey
	}
	return nil
}

type BeginMoveObjectResponse struct {
	StreamId                  StreamID                `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	EncryptedMetadataKeyNonce Nonce                   `protobuf:"bytes,2,opt,name=encrypted_metadata_key_nonce,json=encryptedMetadataKeyNonce,proto3,customtype=Nonce" json:"encrypted_metadata_key_nonce"`
	EncryptedMetadataKey      []byte                  `protobuf:"bytes,3,opt,name=encrypted_metadata_key,json=encryptedMetadataKey,proto3" json:"encrypted_metadata_key,omitempty"`
	SegmentKeys               []*EncryptedKeyAndNonce `protobuf:"bytes,4,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"`
	EncryptionParameters      *EncryptionParameters   `protobuf:"bytes,5,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
	XXX_NoUnkeyedLiteral      struct{}                `json:"-"`
	XXX_unrecognized          []byte                  `json:"-"`
	XXX_sizecache             int32                   `json:"-"`
}

func (m *BeginMoveObjectResponse) Reset()         { *m = BeginMoveObjectResponse{} }
func (m *BeginMoveObjectResponse) String() string { return proto.CompactTextString(m) }
func (*BeginMoveObjectResponse) ProtoMessage()    {}

func (m *BeginMoveObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginMoveObjectResponse.Unmarshal(m, b)
}
func (m *BeginMoveObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginMoveObjectResponse.Marshal(b, m, deterministic)
}
func (m *BeginMoveObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginMoveObjectResponse.Merge(m, src)
}
func (m *BeginMoveObjectResponse) XXX_Size() int {
	return xxx_messageInfo_BeginMoveObjectResponse.Size(m)
}
func (m *BeginMoveObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginMoveObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BeginMoveObjectResponse proto.InternalMessageInfo

func (m *BeginMoveObjectResponse) GetEncryptedMetadataKey() []byte {
	if m != nil {
		return m.EncryptedMetadataKey
	}
	return nil
}

func (m *BeginMoveObjectResponse) GetSegmentKeys() []*EncryptedKeyAndNonce {
	if m != nil {
		return m.SegmentKeys
	}
	return nil
}

func (m *BeginMoveObjectResponse) GetEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.EncryptionParameters
	}
	return nil
}

type FinishMoveObjectRequest 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"`
	NewBucket                    []byte                  `protobuf:"bytes,6,opt,name=new_bucket,json=newBucket,proto3" json:"new_bucket,omitempty"`
	NewEncryptedObjectKey        []byte                  `protobuf:"bytes,2,opt,name=new_encrypted_object_key,json=newEncryptedObjectKey,proto3" json:"new_encrypted_object_key,omitempty"`
	NewEncryptedMetadataKeyNonce Nonce                   `protobuf:"bytes,3,opt,name=new_encrypted_metadata_key_nonce,json=newEncryptedMetadataKeyNonce,proto3,customtype=Nonce" json:"new_encrypted_metadata_key_nonce"`
	NewEncryptedMetadataKey      []byte                  `protobuf:"bytes,4,opt,name=new_encrypted_metadata_key,json=newEncryptedMetadataKey,proto3" json:"new_encrypted_metadata_key,omitempty"`
	NewSegmentKeys               []*EncryptedKeyAndNonce `protobuf:"bytes,5,rep,name=new_segment_keys,json=newSegmentKeys,proto3" json:"new_segment_keys,omitempty"`
	Retention                    *Retention              `protobuf:"bytes,7,opt,name=retention,proto3" json:"retention,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}                `json:"-"`
	XXX_unrecognized             []byte                  `json:"-"`
	XXX_sizecache                int32                   `json:"-"`
}

func (m *FinishMoveObjectRequest) Reset()         { *m = FinishMoveObjectRequest{} }
func (m *FinishMoveObjectRequest) String() string { return proto.CompactTextString(m) }
func (*FinishMoveObjectRequest) ProtoMessage()    {}

func (m *FinishMoveObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishMoveObjectRequest.Unmarshal(m, b)
}
func (m *FinishMoveObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishMoveObjectRequest.Marshal(b, m, deterministic)
}
func (m *FinishMoveObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishMoveObjectRequest.Merge(m, src)
}
func (m *FinishMoveObjectRequest) XXX_Size() int {
	return xxx_messageInfo_FinishMoveObjectRequest.Size(m)
}
func (m *FinishMoveObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishMoveObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_FinishMoveObjectRequest proto.InternalMessageInfo

func (m *FinishMoveObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *FinishMoveObjectRequest) GetNewBucket() []byte {
	if m != nil {
		return m.NewBucket
	}
	return nil
}

func (m *FinishMoveObjectRequest) GetNewEncryptedObjectKey() []byte {
	if m != nil {
		return m.NewEncryptedObjectKey
	}
	return nil
}

func (m *FinishMoveObjectRequest) GetNewEncryptedMetadataKey() []byte {
	if m != nil {
		return m.NewEncryptedMetadataKey
	}
	return nil
}

func (m *FinishMoveObjectRequest) GetNewSegmentKeys() []*EncryptedKeyAndNonce {
	if m != nil {
		return m.NewSegmentKeys
	}
	return nil
}

func (m *FinishMoveObjectRequest) GetRetention() *Retention {
	if m != nil {
		return m.Retention
	}
	return nil
}

type FinishMoveObjectResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *FinishMoveObjectResponse) Reset()         { *m = FinishMoveObjectResponse{} }
func (m *FinishMoveObjectResponse) String() string { return proto.CompactTextString(m) }
func (*FinishMoveObjectResponse) ProtoMessage()    {}

func (m *FinishMoveObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishMoveObjectResponse.Unmarshal(m, b)
}
func (m *FinishMoveObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishMoveObjectResponse.Marshal(b, m, deterministic)
}
func (m *FinishMoveObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishMoveObjectResponse.Merge(m, src)
}
func (m *FinishMoveObjectResponse) XXX_Size() int {
	return xxx_messageInfo_FinishMoveObjectResponse.Size(m)
}
func (m *FinishMoveObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishMoveObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_FinishMoveObjectResponse proto.InternalMessageInfo

// Server side copy.
type BeginCopyObjectRequest 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"`
	EncryptedObjectKey    []byte         `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
	ObjectVersion         []byte         `protobuf:"bytes,5,opt,name=object_version,json=objectVersion,proto3" json:"object_version,omitempty"`
	NewBucket             []byte         `protobuf:"bytes,3,opt,name=new_bucket,json=newBucket,proto3" json:"new_bucket,omitempty"`
	NewEncryptedObjectKey []byte         `protobuf:"bytes,4,opt,name=new_encrypted_object_key,json=newEncryptedObjectKey,proto3" json:"new_encrypted_object_key,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}       `json:"-"`
	XXX_unrecognized      []byte         `json:"-"`
	XXX_sizecache         int32          `json:"-"`
}

func (m *BeginCopyObjectRequest) Reset()         { *m = BeginCopyObjectRequest{} }
func (m *BeginCopyObjectRequest) String() string { return proto.CompactTextString(m) }
func (*BeginCopyObjectRequest) ProtoMessage()    {}

func (m *BeginCopyObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginCopyObjectRequest.Unmarshal(m, b)
}
func (m *BeginCopyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginCopyObjectRequest.Marshal(b, m, deterministic)
}
func (m *BeginCopyObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginCopyObjectRequest.Merge(m, src)
}
func (m *BeginCopyObjectRequest) XXX_Size() int {
	return xxx_messageInfo_BeginCopyObjectRequest.Size(m)
}
func (m *BeginCopyObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginCopyObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_BeginCopyObjectRequest proto.InternalMessageInfo

func (m *BeginCopyObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *BeginCopyObjectRequest) GetBucket() []byte {
	if m != nil {
		return m.Bucket
	}
	return nil
}

func (m *BeginCopyObjectRequest) GetEncryptedObjectKey() []byte {
	if m != nil {
		return m.EncryptedObjectKey
	}
	return nil
}

func (m *BeginCopyObjectRequest) GetObjectVersion() []byte {
	if m != nil {
		return m.ObjectVersion
	}
	return nil
}

func (m *BeginCopyObjectRequest) GetNewBucket() []byte {
	if m != nil {
		return m.NewBucket
	}
	return nil
}

func (m *BeginCopyObjectRequest) GetNewEncryptedObjectKey() []byte {
	if m != nil {
		return m.NewEncryptedObjectKey
	}
	return nil
}

// The satellite returns metadata of the source object,
// so that the client can re-encrypt it and re-submit it for the destination object.
type BeginCopyObjectResponse struct {
	StreamId                  StreamID                `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	EncryptedMetadataKeyNonce Nonce                   `protobuf:"bytes,2,opt,name=encrypted_metadata_key_nonce,json=encryptedMetadataKeyNonce,proto3,customtype=Nonce" json:"encrypted_metadata_key_nonce"`
	EncryptedMetadataKey      []byte                  `protobuf:"bytes,3,opt,name=encrypted_metadata_key,json=encryptedMetadataKey,proto3" json:"encrypted_metadata_key,omitempty"`
	SegmentKeys               []*EncryptedKeyAndNonce `protobuf:"bytes,4,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"`
	EncryptionParameters      *EncryptionParameters   `protobuf:"bytes,5,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
	XXX_NoUnkeyedLiteral      struct{}                `json:"-"`
	XXX_unrecognized          []byte                  `json:"-"`
	XXX_sizecache             int32                   `json:"-"`
}

func (m *BeginCopyObjectResponse) Reset()         { *m = BeginCopyObjectResponse{} }
func (m *BeginCopyObjectResponse) String() string { return proto.CompactTextString(m) }
func (*BeginCopyObjectResponse) ProtoMessage()    {}

func (m *BeginCopyObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BeginCopyObjectResponse.Unmarshal(m, b)
}
func (m *BeginCopyObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BeginCopyObjectResponse.Marshal(b, m, deterministic)
}
func (m *BeginCopyObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BeginCopyObjectResponse.Merge(m, src)
}
func (m *BeginCopyObjectResponse) XXX_Size() int {
	return xxx_messageInfo_BeginCopyObjectResponse.Size(m)
}
func (m *BeginCopyObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BeginCopyObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BeginCopyObjectResponse proto.InternalMessageInfo

func (m *BeginCopyObjectResponse) GetEncryptedMetadataKey() []byte {
	if m != nil {
		return m.EncryptedMetadataKey
	}
	return nil
}

func (m *BeginCopyObjectResponse) GetSegmentKeys() []*EncryptedKeyAndNonce {
	if m != nil {
		return m.SegmentKeys
	}
	return nil
}

func (m *BeginCopyObjectResponse) GetEncryptionParameters() *EncryptionParameters {
	if m != nil {
		return m.EncryptionParameters
	}
	return nil
}

// Uplink uploads the newly encrypted metadata for the destination
// object, so that the satellite can finish the copy.
type FinishCopyObjectRequest struct {
	Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	// Stream ID of source object
	StreamId StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	// Newly encrypted data of the copy destination
	NewBucket             []byte     `protobuf:"bytes,2,opt,name=new_bucket,json=newBucket,proto3" json:"new_bucket,omitempty"`
	NewEncryptedObjectKey []byte     `protobuf:"bytes,3,opt,name=new_encrypted_object_key,json=newEncryptedObjectKey,proto3" json:"new_encrypted_object_key,omitempty"`
	NewObjectVersion      []byte     `protobuf:"bytes,9,opt,name=new_object_version,json=newObjectVersion,proto3" json:"new_object_version,omitempty"`
	Retention             *Retention `protobuf:"bytes,10,opt,name=retention,proto3" json:"retention,omitempty"`
	// if false, keep existing metadata by ignoring 'new_encrypted_metadata'
	OverrideMetadata             bool                    `protobuf:"varint,8,opt,name=override_metadata,json=overrideMetadata,proto3" json:"override_metadata,omitempty"`
	NewEncryptedMetadata         []byte                  `protobuf:"bytes,7,opt,name=new_encrypted_metadata,json=newEncryptedMetadata,proto3" json:"new_encrypted_metadata,omitempty"`
	NewEncryptedMetadataKeyNonce Nonce                   `protobuf:"bytes,4,opt,name=new_encrypted_metadata_key_nonce,json=newEncryptedMetadataKeyNonce,proto3,customtype=Nonce" json:"new_encrypted_metadata_key_nonce"`
	NewEncryptedMetadataKey      []byte                  `protobuf:"bytes,5,opt,name=new_encrypted_metadata_key,json=newEncryptedMetadataKey,proto3" json:"new_encrypted_metadata_key,omitempty"`
	NewSegmentKeys               []*EncryptedKeyAndNonce `protobuf:"bytes,6,rep,name=new_segment_keys,json=newSegmentKeys,proto3" json:"new_segment_keys,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}                `json:"-"`
	XXX_unrecognized             []byte                  `json:"-"`
	XXX_sizecache                int32                   `json:"-"`
}

func (m *FinishCopyObjectRequest) Reset()         { *m = FinishCopyObjectRequest{} }
func (m *FinishCopyObjectRequest) String() string { return proto.CompactTextString(m) }
func (*FinishCopyObjectRequest) ProtoMessage()    {}

func (m *FinishCopyObjectRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishCopyObjectRequest.Unmarshal(m, b)
}
func (m *FinishCopyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishCopyObjectRequest.Marshal(b, m, deterministic)
}
func (m *FinishCopyObjectRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishCopyObjectRequest.Merge(m, src)
}
func (m *FinishCopyObjectRequest) XXX_Size() int {
	return xxx_messageInfo_FinishCopyObjectRequest.Size(m)
}
func (m *FinishCopyObjectRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishCopyObjectRequest.DiscardUnknown(m)
}

var xxx_messageInfo_FinishCopyObjectRequest proto.InternalMessageInfo

func (m *FinishCopyObjectRequest) GetHeader() *RequestHeader {
	if m != nil {
		return m.Header
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetNewBucket() []byte {
	if m != nil {
		return m.NewBucket
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetNewEncryptedObjectKey() []byte {
	if m != nil {
		return m.NewEncryptedObjectKey
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetNewObjectVersion() []byte {
	if m != nil {
		return m.NewObjectVersion
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetRetention() *Retention {
	if m != nil {
		return m.Retention
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetOverrideMetadata() bool {
	if m != nil {
		return m.OverrideMetadata
	}
	return false
}

func (m *FinishCopyObjectRequest) GetNewEncryptedMetadata() []byte {
	if m != nil {
		return m.NewEncryptedMetadata
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetNewEncryptedMetadataKey() []byte {
	if m != nil {
		return m.NewEncryptedMetadataKey
	}
	return nil
}

func (m *FinishCopyObjectRequest) GetNewSegmentKeys() []*EncryptedKeyAndNonce {
	if m != nil {
		return m.NewSegmentKeys
	}
	return nil
}

type FinishCopyObjectResponse 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 *FinishCopyObjectResponse) Reset()         { *m = FinishCopyObjectResponse{} }
func (m *FinishCopyObjectResponse) String() string { return proto.CompactTextString(m) }
func (*FinishCopyObjectResponse) ProtoMessage()    {}

func (m *FinishCopyObjectResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FinishCopyObjectResponse.Unmarshal(m, b)
}
func (m *FinishCopyObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FinishCopyObjectResponse.Marshal(b, m, deterministic)
}
func (m *FinishCopyObjectResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FinishCopyObjectResponse.Merge(m, src)
}
func (m *FinishCopyObjectResponse) XXX_Size() int {
	return xxx_messageInfo_FinishCopyObjectResponse.Size(m)
}
func (m *FinishCopyObjectResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_FinishCopyObjectResponse.DiscardUnknown(m)
}

var xxx_messageInfo_FinishCopyObjectResponse proto.InternalMessageInfo

func (m *FinishCopyObjectResponse) GetObject() *Object {
	if m != nil {
		return m.Object
	}
	return nil
}

type EncryptedKeyAndNonce struct {
	Position             *SegmentPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *EncryptedKeyAndNonce) Reset()         { *m = EncryptedKeyAndNonce{} }
func (m *EncryptedKeyAndNonce) String() string { return proto.CompactTextString(m) }
func (*EncryptedKeyAndNonce) ProtoMessage()    {}

func (m *EncryptedKeyAndNonce) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_EncryptedKeyAndNonce.Unmarshal(m, b)
}
func (m *EncryptedKeyAndNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_EncryptedKeyAndNonce.Marshal(b, m, deterministic)
}
func (m *EncryptedKeyAndNonce) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EncryptedKeyAndNonce.Merge(m, src)
}
func (m *EncryptedKeyAndNonce) XXX_Size() int {
	return xxx_messageInfo_EncryptedKeyAndNonce.Size(m)
}
func (m *EncryptedKeyAndNonce) XXX_DiscardUnknown() {
	xxx_messageInfo_EncryptedKeyAndNonce.DiscardUnknown(m)
}

var xxx_messageInfo_EncryptedKeyAndNonce proto.InternalMessageInfo

func (m *EncryptedKeyAndNonce) GetPosition() *SegmentPosition {
	if m != nil {
		return m.Position
	}
	return nil
}

func (m *EncryptedKeyAndNonce) GetEncryptedKey() []byte {
	if m != nil {
		return m.EncryptedKey
	}
	return nil
}
