004e610d0f
Change-Id: If901d9ff4e5ee6715b963eeeb46513a602a44b3d
243 lines
9.5 KiB
Go
243 lines
9.5 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: metainfo_sat.proto
|
|
|
|
package internalpb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
time "time"
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
|
|
pb "storj.io/common/pb"
|
|
)
|
|
|
|
// 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 StreamID struct {
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
|
|
Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
Redundancy *pb.RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
|
|
CreationDate time.Time `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
|
|
ExpirationDate time.Time `protobuf:"bytes,6,opt,name=expiration_date,json=expirationDate,proto3,stdtime" json:"expiration_date"`
|
|
SatelliteSignature []byte `protobuf:"bytes,9,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
|
|
StreamId []byte `protobuf:"bytes,10,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *StreamID) Reset() { *m = StreamID{} }
|
|
func (m *StreamID) String() string { return proto.CompactTextString(m) }
|
|
func (*StreamID) ProtoMessage() {}
|
|
func (*StreamID) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_47c60bd892d94aaf, []int{0}
|
|
}
|
|
func (m *StreamID) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_StreamID.Unmarshal(m, b)
|
|
}
|
|
func (m *StreamID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_StreamID.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *StreamID) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_StreamID.Merge(m, src)
|
|
}
|
|
func (m *StreamID) XXX_Size() int {
|
|
return xxx_messageInfo_StreamID.Size(m)
|
|
}
|
|
func (m *StreamID) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_StreamID.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_StreamID proto.InternalMessageInfo
|
|
|
|
func (m *StreamID) GetBucket() []byte {
|
|
if m != nil {
|
|
return m.Bucket
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StreamID) GetEncryptedPath() []byte {
|
|
if m != nil {
|
|
return m.EncryptedPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StreamID) GetVersion() int32 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *StreamID) GetRedundancy() *pb.RedundancyScheme {
|
|
if m != nil {
|
|
return m.Redundancy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StreamID) GetCreationDate() time.Time {
|
|
if m != nil {
|
|
return m.CreationDate
|
|
}
|
|
return time.Time{}
|
|
}
|
|
|
|
func (m *StreamID) GetExpirationDate() time.Time {
|
|
if m != nil {
|
|
return m.ExpirationDate
|
|
}
|
|
return time.Time{}
|
|
}
|
|
|
|
func (m *StreamID) GetSatelliteSignature() []byte {
|
|
if m != nil {
|
|
return m.SatelliteSignature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *StreamID) GetStreamId() []byte {
|
|
if m != nil {
|
|
return m.StreamId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// only for satellite use
|
|
type SegmentID struct {
|
|
StreamId *StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
|
|
PartNumber int32 `protobuf:"varint,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
|
|
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
|
|
RootPieceId PieceID `protobuf:"bytes,5,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
|
|
OriginalOrderLimits []*pb.AddressedOrderLimit `protobuf:"bytes,6,rep,name=original_order_limits,json=originalOrderLimits,proto3" json:"original_order_limits,omitempty"`
|
|
CreationDate time.Time `protobuf:"bytes,7,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
|
|
SatelliteSignature []byte `protobuf:"bytes,8,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SegmentID) Reset() { *m = SegmentID{} }
|
|
func (m *SegmentID) String() string { return proto.CompactTextString(m) }
|
|
func (*SegmentID) ProtoMessage() {}
|
|
func (*SegmentID) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_47c60bd892d94aaf, []int{1}
|
|
}
|
|
func (m *SegmentID) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SegmentID.Unmarshal(m, b)
|
|
}
|
|
func (m *SegmentID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SegmentID.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SegmentID) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SegmentID.Merge(m, src)
|
|
}
|
|
func (m *SegmentID) XXX_Size() int {
|
|
return xxx_messageInfo_SegmentID.Size(m)
|
|
}
|
|
func (m *SegmentID) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SegmentID.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SegmentID proto.InternalMessageInfo
|
|
|
|
func (m *SegmentID) GetStreamId() *StreamID {
|
|
if m != nil {
|
|
return m.StreamId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentID) GetPartNumber() int32 {
|
|
if m != nil {
|
|
return m.PartNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentID) GetIndex() int32 {
|
|
if m != nil {
|
|
return m.Index
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SegmentID) GetOriginalOrderLimits() []*pb.AddressedOrderLimit {
|
|
if m != nil {
|
|
return m.OriginalOrderLimits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SegmentID) GetCreationDate() time.Time {
|
|
if m != nil {
|
|
return m.CreationDate
|
|
}
|
|
return time.Time{}
|
|
}
|
|
|
|
func (m *SegmentID) GetSatelliteSignature() []byte {
|
|
if m != nil {
|
|
return m.SatelliteSignature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*StreamID)(nil), "metainfo.StreamID")
|
|
proto.RegisterType((*SegmentID)(nil), "metainfo.SegmentID")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("metainfo_sat.proto", fileDescriptor_47c60bd892d94aaf) }
|
|
|
|
var fileDescriptor_47c60bd892d94aaf = []byte{
|
|
// 495 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0x4d, 0x6f, 0xd3, 0x40,
|
|
0x10, 0xc5, 0x0d,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