2020-10-29 16:16:25 +00:00
|
|
|
// 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.
|
2021-02-04 09:01:15 +00:00
|
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
2020-10-29 16:16:25 +00:00
|
|
|
|
|
|
|
type StreamID struct {
|
2021-03-24 09:33:56 +00:00
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
2021-08-25 20:00:55 +01:00
|
|
|
EncryptedObjectKey []byte `protobuf:"bytes,2,opt,name=encrypted_object_key,json=encryptedObjectKey,proto3" json:"encrypted_object_key,omitempty"`
|
2022-05-17 14:50:12 +01:00
|
|
|
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
2021-03-24 09:33:56 +00:00
|
|
|
EncryptionParameters *pb.EncryptionParameters `protobuf:"bytes,12,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,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"`
|
|
|
|
MultipartObject bool `protobuf:"varint,11,opt,name=multipart_object,json=multipartObject,proto3" json:"multipart_object,omitempty"`
|
|
|
|
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"`
|
2021-10-27 09:50:27 +01:00
|
|
|
Placement int32 `protobuf:"varint,13,opt,name=placement,proto3" json:"placement,omitempty"`
|
2023-07-21 10:36:59 +01:00
|
|
|
// temporary field to determine if we should go with new pending_objects table or
|
|
|
|
// fallback to pending object in objects table.
|
|
|
|
UsePendingObjectsTable bool `protobuf:"varint,14,opt,name=use_pending_objects_table,json=usePendingObjectsTable,proto3" json:"use_pending_objects_table,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-10-29 16:16:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-08-25 20:00:55 +01:00
|
|
|
func (m *StreamID) GetEncryptedObjectKey() []byte {
|
2020-10-29 16:16:25 +00:00
|
|
|
if m != nil {
|
2021-08-25 20:00:55 +01:00
|
|
|
return m.EncryptedObjectKey
|
2020-10-29 16:16:25 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-05-17 14:50:12 +01:00
|
|
|
func (m *StreamID) GetVersion() int64 {
|
2020-10-29 16:16:25 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-24 09:33:56 +00:00
|
|
|
func (m *StreamID) GetEncryptionParameters() *pb.EncryptionParameters {
|
|
|
|
if m != nil {
|
|
|
|
return m.EncryptionParameters
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-29 16:16:25 +00:00
|
|
|
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{}
|
|
|
|
}
|
|
|
|
|
2021-01-07 08:46:49 +00:00
|
|
|
func (m *StreamID) GetMultipartObject() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.MultipartObject
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-10-29 16:16:25 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-10-27 09:50:27 +01:00
|
|
|
func (m *StreamID) GetPlacement() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Placement
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-07-21 10:36:59 +01:00
|
|
|
func (m *StreamID) GetUsePendingObjectsTable() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.UsePendingObjectsTable
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-10-29 16:16:25 +00:00
|
|
|
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() {
|
2020-10-30 15:31:08 +00:00
|
|
|
proto.RegisterType((*StreamID)(nil), "satellite.metainfo.StreamID")
|
|
|
|
proto.RegisterType((*SegmentID)(nil), "satellite.metainfo.SegmentID")
|
2020-10-29 16:16:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("metainfo_sat.proto", fileDescriptor_47c60bd892d94aaf) }
|
|
|
|
|
|
|
|
var fileDescriptor_47c60bd892d94aaf = []byte{
|
2023-07-21 10:36:59 +01:00
|
|
|
// 580 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xcb, 0x6e, 0xd3, 0x40,
|
|
|
|
0x14, 0xc5, 0x84, 0xa4, 0xc9, 0x24, 0x7d, 0x68, 0xfa, 0xd0, 0x10, 0x8a, 0x62, 0x15, 0x21, 0x99,
|
|
|
|
0x8d, 0x8d, 0xda, 0x55, 0x97, 0x44, 0x61, 0x11, 0xf1, 0x68, 0x70, 0xca, 0x86, 0x8d, 0x35, 0xb6,
|
|
|
|
0x6f, 0xad, 0x69, 0xed, 0x19, 0x6b,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