Watch
1
0
Fork
You've already forked mautrix-signal
0
mirror of https://github.com/mautrix/signal.git synced 2026-09-17 08:12:05 -04:00
mautrix-signal/pkg/signalmeow/protobuf/rpc/backups/backups.pb.go

3268 lines
121 KiB
Go
Raw Permalink Normal View History

//
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.34.1
// source: org/signal/chat/backups.proto
package backups
import (
common "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/common"
errors "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/errors"
_ "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/require"
_ "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/tag"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 SetBackupIdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// A BackupAuthCredentialRequest containing a blinded encrypted backup-id,
// encoded in standard padded base64. This backup-id should be used for
// message backups only, and must have the message backup type set on the
// credential. If absent, the message credential request will not be updated.
MessagesBackupAuthCredentialRequest []byte `protobuf:"bytes,1,opt,name=messages_backup_auth_credential_request,json=messagesBackupAuthCredentialRequest,proto3" json:"messages_backup_auth_credential_request,omitempty"`
// A BackupAuthCredentialRequest containing a blinded encrypted backup-id,
// encoded in standard padded base64. This backup-id should be used for
// media only, and must have the media type set on the credential. If absent,
// the media credential request will not be updated.
MediaBackupAuthCredentialRequest []byte `protobuf:"bytes,2,opt,name=media_backup_auth_credential_request,json=mediaBackupAuthCredentialRequest,proto3" json:"media_backup_auth_credential_request,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetBackupIdRequest) Reset() {
*x = SetBackupIdRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetBackupIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetBackupIdRequest) ProtoMessage() {}
func (x *SetBackupIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetBackupIdRequest.ProtoReflect.Descriptor instead.
func (*SetBackupIdRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{0}
}
func (x *SetBackupIdRequest) GetMessagesBackupAuthCredentialRequest() []byte {
if x != nil {
return x.MessagesBackupAuthCredentialRequest
}
return nil
}
func (x *SetBackupIdRequest) GetMediaBackupAuthCredentialRequest() []byte {
if x != nil {
return x.MediaBackupAuthCredentialRequest
}
return nil
}
type SetBackupIdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetBackupIdResponse) Reset() {
*x = SetBackupIdResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetBackupIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetBackupIdResponse) ProtoMessage() {}
func (x *SetBackupIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetBackupIdResponse.ProtoReflect.Descriptor instead.
func (*SetBackupIdResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{1}
}
type RedeemReceiptRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Presentation for a previously acquired receipt, serialized with libsignal
Presentation []byte `protobuf:"bytes,1,opt,name=presentation,proto3" json:"presentation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RedeemReceiptRequest) Reset() {
*x = RedeemReceiptRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RedeemReceiptRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RedeemReceiptRequest) ProtoMessage() {}
func (x *RedeemReceiptRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RedeemReceiptRequest.ProtoReflect.Descriptor instead.
func (*RedeemReceiptRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{2}
}
func (x *RedeemReceiptRequest) GetPresentation() []byte {
if x != nil {
return x.Presentation
}
return nil
}
type RedeemReceiptResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *RedeemReceiptResponse_Success
// *RedeemReceiptResponse_AccountMissingCommitment
// *RedeemReceiptResponse_InvalidReceipt
Response isRedeemReceiptResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RedeemReceiptResponse) Reset() {
*x = RedeemReceiptResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RedeemReceiptResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RedeemReceiptResponse) ProtoMessage() {}
func (x *RedeemReceiptResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RedeemReceiptResponse.ProtoReflect.Descriptor instead.
func (*RedeemReceiptResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{3}
}
func (x *RedeemReceiptResponse) GetResponse() isRedeemReceiptResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *RedeemReceiptResponse) GetSuccess() *emptypb.Empty {
if x != nil {
if x, ok := x.Response.(*RedeemReceiptResponse_Success); ok {
return x.Success
}
}
return nil
}
func (x *RedeemReceiptResponse) GetAccountMissingCommitment() *errors.FailedPrecondition {
if x != nil {
if x, ok := x.Response.(*RedeemReceiptResponse_AccountMissingCommitment); ok {
return x.AccountMissingCommitment
}
}
return nil
}
func (x *RedeemReceiptResponse) GetInvalidReceipt() *errors.FailedPrecondition {
if x != nil {
if x, ok := x.Response.(*RedeemReceiptResponse_InvalidReceipt); ok {
return x.InvalidReceipt
}
}
return nil
}
type isRedeemReceiptResponse_Response interface {
isRedeemReceiptResponse_Response()
}
type RedeemReceiptResponse_Success struct {
// The receipt was successfully redeemed
Success *emptypb.Empty `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type RedeemReceiptResponse_AccountMissingCommitment struct {
// The target account does not have a backup-id commitment
AccountMissingCommitment *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=account_missing_commitment,json=accountMissingCommitment,proto3,oneof"`
}
type RedeemReceiptResponse_InvalidReceipt struct {
// The provided receipt presentation was malformed or expired
InvalidReceipt *errors.FailedPrecondition `protobuf:"bytes,3,opt,name=invalid_receipt,json=invalidReceipt,proto3,oneof"`
}
func (*RedeemReceiptResponse_Success) isRedeemReceiptResponse_Response() {}
func (*RedeemReceiptResponse_AccountMissingCommitment) isRedeemReceiptResponse_Response() {}
func (*RedeemReceiptResponse_InvalidReceipt) isRedeemReceiptResponse_Response() {}
type GetBackupAuthCredentialsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The redemption time for the first credential. This must be a day-aligned
// seconds since epoch in UTC.
RedemptionStart int64 `protobuf:"varint,1,opt,name=redemption_start,json=redemptionStart,proto3" json:"redemption_start,omitempty"`
// The redemption time for the last credential. This must be a day-aligned
// seconds since epoch in UTC. The span between redemptionStart and
// redemptionEnd must not exceed 7 days.
RedemptionStop int64 `protobuf:"varint,2,opt,name=redemption_stop,json=redemptionStop,proto3" json:"redemption_stop,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBackupAuthCredentialsRequest) Reset() {
*x = GetBackupAuthCredentialsRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBackupAuthCredentialsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBackupAuthCredentialsRequest) ProtoMessage() {}
func (x *GetBackupAuthCredentialsRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBackupAuthCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetBackupAuthCredentialsRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{4}
}
func (x *GetBackupAuthCredentialsRequest) GetRedemptionStart() int64 {
if x != nil {
return x.RedemptionStart
}
return 0
}
func (x *GetBackupAuthCredentialsRequest) GetRedemptionStop() int64 {
if x != nil {
return x.RedemptionStop
}
return 0
}
type GetBackupAuthCredentialsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The requested credentials. If absent, there was no existing blinded
// backup id associated with the provided account.
Credentials *GetBackupAuthCredentialsResponse_Credentials `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBackupAuthCredentialsResponse) Reset() {
*x = GetBackupAuthCredentialsResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBackupAuthCredentialsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBackupAuthCredentialsResponse) ProtoMessage() {}
func (x *GetBackupAuthCredentialsResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBackupAuthCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GetBackupAuthCredentialsResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{5}
}
func (x *GetBackupAuthCredentialsResponse) GetCredentials() *GetBackupAuthCredentialsResponse_Credentials {
if x != nil {
return x.Credentials
}
return nil
}
type SignedPresentation struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Presentation of a BackupAuthCredential previously retrieved from
// GetBackupAuthCredentials on the authenticated channel
Presentation []byte `protobuf:"bytes,1,opt,name=presentation,proto3" json:"presentation,omitempty"`
// The presentation signed with the private key corresponding to the public
// key set with SetPublicKey
PresentationSignature []byte `protobuf:"bytes,2,opt,name=presentation_signature,json=presentationSignature,proto3" json:"presentation_signature,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SignedPresentation) Reset() {
*x = SignedPresentation{}
mi := &file_org_signal_chat_backups_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SignedPresentation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignedPresentation) ProtoMessage() {}
func (x *SignedPresentation) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignedPresentation.ProtoReflect.Descriptor instead.
func (*SignedPresentation) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{6}
}
func (x *SignedPresentation) GetPresentation() []byte {
if x != nil {
return x.Presentation
}
return nil
}
func (x *SignedPresentation) GetPresentationSignature() []byte {
if x != nil {
return x.PresentationSignature
}
return nil
}
type SetPublicKeyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
// The public key, serialized in libsignal's elliptic-curve public key format.
PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetPublicKeyRequest) Reset() {
*x = SetPublicKeyRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetPublicKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetPublicKeyRequest) ProtoMessage() {}
func (x *SetPublicKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*SetPublicKeyRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{7}
}
func (x *SetPublicKeyRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
func (x *SetPublicKeyRequest) GetPublicKey() []byte {
if x != nil {
return x.PublicKey
}
return nil
}
type SetPublicKeyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *SetPublicKeyResponse_Success
// *SetPublicKeyResponse_FailedAuthentication
Response isSetPublicKeyResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetPublicKeyResponse) Reset() {
*x = SetPublicKeyResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetPublicKeyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetPublicKeyResponse) ProtoMessage() {}
func (x *SetPublicKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*SetPublicKeyResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{8}
}
func (x *SetPublicKeyResponse) GetResponse() isSetPublicKeyResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *SetPublicKeyResponse) GetSuccess() *emptypb.Empty {
if x != nil {
if x, ok := x.Response.(*SetPublicKeyResponse_Success); ok {
return x.Success
}
}
return nil
}
func (x *SetPublicKeyResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*SetPublicKeyResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isSetPublicKeyResponse_Response interface {
isSetPublicKeyResponse_Response()
}
type SetPublicKeyResponse_Success struct {
// The public key was successfully set
Success *emptypb.Empty `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type SetPublicKeyResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
//
// This may also be returned if there was an existing public key and the
// provided public key did not match.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*SetPublicKeyResponse_Success) isSetPublicKeyResponse_Response() {}
func (*SetPublicKeyResponse_FailedAuthentication) isSetPublicKeyResponse_Response() {}
type GetCdnCredentialsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
Cdn uint32 `protobuf:"varint,2,opt,name=cdn,proto3" json:"cdn,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCdnCredentialsRequest) Reset() {
*x = GetCdnCredentialsRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCdnCredentialsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCdnCredentialsRequest) ProtoMessage() {}
func (x *GetCdnCredentialsRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCdnCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetCdnCredentialsRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{9}
}
func (x *GetCdnCredentialsRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
func (x *GetCdnCredentialsRequest) GetCdn() uint32 {
if x != nil {
return x.Cdn
}
return 0
}
type GetCdnCredentialsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *GetCdnCredentialsResponse_CdnCredentials_
// *GetCdnCredentialsResponse_FailedAuthentication
Response isGetCdnCredentialsResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCdnCredentialsResponse) Reset() {
*x = GetCdnCredentialsResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCdnCredentialsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCdnCredentialsResponse) ProtoMessage() {}
func (x *GetCdnCredentialsResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCdnCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GetCdnCredentialsResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{10}
}
func (x *GetCdnCredentialsResponse) GetResponse() isGetCdnCredentialsResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *GetCdnCredentialsResponse) GetCdnCredentials() *GetCdnCredentialsResponse_CdnCredentials {
if x != nil {
if x, ok := x.Response.(*GetCdnCredentialsResponse_CdnCredentials_); ok {
return x.CdnCredentials
}
}
return nil
}
func (x *GetCdnCredentialsResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*GetCdnCredentialsResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isGetCdnCredentialsResponse_Response interface {
isGetCdnCredentialsResponse_Response()
}
type GetCdnCredentialsResponse_CdnCredentials_ struct {
// Headers to include with requests to the read from the backup CDN. Includes
// time limited read-only credentials.
CdnCredentials *GetCdnCredentialsResponse_CdnCredentials `protobuf:"bytes,1,opt,name=cdn_credentials,json=cdnCredentials,proto3,oneof"`
}
type GetCdnCredentialsResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*GetCdnCredentialsResponse_CdnCredentials_) isGetCdnCredentialsResponse_Response() {}
func (*GetCdnCredentialsResponse_FailedAuthentication) isGetCdnCredentialsResponse_Response() {}
type GetSvrBCredentialsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSvrBCredentialsRequest) Reset() {
*x = GetSvrBCredentialsRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSvrBCredentialsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSvrBCredentialsRequest) ProtoMessage() {}
func (x *GetSvrBCredentialsRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSvrBCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetSvrBCredentialsRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{11}
}
func (x *GetSvrBCredentialsRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
type GetSvrBCredentialsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *GetSvrBCredentialsResponse_SvrbCredentials
// *GetSvrBCredentialsResponse_FailedAuthentication
Response isGetSvrBCredentialsResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSvrBCredentialsResponse) Reset() {
*x = GetSvrBCredentialsResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSvrBCredentialsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSvrBCredentialsResponse) ProtoMessage() {}
func (x *GetSvrBCredentialsResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSvrBCredentialsResponse.ProtoReflect.Descriptor instead.
func (*GetSvrBCredentialsResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{12}
}
func (x *GetSvrBCredentialsResponse) GetResponse() isGetSvrBCredentialsResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *GetSvrBCredentialsResponse) GetSvrbCredentials() *GetSvrBCredentialsResponse_SvrBCredentials {
if x != nil {
if x, ok := x.Response.(*GetSvrBCredentialsResponse_SvrbCredentials); ok {
return x.SvrbCredentials
}
}
return nil
}
func (x *GetSvrBCredentialsResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*GetSvrBCredentialsResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isGetSvrBCredentialsResponse_Response interface {
isGetSvrBCredentialsResponse_Response()
}
type GetSvrBCredentialsResponse_SvrbCredentials struct {
SvrbCredentials *GetSvrBCredentialsResponse_SvrBCredentials `protobuf:"bytes,1,opt,name=svrb_credentials,json=svrbCredentials,proto3,oneof"`
}
type GetSvrBCredentialsResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*GetSvrBCredentialsResponse_SvrbCredentials) isGetSvrBCredentialsResponse_Response() {}
func (*GetSvrBCredentialsResponse_FailedAuthentication) isGetSvrBCredentialsResponse_Response() {}
type GetBackupInfoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBackupInfoRequest) Reset() {
*x = GetBackupInfoRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBackupInfoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBackupInfoRequest) ProtoMessage() {}
func (x *GetBackupInfoRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBackupInfoRequest.ProtoReflect.Descriptor instead.
func (*GetBackupInfoRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{13}
}
func (x *GetBackupInfoRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
type GetMessageBackupInfoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *GetMessageBackupInfoResponse_BackupInfo
// *GetMessageBackupInfoResponse_FailedAuthentication
Response isGetMessageBackupInfoResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMessageBackupInfoResponse) Reset() {
*x = GetMessageBackupInfoResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMessageBackupInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMessageBackupInfoResponse) ProtoMessage() {}
func (x *GetMessageBackupInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetMessageBackupInfoResponse.ProtoReflect.Descriptor instead.
func (*GetMessageBackupInfoResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{14}
}
func (x *GetMessageBackupInfoResponse) GetResponse() isGetMessageBackupInfoResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *GetMessageBackupInfoResponse) GetBackupInfo() *GetMessageBackupInfoResponse_MessageBackupInfo {
if x != nil {
if x, ok := x.Response.(*GetMessageBackupInfoResponse_BackupInfo); ok {
return x.BackupInfo
}
}
return nil
}
func (x *GetMessageBackupInfoResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*GetMessageBackupInfoResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isGetMessageBackupInfoResponse_Response interface {
isGetMessageBackupInfoResponse_Response()
}
type GetMessageBackupInfoResponse_BackupInfo struct {
BackupInfo *GetMessageBackupInfoResponse_MessageBackupInfo `protobuf:"bytes,1,opt,name=backup_info,json=backupInfo,proto3,oneof"`
}
type GetMessageBackupInfoResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*GetMessageBackupInfoResponse_BackupInfo) isGetMessageBackupInfoResponse_Response() {}
func (*GetMessageBackupInfoResponse_FailedAuthentication) isGetMessageBackupInfoResponse_Response() {}
type GetMediaBackupInfoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *GetMediaBackupInfoResponse_BackupInfo
// *GetMediaBackupInfoResponse_FailedAuthentication
Response isGetMediaBackupInfoResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMediaBackupInfoResponse) Reset() {
*x = GetMediaBackupInfoResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMediaBackupInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMediaBackupInfoResponse) ProtoMessage() {}
func (x *GetMediaBackupInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetMediaBackupInfoResponse.ProtoReflect.Descriptor instead.
func (*GetMediaBackupInfoResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{15}
}
func (x *GetMediaBackupInfoResponse) GetResponse() isGetMediaBackupInfoResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *GetMediaBackupInfoResponse) GetBackupInfo() *GetMediaBackupInfoResponse_MediaBackupInfo {
if x != nil {
if x, ok := x.Response.(*GetMediaBackupInfoResponse_BackupInfo); ok {
return x.BackupInfo
}
}
return nil
}
func (x *GetMediaBackupInfoResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*GetMediaBackupInfoResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isGetMediaBackupInfoResponse_Response interface {
isGetMediaBackupInfoResponse_Response()
}
type GetMediaBackupInfoResponse_BackupInfo struct {
BackupInfo *GetMediaBackupInfoResponse_MediaBackupInfo `protobuf:"bytes,1,opt,name=backup_info,json=backupInfo,proto3,oneof"`
}
type GetMediaBackupInfoResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*GetMediaBackupInfoResponse_BackupInfo) isGetMediaBackupInfoResponse_Response() {}
func (*GetMediaBackupInfoResponse_FailedAuthentication) isGetMediaBackupInfoResponse_Response() {}
type RefreshRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RefreshRequest) Reset() {
*x = RefreshRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RefreshRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RefreshRequest) ProtoMessage() {}
func (x *RefreshRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.
func (*RefreshRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{16}
}
func (x *RefreshRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
type RefreshResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *RefreshResponse_Success
// *RefreshResponse_FailedAuthentication
Response isRefreshResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RefreshResponse) Reset() {
*x = RefreshResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RefreshResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RefreshResponse) ProtoMessage() {}
func (x *RefreshResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.
func (*RefreshResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{17}
}
func (x *RefreshResponse) GetResponse() isRefreshResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *RefreshResponse) GetSuccess() *emptypb.Empty {
if x != nil {
if x, ok := x.Response.(*RefreshResponse_Success); ok {
return x.Success
}
}
return nil
}
func (x *RefreshResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*RefreshResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isRefreshResponse_Response interface {
isRefreshResponse_Response()
}
type RefreshResponse_Success struct {
// The backup was successfully refreshed
Success *emptypb.Empty `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type RefreshResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*RefreshResponse_Success) isRefreshResponse_Response() {}
func (*RefreshResponse_FailedAuthentication) isRefreshResponse_Response() {}
type GetUploadFormRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
// Types that are valid to be assigned to UploadType:
//
// *GetUploadFormRequest_Messages
// *GetUploadFormRequest_Media
UploadType isGetUploadFormRequest_UploadType `protobuf_oneof:"upload_type"`
// The length of the attachment for the requested upload form. Uploads
// performed with this form will be limited to the provided length.
UploadLength uint64 `protobuf:"varint,4,opt,name=uploadLength,proto3" json:"uploadLength,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUploadFormRequest) Reset() {
*x = GetUploadFormRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUploadFormRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUploadFormRequest) ProtoMessage() {}
func (x *GetUploadFormRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetUploadFormRequest.ProtoReflect.Descriptor instead.
func (*GetUploadFormRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{18}
}
func (x *GetUploadFormRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
func (x *GetUploadFormRequest) GetUploadType() isGetUploadFormRequest_UploadType {
if x != nil {
return x.UploadType
}
return nil
}
func (x *GetUploadFormRequest) GetMessages() *GetUploadFormRequest_MessagesUploadType {
if x != nil {
if x, ok := x.UploadType.(*GetUploadFormRequest_Messages); ok {
return x.Messages
}
}
return nil
}
func (x *GetUploadFormRequest) GetMedia() *GetUploadFormRequest_MediaUploadType {
if x != nil {
if x, ok := x.UploadType.(*GetUploadFormRequest_Media); ok {
return x.Media
}
}
return nil
}
func (x *GetUploadFormRequest) GetUploadLength() uint64 {
if x != nil {
return x.UploadLength
}
return 0
}
type isGetUploadFormRequest_UploadType interface {
isGetUploadFormRequest_UploadType()
}
type GetUploadFormRequest_Messages struct {
// Retrieve an upload form that can be used to perform a resumable upload of
// a message backup. The finished upload will be available on the backup cdn.
Messages *GetUploadFormRequest_MessagesUploadType `protobuf:"bytes,2,opt,name=messages,proto3,oneof"`
}
type GetUploadFormRequest_Media struct {
// Retrieve an upload form for a temporary location that can be used to
// perform a resumable upload of an attachment. After uploading, the
// attachment can be copied into the backup via CopyMedia.
//
// Behaves identically to the account authenticated version at /attachments.
Media *GetUploadFormRequest_MediaUploadType `protobuf:"bytes,3,opt,name=media,proto3,oneof"`
}
func (*GetUploadFormRequest_Messages) isGetUploadFormRequest_UploadType() {}
func (*GetUploadFormRequest_Media) isGetUploadFormRequest_UploadType() {}
type GetUploadFormResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *GetUploadFormResponse_UploadForm
// *GetUploadFormResponse_FailedAuthentication
// *GetUploadFormResponse_ExceedsMaxUploadLength
Response isGetUploadFormResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUploadFormResponse) Reset() {
*x = GetUploadFormResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUploadFormResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUploadFormResponse) ProtoMessage() {}
func (x *GetUploadFormResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetUploadFormResponse.ProtoReflect.Descriptor instead.
func (*GetUploadFormResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{19}
}
func (x *GetUploadFormResponse) GetResponse() isGetUploadFormResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *GetUploadFormResponse) GetUploadForm() *common.UploadForm {
if x != nil {
if x, ok := x.Response.(*GetUploadFormResponse_UploadForm); ok {
return x.UploadForm
}
}
return nil
}
func (x *GetUploadFormResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*GetUploadFormResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
func (x *GetUploadFormResponse) GetExceedsMaxUploadLength() *errors.FailedPrecondition {
if x != nil {
if x, ok := x.Response.(*GetUploadFormResponse_ExceedsMaxUploadLength); ok {
return x.ExceedsMaxUploadLength
}
}
return nil
}
type isGetUploadFormResponse_Response interface {
isGetUploadFormResponse_Response()
}
type GetUploadFormResponse_UploadForm struct {
UploadForm *common.UploadForm `protobuf:"bytes,1,opt,name=upload_form,json=uploadForm,proto3,oneof"`
}
type GetUploadFormResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
type GetUploadFormResponse_ExceedsMaxUploadLength struct {
// The request size was larger than the maximum supported upload size. The
// maximum upload size is subject to change and is governed by
// `global.attachments.maxBytes`
ExceedsMaxUploadLength *errors.FailedPrecondition `protobuf:"bytes,3,opt,name=exceeds_max_upload_length,json=exceedsMaxUploadLength,proto3,oneof"`
}
func (*GetUploadFormResponse_UploadForm) isGetUploadFormResponse_Response() {}
func (*GetUploadFormResponse_FailedAuthentication) isGetUploadFormResponse_Response() {}
func (*GetUploadFormResponse_ExceedsMaxUploadLength) isGetUploadFormResponse_Response() {}
type CopyMediaItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The attachment cdn of the object to copy into the backup
SourceAttachmentCdn uint32 `protobuf:"varint,1,opt,name=source_attachment_cdn,json=sourceAttachmentCdn,proto3" json:"source_attachment_cdn,omitempty"`
// The attachment key of the object to copy into the backup
SourceKey string `protobuf:"bytes,2,opt,name=source_key,json=sourceKey,proto3" json:"source_key,omitempty"`
// The length of the source attachment before the encryption applied by the
// copy operation
ObjectLength uint64 `protobuf:"varint,3,opt,name=object_length,json=objectLength,proto3" json:"object_length,omitempty"`
// media_id to copy on to the backup CDN
MediaId []byte `protobuf:"bytes,4,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"`
// A 32-byte key for the MAC
HmacKey []byte `protobuf:"bytes,5,opt,name=hmac_key,json=hmacKey,proto3" json:"hmac_key,omitempty"`
// A 32-byte encryption key for AES
EncryptionKey []byte `protobuf:"bytes,6,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaItem) Reset() {
*x = CopyMediaItem{}
mi := &file_org_signal_chat_backups_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaItem) ProtoMessage() {}
func (x *CopyMediaItem) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaItem.ProtoReflect.Descriptor instead.
func (*CopyMediaItem) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{20}
}
func (x *CopyMediaItem) GetSourceAttachmentCdn() uint32 {
if x != nil {
return x.SourceAttachmentCdn
}
return 0
}
func (x *CopyMediaItem) GetSourceKey() string {
if x != nil {
return x.SourceKey
}
return ""
}
func (x *CopyMediaItem) GetObjectLength() uint64 {
if x != nil {
return x.ObjectLength
}
return 0
}
func (x *CopyMediaItem) GetMediaId() []byte {
if x != nil {
return x.MediaId
}
return nil
}
func (x *CopyMediaItem) GetHmacKey() []byte {
if x != nil {
return x.HmacKey
}
return nil
}
func (x *CopyMediaItem) GetEncryptionKey() []byte {
if x != nil {
return x.EncryptionKey
}
return nil
}
type CopyMediaRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
// Items to copy
Items []*CopyMediaItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaRequest) Reset() {
*x = CopyMediaRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaRequest) ProtoMessage() {}
func (x *CopyMediaRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaRequest.ProtoReflect.Descriptor instead.
func (*CopyMediaRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{21}
}
func (x *CopyMediaRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
func (x *CopyMediaRequest) GetItems() []*CopyMediaItem {
if x != nil {
return x.Items
}
return nil
}
type CopyMediaResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The 15-byte media_id from the corresponding CopyMediaItem in the request
MediaId []byte `protobuf:"bytes,1,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"`
// Types that are valid to be assigned to Response:
//
// *CopyMediaResponse_Success
// *CopyMediaResponse_SourceNotFound_
// *CopyMediaResponse_WrongSourceLength_
// *CopyMediaResponse_OutOfSpace_
Response isCopyMediaResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaResponse) Reset() {
*x = CopyMediaResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaResponse) ProtoMessage() {}
func (x *CopyMediaResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaResponse.ProtoReflect.Descriptor instead.
func (*CopyMediaResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{22}
}
func (x *CopyMediaResponse) GetMediaId() []byte {
if x != nil {
return x.MediaId
}
return nil
}
func (x *CopyMediaResponse) GetResponse() isCopyMediaResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *CopyMediaResponse) GetSuccess() *CopyMediaResponse_CopySuccess {
if x != nil {
if x, ok := x.Response.(*CopyMediaResponse_Success); ok {
return x.Success
}
}
return nil
}
func (x *CopyMediaResponse) GetSourceNotFound() *CopyMediaResponse_SourceNotFound {
if x != nil {
if x, ok := x.Response.(*CopyMediaResponse_SourceNotFound_); ok {
return x.SourceNotFound
}
}
return nil
}
func (x *CopyMediaResponse) GetWrongSourceLength() *CopyMediaResponse_WrongSourceLength {
if x != nil {
if x, ok := x.Response.(*CopyMediaResponse_WrongSourceLength_); ok {
return x.WrongSourceLength
}
}
return nil
}
func (x *CopyMediaResponse) GetOutOfSpace() *CopyMediaResponse_OutOfSpace {
if x != nil {
if x, ok := x.Response.(*CopyMediaResponse_OutOfSpace_); ok {
return x.OutOfSpace
}
}
return nil
}
type isCopyMediaResponse_Response interface {
isCopyMediaResponse_Response()
}
type CopyMediaResponse_Success struct {
// The media item was successfully copied into the backup
Success *CopyMediaResponse_CopySuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}
type CopyMediaResponse_SourceNotFound_ struct {
// The source object was not found
SourceNotFound *CopyMediaResponse_SourceNotFound `protobuf:"bytes,3,opt,name=source_not_found,json=sourceNotFound,proto3,oneof"`
}
type CopyMediaResponse_WrongSourceLength_ struct {
// The provided object length was incorrect
WrongSourceLength *CopyMediaResponse_WrongSourceLength `protobuf:"bytes,4,opt,name=wrong_source_length,json=wrongSourceLength,proto3,oneof"`
}
type CopyMediaResponse_OutOfSpace_ struct {
// All media capacity has been consumed. Free some space to continue.
OutOfSpace *CopyMediaResponse_OutOfSpace `protobuf:"bytes,5,opt,name=out_of_space,json=outOfSpace,proto3,oneof"`
}
func (*CopyMediaResponse_Success) isCopyMediaResponse_Response() {}
func (*CopyMediaResponse_SourceNotFound_) isCopyMediaResponse_Response() {}
func (*CopyMediaResponse_WrongSourceLength_) isCopyMediaResponse_Response() {}
func (*CopyMediaResponse_OutOfSpace_) isCopyMediaResponse_Response() {}
// The reason why a media stream RPC is being prematurely closed by the server.
type BackupStreamClosed struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Reason:
//
// *BackupStreamClosed_FailedAuthentication
Reason isBackupStreamClosed_Reason `protobuf_oneof:"reason"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BackupStreamClosed) Reset() {
*x = BackupStreamClosed{}
mi := &file_org_signal_chat_backups_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BackupStreamClosed) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BackupStreamClosed) ProtoMessage() {}
func (x *BackupStreamClosed) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BackupStreamClosed.ProtoReflect.Descriptor instead.
func (*BackupStreamClosed) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{23}
}
func (x *BackupStreamClosed) GetReason() isBackupStreamClosed_Reason {
if x != nil {
return x.Reason
}
return nil
}
func (x *BackupStreamClosed) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Reason.(*BackupStreamClosed_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isBackupStreamClosed_Reason interface {
isBackupStreamClosed_Reason()
}
type BackupStreamClosed_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,1,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*BackupStreamClosed_FailedAuthentication) isBackupStreamClosed_Reason() {}
type ListMediaRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
// A cursor returned by a previous call to ListMedia, absent on the first call
Cursor *string `protobuf:"bytes,2,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
// If provided, the maximum number of entries to return in a page. If absent,
// a server-chosen default is used.
Limit *uint32 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMediaRequest) Reset() {
*x = ListMediaRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMediaRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMediaRequest) ProtoMessage() {}
func (x *ListMediaRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListMediaRequest.ProtoReflect.Descriptor instead.
func (*ListMediaRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{24}
}
func (x *ListMediaRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
func (x *ListMediaRequest) GetCursor() string {
if x != nil && x.Cursor != nil {
return *x.Cursor
}
return ""
}
func (x *ListMediaRequest) GetLimit() uint32 {
if x != nil && x.Limit != nil {
return *x.Limit
}
return 0
}
type ListMediaResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *ListMediaResponse_ListResult_
// *ListMediaResponse_FailedAuthentication
Response isListMediaResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMediaResponse) Reset() {
*x = ListMediaResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMediaResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMediaResponse) ProtoMessage() {}
func (x *ListMediaResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListMediaResponse.ProtoReflect.Descriptor instead.
func (*ListMediaResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{25}
}
func (x *ListMediaResponse) GetResponse() isListMediaResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *ListMediaResponse) GetListResult() *ListMediaResponse_ListResult {
if x != nil {
if x, ok := x.Response.(*ListMediaResponse_ListResult_); ok {
return x.ListResult
}
}
return nil
}
func (x *ListMediaResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*ListMediaResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isListMediaResponse_Response interface {
isListMediaResponse_Response()
}
type ListMediaResponse_ListResult_ struct {
ListResult *ListMediaResponse_ListResult `protobuf:"bytes,1,opt,name=list_result,json=listResult,proto3,oneof"`
}
type ListMediaResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*ListMediaResponse_ListResult_) isListMediaResponse_Response() {}
func (*ListMediaResponse_FailedAuthentication) isListMediaResponse_Response() {}
type DeleteAllRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAllRequest) Reset() {
*x = DeleteAllRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAllRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAllRequest) ProtoMessage() {}
func (x *DeleteAllRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAllRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{26}
}
func (x *DeleteAllRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
type DeleteAllResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Response:
//
// *DeleteAllResponse_Success
// *DeleteAllResponse_FailedAuthentication
Response isDeleteAllResponse_Response `protobuf_oneof:"response"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAllResponse) Reset() {
*x = DeleteAllResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAllResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAllResponse) ProtoMessage() {}
func (x *DeleteAllResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAllResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{27}
}
func (x *DeleteAllResponse) GetResponse() isDeleteAllResponse_Response {
if x != nil {
return x.Response
}
return nil
}
func (x *DeleteAllResponse) GetSuccess() *emptypb.Empty {
if x != nil {
if x, ok := x.Response.(*DeleteAllResponse_Success); ok {
return x.Success
}
}
return nil
}
func (x *DeleteAllResponse) GetFailedAuthentication() *errors.FailedZkAuthentication {
if x != nil {
if x, ok := x.Response.(*DeleteAllResponse_FailedAuthentication); ok {
return x.FailedAuthentication
}
}
return nil
}
type isDeleteAllResponse_Response interface {
isDeleteAllResponse_Response()
}
type DeleteAllResponse_Success struct {
// The backup was successfully scheduled for deletion
Success *emptypb.Empty `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type DeleteAllResponse_FailedAuthentication struct {
// The provided backup auth credential presentation could not be
// authenticated. Either, the presentation could not be verified, or
// the public key signature was invalid, or there is no backup associated
// with the backup-id in the presentation.
FailedAuthentication *errors.FailedZkAuthentication `protobuf:"bytes,2,opt,name=failed_authentication,json=failedAuthentication,proto3,oneof"`
}
func (*DeleteAllResponse_Success) isDeleteAllResponse_Response() {}
func (*DeleteAllResponse_FailedAuthentication) isDeleteAllResponse_Response() {}
type DeleteMediaItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The backup cdn where this media object is stored
Cdn uint32 `protobuf:"varint,1,opt,name=cdn,proto3" json:"cdn,omitempty"`
// The media_id of the object to delete
MediaId []byte `protobuf:"bytes,2,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteMediaItem) Reset() {
*x = DeleteMediaItem{}
mi := &file_org_signal_chat_backups_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteMediaItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMediaItem) ProtoMessage() {}
func (x *DeleteMediaItem) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteMediaItem.ProtoReflect.Descriptor instead.
func (*DeleteMediaItem) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{28}
}
func (x *DeleteMediaItem) GetCdn() uint32 {
if x != nil {
return x.Cdn
}
return 0
}
func (x *DeleteMediaItem) GetMediaId() []byte {
if x != nil {
return x.MediaId
}
return nil
}
type DeleteMediaRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SignedPresentation *SignedPresentation `protobuf:"bytes,1,opt,name=signed_presentation,json=signedPresentation,proto3" json:"signed_presentation,omitempty"`
Items []*DeleteMediaItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteMediaRequest) Reset() {
*x = DeleteMediaRequest{}
mi := &file_org_signal_chat_backups_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteMediaRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMediaRequest) ProtoMessage() {}
func (x *DeleteMediaRequest) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteMediaRequest.ProtoReflect.Descriptor instead.
func (*DeleteMediaRequest) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{29}
}
func (x *DeleteMediaRequest) GetSignedPresentation() *SignedPresentation {
if x != nil {
return x.SignedPresentation
}
return nil
}
func (x *DeleteMediaRequest) GetItems() []*DeleteMediaItem {
if x != nil {
return x.Items
}
return nil
}
type DeleteMediaResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
DeletedItem *DeleteMediaItem `protobuf:"bytes,1,opt,name=deleted_item,json=deletedItem,proto3" json:"deleted_item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteMediaResponse) Reset() {
*x = DeleteMediaResponse{}
mi := &file_org_signal_chat_backups_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteMediaResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMediaResponse) ProtoMessage() {}
func (x *DeleteMediaResponse) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteMediaResponse.ProtoReflect.Descriptor instead.
func (*DeleteMediaResponse) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{30}
}
func (x *DeleteMediaResponse) GetDeletedItem() *DeleteMediaItem {
if x != nil {
return x.DeletedItem
}
return nil
}
type GetBackupAuthCredentialsResponse_Credentials struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The requested message backup ZkCredentials indexed by the start of their
// validity period. The smallest key should be for the requested
// redemption_start, the largest for the requested redemption_end.
MessageCredentials map[int64]*common.ZkCredential `protobuf:"bytes,1,rep,name=message_credentials,json=messageCredentials,proto3" json:"message_credentials,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The requested media backup ZkCredentials indexed by the start of their
// validity period. The smallest key should be for the requested
// redemption_start, the largest for the requested redemption_end.
MediaCredentials map[int64]*common.ZkCredential `protobuf:"bytes,2,rep,name=media_credentials,json=mediaCredentials,proto3" json:"media_credentials,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBackupAuthCredentialsResponse_Credentials) Reset() {
*x = GetBackupAuthCredentialsResponse_Credentials{}
mi := &file_org_signal_chat_backups_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBackupAuthCredentialsResponse_Credentials) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBackupAuthCredentialsResponse_Credentials) ProtoMessage() {}
func (x *GetBackupAuthCredentialsResponse_Credentials) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBackupAuthCredentialsResponse_Credentials.ProtoReflect.Descriptor instead.
func (*GetBackupAuthCredentialsResponse_Credentials) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{5, 0}
}
func (x *GetBackupAuthCredentialsResponse_Credentials) GetMessageCredentials() map[int64]*common.ZkCredential {
if x != nil {
return x.MessageCredentials
}
return nil
}
func (x *GetBackupAuthCredentialsResponse_Credentials) GetMediaCredentials() map[int64]*common.ZkCredential {
if x != nil {
return x.MediaCredentials
}
return nil
}
type GetCdnCredentialsResponse_CdnCredentials struct {
state protoimpl.MessageState `protogen:"open.v1"`
Headers map[string]string `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCdnCredentialsResponse_CdnCredentials) Reset() {
*x = GetCdnCredentialsResponse_CdnCredentials{}
mi := &file_org_signal_chat_backups_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCdnCredentialsResponse_CdnCredentials) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCdnCredentialsResponse_CdnCredentials) ProtoMessage() {}
func (x *GetCdnCredentialsResponse_CdnCredentials) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCdnCredentialsResponse_CdnCredentials.ProtoReflect.Descriptor instead.
func (*GetCdnCredentialsResponse_CdnCredentials) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{10, 0}
}
func (x *GetCdnCredentialsResponse_CdnCredentials) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
type GetSvrBCredentialsResponse_SvrBCredentials struct {
state protoimpl.MessageState `protogen:"open.v1"`
// A username that can be presented to authenticate with SVRB
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// A password that can be presented to authenticate with SVRB
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSvrBCredentialsResponse_SvrBCredentials) Reset() {
*x = GetSvrBCredentialsResponse_SvrBCredentials{}
mi := &file_org_signal_chat_backups_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSvrBCredentialsResponse_SvrBCredentials) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSvrBCredentialsResponse_SvrBCredentials) ProtoMessage() {}
func (x *GetSvrBCredentialsResponse_SvrBCredentials) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSvrBCredentialsResponse_SvrBCredentials.ProtoReflect.Descriptor instead.
func (*GetSvrBCredentialsResponse_SvrBCredentials) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{12, 0}
}
func (x *GetSvrBCredentialsResponse_SvrBCredentials) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *GetSvrBCredentialsResponse_SvrBCredentials) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
type GetMessageBackupInfoResponse_MessageBackupInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The base directory of your backup data on the cdn. Always non-empty, even
// if a backup has not actually been stored to the cdn. If a backup was
// previously uploaded and has not expired, it can be found in the returned
// cdn at /backup_dir/backup_name.
BackupDir string `protobuf:"bytes,1,opt,name=backup_dir,json=backupDir,proto3" json:"backup_dir,omitempty"`
// The CDN type where the message backup is stored. Media may be stored
// elsewhere.
Cdn uint32 `protobuf:"varint,2,opt,name=cdn,proto3" json:"cdn,omitempty"`
// The location of the message backup on the cdn. Always non-empty, even
// if a backup has not actually been stored to the cdn. If a backup was
// previously uploaded and has not expired, it can be found in the returned
// cdn at /backup_dir/backup_name.
BackupName string `protobuf:"bytes,3,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMessageBackupInfoResponse_MessageBackupInfo) Reset() {
*x = GetMessageBackupInfoResponse_MessageBackupInfo{}
mi := &file_org_signal_chat_backups_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMessageBackupInfoResponse_MessageBackupInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMessageBackupInfoResponse_MessageBackupInfo) ProtoMessage() {}
func (x *GetMessageBackupInfoResponse_MessageBackupInfo) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetMessageBackupInfoResponse_MessageBackupInfo.ProtoReflect.Descriptor instead.
func (*GetMessageBackupInfoResponse_MessageBackupInfo) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{14, 0}
}
func (x *GetMessageBackupInfoResponse_MessageBackupInfo) GetBackupDir() string {
if x != nil {
return x.BackupDir
}
return ""
}
func (x *GetMessageBackupInfoResponse_MessageBackupInfo) GetCdn() uint32 {
if x != nil {
return x.Cdn
}
return 0
}
func (x *GetMessageBackupInfoResponse_MessageBackupInfo) GetBackupName() string {
if x != nil {
return x.BackupName
}
return ""
}
type GetMediaBackupInfoResponse_MediaBackupInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The base directory of your backup data on the cdn. Always non-empty, even
// if no media has been stored to the cdn or the credential is for a tier
// that does not support media.
BackupDir string `protobuf:"bytes,1,opt,name=backup_dir,json=backupDir,proto3" json:"backup_dir,omitempty"`
// The prefix path component for media objects on a cdn. Stored media for a
// media_id can be found at /backup_dir/media_dir/media_id, where the
// media_id is encoded in unpadded url-safe base64. Always non-empty, even
// if no media has been stored to the cdn or the credential is for a tier
// that does not support media.
MediaDir string `protobuf:"bytes,2,opt,name=media_dir,json=mediaDir,proto3" json:"media_dir,omitempty"`
// The amount of space used to store media
UsedSpace uint64 `protobuf:"varint,3,opt,name=used_space,json=usedSpace,proto3" json:"used_space,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMediaBackupInfoResponse_MediaBackupInfo) Reset() {
*x = GetMediaBackupInfoResponse_MediaBackupInfo{}
mi := &file_org_signal_chat_backups_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMediaBackupInfoResponse_MediaBackupInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMediaBackupInfoResponse_MediaBackupInfo) ProtoMessage() {}
func (x *GetMediaBackupInfoResponse_MediaBackupInfo) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetMediaBackupInfoResponse_MediaBackupInfo.ProtoReflect.Descriptor instead.
func (*GetMediaBackupInfoResponse_MediaBackupInfo) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{15, 0}
}
func (x *GetMediaBackupInfoResponse_MediaBackupInfo) GetBackupDir() string {
if x != nil {
return x.BackupDir
}
return ""
}
func (x *GetMediaBackupInfoResponse_MediaBackupInfo) GetMediaDir() string {
if x != nil {
return x.MediaDir
}
return ""
}
func (x *GetMediaBackupInfoResponse_MediaBackupInfo) GetUsedSpace() uint64 {
if x != nil {
return x.UsedSpace
}
return 0
}
type GetUploadFormRequest_MessagesUploadType struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUploadFormRequest_MessagesUploadType) Reset() {
*x = GetUploadFormRequest_MessagesUploadType{}
mi := &file_org_signal_chat_backups_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUploadFormRequest_MessagesUploadType) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUploadFormRequest_MessagesUploadType) ProtoMessage() {}
func (x *GetUploadFormRequest_MessagesUploadType) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetUploadFormRequest_MessagesUploadType.ProtoReflect.Descriptor instead.
func (*GetUploadFormRequest_MessagesUploadType) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{18, 0}
}
type GetUploadFormRequest_MediaUploadType struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetUploadFormRequest_MediaUploadType) Reset() {
*x = GetUploadFormRequest_MediaUploadType{}
mi := &file_org_signal_chat_backups_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetUploadFormRequest_MediaUploadType) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetUploadFormRequest_MediaUploadType) ProtoMessage() {}
func (x *GetUploadFormRequest_MediaUploadType) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetUploadFormRequest_MediaUploadType.ProtoReflect.Descriptor instead.
func (*GetUploadFormRequest_MediaUploadType) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{18, 1}
}
type CopyMediaResponse_SourceNotFound struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaResponse_SourceNotFound) Reset() {
*x = CopyMediaResponse_SourceNotFound{}
mi := &file_org_signal_chat_backups_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaResponse_SourceNotFound) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaResponse_SourceNotFound) ProtoMessage() {}
func (x *CopyMediaResponse_SourceNotFound) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaResponse_SourceNotFound.ProtoReflect.Descriptor instead.
func (*CopyMediaResponse_SourceNotFound) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{22, 0}
}
type CopyMediaResponse_WrongSourceLength struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaResponse_WrongSourceLength) Reset() {
*x = CopyMediaResponse_WrongSourceLength{}
mi := &file_org_signal_chat_backups_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaResponse_WrongSourceLength) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaResponse_WrongSourceLength) ProtoMessage() {}
func (x *CopyMediaResponse_WrongSourceLength) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaResponse_WrongSourceLength.ProtoReflect.Descriptor instead.
func (*CopyMediaResponse_WrongSourceLength) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{22, 1}
}
type CopyMediaResponse_OutOfSpace struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaResponse_OutOfSpace) Reset() {
*x = CopyMediaResponse_OutOfSpace{}
mi := &file_org_signal_chat_backups_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaResponse_OutOfSpace) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaResponse_OutOfSpace) ProtoMessage() {}
func (x *CopyMediaResponse_OutOfSpace) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaResponse_OutOfSpace.ProtoReflect.Descriptor instead.
func (*CopyMediaResponse_OutOfSpace) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{22, 2}
}
type CopyMediaResponse_CopySuccess struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The backup cdn where this media object is stored
Cdn uint32 `protobuf:"varint,1,opt,name=cdn,proto3" json:"cdn,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CopyMediaResponse_CopySuccess) Reset() {
*x = CopyMediaResponse_CopySuccess{}
mi := &file_org_signal_chat_backups_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CopyMediaResponse_CopySuccess) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CopyMediaResponse_CopySuccess) ProtoMessage() {}
func (x *CopyMediaResponse_CopySuccess) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CopyMediaResponse_CopySuccess.ProtoReflect.Descriptor instead.
func (*CopyMediaResponse_CopySuccess) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{22, 3}
}
func (x *CopyMediaResponse_CopySuccess) GetCdn() uint32 {
if x != nil {
return x.Cdn
}
return 0
}
type ListMediaResponse_ListEntry struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The backup cdn where this media object is stored
Cdn uint32 `protobuf:"varint,1,opt,name=cdn,proto3" json:"cdn,omitempty"`
// The media_id of the object
MediaId []byte `protobuf:"bytes,2,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"`
// The length of the object in bytes
Length uint64 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMediaResponse_ListEntry) Reset() {
*x = ListMediaResponse_ListEntry{}
mi := &file_org_signal_chat_backups_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMediaResponse_ListEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMediaResponse_ListEntry) ProtoMessage() {}
func (x *ListMediaResponse_ListEntry) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListMediaResponse_ListEntry.ProtoReflect.Descriptor instead.
func (*ListMediaResponse_ListEntry) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{25, 0}
}
func (x *ListMediaResponse_ListEntry) GetCdn() uint32 {
if x != nil {
return x.Cdn
}
return 0
}
func (x *ListMediaResponse_ListEntry) GetMediaId() []byte {
if x != nil {
return x.MediaId
}
return nil
}
func (x *ListMediaResponse_ListEntry) GetLength() uint64 {
if x != nil {
return x.Length
}
return 0
}
type ListMediaResponse_ListResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
// A page of media objects stored for this backup ID
Page []*ListMediaResponse_ListEntry `protobuf:"bytes,1,rep,name=page,proto3" json:"page,omitempty"`
// The base directory of the backup data on the cdn. The stored media can be
// found at /backup_dir/media_dir/media_id, where the media_id is encoded with
// unpadded url-safe base64.
BackupDir string `protobuf:"bytes,2,opt,name=backup_dir,json=backupDir,proto3" json:"backup_dir,omitempty"`
// The prefix path component for the media objects. The stored media for
// media_id can be found at /backup_dir/media_dir/media_id, where the media_id
// is encoded with unpadded url-safe base64.
MediaDir string `protobuf:"bytes,3,opt,name=media_dir,json=mediaDir,proto3" json:"media_dir,omitempty"`
// If set, the cursor value to pass to the next list request to continue
// listing. If absent, all objects have been listed
Cursor *string `protobuf:"bytes,4,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMediaResponse_ListResult) Reset() {
*x = ListMediaResponse_ListResult{}
mi := &file_org_signal_chat_backups_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMediaResponse_ListResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMediaResponse_ListResult) ProtoMessage() {}
func (x *ListMediaResponse_ListResult) ProtoReflect() protoreflect.Message {
mi := &file_org_signal_chat_backups_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListMediaResponse_ListResult.ProtoReflect.Descriptor instead.
func (*ListMediaResponse_ListResult) Descriptor() ([]byte, []int) {
return file_org_signal_chat_backups_proto_rawDescGZIP(), []int{25, 1}
}
func (x *ListMediaResponse_ListResult) GetPage() []*ListMediaResponse_ListEntry {
if x != nil {
return x.Page
}
return nil
}
func (x *ListMediaResponse_ListResult) GetBackupDir() string {
if x != nil {
return x.BackupDir
}
return ""
}
func (x *ListMediaResponse_ListResult) GetMediaDir() string {
if x != nil {
return x.MediaDir
}
return ""
}
func (x *ListMediaResponse_ListResult) GetCursor() string {
if x != nil && x.Cursor != nil {
return *x.Cursor
}
return ""
}
var File_org_signal_chat_backups_proto protoreflect.FileDescriptor
const file_org_signal_chat_backups_proto_rawDesc = "" +
"\n" +
"\x1dorg/signal/chat/backups.proto\x12\x16org.signal.chat.backup\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1corg/signal/chat/common.proto\x1a\x1corg/signal/chat/errors.proto\x1a\x1dorg/signal/chat/require.proto\x1a\x19org/signal/chat/tag.proto\"\xba\x01\n" +
"\x12SetBackupIdRequest\x12T\n" +
"'messages_backup_auth_credential_request\x18\x01 \x01(\fR#messagesBackupAuthCredentialRequest\x12N\n" +
"$media_backup_auth_credential_request\x18\x02 \x01(\fR mediaBackupAuthCredentialRequest\"\x15\n" +
"\x13SetBackupIdResponse\":\n" +
"\x14RedeemReceiptRequest\x12\"\n" +
"\fpresentation\x18\x01 \x01(\fR\fpresentation\"\xd0\x02\n" +
"\x15RedeemReceiptResponse\x122\n" +
"\asuccess\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\asuccess\x12\x8a\x01\n" +
"\x1aaccount_missing_commitment\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x1e\xc2\xd5\"\x1aaccount_missing_commitmentH\x00R\x18accountMissingCommitment\x12j\n" +
"\x0finvalid_receipt\x18\x03 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x13\xc2\xd5\"\x0finvalid_receiptH\x00R\x0einvalidReceiptB\n" +
"\n" +
"\bresponse\"\x85\x01\n" +
"\x1fGetBackupAuthCredentialsRequest\x121\n" +
"\x10redemption_start\x18\x01 \x01(\x03B\x06\xb2\x97\"\x02\b\x01R\x0fredemptionStart\x12/\n" +
"\x0fredemption_stop\x18\x02 \x01(\x03B\x06\xb2\x97\"\x02\b\x01R\x0eredemptionStop\"\x8c\x05\n" +
" GetBackupAuthCredentialsResponse\x12f\n" +
"\vcredentials\x18\x01 \x01(\v2D.org.signal.chat.backup.GetBackupAuthCredentialsResponse.CredentialsR\vcredentials\x1a\xff\x03\n" +
"\vCredentials\x12\x8d\x01\n" +
"\x13message_credentials\x18\x01 \x03(\v2\\.org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MessageCredentialsEntryR\x12messageCredentials\x12\x87\x01\n" +
"\x11media_credentials\x18\x02 \x03(\v2Z.org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MediaCredentialsEntryR\x10mediaCredentials\x1ak\n" +
"\x17MessageCredentialsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\x03R\x03key\x12:\n" +
"\x05value\x18\x02 \x01(\v2$.org.signal.chat.common.ZkCredentialR\x05value:\x028\x01\x1ai\n" +
"\x15MediaCredentialsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\x03R\x03key\x12:\n" +
"\x05value\x18\x02 \x01(\v2$.org.signal.chat.common.ZkCredentialR\x05value:\x028\x01\"{\n" +
"\x12SignedPresentation\x12(\n" +
"\fpresentation\x18\x01 \x01(\fB\x04\x88\x97\"\x01R\fpresentation\x12;\n" +
"\x16presentation_signature\x18\x02 \x01(\fB\x04\x88\x97\"\x01R\x15presentationSignature\"\x97\x01\n" +
"\x13SetPublicKeyRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\x12#\n" +
"\n" +
"public_key\x18\x02 \x01(\fB\x04\x88\x97\"\x01R\tpublicKey\"\xd9\x01\n" +
"\x14SetPublicKeyResponse\x122\n" +
"\asuccess\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\asuccess\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthenticationB\n" +
"\n" +
"\bresponse\"\x89\x01\n" +
"\x18GetCdnCredentialsRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\x12\x10\n" +
"\x03cdn\x18\x02 \x01(\rR\x03cdn\"\xcf\x03\n" +
"\x19GetCdnCredentialsResponse\x12k\n" +
"\x0fcdn_credentials\x18\x01 \x01(\v2@.org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentialsH\x00R\x0ecdnCredentials\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthentication\x1a\xb5\x01\n" +
"\x0eCdnCredentials\x12g\n" +
"\aheaders\x18\x01 \x03(\v2M.org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials.HeadersEntryR\aheaders\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\n" +
"\n" +
"\bresponse\"x\n" +
"\x19GetSvrBCredentialsRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\"\xe7\x02\n" +
"\x1aGetSvrBCredentialsResponse\x12o\n" +
"\x10svrb_credentials\x18\x01 \x01(\v2B.org.signal.chat.backup.GetSvrBCredentialsResponse.SvrBCredentialsH\x00R\x0fsvrbCredentials\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthentication\x1aI\n" +
"\x0fSvrBCredentials\x12\x1a\n" +
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
"\bpassword\x18\x02 \x01(\tR\bpasswordB\n" +
"\n" +
"\bresponse\"s\n" +
"\x14GetBackupInfoRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\"\xff\x02\n" +
"\x1cGetMessageBackupInfoResponse\x12i\n" +
"\vbackup_info\x18\x01 \x01(\v2F.org.signal.chat.backup.GetMessageBackupInfoResponse.MessageBackupInfoH\x00R\n" +
"backupInfo\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthentication\x1ae\n" +
"\x11MessageBackupInfo\x12\x1d\n" +
"\n" +
"backup_dir\x18\x01 \x01(\tR\tbackupDir\x12\x10\n" +
"\x03cdn\x18\x02 \x01(\rR\x03cdn\x12\x1f\n" +
"\vbackup_name\x18\x03 \x01(\tR\n" +
"backupNameB\n" +
"\n" +
"\bresponse\"\x80\x03\n" +
"\x1aGetMediaBackupInfoResponse\x12e\n" +
"\vbackup_info\x18\x01 \x01(\v2B.org.signal.chat.backup.GetMediaBackupInfoResponse.MediaBackupInfoH\x00R\n" +
"backupInfo\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthentication\x1al\n" +
"\x0fMediaBackupInfo\x12\x1d\n" +
"\n" +
"backup_dir\x18\x01 \x01(\tR\tbackupDir\x12\x1b\n" +
"\tmedia_dir\x18\x02 \x01(\tR\bmediaDir\x12\x1d\n" +
"\n" +
"used_space\x18\x03 \x01(\x04R\tusedSpaceB\n" +
"\n" +
"\bresponse\"m\n" +
"\x0eRefreshRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\"\xd4\x01\n" +
"\x0fRefreshResponse\x122\n" +
"\asuccess\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\asuccess\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthenticationB\n" +
"\n" +
"\bresponse\"\x8c\x03\n" +
"\x14GetUploadFormRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\x12]\n" +
"\bmessages\x18\x02 \x01(\v2?.org.signal.chat.backup.GetUploadFormRequest.MessagesUploadTypeH\x00R\bmessages\x12T\n" +
"\x05media\x18\x03 \x01(\v2<.org.signal.chat.backup.GetUploadFormRequest.MediaUploadTypeH\x00R\x05media\x12*\n" +
"\fuploadLength\x18\x04 \x01(\x04B\x06\xb2\x97\"\x02\b\x01R\fuploadLength\x1a\x14\n" +
"\x12MessagesUploadType\x1a\x11\n" +
"\x0fMediaUploadTypeB\r\n" +
"\vupload_type\"\xeb\x02\n" +
"\x15GetUploadFormResponse\x12E\n" +
"\vupload_form\x18\x01 \x01(\v2\".org.signal.chat.common.UploadFormH\x00R\n" +
"uploadForm\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthentication\x12|\n" +
"\x19exceeds_max_upload_length\x18\x03 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x13\xc2\xd5\"\x0foversize_uploadH\x00R\x16exceedsMaxUploadLengthB\n" +
"\n" +
"\bresponse\"\x8d\x02\n" +
"\rCopyMediaItem\x12<\n" +
"\x15source_attachment_cdn\x18\x01 \x01(\rB\b\xb2\x97\"\x04\b\x01\x10\x03R\x13sourceAttachmentCdn\x12'\n" +
"\n" +
"source_key\x18\x02 \x01(\tB\b\x88\x97\"\x01\xc0\x97\"\x01R\tsourceKey\x12#\n" +
"\robject_length\x18\x03 \x01(\x04R\fobjectLength\x12 \n" +
"\bmedia_id\x18\x04 \x01(\fB\x05\xa2\x97\"\x01\x0fR\amediaId\x12 \n" +
"\bhmac_key\x18\x05 \x01(\fB\x05\xa2\x97\"\x01 R\ahmacKey\x12,\n" +
"\x0eencryption_key\x18\x06 \x01(\fB\x05\xa2\x97\"\x01 R\rencryptionKey\"\xb7\x01\n" +
"\x10CopyMediaRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\x12F\n" +
"\x05items\x18\x02 \x03(\v2%.org.signal.chat.backup.CopyMediaItemB\t\x9a\x97\"\x05\b\x01\x10\xe8\aR\x05items\"\xd4\x04\n" +
"\x11CopyMediaResponse\x12\x19\n" +
"\bmedia_id\x18\x01 \x01(\fR\amediaId\x12Q\n" +
"\asuccess\x18\x02 \x01(\v25.org.signal.chat.backup.CopyMediaResponse.CopySuccessH\x00R\asuccess\x12z\n" +
"\x10source_not_found\x18\x03 \x01(\v28.org.signal.chat.backup.CopyMediaResponse.SourceNotFoundB\x14\xc2\xd5\"\x10source_not_foundH\x00R\x0esourceNotFound\x12\x86\x01\n" +
"\x13wrong_source_length\x18\x04 \x01(\v2;.org.signal.chat.backup.CopyMediaResponse.WrongSourceLengthB\x17\xc2\xd5\"\x13wrong_source_lengthH\x00R\x11wrongSourceLength\x12j\n" +
"\fout_of_space\x18\x05 \x01(\v24.org.signal.chat.backup.CopyMediaResponse.OutOfSpaceB\x10\xc2\xd5\"\fout_of_spaceH\x00R\n" +
"outOfSpace\x1a\x10\n" +
"\x0eSourceNotFound\x1a\x13\n" +
"\x11WrongSourceLength\x1a\f\n" +
"\n" +
"OutOfSpace\x1a\x1f\n" +
"\vCopySuccess\x12\x10\n" +
"\x03cdn\x18\x01 \x01(\rR\x03cdnB\n" +
"\n" +
"\bresponse\"\xa1\x01\n" +
"\x12BackupStreamClosed\x12\x80\x01\n" +
"\x15failed_authentication\x18\x01 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthenticationB\b\n" +
"\x06reason\"\xc7\x01\n" +
"\x10ListMediaRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\x12\x1b\n" +
"\x06cursor\x18\x02 \x01(\tH\x00R\x06cursor\x88\x01\x01\x12$\n" +
"\x05limit\x18\x03 \x01(\rB\t\xb2\x97\"\x05\b\x01\x10\x90NH\x01R\x05limit\x88\x01\x01B\t\n" +
"\a_cursorB\b\n" +
"\x06_limit\"\x89\x04\n" +
"\x11ListMediaResponse\x12W\n" +
"\vlist_result\x18\x01 \x01(\v24.org.signal.chat.backup.ListMediaResponse.ListResultH\x00R\n" +
"listResult\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthentication\x1aP\n" +
"\tListEntry\x12\x10\n" +
"\x03cdn\x18\x01 \x01(\rR\x03cdn\x12\x19\n" +
"\bmedia_id\x18\x02 \x01(\fR\amediaId\x12\x16\n" +
"\x06length\x18\x03 \x01(\x04R\x06length\x1a\xb9\x01\n" +
"\n" +
"ListResult\x12G\n" +
"\x04page\x18\x01 \x03(\v23.org.signal.chat.backup.ListMediaResponse.ListEntryR\x04page\x12\x1d\n" +
"\n" +
"backup_dir\x18\x02 \x01(\tR\tbackupDir\x12\x1b\n" +
"\tmedia_dir\x18\x03 \x01(\tR\bmediaDir\x12\x1b\n" +
"\x06cursor\x18\x04 \x01(\tH\x00R\x06cursor\x88\x01\x01B\t\n" +
"\a_cursorB\n" +
"\n" +
"\bresponse\"o\n" +
"\x10DeleteAllRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\"\xd6\x01\n" +
"\x11DeleteAllResponse\x122\n" +
"\asuccess\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\asuccess\x12\x80\x01\n" +
"\x15failed_authentication\x18\x02 \x01(\v2..org.signal.chat.errors.FailedZkAuthenticationB\x19\xc2\xd5\"\x15failed_authenticationH\x00R\x14failedAuthenticationB\n" +
"\n" +
"\bresponse\"E\n" +
"\x0fDeleteMediaItem\x12\x10\n" +
"\x03cdn\x18\x01 \x01(\rR\x03cdn\x12 \n" +
"\bmedia_id\x18\x02 \x01(\fB\x05\xa2\x97\"\x01\x0fR\amediaId\"\xbb\x01\n" +
"\x12DeleteMediaRequest\x12[\n" +
"\x13signed_presentation\x18\x01 \x01(\v2*.org.signal.chat.backup.SignedPresentationR\x12signedPresentation\x12H\n" +
"\x05items\x18\x02 \x03(\v2'.org.signal.chat.backup.DeleteMediaItemB\t\x9a\x97\"\x05\b\x01\x10\xe8\aR\x05items\"a\n" +
"\x13DeleteMediaResponse\x12J\n" +
"\fdeleted_item\x18\x01 \x01(\v2'.org.signal.chat.backup.DeleteMediaItemR\vdeletedItem2\xfb\x02\n" +
"\aBackups\x12h\n" +
"\vSetBackupId\x12*.org.signal.chat.backup.SetBackupIdRequest\x1a+.org.signal.chat.backup.SetBackupIdResponse\"\x00\x12n\n" +
"\rRedeemReceipt\x12,.org.signal.chat.backup.RedeemReceiptRequest\x1a-.org.signal.chat.backup.RedeemReceiptResponse\"\x00\x12\x8f\x01\n" +
"\x18GetBackupAuthCredentials\x127.org.signal.chat.backup.GetBackupAuthCredentialsRequest\x1a8.org.signal.chat.backup.GetBackupAuthCredentialsResponse\"\x00\x1a\x04\xc8\xd5\"\x012\xe0\t\n" +
"\x10BackupsAnonymous\x12z\n" +
"\x11GetCdnCredentials\x120.org.signal.chat.backup.GetCdnCredentialsRequest\x1a1.org.signal.chat.backup.GetCdnCredentialsResponse\"\x00\x12}\n" +
"\x12GetSvrBCredentials\x121.org.signal.chat.backup.GetSvrBCredentialsRequest\x1a2.org.signal.chat.backup.GetSvrBCredentialsResponse\"\x00\x12|\n" +
"\x14GetMessageBackupInfo\x12,.org.signal.chat.backup.GetBackupInfoRequest\x1a4.org.signal.chat.backup.GetMessageBackupInfoResponse\"\x00\x12x\n" +
"\x12GetMediaBackupInfo\x12,.org.signal.chat.backup.GetBackupInfoRequest\x1a2.org.signal.chat.backup.GetMediaBackupInfoResponse\"\x00\x12k\n" +
"\fSetPublicKey\x12+.org.signal.chat.backup.SetPublicKeyRequest\x1a,.org.signal.chat.backup.SetPublicKeyResponse\"\x00\x12\\\n" +
"\aRefresh\x12&.org.signal.chat.backup.RefreshRequest\x1a'.org.signal.chat.backup.RefreshResponse\"\x00\x12n\n" +
"\rGetUploadForm\x12,.org.signal.chat.backup.GetUploadFormRequest\x1a-.org.signal.chat.backup.GetUploadFormResponse\"\x00\x12d\n" +
"\tCopyMedia\x12(.org.signal.chat.backup.CopyMediaRequest\x1a).org.signal.chat.backup.CopyMediaResponse\"\x000\x01\x12b\n" +
"\tListMedia\x12(.org.signal.chat.backup.ListMediaRequest\x1a).org.signal.chat.backup.ListMediaResponse\"\x00\x12j\n" +
"\vDeleteMedia\x12*.org.signal.chat.backup.DeleteMediaRequest\x1a+.org.signal.chat.backup.DeleteMediaResponse\"\x000\x01\x12b\n" +
"\tDeleteAll\x12(.org.signal.chat.backup.DeleteAllRequest\x1a).org.signal.chat.backup.DeleteAllResponse\"\x00\x1a\x04\xc8\xd5\"\x02B\x02P\x01b\x06proto3"
var (
file_org_signal_chat_backups_proto_rawDescOnce sync.Once
file_org_signal_chat_backups_proto_rawDescData []byte
)
func file_org_signal_chat_backups_proto_rawDescGZIP() []byte {
file_org_signal_chat_backups_proto_rawDescOnce.Do(func() {
file_org_signal_chat_backups_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_org_signal_chat_backups_proto_rawDesc), len(file_org_signal_chat_backups_proto_rawDesc)))
})
return file_org_signal_chat_backups_proto_rawDescData
}
var file_org_signal_chat_backups_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
var file_org_signal_chat_backups_proto_goTypes = []any{
(*SetBackupIdRequest)(nil), // 0: org.signal.chat.backup.SetBackupIdRequest
(*SetBackupIdResponse)(nil), // 1: org.signal.chat.backup.SetBackupIdResponse
(*RedeemReceiptRequest)(nil), // 2: org.signal.chat.backup.RedeemReceiptRequest
(*RedeemReceiptResponse)(nil), // 3: org.signal.chat.backup.RedeemReceiptResponse
(*GetBackupAuthCredentialsRequest)(nil), // 4: org.signal.chat.backup.GetBackupAuthCredentialsRequest
(*GetBackupAuthCredentialsResponse)(nil), // 5: org.signal.chat.backup.GetBackupAuthCredentialsResponse
(*SignedPresentation)(nil), // 6: org.signal.chat.backup.SignedPresentation
(*SetPublicKeyRequest)(nil), // 7: org.signal.chat.backup.SetPublicKeyRequest
(*SetPublicKeyResponse)(nil), // 8: org.signal.chat.backup.SetPublicKeyResponse
(*GetCdnCredentialsRequest)(nil), // 9: org.signal.chat.backup.GetCdnCredentialsRequest
(*GetCdnCredentialsResponse)(nil), // 10: org.signal.chat.backup.GetCdnCredentialsResponse
(*GetSvrBCredentialsRequest)(nil), // 11: org.signal.chat.backup.GetSvrBCredentialsRequest
(*GetSvrBCredentialsResponse)(nil), // 12: org.signal.chat.backup.GetSvrBCredentialsResponse
(*GetBackupInfoRequest)(nil), // 13: org.signal.chat.backup.GetBackupInfoRequest
(*GetMessageBackupInfoResponse)(nil), // 14: org.signal.chat.backup.GetMessageBackupInfoResponse
(*GetMediaBackupInfoResponse)(nil), // 15: org.signal.chat.backup.GetMediaBackupInfoResponse
(*RefreshRequest)(nil), // 16: org.signal.chat.backup.RefreshRequest
(*RefreshResponse)(nil), // 17: org.signal.chat.backup.RefreshResponse
(*GetUploadFormRequest)(nil), // 18: org.signal.chat.backup.GetUploadFormRequest
(*GetUploadFormResponse)(nil), // 19: org.signal.chat.backup.GetUploadFormResponse
(*CopyMediaItem)(nil), // 20: org.signal.chat.backup.CopyMediaItem
(*CopyMediaRequest)(nil), // 21: org.signal.chat.backup.CopyMediaRequest
(*CopyMediaResponse)(nil), // 22: org.signal.chat.backup.CopyMediaResponse
(*BackupStreamClosed)(nil), // 23: org.signal.chat.backup.BackupStreamClosed
(*ListMediaRequest)(nil), // 24: org.signal.chat.backup.ListMediaRequest
(*ListMediaResponse)(nil), // 25: org.signal.chat.backup.ListMediaResponse
(*DeleteAllRequest)(nil), // 26: org.signal.chat.backup.DeleteAllRequest
(*DeleteAllResponse)(nil), // 27: org.signal.chat.backup.DeleteAllResponse
(*DeleteMediaItem)(nil), // 28: org.signal.chat.backup.DeleteMediaItem
(*DeleteMediaRequest)(nil), // 29: org.signal.chat.backup.DeleteMediaRequest
(*DeleteMediaResponse)(nil), // 30: org.signal.chat.backup.DeleteMediaResponse
(*GetBackupAuthCredentialsResponse_Credentials)(nil), // 31: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials
nil, // 32: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MessageCredentialsEntry
nil, // 33: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MediaCredentialsEntry
(*GetCdnCredentialsResponse_CdnCredentials)(nil), // 34: org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials
nil, // 35: org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials.HeadersEntry
(*GetSvrBCredentialsResponse_SvrBCredentials)(nil), // 36: org.signal.chat.backup.GetSvrBCredentialsResponse.SvrBCredentials
(*GetMessageBackupInfoResponse_MessageBackupInfo)(nil), // 37: org.signal.chat.backup.GetMessageBackupInfoResponse.MessageBackupInfo
(*GetMediaBackupInfoResponse_MediaBackupInfo)(nil), // 38: org.signal.chat.backup.GetMediaBackupInfoResponse.MediaBackupInfo
(*GetUploadFormRequest_MessagesUploadType)(nil), // 39: org.signal.chat.backup.GetUploadFormRequest.MessagesUploadType
(*GetUploadFormRequest_MediaUploadType)(nil), // 40: org.signal.chat.backup.GetUploadFormRequest.MediaUploadType
(*CopyMediaResponse_SourceNotFound)(nil), // 41: org.signal.chat.backup.CopyMediaResponse.SourceNotFound
(*CopyMediaResponse_WrongSourceLength)(nil), // 42: org.signal.chat.backup.CopyMediaResponse.WrongSourceLength
(*CopyMediaResponse_OutOfSpace)(nil), // 43: org.signal.chat.backup.CopyMediaResponse.OutOfSpace
(*CopyMediaResponse_CopySuccess)(nil), // 44: org.signal.chat.backup.CopyMediaResponse.CopySuccess
(*ListMediaResponse_ListEntry)(nil), // 45: org.signal.chat.backup.ListMediaResponse.ListEntry
(*ListMediaResponse_ListResult)(nil), // 46: org.signal.chat.backup.ListMediaResponse.ListResult
(*emptypb.Empty)(nil), // 47: google.protobuf.Empty
(*errors.FailedPrecondition)(nil), // 48: org.signal.chat.errors.FailedPrecondition
(*errors.FailedZkAuthentication)(nil), // 49: org.signal.chat.errors.FailedZkAuthentication
(*common.UploadForm)(nil), // 50: org.signal.chat.common.UploadForm
(*common.ZkCredential)(nil), // 51: org.signal.chat.common.ZkCredential
}
var file_org_signal_chat_backups_proto_depIdxs = []int32{
47, // 0: org.signal.chat.backup.RedeemReceiptResponse.success:type_name -> google.protobuf.Empty
48, // 1: org.signal.chat.backup.RedeemReceiptResponse.account_missing_commitment:type_name -> org.signal.chat.errors.FailedPrecondition
48, // 2: org.signal.chat.backup.RedeemReceiptResponse.invalid_receipt:type_name -> org.signal.chat.errors.FailedPrecondition
31, // 3: org.signal.chat.backup.GetBackupAuthCredentialsResponse.credentials:type_name -> org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials
6, // 4: org.signal.chat.backup.SetPublicKeyRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
47, // 5: org.signal.chat.backup.SetPublicKeyResponse.success:type_name -> google.protobuf.Empty
49, // 6: org.signal.chat.backup.SetPublicKeyResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 7: org.signal.chat.backup.GetCdnCredentialsRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
34, // 8: org.signal.chat.backup.GetCdnCredentialsResponse.cdn_credentials:type_name -> org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials
49, // 9: org.signal.chat.backup.GetCdnCredentialsResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 10: org.signal.chat.backup.GetSvrBCredentialsRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
36, // 11: org.signal.chat.backup.GetSvrBCredentialsResponse.svrb_credentials:type_name -> org.signal.chat.backup.GetSvrBCredentialsResponse.SvrBCredentials
49, // 12: org.signal.chat.backup.GetSvrBCredentialsResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 13: org.signal.chat.backup.GetBackupInfoRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
37, // 14: org.signal.chat.backup.GetMessageBackupInfoResponse.backup_info:type_name -> org.signal.chat.backup.GetMessageBackupInfoResponse.MessageBackupInfo
49, // 15: org.signal.chat.backup.GetMessageBackupInfoResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
38, // 16: org.signal.chat.backup.GetMediaBackupInfoResponse.backup_info:type_name -> org.signal.chat.backup.GetMediaBackupInfoResponse.MediaBackupInfo
49, // 17: org.signal.chat.backup.GetMediaBackupInfoResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 18: org.signal.chat.backup.RefreshRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
47, // 19: org.signal.chat.backup.RefreshResponse.success:type_name -> google.protobuf.Empty
49, // 20: org.signal.chat.backup.RefreshResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 21: org.signal.chat.backup.GetUploadFormRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
39, // 22: org.signal.chat.backup.GetUploadFormRequest.messages:type_name -> org.signal.chat.backup.GetUploadFormRequest.MessagesUploadType
40, // 23: org.signal.chat.backup.GetUploadFormRequest.media:type_name -> org.signal.chat.backup.GetUploadFormRequest.MediaUploadType
50, // 24: org.signal.chat.backup.GetUploadFormResponse.upload_form:type_name -> org.signal.chat.common.UploadForm
49, // 25: org.signal.chat.backup.GetUploadFormResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
48, // 26: org.signal.chat.backup.GetUploadFormResponse.exceeds_max_upload_length:type_name -> org.signal.chat.errors.FailedPrecondition
6, // 27: org.signal.chat.backup.CopyMediaRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
20, // 28: org.signal.chat.backup.CopyMediaRequest.items:type_name -> org.signal.chat.backup.CopyMediaItem
44, // 29: org.signal.chat.backup.CopyMediaResponse.success:type_name -> org.signal.chat.backup.CopyMediaResponse.CopySuccess
41, // 30: org.signal.chat.backup.CopyMediaResponse.source_not_found:type_name -> org.signal.chat.backup.CopyMediaResponse.SourceNotFound
42, // 31: org.signal.chat.backup.CopyMediaResponse.wrong_source_length:type_name -> org.signal.chat.backup.CopyMediaResponse.WrongSourceLength
43, // 32: org.signal.chat.backup.CopyMediaResponse.out_of_space:type_name -> org.signal.chat.backup.CopyMediaResponse.OutOfSpace
49, // 33: org.signal.chat.backup.BackupStreamClosed.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 34: org.signal.chat.backup.ListMediaRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
46, // 35: org.signal.chat.backup.ListMediaResponse.list_result:type_name -> org.signal.chat.backup.ListMediaResponse.ListResult
49, // 36: org.signal.chat.backup.ListMediaResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 37: org.signal.chat.backup.DeleteAllRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
47, // 38: org.signal.chat.backup.DeleteAllResponse.success:type_name -> google.protobuf.Empty
49, // 39: org.signal.chat.backup.DeleteAllResponse.failed_authentication:type_name -> org.signal.chat.errors.FailedZkAuthentication
6, // 40: org.signal.chat.backup.DeleteMediaRequest.signed_presentation:type_name -> org.signal.chat.backup.SignedPresentation
28, // 41: org.signal.chat.backup.DeleteMediaRequest.items:type_name -> org.signal.chat.backup.DeleteMediaItem
28, // 42: org.signal.chat.backup.DeleteMediaResponse.deleted_item:type_name -> org.signal.chat.backup.DeleteMediaItem
32, // 43: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.message_credentials:type_name -> org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MessageCredentialsEntry
33, // 44: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.media_credentials:type_name -> org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MediaCredentialsEntry
51, // 45: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MessageCredentialsEntry.value:type_name -> org.signal.chat.common.ZkCredential
51, // 46: org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials.MediaCredentialsEntry.value:type_name -> org.signal.chat.common.ZkCredential
35, // 47: org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials.headers:type_name -> org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials.HeadersEntry
45, // 48: org.signal.chat.backup.ListMediaResponse.ListResult.page:type_name -> org.signal.chat.backup.ListMediaResponse.ListEntry
0, // 49: org.signal.chat.backup.Backups.SetBackupId:input_type -> org.signal.chat.backup.SetBackupIdRequest
2, // 50: org.signal.chat.backup.Backups.RedeemReceipt:input_type -> org.signal.chat.backup.RedeemReceiptRequest
4, // 51: org.signal.chat.backup.Backups.GetBackupAuthCredentials:input_type -> org.signal.chat.backup.GetBackupAuthCredentialsRequest
9, // 52: org.signal.chat.backup.BackupsAnonymous.GetCdnCredentials:input_type -> org.signal.chat.backup.GetCdnCredentialsRequest
11, // 53: org.signal.chat.backup.BackupsAnonymous.GetSvrBCredentials:input_type -> org.signal.chat.backup.GetSvrBCredentialsRequest
13, // 54: org.signal.chat.backup.BackupsAnonymous.GetMessageBackupInfo:input_type -> org.signal.chat.backup.GetBackupInfoRequest
13, // 55: org.signal.chat.backup.BackupsAnonymous.GetMediaBackupInfo:input_type -> org.signal.chat.backup.GetBackupInfoRequest
7, // 56: org.signal.chat.backup.BackupsAnonymous.SetPublicKey:input_type -> org.signal.chat.backup.SetPublicKeyRequest
16, // 57: org.signal.chat.backup.BackupsAnonymous.Refresh:input_type -> org.signal.chat.backup.RefreshRequest
18, // 58: org.signal.chat.backup.BackupsAnonymous.GetUploadForm:input_type -> org.signal.chat.backup.GetUploadFormRequest
21, // 59: org.signal.chat.backup.BackupsAnonymous.CopyMedia:input_type -> org.signal.chat.backup.CopyMediaRequest
24, // 60: org.signal.chat.backup.BackupsAnonymous.ListMedia:input_type -> org.signal.chat.backup.ListMediaRequest
29, // 61: org.signal.chat.backup.BackupsAnonymous.DeleteMedia:input_type -> org.signal.chat.backup.DeleteMediaRequest
26, // 62: org.signal.chat.backup.BackupsAnonymous.DeleteAll:input_type -> org.signal.chat.backup.DeleteAllRequest
1, // 63: org.signal.chat.backup.Backups.SetBackupId:output_type -> org.signal.chat.backup.SetBackupIdResponse
3, // 64: org.signal.chat.backup.Backups.RedeemReceipt:output_type -> org.signal.chat.backup.RedeemReceiptResponse
5, // 65: org.signal.chat.backup.Backups.GetBackupAuthCredentials:output_type -> org.signal.chat.backup.GetBackupAuthCredentialsResponse
10, // 66: org.signal.chat.backup.BackupsAnonymous.GetCdnCredentials:output_type -> org.signal.chat.backup.GetCdnCredentialsResponse
12, // 67: org.signal.chat.backup.BackupsAnonymous.GetSvrBCredentials:output_type -> org.signal.chat.backup.GetSvrBCredentialsResponse
14, // 68: org.signal.chat.backup.BackupsAnonymous.GetMessageBackupInfo:output_type -> org.signal.chat.backup.GetMessageBackupInfoResponse
15, // 69: org.signal.chat.backup.BackupsAnonymous.GetMediaBackupInfo:output_type -> org.signal.chat.backup.GetMediaBackupInfoResponse
8, // 70: org.signal.chat.backup.BackupsAnonymous.SetPublicKey:output_type -> org.signal.chat.backup.SetPublicKeyResponse
17, // 71: org.signal.chat.backup.BackupsAnonymous.Refresh:output_type -> org.signal.chat.backup.RefreshResponse
19, // 72: org.signal.chat.backup.BackupsAnonymous.GetUploadForm:output_type -> org.signal.chat.backup.GetUploadFormResponse
22, // 73: org.signal.chat.backup.BackupsAnonymous.CopyMedia:output_type -> org.signal.chat.backup.CopyMediaResponse
25, // 74: org.signal.chat.backup.BackupsAnonymous.ListMedia:output_type -> org.signal.chat.backup.ListMediaResponse
30, // 75: org.signal.chat.backup.BackupsAnonymous.DeleteMedia:output_type -> org.signal.chat.backup.DeleteMediaResponse
27, // 76: org.signal.chat.backup.BackupsAnonymous.DeleteAll:output_type -> org.signal.chat.backup.DeleteAllResponse
63, // [63:77] is the sub-list for method output_type
49, // [49:63] is the sub-list for method input_type
49, // [49:49] is the sub-list for extension type_name
49, // [49:49] is the sub-list for extension extendee
0, // [0:49] is the sub-list for field type_name
}
func init() { file_org_signal_chat_backups_proto_init() }
func file_org_signal_chat_backups_proto_init() {
if File_org_signal_chat_backups_proto != nil {
return
}
file_org_signal_chat_backups_proto_msgTypes[3].OneofWrappers = []any{
(*RedeemReceiptResponse_Success)(nil),
(*RedeemReceiptResponse_AccountMissingCommitment)(nil),
(*RedeemReceiptResponse_InvalidReceipt)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[8].OneofWrappers = []any{
(*SetPublicKeyResponse_Success)(nil),
(*SetPublicKeyResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[10].OneofWrappers = []any{
(*GetCdnCredentialsResponse_CdnCredentials_)(nil),
(*GetCdnCredentialsResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[12].OneofWrappers = []any{
(*GetSvrBCredentialsResponse_SvrbCredentials)(nil),
(*GetSvrBCredentialsResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[14].OneofWrappers = []any{
(*GetMessageBackupInfoResponse_BackupInfo)(nil),
(*GetMessageBackupInfoResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[15].OneofWrappers = []any{
(*GetMediaBackupInfoResponse_BackupInfo)(nil),
(*GetMediaBackupInfoResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[17].OneofWrappers = []any{
(*RefreshResponse_Success)(nil),
(*RefreshResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[18].OneofWrappers = []any{
(*GetUploadFormRequest_Messages)(nil),
(*GetUploadFormRequest_Media)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[19].OneofWrappers = []any{
(*GetUploadFormResponse_UploadForm)(nil),
(*GetUploadFormResponse_FailedAuthentication)(nil),
(*GetUploadFormResponse_ExceedsMaxUploadLength)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[22].OneofWrappers = []any{
(*CopyMediaResponse_Success)(nil),
(*CopyMediaResponse_SourceNotFound_)(nil),
(*CopyMediaResponse_WrongSourceLength_)(nil),
(*CopyMediaResponse_OutOfSpace_)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[23].OneofWrappers = []any{
(*BackupStreamClosed_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[24].OneofWrappers = []any{}
file_org_signal_chat_backups_proto_msgTypes[25].OneofWrappers = []any{
(*ListMediaResponse_ListResult_)(nil),
(*ListMediaResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[27].OneofWrappers = []any{
(*DeleteAllResponse_Success)(nil),
(*DeleteAllResponse_FailedAuthentication)(nil),
}
file_org_signal_chat_backups_proto_msgTypes[46].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_org_signal_chat_backups_proto_rawDesc), len(file_org_signal_chat_backups_proto_rawDesc)),
NumEnums: 0,
NumMessages: 47,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_org_signal_chat_backups_proto_goTypes,
DependencyIndexes: file_org_signal_chat_backups_proto_depIdxs,
MessageInfos: file_org_signal_chat_backups_proto_msgTypes,
}.Build()
File_org_signal_chat_backups_proto = out.File
file_org_signal_chat_backups_proto_goTypes = nil
file_org_signal_chat_backups_proto_depIdxs = nil
}