318 lines
11 KiB
Go
318 lines
11 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.21.12
|
|
// source: waArmadilloBackupMessage/WAArmadilloBackupMessage.proto
|
|
|
|
package waArmadilloBackupMessage
|
|
|
|
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 BackupMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *BackupMessage_Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
}
|
|
|
|
func (x *BackupMessage) Reset() {
|
|
*x = BackupMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BackupMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupMessage) ProtoMessage() {}
|
|
|
|
func (x *BackupMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_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 BackupMessage.ProtoReflect.Descriptor instead.
|
|
func (*BackupMessage) Descriptor() ([]byte, []int) {
|
|
return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *BackupMessage) GetMetadata() *BackupMessage_Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BackupMessage) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BackupMessage_Metadata struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SenderID string `protobuf:"bytes,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
|
|
MessageID string `protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty"`
|
|
TimestampMS int64 `protobuf:"varint,3,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"`
|
|
FrankingMetadata *BackupMessage_Metadata_FrankingMetadata `protobuf:"bytes,4,opt,name=frankingMetadata,proto3" json:"frankingMetadata,omitempty"`
|
|
PayloadVersion int32 `protobuf:"varint,5,opt,name=payloadVersion,proto3" json:"payloadVersion,omitempty"`
|
|
FutureProofBehavior int32 `protobuf:"varint,6,opt,name=futureProofBehavior,proto3" json:"futureProofBehavior,omitempty"`
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) Reset() {
|
|
*x = BackupMessage_Metadata{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupMessage_Metadata) ProtoMessage() {}
|
|
|
|
func (x *BackupMessage_Metadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_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 BackupMessage_Metadata.ProtoReflect.Descriptor instead.
|
|
func (*BackupMessage_Metadata) Descriptor() ([]byte, []int) {
|
|
return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) GetSenderID() string {
|
|
if x != nil {
|
|
return x.SenderID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) GetMessageID() string {
|
|
if x != nil {
|
|
return x.MessageID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) GetTimestampMS() int64 {
|
|
if x != nil {
|
|
return x.TimestampMS
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) GetFrankingMetadata() *BackupMessage_Metadata_FrankingMetadata {
|
|
if x != nil {
|
|
return x.FrankingMetadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) GetPayloadVersion() int32 {
|
|
if x != nil {
|
|
return x.PayloadVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata) GetFutureProofBehavior() int32 {
|
|
if x != nil {
|
|
return x.FutureProofBehavior
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BackupMessage_Metadata_FrankingMetadata struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FrankingTag []byte `protobuf:"bytes,3,opt,name=frankingTag,proto3" json:"frankingTag,omitempty"`
|
|
ReportingTag []byte `protobuf:"bytes,4,opt,name=reportingTag,proto3" json:"reportingTag,omitempty"`
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata_FrankingMetadata) Reset() {
|
|
*x = BackupMessage_Metadata_FrankingMetadata{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata_FrankingMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BackupMessage_Metadata_FrankingMetadata) ProtoMessage() {}
|
|
|
|
func (x *BackupMessage_Metadata_FrankingMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_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 BackupMessage_Metadata_FrankingMetadata.ProtoReflect.Descriptor instead.
|
|
func (*BackupMessage_Metadata_FrankingMetadata) Descriptor() ([]byte, []int) {
|
|
return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP(), []int{0, 0, 0}
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata_FrankingMetadata) GetFrankingTag() []byte {
|
|
if x != nil {
|
|
return x.FrankingTag
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BackupMessage_Metadata_FrankingMetadata) GetReportingTag() []byte {
|
|
if x != nil {
|
|
return x.ReportingTag
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto protoreflect.FileDescriptor
|
|
|
|
//go:embed WAArmadilloBackupMessage.pb.raw
|
|
var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc []byte
|
|
|
|
var (
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescOnce sync.Once
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData = file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc
|
|
)
|
|
|
|
func file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP() []byte {
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescOnce.Do(func() {
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData = protoimpl.X.CompressGZIP(file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData)
|
|
})
|
|
return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData
|
|
}
|
|
|
|
var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_goTypes = []interface{}{
|
|
(*BackupMessage)(nil), // 0: WAArmadilloBackupMessage.BackupMessage
|
|
(*BackupMessage_Metadata)(nil), // 1: WAArmadilloBackupMessage.BackupMessage.Metadata
|
|
(*BackupMessage_Metadata_FrankingMetadata)(nil), // 2: WAArmadilloBackupMessage.BackupMessage.Metadata.FrankingMetadata
|
|
}
|
|
var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_depIdxs = []int32{
|
|
1, // 0: WAArmadilloBackupMessage.BackupMessage.metadata:type_name -> WAArmadilloBackupMessage.BackupMessage.Metadata
|
|
2, // 1: WAArmadilloBackupMessage.BackupMessage.Metadata.frankingMetadata:type_name -> WAArmadilloBackupMessage.BackupMessage.Metadata.FrankingMetadata
|
|
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_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_init() }
|
|
func file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_init() {
|
|
if File_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BackupMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BackupMessage_Metadata); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BackupMessage_Metadata_FrankingMetadata); 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_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 3,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_goTypes,
|
|
DependencyIndexes: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_depIdxs,
|
|
MessageInfos: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes,
|
|
}.Build()
|
|
File_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto = out.File
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc = nil
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_goTypes = nil
|
|
file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_depIdxs = nil
|
|
}
|