2024-05-21 20:22:44 +03:00

422 lines
13 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v3.21.12
// source: waMediaEntryData/WAMediaEntryData.proto
package waMediaEntryData
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
_ "embed"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type MediaEntry struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"`
MediaKey []byte `protobuf:"bytes,2,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"`
FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"`
DirectPath string `protobuf:"bytes,4,opt,name=directPath,proto3" json:"directPath,omitempty"`
MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"`
ServerMediaType string `protobuf:"bytes,6,opt,name=serverMediaType,proto3" json:"serverMediaType,omitempty"`
UploadToken []byte `protobuf:"bytes,7,opt,name=uploadToken,proto3" json:"uploadToken,omitempty"`
ValidatedTimestamp []byte `protobuf:"bytes,8,opt,name=validatedTimestamp,proto3" json:"validatedTimestamp,omitempty"`
Sidecar []byte `protobuf:"bytes,9,opt,name=sidecar,proto3" json:"sidecar,omitempty"`
ObjectID string `protobuf:"bytes,10,opt,name=objectID,proto3" json:"objectID,omitempty"`
FBID string `protobuf:"bytes,11,opt,name=FBID,proto3" json:"FBID,omitempty"`
DownloadableThumbnail *MediaEntry_DownloadableThumbnail `protobuf:"bytes,12,opt,name=downloadableThumbnail,proto3" json:"downloadableThumbnail,omitempty"`
Handle string `protobuf:"bytes,13,opt,name=handle,proto3" json:"handle,omitempty"`
Filename string `protobuf:"bytes,14,opt,name=filename,proto3" json:"filename,omitempty"`
ProgressiveJPEGDetails *MediaEntry_ProgressiveJpegDetails `protobuf:"bytes,15,opt,name=progressiveJPEGDetails,proto3" json:"progressiveJPEGDetails,omitempty"`
}
func (x *MediaEntry) Reset() {
*x = MediaEntry{}
if protoimpl.UnsafeEnabled {
mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MediaEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MediaEntry) ProtoMessage() {}
func (x *MediaEntry) ProtoReflect() protoreflect.Message {
mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MediaEntry.ProtoReflect.Descriptor instead.
func (*MediaEntry) Descriptor() ([]byte, []int) {
return file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP(), []int{0}
}
func (x *MediaEntry) GetFileSHA256() []byte {
if x != nil {
return x.FileSHA256
}
return nil
}
func (x *MediaEntry) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *MediaEntry) GetFileEncSHA256() []byte {
if x != nil {
return x.FileEncSHA256
}
return nil
}
func (x *MediaEntry) GetDirectPath() string {
if x != nil {
return x.DirectPath
}
return ""
}
func (x *MediaEntry) GetMediaKeyTimestamp() int64 {
if x != nil {
return x.MediaKeyTimestamp
}
return 0
}
func (x *MediaEntry) GetServerMediaType() string {
if x != nil {
return x.ServerMediaType
}
return ""
}
func (x *MediaEntry) GetUploadToken() []byte {
if x != nil {
return x.UploadToken
}
return nil
}
func (x *MediaEntry) GetValidatedTimestamp() []byte {
if x != nil {
return x.ValidatedTimestamp
}
return nil
}
func (x *MediaEntry) GetSidecar() []byte {
if x != nil {
return x.Sidecar
}
return nil
}
func (x *MediaEntry) GetObjectID() string {
if x != nil {
return x.ObjectID
}
return ""
}
func (x *MediaEntry) GetFBID() string {
if x != nil {
return x.FBID
}
return ""
}
func (x *MediaEntry) GetDownloadableThumbnail() *MediaEntry_DownloadableThumbnail {
if x != nil {
return x.DownloadableThumbnail
}
return nil
}
func (x *MediaEntry) GetHandle() string {
if x != nil {
return x.Handle
}
return ""
}
func (x *MediaEntry) GetFilename() string {
if x != nil {
return x.Filename
}
return ""
}
func (x *MediaEntry) GetProgressiveJPEGDetails() *MediaEntry_ProgressiveJpegDetails {
if x != nil {
return x.ProgressiveJPEGDetails
}
return nil
}
type MediaEntry_ProgressiveJpegDetails struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ScanLengths []int64 `protobuf:"varint,1,rep,packed,name=scanLengths,proto3" json:"scanLengths,omitempty"`
Sidecar []byte `protobuf:"bytes,2,opt,name=sidecar,proto3" json:"sidecar,omitempty"`
}
func (x *MediaEntry_ProgressiveJpegDetails) Reset() {
*x = MediaEntry_ProgressiveJpegDetails{}
if protoimpl.UnsafeEnabled {
mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MediaEntry_ProgressiveJpegDetails) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MediaEntry_ProgressiveJpegDetails) ProtoMessage() {}
func (x *MediaEntry_ProgressiveJpegDetails) ProtoReflect() protoreflect.Message {
mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MediaEntry_ProgressiveJpegDetails.ProtoReflect.Descriptor instead.
func (*MediaEntry_ProgressiveJpegDetails) Descriptor() ([]byte, []int) {
return file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP(), []int{0, 0}
}
func (x *MediaEntry_ProgressiveJpegDetails) GetScanLengths() []int64 {
if x != nil {
return x.ScanLengths
}
return nil
}
func (x *MediaEntry_ProgressiveJpegDetails) GetSidecar() []byte {
if x != nil {
return x.Sidecar
}
return nil
}
type MediaEntry_DownloadableThumbnail struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"`
FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"`
DirectPath string `protobuf:"bytes,3,opt,name=directPath,proto3" json:"directPath,omitempty"`
MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"`
MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"`
ObjectID string `protobuf:"bytes,6,opt,name=objectID,proto3" json:"objectID,omitempty"`
}
func (x *MediaEntry_DownloadableThumbnail) Reset() {
*x = MediaEntry_DownloadableThumbnail{}
if protoimpl.UnsafeEnabled {
mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MediaEntry_DownloadableThumbnail) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MediaEntry_DownloadableThumbnail) ProtoMessage() {}
func (x *MediaEntry_DownloadableThumbnail) ProtoReflect() protoreflect.Message {
mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MediaEntry_DownloadableThumbnail.ProtoReflect.Descriptor instead.
func (*MediaEntry_DownloadableThumbnail) Descriptor() ([]byte, []int) {
return file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP(), []int{0, 1}
}
func (x *MediaEntry_DownloadableThumbnail) GetFileSHA256() []byte {
if x != nil {
return x.FileSHA256
}
return nil
}
func (x *MediaEntry_DownloadableThumbnail) GetFileEncSHA256() []byte {
if x != nil {
return x.FileEncSHA256
}
return nil
}
func (x *MediaEntry_DownloadableThumbnail) GetDirectPath() string {
if x != nil {
return x.DirectPath
}
return ""
}
func (x *MediaEntry_DownloadableThumbnail) GetMediaKey() []byte {
if x != nil {
return x.MediaKey
}
return nil
}
func (x *MediaEntry_DownloadableThumbnail) GetMediaKeyTimestamp() int64 {
if x != nil {
return x.MediaKeyTimestamp
}
return 0
}
func (x *MediaEntry_DownloadableThumbnail) GetObjectID() string {
if x != nil {
return x.ObjectID
}
return ""
}
var File_waMediaEntryData_WAMediaEntryData_proto protoreflect.FileDescriptor
//go:embed WAMediaEntryData.pb.raw
var file_waMediaEntryData_WAMediaEntryData_proto_rawDesc []byte
var (
file_waMediaEntryData_WAMediaEntryData_proto_rawDescOnce sync.Once
file_waMediaEntryData_WAMediaEntryData_proto_rawDescData = file_waMediaEntryData_WAMediaEntryData_proto_rawDesc
)
func file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP() []byte {
file_waMediaEntryData_WAMediaEntryData_proto_rawDescOnce.Do(func() {
file_waMediaEntryData_WAMediaEntryData_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMediaEntryData_WAMediaEntryData_proto_rawDescData)
})
return file_waMediaEntryData_WAMediaEntryData_proto_rawDescData
}
var file_waMediaEntryData_WAMediaEntryData_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_waMediaEntryData_WAMediaEntryData_proto_goTypes = []interface{}{
(*MediaEntry)(nil), // 0: WAMediaEntryData.MediaEntry
(*MediaEntry_ProgressiveJpegDetails)(nil), // 1: WAMediaEntryData.MediaEntry.ProgressiveJpegDetails
(*MediaEntry_DownloadableThumbnail)(nil), // 2: WAMediaEntryData.MediaEntry.DownloadableThumbnail
}
var file_waMediaEntryData_WAMediaEntryData_proto_depIdxs = []int32{
2, // 0: WAMediaEntryData.MediaEntry.downloadableThumbnail:type_name -> WAMediaEntryData.MediaEntry.DownloadableThumbnail
1, // 1: WAMediaEntryData.MediaEntry.progressiveJPEGDetails:type_name -> WAMediaEntryData.MediaEntry.ProgressiveJpegDetails
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_waMediaEntryData_WAMediaEntryData_proto_init() }
func file_waMediaEntryData_WAMediaEntryData_proto_init() {
if File_waMediaEntryData_WAMediaEntryData_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MediaEntry); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MediaEntry_ProgressiveJpegDetails); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MediaEntry_DownloadableThumbnail); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_waMediaEntryData_WAMediaEntryData_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_waMediaEntryData_WAMediaEntryData_proto_goTypes,
DependencyIndexes: file_waMediaEntryData_WAMediaEntryData_proto_depIdxs,
MessageInfos: file_waMediaEntryData_WAMediaEntryData_proto_msgTypes,
}.Build()
File_waMediaEntryData_WAMediaEntryData_proto = out.File
file_waMediaEntryData_WAMediaEntryData_proto_rawDesc = nil
file_waMediaEntryData_WAMediaEntryData_proto_goTypes = nil
file_waMediaEntryData_WAMediaEntryData_proto_depIdxs = nil
}