storj/pkg/pb/metainfo.pb.go
Jess G ea55ae63e3
add bucket metainfo rpc (#2383)
* add bucket metainfo rpc

* updates per design doc

* rm bucketmeta rpc

* add changes per comments

* update Bucket name since same name already exists

* add placeholder methods to fulfill pb.MetainfoServer interface

* update proto lock

* add bucketListItem message

* why failing lint?

* add back ciphersuite but with correct types

* fix proto errs

* update time type

* add proto lock

* rm unneeded import

* update protolock package
2019-07-01 15:17:30 -07:00

2066 lines
79 KiB
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: metainfo.proto
package pb
import (
context "context"
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
grpc "google.golang.org/grpc"
math "math"
time "time"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var _ = time.Kitchen
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type BucketItem struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
PathCipher *CipherSuite `protobuf:"bytes,2,opt,name=path_cipher,json=pathCipher,proto3" json:"path_cipher,omitempty"`
AttributionId []byte `protobuf:"bytes,3,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
CreatedAt time.Time `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
DefaultSegmentSize int64 `protobuf:"varint,5,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
DefaultRedundancyScheme *RedundancyScheme `protobuf:"bytes,6,opt,name=default_redundancy_scheme,json=defaultRedundancyScheme,proto3" json:"default_redundancy_scheme,omitempty"`
DefaultEncryptionParameters *EncryptionParameters `protobuf:"bytes,7,opt,name=default_encryption_parameters,json=defaultEncryptionParameters,proto3" json:"default_encryption_parameters,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketItem) Reset() { *m = BucketItem{} }
func (m *BucketItem) String() string { return proto.CompactTextString(m) }
func (*BucketItem) ProtoMessage() {}
func (*BucketItem) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{0}
}
func (m *BucketItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketItem.Unmarshal(m, b)
}
func (m *BucketItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketItem.Marshal(b, m, deterministic)
}
func (m *BucketItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketItem.Merge(m, src)
}
func (m *BucketItem) XXX_Size() int {
return xxx_messageInfo_BucketItem.Size(m)
}
func (m *BucketItem) XXX_DiscardUnknown() {
xxx_messageInfo_BucketItem.DiscardUnknown(m)
}
var xxx_messageInfo_BucketItem proto.InternalMessageInfo
func (m *BucketItem) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *BucketItem) GetPathCipher() *CipherSuite {
if m != nil {
return m.PathCipher
}
return nil
}
func (m *BucketItem) GetAttributionId() []byte {
if m != nil {
return m.AttributionId
}
return nil
}
func (m *BucketItem) GetCreatedAt() time.Time {
if m != nil {
return m.CreatedAt
}
return time.Time{}
}
func (m *BucketItem) GetDefaultSegmentSize() int64 {
if m != nil {
return m.DefaultSegmentSize
}
return 0
}
func (m *BucketItem) GetDefaultRedundancyScheme() *RedundancyScheme {
if m != nil {
return m.DefaultRedundancyScheme
}
return nil
}
func (m *BucketItem) GetDefaultEncryptionParameters() *EncryptionParameters {
if m != nil {
return m.DefaultEncryptionParameters
}
return nil
}
type BucketListItem struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreatedAt time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketListItem) Reset() { *m = BucketListItem{} }
func (m *BucketListItem) String() string { return proto.CompactTextString(m) }
func (*BucketListItem) ProtoMessage() {}
func (*BucketListItem) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{1}
}
func (m *BucketListItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketListItem.Unmarshal(m, b)
}
func (m *BucketListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketListItem.Marshal(b, m, deterministic)
}
func (m *BucketListItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketListItem.Merge(m, src)
}
func (m *BucketListItem) XXX_Size() int {
return xxx_messageInfo_BucketListItem.Size(m)
}
func (m *BucketListItem) XXX_DiscardUnknown() {
xxx_messageInfo_BucketListItem.DiscardUnknown(m)
}
var xxx_messageInfo_BucketListItem proto.InternalMessageInfo
func (m *BucketListItem) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *BucketListItem) GetCreatedAt() time.Time {
if m != nil {
return m.CreatedAt
}
return time.Time{}
}
type BucketCreateRequest struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
PathCipher *CipherSuite `protobuf:"bytes,2,opt,name=path_cipher,json=pathCipher,proto3" json:"path_cipher,omitempty"`
AttributionId []byte `protobuf:"bytes,3,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
DefaultSegmentSize int64 `protobuf:"varint,4,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
DefaultRedundancyScheme *RedundancyScheme `protobuf:"bytes,5,opt,name=default_redundancy_scheme,json=defaultRedundancyScheme,proto3" json:"default_redundancy_scheme,omitempty"`
DefaultEncryptionParameters *EncryptionParameters `protobuf:"bytes,6,opt,name=default_encryption_parameters,json=defaultEncryptionParameters,proto3" json:"default_encryption_parameters,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketCreateRequest) Reset() { *m = BucketCreateRequest{} }
func (m *BucketCreateRequest) String() string { return proto.CompactTextString(m) }
func (*BucketCreateRequest) ProtoMessage() {}
func (*BucketCreateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{2}
}
func (m *BucketCreateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketCreateRequest.Unmarshal(m, b)
}
func (m *BucketCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketCreateRequest.Marshal(b, m, deterministic)
}
func (m *BucketCreateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketCreateRequest.Merge(m, src)
}
func (m *BucketCreateRequest) XXX_Size() int {
return xxx_messageInfo_BucketCreateRequest.Size(m)
}
func (m *BucketCreateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BucketCreateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BucketCreateRequest proto.InternalMessageInfo
func (m *BucketCreateRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *BucketCreateRequest) GetPathCipher() *CipherSuite {
if m != nil {
return m.PathCipher
}
return nil
}
func (m *BucketCreateRequest) GetAttributionId() []byte {
if m != nil {
return m.AttributionId
}
return nil
}
func (m *BucketCreateRequest) GetDefaultSegmentSize() int64 {
if m != nil {
return m.DefaultSegmentSize
}
return 0
}
func (m *BucketCreateRequest) GetDefaultRedundancyScheme() *RedundancyScheme {
if m != nil {
return m.DefaultRedundancyScheme
}
return nil
}
func (m *BucketCreateRequest) GetDefaultEncryptionParameters() *EncryptionParameters {
if m != nil {
return m.DefaultEncryptionParameters
}
return nil
}
type BucketCreateResponse struct {
Bucket *BucketItem `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketCreateResponse) Reset() { *m = BucketCreateResponse{} }
func (m *BucketCreateResponse) String() string { return proto.CompactTextString(m) }
func (*BucketCreateResponse) ProtoMessage() {}
func (*BucketCreateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{3}
}
func (m *BucketCreateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketCreateResponse.Unmarshal(m, b)
}
func (m *BucketCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketCreateResponse.Marshal(b, m, deterministic)
}
func (m *BucketCreateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketCreateResponse.Merge(m, src)
}
func (m *BucketCreateResponse) XXX_Size() int {
return xxx_messageInfo_BucketCreateResponse.Size(m)
}
func (m *BucketCreateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BucketCreateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BucketCreateResponse proto.InternalMessageInfo
func (m *BucketCreateResponse) GetBucket() *BucketItem {
if m != nil {
return m.Bucket
}
return nil
}
type BucketGetRequest struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketGetRequest) Reset() { *m = BucketGetRequest{} }
func (m *BucketGetRequest) String() string { return proto.CompactTextString(m) }
func (*BucketGetRequest) ProtoMessage() {}
func (*BucketGetRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{4}
}
func (m *BucketGetRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketGetRequest.Unmarshal(m, b)
}
func (m *BucketGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketGetRequest.Marshal(b, m, deterministic)
}
func (m *BucketGetRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketGetRequest.Merge(m, src)
}
func (m *BucketGetRequest) XXX_Size() int {
return xxx_messageInfo_BucketGetRequest.Size(m)
}
func (m *BucketGetRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BucketGetRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BucketGetRequest proto.InternalMessageInfo
func (m *BucketGetRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
type BucketGetResponse struct {
Bucket *BucketItem `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketGetResponse) Reset() { *m = BucketGetResponse{} }
func (m *BucketGetResponse) String() string { return proto.CompactTextString(m) }
func (*BucketGetResponse) ProtoMessage() {}
func (*BucketGetResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{5}
}
func (m *BucketGetResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketGetResponse.Unmarshal(m, b)
}
func (m *BucketGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketGetResponse.Marshal(b, m, deterministic)
}
func (m *BucketGetResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketGetResponse.Merge(m, src)
}
func (m *BucketGetResponse) XXX_Size() int {
return xxx_messageInfo_BucketGetResponse.Size(m)
}
func (m *BucketGetResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BucketGetResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BucketGetResponse proto.InternalMessageInfo
func (m *BucketGetResponse) GetBucket() *BucketItem {
if m != nil {
return m.Bucket
}
return nil
}
type BucketDeleteRequest struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketDeleteRequest) Reset() { *m = BucketDeleteRequest{} }
func (m *BucketDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*BucketDeleteRequest) ProtoMessage() {}
func (*BucketDeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{6}
}
func (m *BucketDeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketDeleteRequest.Unmarshal(m, b)
}
func (m *BucketDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketDeleteRequest.Marshal(b, m, deterministic)
}
func (m *BucketDeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketDeleteRequest.Merge(m, src)
}
func (m *BucketDeleteRequest) XXX_Size() int {
return xxx_messageInfo_BucketDeleteRequest.Size(m)
}
func (m *BucketDeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BucketDeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BucketDeleteRequest proto.InternalMessageInfo
func (m *BucketDeleteRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
type BucketDeleteResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketDeleteResponse) Reset() { *m = BucketDeleteResponse{} }
func (m *BucketDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*BucketDeleteResponse) ProtoMessage() {}
func (*BucketDeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{7}
}
func (m *BucketDeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketDeleteResponse.Unmarshal(m, b)
}
func (m *BucketDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketDeleteResponse.Marshal(b, m, deterministic)
}
func (m *BucketDeleteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketDeleteResponse.Merge(m, src)
}
func (m *BucketDeleteResponse) XXX_Size() int {
return xxx_messageInfo_BucketDeleteResponse.Size(m)
}
func (m *BucketDeleteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BucketDeleteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BucketDeleteResponse proto.InternalMessageInfo
type BucketListRequest struct {
Cursor []byte `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketListRequest) Reset() { *m = BucketListRequest{} }
func (m *BucketListRequest) String() string { return proto.CompactTextString(m) }
func (*BucketListRequest) ProtoMessage() {}
func (*BucketListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{8}
}
func (m *BucketListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketListRequest.Unmarshal(m, b)
}
func (m *BucketListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketListRequest.Marshal(b, m, deterministic)
}
func (m *BucketListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketListRequest.Merge(m, src)
}
func (m *BucketListRequest) XXX_Size() int {
return xxx_messageInfo_BucketListRequest.Size(m)
}
func (m *BucketListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BucketListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BucketListRequest proto.InternalMessageInfo
func (m *BucketListRequest) GetCursor() []byte {
if m != nil {
return m.Cursor
}
return nil
}
func (m *BucketListRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
type BucketListResponse struct {
Items []*BucketListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketListResponse) Reset() { *m = BucketListResponse{} }
func (m *BucketListResponse) String() string { return proto.CompactTextString(m) }
func (*BucketListResponse) ProtoMessage() {}
func (*BucketListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{9}
}
func (m *BucketListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketListResponse.Unmarshal(m, b)
}
func (m *BucketListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketListResponse.Marshal(b, m, deterministic)
}
func (m *BucketListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketListResponse.Merge(m, src)
}
func (m *BucketListResponse) XXX_Size() int {
return xxx_messageInfo_BucketListResponse.Size(m)
}
func (m *BucketListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BucketListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BucketListResponse proto.InternalMessageInfo
func (m *BucketListResponse) GetItems() []*BucketListItem {
if m != nil {
return m.Items
}
return nil
}
func (m *BucketListResponse) GetMore() bool {
if m != nil {
return m.More
}
return false
}
type BucketSetAttributionRequest struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
AttributionId []byte `protobuf:"bytes,2,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketSetAttributionRequest) Reset() { *m = BucketSetAttributionRequest{} }
func (m *BucketSetAttributionRequest) String() string { return proto.CompactTextString(m) }
func (*BucketSetAttributionRequest) ProtoMessage() {}
func (*BucketSetAttributionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{10}
}
func (m *BucketSetAttributionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketSetAttributionRequest.Unmarshal(m, b)
}
func (m *BucketSetAttributionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketSetAttributionRequest.Marshal(b, m, deterministic)
}
func (m *BucketSetAttributionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketSetAttributionRequest.Merge(m, src)
}
func (m *BucketSetAttributionRequest) XXX_Size() int {
return xxx_messageInfo_BucketSetAttributionRequest.Size(m)
}
func (m *BucketSetAttributionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BucketSetAttributionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BucketSetAttributionRequest proto.InternalMessageInfo
func (m *BucketSetAttributionRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *BucketSetAttributionRequest) GetAttributionId() []byte {
if m != nil {
return m.AttributionId
}
return nil
}
type BucketSetAttributionResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BucketSetAttributionResponse) Reset() { *m = BucketSetAttributionResponse{} }
func (m *BucketSetAttributionResponse) String() string { return proto.CompactTextString(m) }
func (*BucketSetAttributionResponse) ProtoMessage() {}
func (*BucketSetAttributionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{11}
}
func (m *BucketSetAttributionResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BucketSetAttributionResponse.Unmarshal(m, b)
}
func (m *BucketSetAttributionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BucketSetAttributionResponse.Marshal(b, m, deterministic)
}
func (m *BucketSetAttributionResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BucketSetAttributionResponse.Merge(m, src)
}
func (m *BucketSetAttributionResponse) XXX_Size() int {
return xxx_messageInfo_BucketSetAttributionResponse.Size(m)
}
func (m *BucketSetAttributionResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BucketSetAttributionResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BucketSetAttributionResponse proto.InternalMessageInfo
type AddressedOrderLimit struct {
Limit *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
StorageNodeAddress *NodeAddress `protobuf:"bytes,2,opt,name=storage_node_address,json=storageNodeAddress,proto3" json:"storage_node_address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddressedOrderLimit) Reset() { *m = AddressedOrderLimit{} }
func (m *AddressedOrderLimit) String() string { return proto.CompactTextString(m) }
func (*AddressedOrderLimit) ProtoMessage() {}
func (*AddressedOrderLimit) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{12}
}
func (m *AddressedOrderLimit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddressedOrderLimit.Unmarshal(m, b)
}
func (m *AddressedOrderLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddressedOrderLimit.Marshal(b, m, deterministic)
}
func (m *AddressedOrderLimit) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddressedOrderLimit.Merge(m, src)
}
func (m *AddressedOrderLimit) XXX_Size() int {
return xxx_messageInfo_AddressedOrderLimit.Size(m)
}
func (m *AddressedOrderLimit) XXX_DiscardUnknown() {
xxx_messageInfo_AddressedOrderLimit.DiscardUnknown(m)
}
var xxx_messageInfo_AddressedOrderLimit proto.InternalMessageInfo
func (m *AddressedOrderLimit) GetLimit() *OrderLimit {
if m != nil {
return m.Limit
}
return nil
}
func (m *AddressedOrderLimit) GetStorageNodeAddress() *NodeAddress {
if m != nil {
return m.StorageNodeAddress
}
return nil
}
type SegmentWriteRequest struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
Redundancy *RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
MaxEncryptedSegmentSize int64 `protobuf:"varint,5,opt,name=max_encrypted_segment_size,json=maxEncryptedSegmentSize,proto3" json:"max_encrypted_segment_size,omitempty"`
Expiration *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentWriteRequest) Reset() { *m = SegmentWriteRequest{} }
func (m *SegmentWriteRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentWriteRequest) ProtoMessage() {}
func (*SegmentWriteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{13}
}
func (m *SegmentWriteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentWriteRequest.Unmarshal(m, b)
}
func (m *SegmentWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentWriteRequest.Marshal(b, m, deterministic)
}
func (m *SegmentWriteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentWriteRequest.Merge(m, src)
}
func (m *SegmentWriteRequest) XXX_Size() int {
return xxx_messageInfo_SegmentWriteRequest.Size(m)
}
func (m *SegmentWriteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentWriteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentWriteRequest proto.InternalMessageInfo
func (m *SegmentWriteRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *SegmentWriteRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *SegmentWriteRequest) GetSegment() int64 {
if m != nil {
return m.Segment
}
return 0
}
func (m *SegmentWriteRequest) GetRedundancy() *RedundancyScheme {
if m != nil {
return m.Redundancy
}
return nil
}
func (m *SegmentWriteRequest) GetMaxEncryptedSegmentSize() int64 {
if m != nil {
return m.MaxEncryptedSegmentSize
}
return 0
}
func (m *SegmentWriteRequest) GetExpiration() *timestamp.Timestamp {
if m != nil {
return m.Expiration
}
return nil
}
type SegmentWriteResponse struct {
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
RootPieceId PieceID `protobuf:"bytes,2,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentWriteResponse) Reset() { *m = SegmentWriteResponse{} }
func (m *SegmentWriteResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentWriteResponse) ProtoMessage() {}
func (*SegmentWriteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{14}
}
func (m *SegmentWriteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentWriteResponse.Unmarshal(m, b)
}
func (m *SegmentWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentWriteResponse.Marshal(b, m, deterministic)
}
func (m *SegmentWriteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentWriteResponse.Merge(m, src)
}
func (m *SegmentWriteResponse) XXX_Size() int {
return xxx_messageInfo_SegmentWriteResponse.Size(m)
}
func (m *SegmentWriteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentWriteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentWriteResponse proto.InternalMessageInfo
func (m *SegmentWriteResponse) GetAddressedLimits() []*AddressedOrderLimit {
if m != nil {
return m.AddressedLimits
}
return nil
}
type SegmentCommitRequest struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
Pointer *Pointer `protobuf:"bytes,4,opt,name=pointer,proto3" json:"pointer,omitempty"`
OriginalLimits []*OrderLimit `protobuf:"bytes,5,rep,name=original_limits,json=originalLimits,proto3" json:"original_limits,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentCommitRequest) Reset() { *m = SegmentCommitRequest{} }
func (m *SegmentCommitRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentCommitRequest) ProtoMessage() {}
func (*SegmentCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{15}
}
func (m *SegmentCommitRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentCommitRequest.Unmarshal(m, b)
}
func (m *SegmentCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentCommitRequest.Marshal(b, m, deterministic)
}
func (m *SegmentCommitRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentCommitRequest.Merge(m, src)
}
func (m *SegmentCommitRequest) XXX_Size() int {
return xxx_messageInfo_SegmentCommitRequest.Size(m)
}
func (m *SegmentCommitRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentCommitRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentCommitRequest proto.InternalMessageInfo
func (m *SegmentCommitRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *SegmentCommitRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *SegmentCommitRequest) GetSegment() int64 {
if m != nil {
return m.Segment
}
return 0
}
func (m *SegmentCommitRequest) GetPointer() *Pointer {
if m != nil {
return m.Pointer
}
return nil
}
func (m *SegmentCommitRequest) GetOriginalLimits() []*OrderLimit {
if m != nil {
return m.OriginalLimits
}
return nil
}
type SegmentCommitResponse struct {
Pointer *Pointer `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentCommitResponse) Reset() { *m = SegmentCommitResponse{} }
func (m *SegmentCommitResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentCommitResponse) ProtoMessage() {}
func (*SegmentCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{16}
}
func (m *SegmentCommitResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentCommitResponse.Unmarshal(m, b)
}
func (m *SegmentCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentCommitResponse.Marshal(b, m, deterministic)
}
func (m *SegmentCommitResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentCommitResponse.Merge(m, src)
}
func (m *SegmentCommitResponse) XXX_Size() int {
return xxx_messageInfo_SegmentCommitResponse.Size(m)
}
func (m *SegmentCommitResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentCommitResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentCommitResponse proto.InternalMessageInfo
func (m *SegmentCommitResponse) GetPointer() *Pointer {
if m != nil {
return m.Pointer
}
return nil
}
type SegmentDownloadRequest struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentDownloadRequest) Reset() { *m = SegmentDownloadRequest{} }
func (m *SegmentDownloadRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentDownloadRequest) ProtoMessage() {}
func (*SegmentDownloadRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{17}
}
func (m *SegmentDownloadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentDownloadRequest.Unmarshal(m, b)
}
func (m *SegmentDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentDownloadRequest.Marshal(b, m, deterministic)
}
func (m *SegmentDownloadRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentDownloadRequest.Merge(m, src)
}
func (m *SegmentDownloadRequest) XXX_Size() int {
return xxx_messageInfo_SegmentDownloadRequest.Size(m)
}
func (m *SegmentDownloadRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentDownloadRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentDownloadRequest proto.InternalMessageInfo
func (m *SegmentDownloadRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *SegmentDownloadRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *SegmentDownloadRequest) GetSegment() int64 {
if m != nil {
return m.Segment
}
return 0
}
type SegmentDownloadResponse struct {
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentDownloadResponse) Reset() { *m = SegmentDownloadResponse{} }
func (m *SegmentDownloadResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentDownloadResponse) ProtoMessage() {}
func (*SegmentDownloadResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{18}
}
func (m *SegmentDownloadResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentDownloadResponse.Unmarshal(m, b)
}
func (m *SegmentDownloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentDownloadResponse.Marshal(b, m, deterministic)
}
func (m *SegmentDownloadResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentDownloadResponse.Merge(m, src)
}
func (m *SegmentDownloadResponse) XXX_Size() int {
return xxx_messageInfo_SegmentDownloadResponse.Size(m)
}
func (m *SegmentDownloadResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentDownloadResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentDownloadResponse proto.InternalMessageInfo
func (m *SegmentDownloadResponse) GetAddressedLimits() []*AddressedOrderLimit {
if m != nil {
return m.AddressedLimits
}
return nil
}
func (m *SegmentDownloadResponse) GetPointer() *Pointer {
if m != nil {
return m.Pointer
}
return nil
}
type SegmentInfoRequest struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentInfoRequest) Reset() { *m = SegmentInfoRequest{} }
func (m *SegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentInfoRequest) ProtoMessage() {}
func (*SegmentInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{19}
}
func (m *SegmentInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentInfoRequest.Unmarshal(m, b)
}
func (m *SegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentInfoRequest.Marshal(b, m, deterministic)
}
func (m *SegmentInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentInfoRequest.Merge(m, src)
}
func (m *SegmentInfoRequest) XXX_Size() int {
return xxx_messageInfo_SegmentInfoRequest.Size(m)
}
func (m *SegmentInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentInfoRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentInfoRequest proto.InternalMessageInfo
func (m *SegmentInfoRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *SegmentInfoRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *SegmentInfoRequest) GetSegment() int64 {
if m != nil {
return m.Segment
}
return 0
}
type SegmentInfoResponse struct {
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentInfoResponse) Reset() { *m = SegmentInfoResponse{} }
func (m *SegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentInfoResponse) ProtoMessage() {}
func (*SegmentInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{20}
}
func (m *SegmentInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentInfoResponse.Unmarshal(m, b)
}
func (m *SegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentInfoResponse.Marshal(b, m, deterministic)
}
func (m *SegmentInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentInfoResponse.Merge(m, src)
}
func (m *SegmentInfoResponse) XXX_Size() int {
return xxx_messageInfo_SegmentInfoResponse.Size(m)
}
func (m *SegmentInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentInfoResponse proto.InternalMessageInfo
func (m *SegmentInfoResponse) GetPointer() *Pointer {
if m != nil {
return m.Pointer
}
return nil
}
type SegmentDeleteRequest struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Segment int64 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentDeleteRequest) Reset() { *m = SegmentDeleteRequest{} }
func (m *SegmentDeleteRequest) String() string { return proto.CompactTextString(m) }
func (*SegmentDeleteRequest) ProtoMessage() {}
func (*SegmentDeleteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{21}
}
func (m *SegmentDeleteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentDeleteRequest.Unmarshal(m, b)
}
func (m *SegmentDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentDeleteRequest.Marshal(b, m, deterministic)
}
func (m *SegmentDeleteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentDeleteRequest.Merge(m, src)
}
func (m *SegmentDeleteRequest) XXX_Size() int {
return xxx_messageInfo_SegmentDeleteRequest.Size(m)
}
func (m *SegmentDeleteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentDeleteRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentDeleteRequest proto.InternalMessageInfo
func (m *SegmentDeleteRequest) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *SegmentDeleteRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *SegmentDeleteRequest) GetSegment() int64 {
if m != nil {
return m.Segment
}
return 0
}
type SegmentDeleteResponse struct {
AddressedLimits []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentDeleteResponse) Reset() { *m = SegmentDeleteResponse{} }
func (m *SegmentDeleteResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentDeleteResponse) ProtoMessage() {}
func (*SegmentDeleteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{22}
}
func (m *SegmentDeleteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentDeleteResponse.Unmarshal(m, b)
}
func (m *SegmentDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentDeleteResponse.Marshal(b, m, deterministic)
}
func (m *SegmentDeleteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentDeleteResponse.Merge(m, src)
}
func (m *SegmentDeleteResponse) XXX_Size() int {
return xxx_messageInfo_SegmentDeleteResponse.Size(m)
}
func (m *SegmentDeleteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentDeleteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentDeleteResponse proto.InternalMessageInfo
func (m *SegmentDeleteResponse) GetAddressedLimits() []*AddressedOrderLimit {
if m != nil {
return m.AddressedLimits
}
return nil
}
type ListSegmentsRequest struct {
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Prefix []byte `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
StartAfter []byte `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
EndBefore []byte `protobuf:"bytes,4,opt,name=end_before,json=endBefore,proto3" json:"end_before,omitempty"`
Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"`
Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
MetaFlags uint32 `protobuf:"fixed32,7,opt,name=meta_flags,json=metaFlags,proto3" json:"meta_flags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSegmentsRequest) Reset() { *m = ListSegmentsRequest{} }
func (m *ListSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ListSegmentsRequest) ProtoMessage() {}
func (*ListSegmentsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{23}
}
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) GetBucket() []byte {
if m != nil {
return m.Bucket
}
return nil
}
func (m *ListSegmentsRequest) GetPrefix() []byte {
if m != nil {
return m.Prefix
}
return nil
}
func (m *ListSegmentsRequest) GetStartAfter() []byte {
if m != nil {
return m.StartAfter
}
return nil
}
func (m *ListSegmentsRequest) GetEndBefore() []byte {
if m != nil {
return m.EndBefore
}
return nil
}
func (m *ListSegmentsRequest) GetRecursive() bool {
if m != nil {
return m.Recursive
}
return false
}
func (m *ListSegmentsRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListSegmentsRequest) GetMetaFlags() uint32 {
if m != nil {
return m.MetaFlags
}
return 0
}
type ListSegmentsResponse struct {
Items []*ListSegmentsResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSegmentsResponse) Reset() { *m = ListSegmentsResponse{} }
func (m *ListSegmentsResponse) String() string { return proto.CompactTextString(m) }
func (*ListSegmentsResponse) ProtoMessage() {}
func (*ListSegmentsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{24}
}
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() []*ListSegmentsResponse_Item {
if m != nil {
return m.Items
}
return nil
}
func (m *ListSegmentsResponse) GetMore() bool {
if m != nil {
return m.More
}
return false
}
type ListSegmentsResponse_Item struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
IsPrefix bool `protobuf:"varint,3,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSegmentsResponse_Item) Reset() { *m = ListSegmentsResponse_Item{} }
func (m *ListSegmentsResponse_Item) String() string { return proto.CompactTextString(m) }
func (*ListSegmentsResponse_Item) ProtoMessage() {}
func (*ListSegmentsResponse_Item) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{24, 0}
}
func (m *ListSegmentsResponse_Item) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListSegmentsResponse_Item.Unmarshal(m, b)
}
func (m *ListSegmentsResponse_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListSegmentsResponse_Item.Marshal(b, m, deterministic)
}
func (m *ListSegmentsResponse_Item) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListSegmentsResponse_Item.Merge(m, src)
}
func (m *ListSegmentsResponse_Item) XXX_Size() int {
return xxx_messageInfo_ListSegmentsResponse_Item.Size(m)
}
func (m *ListSegmentsResponse_Item) XXX_DiscardUnknown() {
xxx_messageInfo_ListSegmentsResponse_Item.DiscardUnknown(m)
}
var xxx_messageInfo_ListSegmentsResponse_Item proto.InternalMessageInfo
func (m *ListSegmentsResponse_Item) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *ListSegmentsResponse_Item) GetPointer() *Pointer {
if m != nil {
return m.Pointer
}
return nil
}
func (m *ListSegmentsResponse_Item) GetIsPrefix() bool {
if m != nil {
return m.IsPrefix
}
return false
}
type SetAttributionRequest struct {
BucketName []byte `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
PartnerId []byte `protobuf:"bytes,2,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetAttributionRequest) Reset() { *m = SetAttributionRequest{} }
func (m *SetAttributionRequest) String() string { return proto.CompactTextString(m) }
func (*SetAttributionRequest) ProtoMessage() {}
func (*SetAttributionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{25}
}
func (m *SetAttributionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetAttributionRequest.Unmarshal(m, b)
}
func (m *SetAttributionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetAttributionRequest.Marshal(b, m, deterministic)
}
func (m *SetAttributionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetAttributionRequest.Merge(m, src)
}
func (m *SetAttributionRequest) XXX_Size() int {
return xxx_messageInfo_SetAttributionRequest.Size(m)
}
func (m *SetAttributionRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetAttributionRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetAttributionRequest proto.InternalMessageInfo
func (m *SetAttributionRequest) GetBucketName() []byte {
if m != nil {
return m.BucketName
}
return nil
}
func (m *SetAttributionRequest) GetPartnerId() []byte {
if m != nil {
return m.PartnerId
}
return nil
}
type SetAttributionResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetAttributionResponse) Reset() { *m = SetAttributionResponse{} }
func (m *SetAttributionResponse) String() string { return proto.CompactTextString(m) }
func (*SetAttributionResponse) ProtoMessage() {}
func (*SetAttributionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{26}
}
func (m *SetAttributionResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetAttributionResponse.Unmarshal(m, b)
}
func (m *SetAttributionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetAttributionResponse.Marshal(b, m, deterministic)
}
func (m *SetAttributionResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetAttributionResponse.Merge(m, src)
}
func (m *SetAttributionResponse) XXX_Size() int {
return xxx_messageInfo_SetAttributionResponse.Size(m)
}
func (m *SetAttributionResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SetAttributionResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SetAttributionResponse proto.InternalMessageInfo
type ProjectInfoRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProjectInfoRequest) Reset() { *m = ProjectInfoRequest{} }
func (m *ProjectInfoRequest) String() string { return proto.CompactTextString(m) }
func (*ProjectInfoRequest) ProtoMessage() {}
func (*ProjectInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{27}
}
func (m *ProjectInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProjectInfoRequest.Unmarshal(m, b)
}
func (m *ProjectInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProjectInfoRequest.Marshal(b, m, deterministic)
}
func (m *ProjectInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProjectInfoRequest.Merge(m, src)
}
func (m *ProjectInfoRequest) XXX_Size() int {
return xxx_messageInfo_ProjectInfoRequest.Size(m)
}
func (m *ProjectInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ProjectInfoRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ProjectInfoRequest proto.InternalMessageInfo
type ProjectInfoResponse struct {
ProjectSalt []byte `protobuf:"bytes,1,opt,name=project_salt,json=projectSalt,proto3" json:"project_salt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProjectInfoResponse) Reset() { *m = ProjectInfoResponse{} }
func (m *ProjectInfoResponse) String() string { return proto.CompactTextString(m) }
func (*ProjectInfoResponse) ProtoMessage() {}
func (*ProjectInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_631e2f30a93cd64e, []int{28}
}
func (m *ProjectInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProjectInfoResponse.Unmarshal(m, b)
}
func (m *ProjectInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProjectInfoResponse.Marshal(b, m, deterministic)
}
func (m *ProjectInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProjectInfoResponse.Merge(m, src)
}
func (m *ProjectInfoResponse) XXX_Size() int {
return xxx_messageInfo_ProjectInfoResponse.Size(m)
}
func (m *ProjectInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ProjectInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ProjectInfoResponse proto.InternalMessageInfo
func (m *ProjectInfoResponse) GetProjectSalt() []byte {
if m != nil {
return m.ProjectSalt
}
return nil
}
func init() {
proto.RegisterType((*BucketItem)(nil), "metainfo.BucketItem")
proto.RegisterType((*BucketListItem)(nil), "metainfo.BucketListItem")
proto.RegisterType((*BucketCreateRequest)(nil), "metainfo.BucketCreateRequest")
proto.RegisterType((*BucketCreateResponse)(nil), "metainfo.BucketCreateResponse")
proto.RegisterType((*BucketGetRequest)(nil), "metainfo.BucketGetRequest")
proto.RegisterType((*BucketGetResponse)(nil), "metainfo.BucketGetResponse")
proto.RegisterType((*BucketDeleteRequest)(nil), "metainfo.BucketDeleteRequest")
proto.RegisterType((*BucketDeleteResponse)(nil), "metainfo.BucketDeleteResponse")
proto.RegisterType((*BucketListRequest)(nil), "metainfo.BucketListRequest")
proto.RegisterType((*BucketListResponse)(nil), "metainfo.BucketListResponse")
proto.RegisterType((*BucketSetAttributionRequest)(nil), "metainfo.BucketSetAttributionRequest")
proto.RegisterType((*BucketSetAttributionResponse)(nil), "metainfo.BucketSetAttributionResponse")
proto.RegisterType((*AddressedOrderLimit)(nil), "metainfo.AddressedOrderLimit")
proto.RegisterType((*SegmentWriteRequest)(nil), "metainfo.SegmentWriteRequest")
proto.RegisterType((*SegmentWriteResponse)(nil), "metainfo.SegmentWriteResponse")
proto.RegisterType((*SegmentCommitRequest)(nil), "metainfo.SegmentCommitRequest")
proto.RegisterType((*SegmentCommitResponse)(nil), "metainfo.SegmentCommitResponse")
proto.RegisterType((*SegmentDownloadRequest)(nil), "metainfo.SegmentDownloadRequest")
proto.RegisterType((*SegmentDownloadResponse)(nil), "metainfo.SegmentDownloadResponse")
proto.RegisterType((*SegmentInfoRequest)(nil), "metainfo.SegmentInfoRequest")
proto.RegisterType((*SegmentInfoResponse)(nil), "metainfo.SegmentInfoResponse")
proto.RegisterType((*SegmentDeleteRequest)(nil), "metainfo.SegmentDeleteRequest")
proto.RegisterType((*SegmentDeleteResponse)(nil), "metainfo.SegmentDeleteResponse")
proto.RegisterType((*ListSegmentsRequest)(nil), "metainfo.ListSegmentsRequest")
proto.RegisterType((*ListSegmentsResponse)(nil), "metainfo.ListSegmentsResponse")
proto.RegisterType((*ListSegmentsResponse_Item)(nil), "metainfo.ListSegmentsResponse.Item")
proto.RegisterType((*SetAttributionRequest)(nil), "metainfo.SetAttributionRequest")
proto.RegisterType((*SetAttributionResponse)(nil), "metainfo.SetAttributionResponse")
proto.RegisterType((*ProjectInfoRequest)(nil), "metainfo.ProjectInfoRequest")
proto.RegisterType((*ProjectInfoResponse)(nil), "metainfo.ProjectInfoResponse")
}
func init() { proto.RegisterFile("metainfo.proto", fileDescriptor_631e2f30a93cd64e) }
var fileDescriptor_631e2f30a93cd64e = []byte{
// 1368 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcd, 0x72, 0x1b, 0x45,
0x10, 0x66, 0x65, 0x5b, 0x96, 0x5a, 0xfe, 0x49, 0xc6, 0xc2, 0x16, 0x6b, 0x3b, 0x52, 0x96, 0x4a,
0xca, 0x54, 0xa5, 0x14, 0xca, 0xb9, 0x04, 0x72, 0xf2, 0x4f, 0x08, 0xa6, 0x92, 0xe0, 0x5a, 0x51,
0x24, 0x95, 0xa2, 0xd8, 0x1a, 0x69, 0x47, 0xca, 0x82, 0xf6, 0x87, 0xd9, 0x11, 0x38, 0x39, 0xf3,
0x00, 0xe4, 0xc0, 0x33, 0xf0, 0x08, 0x3c, 0x02, 0x1c, 0x78, 0x00, 0x8a, 0x43, 0x78, 0x10, 0x2e,
0xd4, 0xfc, 0x69, 0x67, 0xa5, 0x95, 0x0c, 0x29, 0x51, 0xdc, 0x76, 0xba, 0x7b, 0x7b, 0xba, 0xfb,
0xfb, 0xba, 0x7b, 0x60, 0x23, 0x24, 0x0c, 0x07, 0x51, 0x3f, 0x6e, 0x27, 0x34, 0x66, 0x31, 0xaa,
0xe8, 0xb3, 0x7d, 0x85, 0x44, 0x3d, 0xfa, 0x22, 0x61, 0x41, 0x1c, 0x49, 0x9d, 0x0d, 0x83, 0x78,
0xa0, 0xec, 0xec, 0xe6, 0x20, 0x8e, 0x07, 0x43, 0x72, 0x5b, 0x9c, 0xba, 0xa3, 0xfe, 0x6d, 0x16,
0x84, 0x24, 0x65, 0x38, 0x4c, 0xb4, 0x71, 0x14, 0xfb, 0x44, 0x7d, 0x6f, 0x26, 0x71, 0x10, 0x31,
0x42, 0xfd, 0xae, 0x12, 0xac, 0xc5, 0xd4, 0x27, 0x34, 0x95, 0x27, 0xe7, 0xe7, 0x25, 0x80, 0xe3,
0x51, 0xef, 0x6b, 0xc2, 0xce, 0x18, 0x09, 0x11, 0x82, 0xe5, 0x08, 0x87, 0xa4, 0x61, 0xb5, 0xac,
0x83, 0x35, 0x57, 0x7c, 0xa3, 0xbb, 0x50, 0x4b, 0x30, 0x7b, 0xee, 0xf5, 0x82, 0xe4, 0x39, 0xa1,
0x8d, 0x52, 0xcb, 0x3a, 0xa8, 0x1d, 0xee, 0xb4, 0x8d, 0x10, 0x4f, 0x84, 0xa6, 0x33, 0x0a, 0x18,
0x71, 0x81, 0xdb, 0x4a, 0x01, 0xba, 0x01, 0x1b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0x31, 0x91, 0x29, 0x18, 0x26, 0xc7,
0xcb, 0xcf, 0x4a, 0x49, 0xb7, 0x5b, 0x16, 0x6f, 0xd7, 0x3b, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff,
0x15, 0x2c, 0x82, 0x21, 0x71, 0x12, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// MetainfoClient is the client API for Metainfo service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MetainfoClient interface {
CreateBucket(ctx context.Context, in *BucketCreateRequest, opts ...grpc.CallOption) (*BucketCreateResponse, error)
GetBucket(ctx context.Context, in *BucketGetRequest, opts ...grpc.CallOption) (*BucketGetResponse, error)
DeleteBucket(ctx context.Context, in *BucketDeleteRequest, opts ...grpc.CallOption) (*BucketDeleteResponse, error)
ListBuckets(ctx context.Context, in *BucketListRequest, opts ...grpc.CallOption) (*BucketListResponse, error)
SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest, opts ...grpc.CallOption) (*BucketSetAttributionResponse, error)
CreateSegment(ctx context.Context, in *SegmentWriteRequest, opts ...grpc.CallOption) (*SegmentWriteResponse, error)
CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error)
SegmentInfo(ctx context.Context, in *SegmentInfoRequest, opts ...grpc.CallOption) (*SegmentInfoResponse, error)
DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error)
DeleteSegment(ctx context.Context, in *SegmentDeleteRequest, opts ...grpc.CallOption) (*SegmentDeleteResponse, error)
ListSegments(ctx context.Context, in *ListSegmentsRequest, opts ...grpc.CallOption) (*ListSegmentsResponse, error)
SetAttribution(ctx context.Context, in *SetAttributionRequest, opts ...grpc.CallOption) (*SetAttributionResponse, error)
ProjectInfo(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, error)
}
type metainfoClient struct {
cc *grpc.ClientConn
}
func NewMetainfoClient(cc *grpc.ClientConn) MetainfoClient {
return &metainfoClient{cc}
}
func (c *metainfoClient) CreateBucket(ctx context.Context, in *BucketCreateRequest, opts ...grpc.CallOption) (*BucketCreateResponse, error) {
out := new(BucketCreateResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateBucket", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) GetBucket(ctx context.Context, in *BucketGetRequest, opts ...grpc.CallOption) (*BucketGetResponse, error) {
out := new(BucketGetResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucket", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) DeleteBucket(ctx context.Context, in *BucketDeleteRequest, opts ...grpc.CallOption) (*BucketDeleteResponse, error) {
out := new(BucketDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteBucket", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) ListBuckets(ctx context.Context, in *BucketListRequest, opts ...grpc.CallOption) (*BucketListResponse, error) {
out := new(BucketListResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListBuckets", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest, opts ...grpc.CallOption) (*BucketSetAttributionResponse, error) {
out := new(BucketSetAttributionResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketAttribution", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) CreateSegment(ctx context.Context, in *SegmentWriteRequest, opts ...grpc.CallOption) (*SegmentWriteResponse, error) {
out := new(SegmentWriteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error) {
out := new(SegmentCommitResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) SegmentInfo(ctx context.Context, in *SegmentInfoRequest, opts ...grpc.CallOption) (*SegmentInfoResponse, error) {
out := new(SegmentInfoResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SegmentInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error) {
out := new(SegmentDownloadResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) DeleteSegment(ctx context.Context, in *SegmentDeleteRequest, opts ...grpc.CallOption) (*SegmentDeleteResponse, error) {
out := new(SegmentDeleteResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteSegment", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) ListSegments(ctx context.Context, in *ListSegmentsRequest, opts ...grpc.CallOption) (*ListSegmentsResponse, error) {
out := new(ListSegmentsResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegments", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) SetAttribution(ctx context.Context, in *SetAttributionRequest, opts ...grpc.CallOption) (*SetAttributionResponse, error) {
out := new(SetAttributionResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetAttribution", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *metainfoClient) ProjectInfo(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, error) {
out := new(ProjectInfoResponse)
err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ProjectInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MetainfoServer is the server API for Metainfo service.
type MetainfoServer interface {
CreateBucket(context.Context, *BucketCreateRequest) (*BucketCreateResponse, error)
GetBucket(context.Context, *BucketGetRequest) (*BucketGetResponse, error)
DeleteBucket(context.Context, *BucketDeleteRequest) (*BucketDeleteResponse, error)
ListBuckets(context.Context, *BucketListRequest) (*BucketListResponse, error)
SetBucketAttribution(context.Context, *BucketSetAttributionRequest) (*BucketSetAttributionResponse, error)
CreateSegment(context.Context, *SegmentWriteRequest) (*SegmentWriteResponse, error)
CommitSegment(context.Context, *SegmentCommitRequest) (*SegmentCommitResponse, error)
SegmentInfo(context.Context, *SegmentInfoRequest) (*SegmentInfoResponse, error)
DownloadSegment(context.Context, *SegmentDownloadRequest) (*SegmentDownloadResponse, error)
DeleteSegment(context.Context, *SegmentDeleteRequest) (*SegmentDeleteResponse, error)
ListSegments(context.Context, *ListSegmentsRequest) (*ListSegmentsResponse, error)
SetAttribution(context.Context, *SetAttributionRequest) (*SetAttributionResponse, error)
ProjectInfo(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, error)
}
func RegisterMetainfoServer(s *grpc.Server, srv MetainfoServer) {
s.RegisterService(&_Metainfo_serviceDesc, srv)
}
func _Metainfo_CreateBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BucketCreateRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).CreateBucket(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/CreateBucket",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).CreateBucket(ctx, req.(*BucketCreateRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_GetBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BucketGetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).GetBucket(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/GetBucket",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).GetBucket(ctx, req.(*BucketGetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_DeleteBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BucketDeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).DeleteBucket(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/DeleteBucket",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).DeleteBucket(ctx, req.(*BucketDeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_ListBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BucketListRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).ListBuckets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/ListBuckets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).ListBuckets(ctx, req.(*BucketListRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_SetBucketAttribution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BucketSetAttributionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).SetBucketAttribution(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/SetBucketAttribution",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).SetBucketAttribution(ctx, req.(*BucketSetAttributionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_CreateSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentWriteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).CreateSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/CreateSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).CreateSegment(ctx, req.(*SegmentWriteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_CommitSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentCommitRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).CommitSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/CommitSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).CommitSegment(ctx, req.(*SegmentCommitRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_SegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentInfoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).SegmentInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/SegmentInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).SegmentInfo(ctx, req.(*SegmentInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_DownloadSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentDownloadRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).DownloadSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/DownloadSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).DownloadSegment(ctx, req.(*SegmentDownloadRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_DeleteSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SegmentDeleteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).DeleteSegment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/DeleteSegment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).DeleteSegment(ctx, req.(*SegmentDeleteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_ListSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListSegmentsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).ListSegments(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/ListSegments",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).ListSegments(ctx, req.(*ListSegmentsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_SetAttribution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetAttributionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).SetAttribution(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/SetAttribution",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).SetAttribution(ctx, req.(*SetAttributionRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Metainfo_ProjectInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ProjectInfoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MetainfoServer).ProjectInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/metainfo.Metainfo/ProjectInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MetainfoServer).ProjectInfo(ctx, req.(*ProjectInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Metainfo_serviceDesc = grpc.ServiceDesc{
ServiceName: "metainfo.Metainfo",
HandlerType: (*MetainfoServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateBucket",
Handler: _Metainfo_CreateBucket_Handler,
},
{
MethodName: "GetBucket",
Handler: _Metainfo_GetBucket_Handler,
},
{
MethodName: "DeleteBucket",
Handler: _Metainfo_DeleteBucket_Handler,
},
{
MethodName: "ListBuckets",
Handler: _Metainfo_ListBuckets_Handler,
},
{
MethodName: "SetBucketAttribution",
Handler: _Metainfo_SetBucketAttribution_Handler,
},
{
MethodName: "CreateSegment",
Handler: _Metainfo_CreateSegment_Handler,
},
{
MethodName: "CommitSegment",
Handler: _Metainfo_CommitSegment_Handler,
},
{
MethodName: "SegmentInfo",
Handler: _Metainfo_SegmentInfo_Handler,
},
{
MethodName: "DownloadSegment",
Handler: _Metainfo_DownloadSegment_Handler,
},
{
MethodName: "DeleteSegment",
Handler: _Metainfo_DeleteSegment_Handler,
},
{
MethodName: "ListSegments",
Handler: _Metainfo_ListSegments_Handler,
},
{
MethodName: "SetAttribution",
Handler: _Metainfo_SetAttribution_Handler,
},
{
MethodName: "ProjectInfo",
Handler: _Metainfo_ProjectInfo_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "metainfo.proto",
}