mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-28 15:55:40 +00:00
621 lines
26 KiB
Go
621 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: content_manifest.proto
|
|
|
|
package protobuf
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package protobuf is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package protobuf to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type EContentDeltaChunkDataLocation int32
|
|
|
|
const (
|
|
EContentDeltaChunkDataLocation_k_EContentDeltaChunkDataLocationInProtobuf EContentDeltaChunkDataLocation = 0
|
|
EContentDeltaChunkDataLocation_k_EContentDeltaChunkDataLocationAfterProtobuf EContentDeltaChunkDataLocation = 1
|
|
)
|
|
|
|
var EContentDeltaChunkDataLocation_name = map[int32]string{
|
|
0: "k_EContentDeltaChunkDataLocationInProtobuf",
|
|
1: "k_EContentDeltaChunkDataLocationAfterProtobuf",
|
|
}
|
|
|
|
var EContentDeltaChunkDataLocation_value = map[string]int32{
|
|
"k_EContentDeltaChunkDataLocationInProtobuf": 0,
|
|
"k_EContentDeltaChunkDataLocationAfterProtobuf": 1,
|
|
}
|
|
|
|
func (x EContentDeltaChunkDataLocation) Enum() *EContentDeltaChunkDataLocation {
|
|
p := new(EContentDeltaChunkDataLocation)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x EContentDeltaChunkDataLocation) String() string {
|
|
return proto.EnumName(EContentDeltaChunkDataLocation_name, int32(x))
|
|
}
|
|
|
|
func (x *EContentDeltaChunkDataLocation) UnmarshalJSON(data []byte) error {
|
|
value, err := proto.UnmarshalJSONEnum(EContentDeltaChunkDataLocation_value, data, "EContentDeltaChunkDataLocation")
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = EContentDeltaChunkDataLocation(value)
|
|
return nil
|
|
}
|
|
|
|
func (EContentDeltaChunkDataLocation) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{0}
|
|
}
|
|
|
|
type ContentManifestPayload struct {
|
|
Mappings []*ContentManifestPayload_FileMapping `protobuf:"bytes,1,rep,name=mappings" json:"mappings,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentManifestPayload) Reset() { *m = ContentManifestPayload{} }
|
|
func (m *ContentManifestPayload) String() string { return proto.CompactTextString(m) }
|
|
func (*ContentManifestPayload) ProtoMessage() {}
|
|
func (*ContentManifestPayload) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{0}
|
|
}
|
|
|
|
func (m *ContentManifestPayload) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentManifestPayload.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentManifestPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentManifestPayload.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentManifestPayload) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentManifestPayload.Merge(m, src)
|
|
}
|
|
func (m *ContentManifestPayload) XXX_Size() int {
|
|
return xxx_messageInfo_ContentManifestPayload.Size(m)
|
|
}
|
|
func (m *ContentManifestPayload) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentManifestPayload.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentManifestPayload proto.InternalMessageInfo
|
|
|
|
func (m *ContentManifestPayload) GetMappings() []*ContentManifestPayload_FileMapping {
|
|
if m != nil {
|
|
return m.Mappings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentManifestPayload_FileMapping struct {
|
|
Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
|
|
Size *uint64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
|
Flags *uint32 `protobuf:"varint,3,opt,name=flags" json:"flags,omitempty"`
|
|
ShaFilename []byte `protobuf:"bytes,4,opt,name=sha_filename,json=shaFilename" json:"sha_filename,omitempty"`
|
|
ShaContent []byte `protobuf:"bytes,5,opt,name=sha_content,json=shaContent" json:"sha_content,omitempty"`
|
|
Chunks []*ContentManifestPayload_FileMapping_ChunkData `protobuf:"bytes,6,rep,name=chunks" json:"chunks,omitempty"`
|
|
Linktarget *string `protobuf:"bytes,7,opt,name=linktarget" json:"linktarget,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) Reset() { *m = ContentManifestPayload_FileMapping{} }
|
|
func (m *ContentManifestPayload_FileMapping) String() string { return proto.CompactTextString(m) }
|
|
func (*ContentManifestPayload_FileMapping) ProtoMessage() {}
|
|
func (*ContentManifestPayload_FileMapping) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{0, 0}
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentManifestPayload_FileMapping.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentManifestPayload_FileMapping.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentManifestPayload_FileMapping.Merge(m, src)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping) XXX_Size() int {
|
|
return xxx_messageInfo_ContentManifestPayload_FileMapping.Size(m)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentManifestPayload_FileMapping.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentManifestPayload_FileMapping proto.InternalMessageInfo
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetFilename() string {
|
|
if m != nil && m.Filename != nil {
|
|
return *m.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetSize() uint64 {
|
|
if m != nil && m.Size != nil {
|
|
return *m.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetFlags() uint32 {
|
|
if m != nil && m.Flags != nil {
|
|
return *m.Flags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetShaFilename() []byte {
|
|
if m != nil {
|
|
return m.ShaFilename
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetShaContent() []byte {
|
|
if m != nil {
|
|
return m.ShaContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetChunks() []*ContentManifestPayload_FileMapping_ChunkData {
|
|
if m != nil {
|
|
return m.Chunks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping) GetLinktarget() string {
|
|
if m != nil && m.Linktarget != nil {
|
|
return *m.Linktarget
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentManifestPayload_FileMapping_ChunkData struct {
|
|
Sha []byte `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"`
|
|
Crc *uint32 `protobuf:"fixed32,2,opt,name=crc" json:"crc,omitempty"`
|
|
Offset *uint64 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
|
|
CbOriginal *uint32 `protobuf:"varint,4,opt,name=cb_original,json=cbOriginal" json:"cb_original,omitempty"`
|
|
CbCompressed *uint32 `protobuf:"varint,5,opt,name=cb_compressed,json=cbCompressed" json:"cb_compressed,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) Reset() {
|
|
*m = ContentManifestPayload_FileMapping_ChunkData{}
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) String() string {
|
|
return proto.CompactTextString(m)
|
|
}
|
|
func (*ContentManifestPayload_FileMapping_ChunkData) ProtoMessage() {}
|
|
func (*ContentManifestPayload_FileMapping_ChunkData) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{0, 0, 0}
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentManifestPayload_FileMapping_ChunkData.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentManifestPayload_FileMapping_ChunkData.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentManifestPayload_FileMapping_ChunkData.Merge(m, src)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) XXX_Size() int {
|
|
return xxx_messageInfo_ContentManifestPayload_FileMapping_ChunkData.Size(m)
|
|
}
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentManifestPayload_FileMapping_ChunkData.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentManifestPayload_FileMapping_ChunkData proto.InternalMessageInfo
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) GetSha() []byte {
|
|
if m != nil {
|
|
return m.Sha
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) GetCrc() uint32 {
|
|
if m != nil && m.Crc != nil {
|
|
return *m.Crc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) GetOffset() uint64 {
|
|
if m != nil && m.Offset != nil {
|
|
return *m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) GetCbOriginal() uint32 {
|
|
if m != nil && m.CbOriginal != nil {
|
|
return *m.CbOriginal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestPayload_FileMapping_ChunkData) GetCbCompressed() uint32 {
|
|
if m != nil && m.CbCompressed != nil {
|
|
return *m.CbCompressed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContentManifestMetadata struct {
|
|
DepotId *uint32 `protobuf:"varint,1,opt,name=depot_id,json=depotId" json:"depot_id,omitempty"`
|
|
GidManifest *uint64 `protobuf:"varint,2,opt,name=gid_manifest,json=gidManifest" json:"gid_manifest,omitempty"`
|
|
CreationTime *uint32 `protobuf:"varint,3,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
|
|
FilenamesEncrypted *bool `protobuf:"varint,4,opt,name=filenames_encrypted,json=filenamesEncrypted" json:"filenames_encrypted,omitempty"`
|
|
CbDiskOriginal *uint64 `protobuf:"varint,5,opt,name=cb_disk_original,json=cbDiskOriginal" json:"cb_disk_original,omitempty"`
|
|
CbDiskCompressed *uint64 `protobuf:"varint,6,opt,name=cb_disk_compressed,json=cbDiskCompressed" json:"cb_disk_compressed,omitempty"`
|
|
UniqueChunks *uint32 `protobuf:"varint,7,opt,name=unique_chunks,json=uniqueChunks" json:"unique_chunks,omitempty"`
|
|
CrcEncrypted *uint32 `protobuf:"varint,8,opt,name=crc_encrypted,json=crcEncrypted" json:"crc_encrypted,omitempty"`
|
|
CrcClear *uint32 `protobuf:"varint,9,opt,name=crc_clear,json=crcClear" json:"crc_clear,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) Reset() { *m = ContentManifestMetadata{} }
|
|
func (m *ContentManifestMetadata) String() string { return proto.CompactTextString(m) }
|
|
func (*ContentManifestMetadata) ProtoMessage() {}
|
|
func (*ContentManifestMetadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{1}
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentManifestMetadata.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentManifestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentManifestMetadata.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentManifestMetadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentManifestMetadata.Merge(m, src)
|
|
}
|
|
func (m *ContentManifestMetadata) XXX_Size() int {
|
|
return xxx_messageInfo_ContentManifestMetadata.Size(m)
|
|
}
|
|
func (m *ContentManifestMetadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentManifestMetadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentManifestMetadata proto.InternalMessageInfo
|
|
|
|
func (m *ContentManifestMetadata) GetDepotId() uint32 {
|
|
if m != nil && m.DepotId != nil {
|
|
return *m.DepotId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetGidManifest() uint64 {
|
|
if m != nil && m.GidManifest != nil {
|
|
return *m.GidManifest
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetCreationTime() uint32 {
|
|
if m != nil && m.CreationTime != nil {
|
|
return *m.CreationTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetFilenamesEncrypted() bool {
|
|
if m != nil && m.FilenamesEncrypted != nil {
|
|
return *m.FilenamesEncrypted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetCbDiskOriginal() uint64 {
|
|
if m != nil && m.CbDiskOriginal != nil {
|
|
return *m.CbDiskOriginal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetCbDiskCompressed() uint64 {
|
|
if m != nil && m.CbDiskCompressed != nil {
|
|
return *m.CbDiskCompressed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetUniqueChunks() uint32 {
|
|
if m != nil && m.UniqueChunks != nil {
|
|
return *m.UniqueChunks
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetCrcEncrypted() uint32 {
|
|
if m != nil && m.CrcEncrypted != nil {
|
|
return *m.CrcEncrypted
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentManifestMetadata) GetCrcClear() uint32 {
|
|
if m != nil && m.CrcClear != nil {
|
|
return *m.CrcClear
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContentManifestSignature struct {
|
|
Signature []byte `protobuf:"bytes,1,opt,name=signature" json:"signature,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentManifestSignature) Reset() { *m = ContentManifestSignature{} }
|
|
func (m *ContentManifestSignature) String() string { return proto.CompactTextString(m) }
|
|
func (*ContentManifestSignature) ProtoMessage() {}
|
|
func (*ContentManifestSignature) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{2}
|
|
}
|
|
|
|
func (m *ContentManifestSignature) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentManifestSignature.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentManifestSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentManifestSignature.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentManifestSignature) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentManifestSignature.Merge(m, src)
|
|
}
|
|
func (m *ContentManifestSignature) XXX_Size() int {
|
|
return xxx_messageInfo_ContentManifestSignature.Size(m)
|
|
}
|
|
func (m *ContentManifestSignature) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentManifestSignature.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentManifestSignature proto.InternalMessageInfo
|
|
|
|
func (m *ContentManifestSignature) GetSignature() []byte {
|
|
if m != nil {
|
|
return m.Signature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentDeltaChunks struct {
|
|
DepotId *uint32 `protobuf:"varint,1,opt,name=depot_id,json=depotId" json:"depot_id,omitempty"`
|
|
ManifestIdSource *uint64 `protobuf:"varint,2,opt,name=manifest_id_source,json=manifestIdSource" json:"manifest_id_source,omitempty"`
|
|
ManifestIdTarget *uint64 `protobuf:"varint,3,opt,name=manifest_id_target,json=manifestIdTarget" json:"manifest_id_target,omitempty"`
|
|
DeltaChunks []*ContentDeltaChunks_DeltaChunk `protobuf:"bytes,4,rep,name=deltaChunks" json:"deltaChunks,omitempty"`
|
|
ChunkDataLocation *EContentDeltaChunkDataLocation `protobuf:"varint,5,opt,name=chunk_data_location,json=chunkDataLocation,enum=EContentDeltaChunkDataLocation,def=0" json:"chunk_data_location,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentDeltaChunks) Reset() { *m = ContentDeltaChunks{} }
|
|
func (m *ContentDeltaChunks) String() string { return proto.CompactTextString(m) }
|
|
func (*ContentDeltaChunks) ProtoMessage() {}
|
|
func (*ContentDeltaChunks) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{3}
|
|
}
|
|
|
|
func (m *ContentDeltaChunks) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentDeltaChunks.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentDeltaChunks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentDeltaChunks.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentDeltaChunks) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentDeltaChunks.Merge(m, src)
|
|
}
|
|
func (m *ContentDeltaChunks) XXX_Size() int {
|
|
return xxx_messageInfo_ContentDeltaChunks.Size(m)
|
|
}
|
|
func (m *ContentDeltaChunks) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentDeltaChunks.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentDeltaChunks proto.InternalMessageInfo
|
|
|
|
const Default_ContentDeltaChunks_ChunkDataLocation EContentDeltaChunkDataLocation = EContentDeltaChunkDataLocation_k_EContentDeltaChunkDataLocationInProtobuf
|
|
|
|
func (m *ContentDeltaChunks) GetDepotId() uint32 {
|
|
if m != nil && m.DepotId != nil {
|
|
return *m.DepotId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentDeltaChunks) GetManifestIdSource() uint64 {
|
|
if m != nil && m.ManifestIdSource != nil {
|
|
return *m.ManifestIdSource
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentDeltaChunks) GetManifestIdTarget() uint64 {
|
|
if m != nil && m.ManifestIdTarget != nil {
|
|
return *m.ManifestIdTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentDeltaChunks) GetDeltaChunks() []*ContentDeltaChunks_DeltaChunk {
|
|
if m != nil {
|
|
return m.DeltaChunks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentDeltaChunks) GetChunkDataLocation() EContentDeltaChunkDataLocation {
|
|
if m != nil && m.ChunkDataLocation != nil {
|
|
return *m.ChunkDataLocation
|
|
}
|
|
return Default_ContentDeltaChunks_ChunkDataLocation
|
|
}
|
|
|
|
type ContentDeltaChunks_DeltaChunk struct {
|
|
ShaSource []byte `protobuf:"bytes,1,opt,name=sha_source,json=shaSource" json:"sha_source,omitempty"`
|
|
ShaTarget []byte `protobuf:"bytes,2,opt,name=sha_target,json=shaTarget" json:"sha_target,omitempty"`
|
|
SizeOriginal *uint32 `protobuf:"varint,3,opt,name=size_original,json=sizeOriginal" json:"size_original,omitempty"`
|
|
PatchMethod *uint32 `protobuf:"varint,4,opt,name=patch_method,json=patchMethod" json:"patch_method,omitempty"`
|
|
Chunk []byte `protobuf:"bytes,5,opt,name=chunk" json:"chunk,omitempty"`
|
|
SizeDelta *uint32 `protobuf:"varint,6,opt,name=size_delta,json=sizeDelta" json:"size_delta,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) Reset() { *m = ContentDeltaChunks_DeltaChunk{} }
|
|
func (m *ContentDeltaChunks_DeltaChunk) String() string { return proto.CompactTextString(m) }
|
|
func (*ContentDeltaChunks_DeltaChunk) ProtoMessage() {}
|
|
func (*ContentDeltaChunks_DeltaChunk) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_e3cda137a29253ba, []int{3, 0}
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContentDeltaChunks_DeltaChunk.Unmarshal(m, b)
|
|
}
|
|
func (m *ContentDeltaChunks_DeltaChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContentDeltaChunks_DeltaChunk.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContentDeltaChunks_DeltaChunk) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContentDeltaChunks_DeltaChunk.Merge(m, src)
|
|
}
|
|
func (m *ContentDeltaChunks_DeltaChunk) XXX_Size() int {
|
|
return xxx_messageInfo_ContentDeltaChunks_DeltaChunk.Size(m)
|
|
}
|
|
func (m *ContentDeltaChunks_DeltaChunk) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContentDeltaChunks_DeltaChunk.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContentDeltaChunks_DeltaChunk proto.InternalMessageInfo
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) GetShaSource() []byte {
|
|
if m != nil {
|
|
return m.ShaSource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) GetShaTarget() []byte {
|
|
if m != nil {
|
|
return m.ShaTarget
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) GetSizeOriginal() uint32 {
|
|
if m != nil && m.SizeOriginal != nil {
|
|
return *m.SizeOriginal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) GetPatchMethod() uint32 {
|
|
if m != nil && m.PatchMethod != nil {
|
|
return *m.PatchMethod
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) GetChunk() []byte {
|
|
if m != nil {
|
|
return m.Chunk
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContentDeltaChunks_DeltaChunk) GetSizeDelta() uint32 {
|
|
if m != nil && m.SizeDelta != nil {
|
|
return *m.SizeDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("EContentDeltaChunkDataLocation", EContentDeltaChunkDataLocation_name, EContentDeltaChunkDataLocation_value)
|
|
proto.RegisterType((*ContentManifestPayload)(nil), "ContentManifestPayload")
|
|
proto.RegisterType((*ContentManifestPayload_FileMapping)(nil), "ContentManifestPayload.FileMapping")
|
|
proto.RegisterType((*ContentManifestPayload_FileMapping_ChunkData)(nil), "ContentManifestPayload.FileMapping.ChunkData")
|
|
proto.RegisterType((*ContentManifestMetadata)(nil), "ContentManifestMetadata")
|
|
proto.RegisterType((*ContentManifestSignature)(nil), "ContentManifestSignature")
|
|
proto.RegisterType((*ContentDeltaChunks)(nil), "ContentDeltaChunks")
|
|
proto.RegisterType((*ContentDeltaChunks_DeltaChunk)(nil), "ContentDeltaChunks.DeltaChunk")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("content_manifest.proto", fileDescriptor_e3cda137a29253ba) }
|
|
|
|
var fileDescriptor_e3cda137a29253ba = []byte{
|
|
// 742 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4f, 0x6f, 0xd3, 0x4e,
|
|
0x10, 0xad, 0x9b, 0xff, 0x93, 0xa4, 0xca, 0x6f, 0xfb, 0x53, 0x31, 0x01, 0xda, 0x34, 0xbd, 0x44,
|
|
0x55, 0x6b, 0x44, 0x4f, 0x88, 0x0b, 0x7f, 0xd2, 0x56, 0x54, 0x22, 0xa2, 0xda, 0xf6, 0xbe, 0xda,
|
|
0xac, 0x37, 0xf1, 0x2a, 0x8e, 0x1d, 0xbc, 0x9b, 0x43, 0xcb, 0x05, 0x89, 0x33, 0x9c, 0xf8, 0x4e,
|
|
0x7c, 0x17, 0xc4, 0x87, 0x40, 0xbb, 0x5e, 0xdb, 0x51, 0x8a, 0x0a, 0xdc, 0x3c, 0x33, 0x6f, 0xd6,
|
|
0xef, 0xbd, 0x99, 0x5d, 0xd8, 0x61, 0x71, 0xa4, 0x78, 0xa4, 0xc8, 0x9c, 0x46, 0x62, 0xc2, 0xa5,
|
|
0xf2, 0x16, 0x49, 0x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