2020-10-29 16:16:25 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
syntax = "proto3";
|
2020-10-30 10:41:22 +00:00
|
|
|
option go_package = "storj.io/storj/satellite/internalpb";
|
2020-10-29 16:16:25 +00:00
|
|
|
|
2020-10-30 15:31:08 +00:00
|
|
|
package satellite.metainfo;
|
2020-10-29 16:16:25 +00:00
|
|
|
|
2021-03-24 09:33:56 +00:00
|
|
|
import "encryption.proto";
|
2020-10-29 16:16:25 +00:00
|
|
|
import "gogo.proto";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
import "metainfo.proto";
|
|
|
|
|
|
|
|
message StreamID {
|
|
|
|
bytes bucket = 1;
|
2021-08-25 20:00:55 +01:00
|
|
|
bytes encrypted_object_key = 2;
|
2020-10-29 16:16:25 +00:00
|
|
|
int32 version = 3;
|
|
|
|
|
2021-03-24 09:33:56 +00:00
|
|
|
encryption.EncryptionParameters encryption_parameters = 12;
|
2020-10-29 16:16:25 +00:00
|
|
|
|
|
|
|
google.protobuf.Timestamp creation_date = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
|
|
google.protobuf.Timestamp expiration_date = 6 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
|
|
|
2021-01-07 08:46:49 +00:00
|
|
|
bool multipart_object = 11;
|
|
|
|
|
2020-10-29 16:16:25 +00:00
|
|
|
bytes satellite_signature = 9;
|
|
|
|
|
|
|
|
bytes stream_id = 10;
|
2021-10-27 09:50:27 +01:00
|
|
|
|
|
|
|
int32 placement = 13;
|
2020-10-29 16:16:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message SegmentID {
|
|
|
|
StreamID stream_id = 1;
|
|
|
|
int32 part_number = 2;
|
|
|
|
int32 index = 3;
|
|
|
|
|
|
|
|
bytes root_piece_id = 5 [(gogoproto.customtype) = "PieceID", (gogoproto.nullable) = false];
|
2020-10-30 15:31:08 +00:00
|
|
|
repeated .metainfo.AddressedOrderLimit original_order_limits = 6;
|
2020-10-29 16:16:25 +00:00
|
|
|
google.protobuf.Timestamp creation_date = 7 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
|
|
|
|
|
|
|
bytes satellite_signature = 8;
|
2021-03-24 09:33:56 +00:00
|
|
|
}
|