mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-29 13:55:40 +00:00
290 lines
11 KiB
Go
290 lines
11 KiB
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: content_manifest.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package protobuf
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
type ContentManifestPayload struct {
|
||
|
Mappings []*ContentManifestPayload_FileMapping `protobuf:"bytes,1,rep,name=mappings" json:"mappings,omitempty"`
|
||
|
XXX_unrecognized []byte `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 content_manifest_fileDescriptor0, []int{0} }
|
||
|
|
||
|
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:"sha_filename,omitempty"`
|
||
|
ShaContent []byte `protobuf:"bytes,5,opt,name=sha_content" 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_unrecognized []byte `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 content_manifest_fileDescriptor0, []int{0, 0}
|
||
|
}
|
||
|
|
||
|
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:"cb_original,omitempty"`
|
||
|
CbCompressed *uint32 `protobuf:"varint,5,opt,name=cb_compressed" json:"cb_compressed,omitempty"`
|
||
|
XXX_unrecognized []byte `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 content_manifest_fileDescriptor0, []int{0, 0, 0}
|
||
|
}
|
||
|
|
||
|
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:"depot_id,omitempty"`
|
||
|
GidManifest *uint64 `protobuf:"varint,2,opt,name=gid_manifest" json:"gid_manifest,omitempty"`
|
||
|
CreationTime *uint32 `protobuf:"varint,3,opt,name=creation_time" json:"creation_time,omitempty"`
|
||
|
FilenamesEncrypted *bool `protobuf:"varint,4,opt,name=filenames_encrypted" json:"filenames_encrypted,omitempty"`
|
||
|
CbDiskOriginal *uint64 `protobuf:"varint,5,opt,name=cb_disk_original" json:"cb_disk_original,omitempty"`
|
||
|
CbDiskCompressed *uint64 `protobuf:"varint,6,opt,name=cb_disk_compressed" json:"cb_disk_compressed,omitempty"`
|
||
|
UniqueChunks *uint32 `protobuf:"varint,7,opt,name=unique_chunks" json:"unique_chunks,omitempty"`
|
||
|
CrcEncrypted *uint32 `protobuf:"varint,8,opt,name=crc_encrypted" json:"crc_encrypted,omitempty"`
|
||
|
CrcClear *uint32 `protobuf:"varint,9,opt,name=crc_clear" json:"crc_clear,omitempty"`
|
||
|
XXX_unrecognized []byte `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 content_manifest_fileDescriptor0, []int{1} }
|
||
|
|
||
|
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_unrecognized []byte `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 content_manifest_fileDescriptor0, []int{2} }
|
||
|
|
||
|
func (m *ContentManifestSignature) GetSignature() []byte {
|
||
|
if m != nil {
|
||
|
return m.Signature
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
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")
|
||
|
}
|
||
|
|
||
|
var content_manifest_fileDescriptor0 = []byte{
|
||
|
// 409 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x91, 0xbd, 0x8e, 0xd4, 0x30,
|
||
|
0x14, 0x85, 0xc9, 0xfc, 0x26, 0x37, 0x09, 0x5a, 0xbc, 0xb0, 0x58, 0x43, 0x83, 0x96, 0x66, 0x9b,
|
||
|
0x4d, 0x81, 0x44, 0x49, 0xc3, 0x22, 0x44, 0x33, 0x12, 0x12, 0x0f, 0x10, 0x5d, 0x1c, 0x27, 0x6b,
|
||
|
0x4d, 0x62, 0x07, 0xdb, 0x29, 0x96, 0x8a, 0x17, 0xe1, 0x0d, 0x91, 0x78, 0x05, 0x6c, 0x27, 0x99,
|
||
|
0x1d, 0x8d, 0x28, 0x28, 0xcf,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