mirror of
https://github.com/mautrix/signal.git
synced 2026-11-10 08:09:18 -05:00
5057 lines
195 KiB
Go
Generated
5057 lines
195 KiB
Go
Generated
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.1
|
|
// source: org/signal/chat/account.proto
|
|
|
|
package account
|
|
|
|
import (
|
|
common "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/common"
|
|
errors "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/errors"
|
|
messages "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/messages"
|
|
_ "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 ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType int32
|
|
|
|
const (
|
|
ListMfaKeysResponse_MfaKeyMetadata_MFA_KEY_TYPE_UNSPECIFIED ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType = 0
|
|
ListMfaKeysResponse_MfaKeyMetadata_MFA_KEY_TYPE_TOTP ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType = 1
|
|
ListMfaKeysResponse_MfaKeyMetadata_MFA_KEY_TYPE_WEBAUTHN ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType = 2
|
|
)
|
|
|
|
// Enum value maps for ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType.
|
|
var (
|
|
ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType_name = map[int32]string{
|
|
0: "MFA_KEY_TYPE_UNSPECIFIED",
|
|
1: "MFA_KEY_TYPE_TOTP",
|
|
2: "MFA_KEY_TYPE_WEBAUTHN",
|
|
}
|
|
ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType_value = map[string]int32{
|
|
"MFA_KEY_TYPE_UNSPECIFIED": 0,
|
|
"MFA_KEY_TYPE_TOTP": 1,
|
|
"MFA_KEY_TYPE_WEBAUTHN": 2,
|
|
}
|
|
)
|
|
|
|
func (x ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType) Enum() *ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType {
|
|
p := new(ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_org_signal_chat_account_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType) Type() protoreflect.EnumType {
|
|
return &file_org_signal_chat_account_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType.Descriptor instead.
|
|
func (ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType) EnumDescriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{57, 0, 0}
|
|
}
|
|
|
|
type GetAccountIdentityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountIdentityRequest) Reset() {
|
|
*x = GetAccountIdentityRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountIdentityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountIdentityRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAccountIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetAccountIdentityRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountIdentityRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type GetAccountIdentityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The identifiers for the authenticated account.
|
|
AccountIdentifiers *common.AccountIdentifiers `protobuf:"bytes,1,opt,name=account_identifiers,json=accountIdentifiers,proto3" json:"account_identifiers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountIdentityResponse) Reset() {
|
|
*x = GetAccountIdentityResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountIdentityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountIdentityResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAccountIdentityResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetAccountIdentityResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountIdentityResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetAccountIdentityResponse) GetAccountIdentifiers() *common.AccountIdentifiers {
|
|
if x != nil {
|
|
return x.AccountIdentifiers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetEntitlementsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetEntitlementsRequest) Reset() {
|
|
*x = GetEntitlementsRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEntitlementsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEntitlementsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetEntitlementsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetEntitlementsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetEntitlementsRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type GetEntitlementsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Active badges added via Donations.redeemReceipt
|
|
Badges []*GetEntitlementsResponse_BadgeEntitlement `protobuf:"bytes,1,rep,name=badges,proto3" json:"badges,omitempty"`
|
|
// If present, the backup level set via Backups.redeemReceipt
|
|
Backup *GetEntitlementsResponse_BackupEntitlement `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse) Reset() {
|
|
*x = GetEntitlementsResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEntitlementsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetEntitlementsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetEntitlementsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetEntitlementsResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse) GetBadges() []*GetEntitlementsResponse_BadgeEntitlement {
|
|
if x != nil {
|
|
return x.Badges
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse) GetBackup() *GetEntitlementsResponse_BackupEntitlement {
|
|
if x != nil {
|
|
return x.Backup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteAccountRequest) Reset() {
|
|
*x = DeleteAccountRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 DeleteAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type DeleteAccountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteAccountResponse) Reset() {
|
|
*x = DeleteAccountResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteAccountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAccountResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 DeleteAccountResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAccountResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type SetRegistrationLockRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The new registration lock secret for the authenticated account.
|
|
RegistrationLock []byte `protobuf:"bytes,1,opt,name=registration_lock,json=registrationLock,proto3" json:"registration_lock,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRegistrationLockRequest) Reset() {
|
|
*x = SetRegistrationLockRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRegistrationLockRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRegistrationLockRequest) ProtoMessage() {}
|
|
|
|
func (x *SetRegistrationLockRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetRegistrationLockRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetRegistrationLockRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SetRegistrationLockRequest) GetRegistrationLock() []byte {
|
|
if x != nil {
|
|
return x.RegistrationLock
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetRegistrationLockResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRegistrationLockResponse) Reset() {
|
|
*x = SetRegistrationLockResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRegistrationLockResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRegistrationLockResponse) ProtoMessage() {}
|
|
|
|
func (x *SetRegistrationLockResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetRegistrationLockResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetRegistrationLockResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type ClearRegistrationLockRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearRegistrationLockRequest) Reset() {
|
|
*x = ClearRegistrationLockRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearRegistrationLockRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearRegistrationLockRequest) ProtoMessage() {}
|
|
|
|
func (x *ClearRegistrationLockRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ClearRegistrationLockRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClearRegistrationLockRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type ClearRegistrationLockResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearRegistrationLockResponse) Reset() {
|
|
*x = ClearRegistrationLockResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearRegistrationLockResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearRegistrationLockResponse) ProtoMessage() {}
|
|
|
|
func (x *ClearRegistrationLockResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ClearRegistrationLockResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClearRegistrationLockResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type ReserveUsernameHashRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A prioritized list of username hashes to attempt to reserve.
|
|
UsernameHashes [][]byte `protobuf:"bytes,1,rep,name=username_hashes,json=usernameHashes,proto3" json:"username_hashes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReserveUsernameHashRequest) Reset() {
|
|
*x = ReserveUsernameHashRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReserveUsernameHashRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReserveUsernameHashRequest) ProtoMessage() {}
|
|
|
|
func (x *ReserveUsernameHashRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ReserveUsernameHashRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReserveUsernameHashRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ReserveUsernameHashRequest) GetUsernameHashes() [][]byte {
|
|
if x != nil {
|
|
return x.UsernameHashes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UsernameNotAvailable struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UsernameNotAvailable) Reset() {
|
|
*x = UsernameNotAvailable{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UsernameNotAvailable) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UsernameNotAvailable) ProtoMessage() {}
|
|
|
|
func (x *UsernameNotAvailable) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 UsernameNotAvailable.ProtoReflect.Descriptor instead.
|
|
func (*UsernameNotAvailable) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type ReserveUsernameHashResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *ReserveUsernameHashResponse_UsernameHash
|
|
// *ReserveUsernameHashResponse_UsernameNotAvailable
|
|
Response isReserveUsernameHashResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReserveUsernameHashResponse) Reset() {
|
|
*x = ReserveUsernameHashResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReserveUsernameHashResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReserveUsernameHashResponse) ProtoMessage() {}
|
|
|
|
func (x *ReserveUsernameHashResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ReserveUsernameHashResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReserveUsernameHashResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ReserveUsernameHashResponse) GetResponse() isReserveUsernameHashResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReserveUsernameHashResponse) GetUsernameHash() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ReserveUsernameHashResponse_UsernameHash); ok {
|
|
return x.UsernameHash
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReserveUsernameHashResponse) GetUsernameNotAvailable() *UsernameNotAvailable {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ReserveUsernameHashResponse_UsernameNotAvailable); ok {
|
|
return x.UsernameNotAvailable
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isReserveUsernameHashResponse_Response interface {
|
|
isReserveUsernameHashResponse_Response()
|
|
}
|
|
|
|
type ReserveUsernameHashResponse_UsernameHash struct {
|
|
// The first username hash that was available (and actually reserved).
|
|
UsernameHash []byte `protobuf:"bytes,1,opt,name=username_hash,json=usernameHash,proto3,oneof"`
|
|
}
|
|
|
|
type ReserveUsernameHashResponse_UsernameNotAvailable struct {
|
|
// Indicates that, of all of the candidate hashes provided, none were
|
|
// available. Callers may generate a new set of hashes and and retry.
|
|
UsernameNotAvailable *UsernameNotAvailable `protobuf:"bytes,2,opt,name=username_not_available,json=usernameNotAvailable,proto3,oneof"`
|
|
}
|
|
|
|
func (*ReserveUsernameHashResponse_UsernameHash) isReserveUsernameHashResponse_Response() {}
|
|
|
|
func (*ReserveUsernameHashResponse_UsernameNotAvailable) isReserveUsernameHashResponse_Response() {}
|
|
|
|
type ConfirmUsernameHashRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The username hash to claim for the authenticated account.
|
|
UsernameHash []byte `protobuf:"bytes,1,opt,name=username_hash,json=usernameHash,proto3" json:"username_hash,omitempty"`
|
|
// A zero-knowledge proof that the given username hash was generated by the
|
|
// Signal username algorithm.
|
|
ZkProof []byte `protobuf:"bytes,2,opt,name=zk_proof,json=zkProof,proto3" json:"zk_proof,omitempty"`
|
|
// The ciphertext of the chosen username for use in public-facing contexts
|
|
// (e.g. links and QR codes).
|
|
UsernameCiphertext []byte `protobuf:"bytes,3,opt,name=username_ciphertext,json=usernameCiphertext,proto3" json:"username_ciphertext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashRequest) Reset() {
|
|
*x = ConfirmUsernameHashRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmUsernameHashRequest) ProtoMessage() {}
|
|
|
|
func (x *ConfirmUsernameHashRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ConfirmUsernameHashRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmUsernameHashRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashRequest) GetUsernameHash() []byte {
|
|
if x != nil {
|
|
return x.UsernameHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashRequest) GetZkProof() []byte {
|
|
if x != nil {
|
|
return x.ZkProof
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashRequest) GetUsernameCiphertext() []byte {
|
|
if x != nil {
|
|
return x.UsernameCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConfirmUsernameHashResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *ConfirmUsernameHashResponse_ConfirmedUsernameHash_
|
|
// *ConfirmUsernameHashResponse_ReservationNotFound
|
|
// *ConfirmUsernameHashResponse_UsernameNotAvailable
|
|
Response isConfirmUsernameHashResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse) Reset() {
|
|
*x = ConfirmUsernameHashResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmUsernameHashResponse) ProtoMessage() {}
|
|
|
|
func (x *ConfirmUsernameHashResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ConfirmUsernameHashResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmUsernameHashResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse) GetResponse() isConfirmUsernameHashResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse) GetConfirmedUsernameHash() *ConfirmUsernameHashResponse_ConfirmedUsernameHash {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ConfirmUsernameHashResponse_ConfirmedUsernameHash_); ok {
|
|
return x.ConfirmedUsernameHash
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse) GetReservationNotFound() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ConfirmUsernameHashResponse_ReservationNotFound); ok {
|
|
return x.ReservationNotFound
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse) GetUsernameNotAvailable() *UsernameNotAvailable {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ConfirmUsernameHashResponse_UsernameNotAvailable); ok {
|
|
return x.UsernameNotAvailable
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isConfirmUsernameHashResponse_Response interface {
|
|
isConfirmUsernameHashResponse_Response()
|
|
}
|
|
|
|
type ConfirmUsernameHashResponse_ConfirmedUsernameHash_ struct {
|
|
// The details of the successfully confirmed username.
|
|
ConfirmedUsernameHash *ConfirmUsernameHashResponse_ConfirmedUsernameHash `protobuf:"bytes,1,opt,name=confirmed_username_hash,json=confirmedUsernameHash,proto3,oneof"`
|
|
}
|
|
|
|
type ConfirmUsernameHashResponse_ReservationNotFound struct {
|
|
// The provided hash was not reserved for the account.
|
|
ReservationNotFound *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=reservation_not_found,json=reservationNotFound,proto3,oneof"`
|
|
}
|
|
|
|
type ConfirmUsernameHashResponse_UsernameNotAvailable struct {
|
|
// The reservation has lapsed and the requested username has been claimed by
|
|
// another caller.
|
|
UsernameNotAvailable *UsernameNotAvailable `protobuf:"bytes,3,opt,name=username_not_available,json=usernameNotAvailable,proto3,oneof"`
|
|
}
|
|
|
|
func (*ConfirmUsernameHashResponse_ConfirmedUsernameHash_) isConfirmUsernameHashResponse_Response() {}
|
|
|
|
func (*ConfirmUsernameHashResponse_ReservationNotFound) isConfirmUsernameHashResponse_Response() {}
|
|
|
|
func (*ConfirmUsernameHashResponse_UsernameNotAvailable) isConfirmUsernameHashResponse_Response() {}
|
|
|
|
type DeleteUsernameHashRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUsernameHashRequest) Reset() {
|
|
*x = DeleteUsernameHashRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUsernameHashRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUsernameHashRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteUsernameHashRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 DeleteUsernameHashRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUsernameHashRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
type DeleteUsernameHashResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUsernameHashResponse) Reset() {
|
|
*x = DeleteUsernameHashResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUsernameHashResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUsernameHashResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteUsernameHashResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 DeleteUsernameHashResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUsernameHashResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type SetUsernameLinkRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The username ciphertext for which to generate a new link handle.
|
|
UsernameCiphertext []byte `protobuf:"bytes,1,opt,name=username_ciphertext,json=usernameCiphertext,proto3" json:"username_ciphertext,omitempty"`
|
|
// If true and the account already had an encrypted username stored, the
|
|
// existing link handle will be reused. Otherwise a new link handle will be
|
|
// created.
|
|
KeepLinkHandle bool `protobuf:"varint,2,opt,name=keep_link_handle,json=keepLinkHandle,proto3" json:"keep_link_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetUsernameLinkRequest) Reset() {
|
|
*x = SetUsernameLinkRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetUsernameLinkRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetUsernameLinkRequest) ProtoMessage() {}
|
|
|
|
func (x *SetUsernameLinkRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetUsernameLinkRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetUsernameLinkRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *SetUsernameLinkRequest) GetUsernameCiphertext() []byte {
|
|
if x != nil {
|
|
return x.UsernameCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetUsernameLinkRequest) GetKeepLinkHandle() bool {
|
|
if x != nil {
|
|
return x.KeepLinkHandle
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetUsernameLinkResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *SetUsernameLinkResponse_UsernameLinkHandle
|
|
// *SetUsernameLinkResponse_NoUsernameSet
|
|
Response isSetUsernameLinkResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetUsernameLinkResponse) Reset() {
|
|
*x = SetUsernameLinkResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetUsernameLinkResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetUsernameLinkResponse) ProtoMessage() {}
|
|
|
|
func (x *SetUsernameLinkResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetUsernameLinkResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetUsernameLinkResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *SetUsernameLinkResponse) GetResponse() isSetUsernameLinkResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetUsernameLinkResponse) GetUsernameLinkHandle() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*SetUsernameLinkResponse_UsernameLinkHandle); ok {
|
|
return x.UsernameLinkHandle
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetUsernameLinkResponse) GetNoUsernameSet() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*SetUsernameLinkResponse_NoUsernameSet); ok {
|
|
return x.NoUsernameSet
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSetUsernameLinkResponse_Response interface {
|
|
isSetUsernameLinkResponse_Response()
|
|
}
|
|
|
|
type SetUsernameLinkResponse_UsernameLinkHandle struct {
|
|
// A new link handle for the given username ciphertext.
|
|
UsernameLinkHandle []byte `protobuf:"bytes,1,opt,name=username_link_handle,json=usernameLinkHandle,proto3,oneof"`
|
|
}
|
|
|
|
type SetUsernameLinkResponse_NoUsernameSet struct {
|
|
// The authenticated account did not have a username set.
|
|
NoUsernameSet *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=no_username_set,json=noUsernameSet,proto3,oneof"`
|
|
}
|
|
|
|
func (*SetUsernameLinkResponse_UsernameLinkHandle) isSetUsernameLinkResponse_Response() {}
|
|
|
|
func (*SetUsernameLinkResponse_NoUsernameSet) isSetUsernameLinkResponse_Response() {}
|
|
|
|
type DeleteUsernameLinkRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUsernameLinkRequest) Reset() {
|
|
*x = DeleteUsernameLinkRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUsernameLinkRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUsernameLinkRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteUsernameLinkRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 DeleteUsernameLinkRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUsernameLinkRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type DeleteUsernameLinkResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUsernameLinkResponse) Reset() {
|
|
*x = DeleteUsernameLinkResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUsernameLinkResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUsernameLinkResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteUsernameLinkResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 DeleteUsernameLinkResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUsernameLinkResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type ConfigureUnidentifiedAccessRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Configuration:
|
|
//
|
|
// *ConfigureUnidentifiedAccessRequest_UnidentifiedAccessKey
|
|
// *ConfigureUnidentifiedAccessRequest_AllowUnrestrictedUnidentifiedAccess
|
|
Configuration isConfigureUnidentifiedAccessRequest_Configuration `protobuf_oneof:"configuration"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessRequest) Reset() {
|
|
*x = ConfigureUnidentifiedAccessRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureUnidentifiedAccessRequest) ProtoMessage() {}
|
|
|
|
func (x *ConfigureUnidentifiedAccessRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ConfigureUnidentifiedAccessRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureUnidentifiedAccessRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessRequest) GetConfiguration() isConfigureUnidentifiedAccessRequest_Configuration {
|
|
if x != nil {
|
|
return x.Configuration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessRequest) GetUnidentifiedAccessKey() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Configuration.(*ConfigureUnidentifiedAccessRequest_UnidentifiedAccessKey); ok {
|
|
return x.UnidentifiedAccessKey
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessRequest) GetAllowUnrestrictedUnidentifiedAccess() *emptypb.Empty {
|
|
if x != nil {
|
|
if x, ok := x.Configuration.(*ConfigureUnidentifiedAccessRequest_AllowUnrestrictedUnidentifiedAccess); ok {
|
|
return x.AllowUnrestrictedUnidentifiedAccess
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isConfigureUnidentifiedAccessRequest_Configuration interface {
|
|
isConfigureUnidentifiedAccessRequest_Configuration()
|
|
}
|
|
|
|
type ConfigureUnidentifiedAccessRequest_UnidentifiedAccessKey struct {
|
|
// The key that other users must provide to interact with this account
|
|
// anonymously (i.e. to retrieve keys or profiles or to send messages) unless
|
|
// unrestricted unidentified access is permitted. Must be present if
|
|
// unrestricted unidentified access is not allowed.
|
|
UnidentifiedAccessKey []byte `protobuf:"bytes,1,opt,name=unidentified_access_key,json=unidentifiedAccessKey,proto3,oneof"`
|
|
}
|
|
|
|
type ConfigureUnidentifiedAccessRequest_AllowUnrestrictedUnidentifiedAccess struct {
|
|
// If set, any user may interact with this account anonymously without
|
|
// providing an unidentified access key. Otherwise, users must provide the
|
|
// given unidentified access key to interact with this account anonymously.
|
|
// Setting unrestricted unidentified access will clear any existing
|
|
// unidentified_access_key
|
|
AllowUnrestrictedUnidentifiedAccess *emptypb.Empty `protobuf:"bytes,2,opt,name=allow_unrestricted_unidentified_access,json=allowUnrestrictedUnidentifiedAccess,proto3,oneof"`
|
|
}
|
|
|
|
func (*ConfigureUnidentifiedAccessRequest_UnidentifiedAccessKey) isConfigureUnidentifiedAccessRequest_Configuration() {
|
|
}
|
|
|
|
func (*ConfigureUnidentifiedAccessRequest_AllowUnrestrictedUnidentifiedAccess) isConfigureUnidentifiedAccessRequest_Configuration() {
|
|
}
|
|
|
|
type ConfigureUnidentifiedAccessResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessResponse) Reset() {
|
|
*x = ConfigureUnidentifiedAccessResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureUnidentifiedAccessResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureUnidentifiedAccessResponse) ProtoMessage() {}
|
|
|
|
func (x *ConfigureUnidentifiedAccessResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ConfigureUnidentifiedAccessResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureUnidentifiedAccessResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
type SetDiscoverableByPhoneNumberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// If true, the authenticated account may be discovered by phone number via
|
|
// the Contact Discovery Service (CDS). Otherwise, other users must discover
|
|
// this account by other means (i.e. by username).
|
|
DiscoverableByPhoneNumber bool `protobuf:"varint,1,opt,name=discoverable_by_phone_number,json=discoverableByPhoneNumber,proto3" json:"discoverable_by_phone_number,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberRequest) Reset() {
|
|
*x = SetDiscoverableByPhoneNumberRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetDiscoverableByPhoneNumberRequest) ProtoMessage() {}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetDiscoverableByPhoneNumberRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetDiscoverableByPhoneNumberRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberRequest) GetDiscoverableByPhoneNumber() bool {
|
|
if x != nil {
|
|
return x.DiscoverableByPhoneNumber
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetDiscoverableByPhoneNumberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberResponse) Reset() {
|
|
*x = SetDiscoverableByPhoneNumberResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetDiscoverableByPhoneNumberResponse) ProtoMessage() {}
|
|
|
|
func (x *SetDiscoverableByPhoneNumberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetDiscoverableByPhoneNumberResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetDiscoverableByPhoneNumberResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
type SetRegistrationRecoveryPasswordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The new registration recovery password for the authenticated account.
|
|
RegistrationRecoveryPassword []byte `protobuf:"bytes,1,opt,name=registration_recovery_password,json=registrationRecoveryPassword,proto3" json:"registration_recovery_password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordRequest) Reset() {
|
|
*x = SetRegistrationRecoveryPasswordRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRegistrationRecoveryPasswordRequest) ProtoMessage() {}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetRegistrationRecoveryPasswordRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetRegistrationRecoveryPasswordRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordRequest) GetRegistrationRecoveryPassword() []byte {
|
|
if x != nil {
|
|
return x.RegistrationRecoveryPassword
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetRegistrationRecoveryPasswordResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordResponse) Reset() {
|
|
*x = SetRegistrationRecoveryPasswordResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRegistrationRecoveryPasswordResponse) ProtoMessage() {}
|
|
|
|
func (x *SetRegistrationRecoveryPasswordResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetRegistrationRecoveryPasswordResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetRegistrationRecoveryPasswordResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
type CheckAccountExistenceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The service identifier of an account that may or may not exist.
|
|
ServiceIdentifier *common.ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3" json:"service_identifier,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckAccountExistenceRequest) Reset() {
|
|
*x = CheckAccountExistenceRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckAccountExistenceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckAccountExistenceRequest) ProtoMessage() {}
|
|
|
|
func (x *CheckAccountExistenceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 CheckAccountExistenceRequest.ProtoReflect.Descriptor instead.
|
|
func (*CheckAccountExistenceRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *CheckAccountExistenceRequest) GetServiceIdentifier() *common.ServiceIdentifier {
|
|
if x != nil {
|
|
return x.ServiceIdentifier
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CheckAccountExistenceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// True if an account exists with the given service identifier or false if no
|
|
// account was found.
|
|
AccountExists bool `protobuf:"varint,1,opt,name=account_exists,json=accountExists,proto3" json:"account_exists,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckAccountExistenceResponse) Reset() {
|
|
*x = CheckAccountExistenceResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckAccountExistenceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckAccountExistenceResponse) ProtoMessage() {}
|
|
|
|
func (x *CheckAccountExistenceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 CheckAccountExistenceResponse.ProtoReflect.Descriptor instead.
|
|
func (*CheckAccountExistenceResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *CheckAccountExistenceResponse) GetAccountExists() bool {
|
|
if x != nil {
|
|
return x.AccountExists
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LookupUsernameHashRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A 32-byte username hash for which to find an account.
|
|
UsernameHash []byte `protobuf:"bytes,1,opt,name=username_hash,json=usernameHash,proto3" json:"username_hash,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupUsernameHashRequest) Reset() {
|
|
*x = LookupUsernameHashRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupUsernameHashRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupUsernameHashRequest) ProtoMessage() {}
|
|
|
|
func (x *LookupUsernameHashRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 LookupUsernameHashRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupUsernameHashRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *LookupUsernameHashRequest) GetUsernameHash() []byte {
|
|
if x != nil {
|
|
return x.UsernameHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LookupUsernameHashResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *LookupUsernameHashResponse_ServiceIdentifier
|
|
// *LookupUsernameHashResponse_NotFound
|
|
Response isLookupUsernameHashResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupUsernameHashResponse) Reset() {
|
|
*x = LookupUsernameHashResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupUsernameHashResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupUsernameHashResponse) ProtoMessage() {}
|
|
|
|
func (x *LookupUsernameHashResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 LookupUsernameHashResponse.ProtoReflect.Descriptor instead.
|
|
func (*LookupUsernameHashResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *LookupUsernameHashResponse) GetResponse() isLookupUsernameHashResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupUsernameHashResponse) GetServiceIdentifier() *common.ServiceIdentifier {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*LookupUsernameHashResponse_ServiceIdentifier); ok {
|
|
return x.ServiceIdentifier
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupUsernameHashResponse) GetNotFound() *errors.NotFound {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*LookupUsernameHashResponse_NotFound); ok {
|
|
return x.NotFound
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isLookupUsernameHashResponse_Response interface {
|
|
isLookupUsernameHashResponse_Response()
|
|
}
|
|
|
|
type LookupUsernameHashResponse_ServiceIdentifier struct {
|
|
// The service identifier associated with the provided username hash.
|
|
ServiceIdentifier *common.ServiceIdentifier `protobuf:"bytes,1,opt,name=service_identifier,json=serviceIdentifier,proto3,oneof"`
|
|
}
|
|
|
|
type LookupUsernameHashResponse_NotFound struct {
|
|
// No account was found for the provided username hash.
|
|
NotFound *errors.NotFound `protobuf:"bytes,2,opt,name=not_found,json=notFound,proto3,oneof"`
|
|
}
|
|
|
|
func (*LookupUsernameHashResponse_ServiceIdentifier) isLookupUsernameHashResponse_Response() {}
|
|
|
|
func (*LookupUsernameHashResponse_NotFound) isLookupUsernameHashResponse_Response() {}
|
|
|
|
type LookupUsernameLinkRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The link handle for which to find an encrypted username. Link handles are
|
|
// 16-byte representations of UUIDs.
|
|
UsernameLinkHandle []byte `protobuf:"bytes,1,opt,name=username_link_handle,json=usernameLinkHandle,proto3" json:"username_link_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupUsernameLinkRequest) Reset() {
|
|
*x = LookupUsernameLinkRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupUsernameLinkRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupUsernameLinkRequest) ProtoMessage() {}
|
|
|
|
func (x *LookupUsernameLinkRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 LookupUsernameLinkRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupUsernameLinkRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *LookupUsernameLinkRequest) GetUsernameLinkHandle() []byte {
|
|
if x != nil {
|
|
return x.UsernameLinkHandle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LookupUsernameLinkResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *LookupUsernameLinkResponse_UsernameCiphertext
|
|
// *LookupUsernameLinkResponse_NotFound
|
|
Response isLookupUsernameLinkResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupUsernameLinkResponse) Reset() {
|
|
*x = LookupUsernameLinkResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupUsernameLinkResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupUsernameLinkResponse) ProtoMessage() {}
|
|
|
|
func (x *LookupUsernameLinkResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[32]
|
|
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 LookupUsernameLinkResponse.ProtoReflect.Descriptor instead.
|
|
func (*LookupUsernameLinkResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *LookupUsernameLinkResponse) GetResponse() isLookupUsernameLinkResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupUsernameLinkResponse) GetUsernameCiphertext() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*LookupUsernameLinkResponse_UsernameCiphertext); ok {
|
|
return x.UsernameCiphertext
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupUsernameLinkResponse) GetNotFound() *errors.NotFound {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*LookupUsernameLinkResponse_NotFound); ok {
|
|
return x.NotFound
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isLookupUsernameLinkResponse_Response interface {
|
|
isLookupUsernameLinkResponse_Response()
|
|
}
|
|
|
|
type LookupUsernameLinkResponse_UsernameCiphertext struct {
|
|
// The ciphertext of the username identified by the provided link handle.
|
|
UsernameCiphertext []byte `protobuf:"bytes,1,opt,name=username_ciphertext,json=usernameCiphertext,proto3,oneof"`
|
|
}
|
|
|
|
type LookupUsernameLinkResponse_NotFound struct {
|
|
// No username was found for the provided link handle.
|
|
NotFound *errors.NotFound `protobuf:"bytes,2,opt,name=not_found,json=notFound,proto3,oneof"`
|
|
}
|
|
|
|
func (*LookupUsernameLinkResponse_UsernameCiphertext) isLookupUsernameLinkResponse_Response() {}
|
|
|
|
func (*LookupUsernameLinkResponse_NotFound) isLookupUsernameLinkResponse_Response() {}
|
|
|
|
type SetZkCredentialKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A serialized libsignal ZkCredentialPublicKey
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetZkCredentialKeyRequest) Reset() {
|
|
*x = SetZkCredentialKeyRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetZkCredentialKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetZkCredentialKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *SetZkCredentialKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[33]
|
|
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 SetZkCredentialKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetZkCredentialKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *SetZkCredentialKeyRequest) GetPublicKey() []byte {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetZkCredentialKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A random, non-zero, value that must be included in credential requests using the key.
|
|
//
|
|
// This value allows the server to ratchet the resulting binding identity,
|
|
// as reverting to the previous key will result in a new rotation ID.
|
|
RotationId uint64 `protobuf:"varint,1,opt,name=rotation_id,json=rotationId,proto3" json:"rotation_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetZkCredentialKeyResponse) Reset() {
|
|
*x = SetZkCredentialKeyResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetZkCredentialKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetZkCredentialKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *SetZkCredentialKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 SetZkCredentialKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetZkCredentialKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *SetZkCredentialKeyResponse) GetRotationId() uint64 {
|
|
if x != nil {
|
|
return x.RotationId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChangeNumberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A means of authenticating the change-number request for the new phone
|
|
// number. Exactly one must be provided.
|
|
//
|
|
// Types that are valid to be assigned to Verification:
|
|
//
|
|
// *ChangeNumberRequest_SessionId
|
|
// *ChangeNumberRequest_RecoveryPassword
|
|
Verification isChangeNumberRequest_Verification `protobuf_oneof:"verification"`
|
|
// The new phone number for the authenticated account.
|
|
Number string `protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty"`
|
|
// The registration lock secret for the new phone number, if the account
|
|
// associated with the new phone number has a registration lock configured.
|
|
RegistrationLock []byte `protobuf:"bytes,4,opt,name=registration_lock,json=registrationLock,proto3" json:"registration_lock,omitempty"`
|
|
// The new public identity key to use for the phone-number identity (PNI)
|
|
// associated with the new phone number.
|
|
PniIdentityKey []byte `protobuf:"bytes,5,opt,name=pni_identity_key,json=pniIdentityKey,proto3" json:"pni_identity_key,omitempty"`
|
|
// Synchronization messages to send to companion devices to supply the private
|
|
// keys associated with the new identity key and their new pre-keys. Exactly
|
|
// one message must be supplied for each device other than the sending
|
|
// (primary) device. May be omitted if no companion devices are linked to the
|
|
// account.
|
|
DeviceMessages *messages.IndividualRecipientMessageBundle `protobuf:"bytes,6,opt,name=device_messages,json=deviceMessages,proto3" json:"device_messages,omitempty"`
|
|
// A new signed EC pre-key for each device on the account, including the
|
|
// sending device, keyed by device ID. Each must be accompanied by a valid
|
|
// signature from the identity key in this request.
|
|
DevicePniSignedPreKeys map[uint32]*common.EcSignedPreKey `protobuf:"bytes,7,rep,name=device_pni_signed_pre_keys,json=devicePniSignedPreKeys,proto3" json:"device_pni_signed_pre_keys,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// A new signed post-quantum last-resort pre-key for each device on the
|
|
// account, including the sending device, keyed by device ID. Each must be
|
|
// accompanied by a valid signature from the identity key in this request.
|
|
DevicePniPqLastResortPreKeys map[uint32]*common.KemSignedPreKey `protobuf:"bytes,8,rep,name=device_pni_pq_last_resort_pre_keys,json=devicePniPqLastResortPreKeys,proto3" json:"device_pni_pq_last_resort_pre_keys,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// The new phone-number-identity registration ID for each device on the
|
|
// account, including the sending device, keyed by device ID.
|
|
PniRegistrationIds map[uint32]uint32 `protobuf:"bytes,9,rep,name=pni_registration_ids,json=pniRegistrationIds,proto3" json:"pni_registration_ids,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) Reset() {
|
|
*x = ChangeNumberRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeNumberRequest) ProtoMessage() {}
|
|
|
|
func (x *ChangeNumberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[35]
|
|
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 ChangeNumberRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChangeNumberRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetVerification() isChangeNumberRequest_Verification {
|
|
if x != nil {
|
|
return x.Verification
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetSessionId() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Verification.(*ChangeNumberRequest_SessionId); ok {
|
|
return x.SessionId
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetRecoveryPassword() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Verification.(*ChangeNumberRequest_RecoveryPassword); ok {
|
|
return x.RecoveryPassword
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetNumber() string {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetRegistrationLock() []byte {
|
|
if x != nil {
|
|
return x.RegistrationLock
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetPniIdentityKey() []byte {
|
|
if x != nil {
|
|
return x.PniIdentityKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetDeviceMessages() *messages.IndividualRecipientMessageBundle {
|
|
if x != nil {
|
|
return x.DeviceMessages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetDevicePniSignedPreKeys() map[uint32]*common.EcSignedPreKey {
|
|
if x != nil {
|
|
return x.DevicePniSignedPreKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetDevicePniPqLastResortPreKeys() map[uint32]*common.KemSignedPreKey {
|
|
if x != nil {
|
|
return x.DevicePniPqLastResortPreKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberRequest) GetPniRegistrationIds() map[uint32]uint32 {
|
|
if x != nil {
|
|
return x.PniRegistrationIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isChangeNumberRequest_Verification interface {
|
|
isChangeNumberRequest_Verification()
|
|
}
|
|
|
|
type ChangeNumberRequest_SessionId struct {
|
|
// A verified registration session ID (as returned by the registration
|
|
// service) for the new phone number.
|
|
SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberRequest_RecoveryPassword struct {
|
|
// A registration recovery password for the new phone number.
|
|
RecoveryPassword []byte `protobuf:"bytes,2,opt,name=recovery_password,json=recoveryPassword,proto3,oneof"`
|
|
}
|
|
|
|
func (*ChangeNumberRequest_SessionId) isChangeNumberRequest_Verification() {}
|
|
|
|
func (*ChangeNumberRequest_RecoveryPassword) isChangeNumberRequest_Verification() {}
|
|
|
|
type ChangeNumberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *ChangeNumberResponse_AccountIdentifiers
|
|
// *ChangeNumberResponse_MismatchedDevices
|
|
// *ChangeNumberResponse_RegistrationLockFailure
|
|
// *ChangeNumberResponse_StaleDevices
|
|
// *ChangeNumberResponse_MessageTooLarge
|
|
// *ChangeNumberResponse_UnverifiedRegistrationSession
|
|
// *ChangeNumberResponse_InvalidRegistrationSession
|
|
// *ChangeNumberResponse_RecoveryPasswordVerificationFailed
|
|
Response isChangeNumberResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) Reset() {
|
|
*x = ChangeNumberResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeNumberResponse) ProtoMessage() {}
|
|
|
|
func (x *ChangeNumberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ChangeNumberResponse.ProtoReflect.Descriptor instead.
|
|
func (*ChangeNumberResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetResponse() isChangeNumberResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetAccountIdentifiers() *common.AccountIdentifiers {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_AccountIdentifiers); ok {
|
|
return x.AccountIdentifiers
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetMismatchedDevices() *messages.MismatchedDevices {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_MismatchedDevices); ok {
|
|
return x.MismatchedDevices
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetRegistrationLockFailure() *RegistrationLockFailure {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_RegistrationLockFailure); ok {
|
|
return x.RegistrationLockFailure
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetStaleDevices() *StaleDevices {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_StaleDevices); ok {
|
|
return x.StaleDevices
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetMessageTooLarge() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_MessageTooLarge); ok {
|
|
return x.MessageTooLarge
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetUnverifiedRegistrationSession() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_UnverifiedRegistrationSession); ok {
|
|
return x.UnverifiedRegistrationSession
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetInvalidRegistrationSession() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_InvalidRegistrationSession); ok {
|
|
return x.InvalidRegistrationSession
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChangeNumberResponse) GetRecoveryPasswordVerificationFailed() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ChangeNumberResponse_RecoveryPasswordVerificationFailed); ok {
|
|
return x.RecoveryPasswordVerificationFailed
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isChangeNumberResponse_Response interface {
|
|
isChangeNumberResponse_Response()
|
|
}
|
|
|
|
type ChangeNumberResponse_AccountIdentifiers struct {
|
|
// The identifiers of the account after the successful
|
|
// number change.
|
|
AccountIdentifiers *common.AccountIdentifiers `protobuf:"bytes,1,opt,name=account_identifiers,json=accountIdentifiers,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_MismatchedDevices struct {
|
|
// Mismatched number of devices or device ids in 'devices to notify' list
|
|
MismatchedDevices *messages.MismatchedDevices `protobuf:"bytes,2,opt,name=mismatched_devices,json=mismatchedDevices,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_RegistrationLockFailure struct {
|
|
// The account associated with the new phone number has a registration lock,
|
|
// and the provided registration lock secret was missing or incorrect.
|
|
RegistrationLockFailure *RegistrationLockFailure `protobuf:"bytes,3,opt,name=registration_lock_failure,json=registrationLockFailure,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_StaleDevices struct {
|
|
// Mismatched registration ids in 'devices to notify' list
|
|
StaleDevices *StaleDevices `protobuf:"bytes,4,opt,name=stale_devices,json=staleDevices,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_MessageTooLarge struct {
|
|
// One or more device messages was too large
|
|
MessageTooLarge *errors.FailedPrecondition `protobuf:"bytes,5,opt,name=message_too_large,json=messageTooLarge,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_UnverifiedRegistrationSession struct {
|
|
// The registration session is unverified
|
|
UnverifiedRegistrationSession *errors.FailedPrecondition `protobuf:"bytes,6,opt,name=unverified_registration_session,json=unverifiedRegistrationSession,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_InvalidRegistrationSession struct {
|
|
// The number does not match the registration session, or the registration session is invalid
|
|
InvalidRegistrationSession *errors.FailedPrecondition `protobuf:"bytes,7,opt,name=invalid_registration_session,json=invalidRegistrationSession,proto3,oneof"`
|
|
}
|
|
|
|
type ChangeNumberResponse_RecoveryPasswordVerificationFailed struct {
|
|
RecoveryPasswordVerificationFailed *errors.FailedPrecondition `protobuf:"bytes,8,opt,name=recovery_password_verification_failed,json=recoveryPasswordVerificationFailed,proto3,oneof"`
|
|
}
|
|
|
|
func (*ChangeNumberResponse_AccountIdentifiers) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_MismatchedDevices) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_RegistrationLockFailure) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_StaleDevices) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_MessageTooLarge) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_UnverifiedRegistrationSession) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_InvalidRegistrationSession) isChangeNumberResponse_Response() {}
|
|
|
|
func (*ChangeNumberResponse_RecoveryPasswordVerificationFailed) isChangeNumberResponse_Response() {}
|
|
|
|
// Information about the current Registration lock and SVR credentials. With a correct PIN, the credentials can
|
|
// be used to recover the secret used to derive the registration lock password.
|
|
type RegistrationLockFailure struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Time remaining in milliseconds before the existing registration lock expires
|
|
TimeRemainingMillis uint64 `protobuf:"varint,1,opt,name=time_remaining_millis,json=timeRemainingMillis,proto3" json:"time_remaining_millis,omitempty"`
|
|
// Credentials that can be used with SVR2
|
|
Svr2Credentials *ExternalServiceCredentials `protobuf:"bytes,2,opt,name=svr2_credentials,json=svr2Credentials,proto3" json:"svr2_credentials,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegistrationLockFailure) Reset() {
|
|
*x = RegistrationLockFailure{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegistrationLockFailure) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegistrationLockFailure) ProtoMessage() {}
|
|
|
|
func (x *RegistrationLockFailure) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 RegistrationLockFailure.ProtoReflect.Descriptor instead.
|
|
func (*RegistrationLockFailure) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *RegistrationLockFailure) GetTimeRemainingMillis() uint64 {
|
|
if x != nil {
|
|
return x.TimeRemainingMillis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RegistrationLockFailure) GetSvr2Credentials() *ExternalServiceCredentials {
|
|
if x != nil {
|
|
return x.Svr2Credentials
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// A username/password pair for authenticating with an external service.
|
|
type ExternalServiceCredentials struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A username that can be presented to authenticate with the external service.
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
// A password that can be presented to authenticate with the external service.
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExternalServiceCredentials) Reset() {
|
|
*x = ExternalServiceCredentials{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExternalServiceCredentials) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExternalServiceCredentials) ProtoMessage() {}
|
|
|
|
func (x *ExternalServiceCredentials) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 ExternalServiceCredentials.ProtoReflect.Descriptor instead.
|
|
func (*ExternalServiceCredentials) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *ExternalServiceCredentials) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExternalServiceCredentials) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// A list of devices that are linked to the account but presented a stale
|
|
// registration ID (indicating the device has likely been replaced by another
|
|
// device).
|
|
type StaleDevices struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The IDs of devices that are no longer active.
|
|
StaleDevices []uint32 `protobuf:"varint,1,rep,packed,name=stale_devices,json=staleDevices,proto3" json:"stale_devices,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StaleDevices) Reset() {
|
|
*x = StaleDevices{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StaleDevices) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaleDevices) ProtoMessage() {}
|
|
|
|
func (x *StaleDevices) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 StaleDevices.ProtoReflect.Descriptor instead.
|
|
func (*StaleDevices) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *StaleDevices) GetStaleDevices() []uint32 {
|
|
if x != nil {
|
|
return x.StaleDevices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAccountDataReportRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountDataReportRequest) Reset() {
|
|
*x = GetAccountDataReportRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountDataReportRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountDataReportRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAccountDataReportRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetAccountDataReportRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountDataReportRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
type GetAccountDataReportResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The JSON representation of the data report
|
|
Json string `protobuf:"bytes,3,opt,name=json,proto3" json:"json,omitempty"`
|
|
// A plaintext representation of the data report
|
|
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountDataReportResponse) Reset() {
|
|
*x = GetAccountDataReportResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountDataReportResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountDataReportResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAccountDataReportResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetAccountDataReportResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountDataReportResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *GetAccountDataReportResponse) GetJson() string {
|
|
if x != nil {
|
|
return x.Json
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetAccountDataReportResponse) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCapabilitiesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCapabilitiesRequest) Reset() {
|
|
*x = GetCapabilitiesRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCapabilitiesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCapabilitiesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetCapabilitiesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCapabilitiesRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
type Capabilities struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A list of capabilities enabled on the account.
|
|
Capabilities []common.DeviceCapability `protobuf:"varint,1,rep,packed,name=capabilities,proto3,enum=org.signal.chat.common.DeviceCapability" json:"capabilities,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Capabilities) Reset() {
|
|
*x = Capabilities{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Capabilities) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Capabilities) ProtoMessage() {}
|
|
|
|
func (x *Capabilities) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 Capabilities.ProtoReflect.Descriptor instead.
|
|
func (*Capabilities) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *Capabilities) GetCapabilities() []common.DeviceCapability {
|
|
if x != nil {
|
|
return x.Capabilities
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCapabilitiesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A list of capabilities enabled on the account.
|
|
Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCapabilitiesResponse) Reset() {
|
|
*x = GetCapabilitiesResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCapabilitiesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCapabilitiesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetCapabilitiesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *GetCapabilitiesResponse) GetCapabilities() *Capabilities {
|
|
if x != nil {
|
|
return x.Capabilities
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The ACI of the account for which to get capabilities.
|
|
AccountIdentifier *common.ServiceIdentifier `protobuf:"bytes,1,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"`
|
|
// Types that are valid to be assigned to Authentication:
|
|
//
|
|
// *GetCapabilitiesAnonymousRequest_UnidentifiedAccessKey
|
|
// *GetCapabilitiesAnonymousRequest_GroupSendToken
|
|
Authentication isGetCapabilitiesAnonymousRequest_Authentication `protobuf_oneof:"authentication"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) Reset() {
|
|
*x = GetCapabilitiesAnonymousRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCapabilitiesAnonymousRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetCapabilitiesAnonymousRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCapabilitiesAnonymousRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) GetAccountIdentifier() *common.ServiceIdentifier {
|
|
if x != nil {
|
|
return x.AccountIdentifier
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) GetAuthentication() isGetCapabilitiesAnonymousRequest_Authentication {
|
|
if x != nil {
|
|
return x.Authentication
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) GetUnidentifiedAccessKey() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Authentication.(*GetCapabilitiesAnonymousRequest_UnidentifiedAccessKey); ok {
|
|
return x.UnidentifiedAccessKey
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousRequest) GetGroupSendToken() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Authentication.(*GetCapabilitiesAnonymousRequest_GroupSendToken); ok {
|
|
return x.GroupSendToken
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isGetCapabilitiesAnonymousRequest_Authentication interface {
|
|
isGetCapabilitiesAnonymousRequest_Authentication()
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousRequest_UnidentifiedAccessKey struct {
|
|
// The unidentified access key for the targeted account.
|
|
UnidentifiedAccessKey []byte `protobuf:"bytes,2,opt,name=unidentified_access_key,json=unidentifiedAccessKey,proto3,oneof"`
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousRequest_GroupSendToken struct {
|
|
// A group send endorsement token for the targeted account.
|
|
GroupSendToken []byte `protobuf:"bytes,3,opt,name=group_send_token,json=groupSendToken,proto3,oneof"`
|
|
}
|
|
|
|
func (*GetCapabilitiesAnonymousRequest_UnidentifiedAccessKey) isGetCapabilitiesAnonymousRequest_Authentication() {
|
|
}
|
|
|
|
func (*GetCapabilitiesAnonymousRequest_GroupSendToken) isGetCapabilitiesAnonymousRequest_Authentication() {
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *GetCapabilitiesAnonymousResponse_Capabilities
|
|
// *GetCapabilitiesAnonymousResponse_NotFound
|
|
// *GetCapabilitiesAnonymousResponse_FailedUnidentifiedAuthorization
|
|
Response isGetCapabilitiesAnonymousResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) Reset() {
|
|
*x = GetCapabilitiesAnonymousResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCapabilitiesAnonymousResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_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 GetCapabilitiesAnonymousResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCapabilitiesAnonymousResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) GetResponse() isGetCapabilitiesAnonymousResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) GetCapabilities() *Capabilities {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*GetCapabilitiesAnonymousResponse_Capabilities); ok {
|
|
return x.Capabilities
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) GetNotFound() *errors.NotFound {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*GetCapabilitiesAnonymousResponse_NotFound); ok {
|
|
return x.NotFound
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCapabilitiesAnonymousResponse) GetFailedUnidentifiedAuthorization() *errors.FailedUnidentifiedAuthorization {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*GetCapabilitiesAnonymousResponse_FailedUnidentifiedAuthorization); ok {
|
|
return x.FailedUnidentifiedAuthorization
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isGetCapabilitiesAnonymousResponse_Response interface {
|
|
isGetCapabilitiesAnonymousResponse_Response()
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousResponse_Capabilities struct {
|
|
// A list of capabilities enabled on the account.
|
|
Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3,oneof"`
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousResponse_NotFound struct {
|
|
NotFound *errors.NotFound `protobuf:"bytes,2,opt,name=not_found,json=notFound,proto3,oneof"`
|
|
}
|
|
|
|
type GetCapabilitiesAnonymousResponse_FailedUnidentifiedAuthorization struct {
|
|
FailedUnidentifiedAuthorization *errors.FailedUnidentifiedAuthorization `protobuf:"bytes,3,opt,name=failed_unidentified_authorization,json=failedUnidentifiedAuthorization,proto3,oneof"`
|
|
}
|
|
|
|
func (*GetCapabilitiesAnonymousResponse_Capabilities) isGetCapabilitiesAnonymousResponse_Response() {}
|
|
|
|
func (*GetCapabilitiesAnonymousResponse_NotFound) isGetCapabilitiesAnonymousResponse_Response() {}
|
|
|
|
func (*GetCapabilitiesAnonymousResponse_FailedUnidentifiedAuthorization) isGetCapabilitiesAnonymousResponse_Response() {
|
|
}
|
|
|
|
type TotpParameters struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The HMAC algorithm (e.g. "HmacSHA256") used by the TOTP generator
|
|
Algorithm string `protobuf:"bytes,1,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
|
|
// The length of one-time passwords (in decimal digits) produced and expected
|
|
// by the TOTP generator
|
|
PasswordLength uint32 `protobuf:"varint,2,opt,name=password_length,json=passwordLength,proto3" json:"password_length,omitempty"`
|
|
// The time step (in seconds) used by the TOTP generator
|
|
TimeStepSeconds uint32 `protobuf:"varint,3,opt,name=time_step_seconds,json=timeStepSeconds,proto3" json:"time_step_seconds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TotpParameters) Reset() {
|
|
*x = TotpParameters{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TotpParameters) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TotpParameters) ProtoMessage() {}
|
|
|
|
func (x *TotpParameters) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[47]
|
|
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 TotpParameters.ProtoReflect.Descriptor instead.
|
|
func (*TotpParameters) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *TotpParameters) GetAlgorithm() string {
|
|
if x != nil {
|
|
return x.Algorithm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TotpParameters) GetPasswordLength() uint32 {
|
|
if x != nil {
|
|
return x.PasswordLength
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TotpParameters) GetTimeStepSeconds() uint32 {
|
|
if x != nil {
|
|
return x.TimeStepSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GenerateTotpKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateTotpKeyRequest) Reset() {
|
|
*x = GenerateTotpKeyRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateTotpKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateTotpKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *GenerateTotpKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[48]
|
|
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 GenerateTotpKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*GenerateTotpKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
type GenerateTotpKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *GenerateTotpKeyResponse_KeyGenerated_
|
|
// *GenerateTotpKeyResponse_TooManyTotpKeys
|
|
// *GenerateTotpKeyResponse_TooManyMfaKeys
|
|
Response isGenerateTotpKeyResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse) Reset() {
|
|
*x = GenerateTotpKeyResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateTotpKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *GenerateTotpKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[49]
|
|
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 GenerateTotpKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*GenerateTotpKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse) GetResponse() isGenerateTotpKeyResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse) GetKeyGenerated() *GenerateTotpKeyResponse_KeyGenerated {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*GenerateTotpKeyResponse_KeyGenerated_); ok {
|
|
return x.KeyGenerated
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse) GetTooManyTotpKeys() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*GenerateTotpKeyResponse_TooManyTotpKeys); ok {
|
|
return x.TooManyTotpKeys
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse) GetTooManyMfaKeys() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*GenerateTotpKeyResponse_TooManyMfaKeys); ok {
|
|
return x.TooManyMfaKeys
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isGenerateTotpKeyResponse_Response interface {
|
|
isGenerateTotpKeyResponse_Response()
|
|
}
|
|
|
|
type GenerateTotpKeyResponse_KeyGenerated_ struct {
|
|
// A new, pending TOTP key has been generated and added to the authenticated
|
|
// account
|
|
KeyGenerated *GenerateTotpKeyResponse_KeyGenerated `protobuf:"bytes,1,opt,name=key_generated,json=keyGenerated,proto3,oneof"`
|
|
}
|
|
|
|
type GenerateTotpKeyResponse_TooManyTotpKeys struct {
|
|
// The authenticated account already has too many TOTP keys, and the caller
|
|
// must remove one before adding more
|
|
TooManyTotpKeys *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=too_many_totp_keys,json=tooManyTotpKeys,proto3,oneof"`
|
|
}
|
|
|
|
type GenerateTotpKeyResponse_TooManyMfaKeys struct {
|
|
// The authenticated account already has too many MFA keys of all types, and
|
|
// the caller must remove one before adding more
|
|
TooManyMfaKeys *errors.FailedPrecondition `protobuf:"bytes,3,opt,name=too_many_mfa_keys,json=tooManyMfaKeys,proto3,oneof"`
|
|
}
|
|
|
|
func (*GenerateTotpKeyResponse_KeyGenerated_) isGenerateTotpKeyResponse_Response() {}
|
|
|
|
func (*GenerateTotpKeyResponse_TooManyTotpKeys) isGenerateTotpKeyResponse_Response() {}
|
|
|
|
func (*GenerateTotpKeyResponse_TooManyMfaKeys) isGenerateTotpKeyResponse_Response() {}
|
|
|
|
type ConfirmTotpKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A one-time password derived from the current pending TOTP key
|
|
OneTimePassword uint32 `protobuf:"varint,1,opt,name=one_time_password,json=oneTimePassword,proto3" json:"one_time_password,omitempty"`
|
|
// The ciphertext of user-provided metadata (presumably including a
|
|
// human-readable name and creation timestamp) to be attached to the
|
|
// newly-confirmed key
|
|
MetadataCiphertext []byte `protobuf:"bytes,2,opt,name=metadata_ciphertext,json=metadataCiphertext,proto3" json:"metadata_ciphertext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyRequest) Reset() {
|
|
*x = ConfirmTotpKeyRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmTotpKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *ConfirmTotpKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[50]
|
|
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 ConfirmTotpKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmTotpKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyRequest) GetOneTimePassword() uint32 {
|
|
if x != nil {
|
|
return x.OneTimePassword
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyRequest) GetMetadataCiphertext() []byte {
|
|
if x != nil {
|
|
return x.MetadataCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConfirmTotpKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *ConfirmTotpKeyResponse_KeyConfirmed_
|
|
// *ConfirmTotpKeyResponse_OneTimePasswordNotVerified
|
|
// *ConfirmTotpKeyResponse_TooManyMfaKeys
|
|
Response isConfirmTotpKeyResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse) Reset() {
|
|
*x = ConfirmTotpKeyResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmTotpKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *ConfirmTotpKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[51]
|
|
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 ConfirmTotpKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmTotpKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse) GetResponse() isConfirmTotpKeyResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse) GetKeyConfirmed() *ConfirmTotpKeyResponse_KeyConfirmed {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ConfirmTotpKeyResponse_KeyConfirmed_); ok {
|
|
return x.KeyConfirmed
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse) GetOneTimePasswordNotVerified() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ConfirmTotpKeyResponse_OneTimePasswordNotVerified); ok {
|
|
return x.OneTimePasswordNotVerified
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse) GetTooManyMfaKeys() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*ConfirmTotpKeyResponse_TooManyMfaKeys); ok {
|
|
return x.TooManyMfaKeys
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isConfirmTotpKeyResponse_Response interface {
|
|
isConfirmTotpKeyResponse_Response()
|
|
}
|
|
|
|
type ConfirmTotpKeyResponse_KeyConfirmed_ struct {
|
|
// The provided one-time password was accepted and the pending TOTP key was
|
|
// stored with the provided name ciphertext
|
|
KeyConfirmed *ConfirmTotpKeyResponse_KeyConfirmed `protobuf:"bytes,1,opt,name=key_confirmed,json=keyConfirmed,proto3,oneof"`
|
|
}
|
|
|
|
type ConfirmTotpKeyResponse_OneTimePasswordNotVerified struct {
|
|
// The provided one-time password was not valid for any reason (including
|
|
// incorrect passwords, misaligned clocks, or missing account records)
|
|
OneTimePasswordNotVerified *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=one_time_password_not_verified,json=oneTimePasswordNotVerified,proto3,oneof"`
|
|
}
|
|
|
|
type ConfirmTotpKeyResponse_TooManyMfaKeys struct {
|
|
// The authenticated account already has too many MFA keys of all types, and
|
|
// the caller must remove one before adding more
|
|
TooManyMfaKeys *errors.FailedPrecondition `protobuf:"bytes,3,opt,name=too_many_mfa_keys,json=tooManyMfaKeys,proto3,oneof"`
|
|
}
|
|
|
|
func (*ConfirmTotpKeyResponse_KeyConfirmed_) isConfirmTotpKeyResponse_Response() {}
|
|
|
|
func (*ConfirmTotpKeyResponse_OneTimePasswordNotVerified) isConfirmTotpKeyResponse_Response() {}
|
|
|
|
func (*ConfirmTotpKeyResponse_TooManyMfaKeys) isConfirmTotpKeyResponse_Response() {}
|
|
|
|
type StartWebAuthnRegistrationRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationRequest) Reset() {
|
|
*x = StartWebAuthnRegistrationRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartWebAuthnRegistrationRequest) ProtoMessage() {}
|
|
|
|
func (x *StartWebAuthnRegistrationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[52]
|
|
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 StartWebAuthnRegistrationRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartWebAuthnRegistrationRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
type StartWebAuthnRegistrationResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *StartWebAuthnRegistrationResponse_Params
|
|
// *StartWebAuthnRegistrationResponse_TooManyMfaKeys
|
|
Response isStartWebAuthnRegistrationResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse) Reset() {
|
|
*x = StartWebAuthnRegistrationResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartWebAuthnRegistrationResponse) ProtoMessage() {}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[53]
|
|
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 StartWebAuthnRegistrationResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartWebAuthnRegistrationResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse) GetResponse() isStartWebAuthnRegistrationResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse) GetParams() *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*StartWebAuthnRegistrationResponse_Params); ok {
|
|
return x.Params
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse) GetTooManyMfaKeys() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*StartWebAuthnRegistrationResponse_TooManyMfaKeys); ok {
|
|
return x.TooManyMfaKeys
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isStartWebAuthnRegistrationResponse_Response interface {
|
|
isStartWebAuthnRegistrationResponse_Response()
|
|
}
|
|
|
|
type StartWebAuthnRegistrationResponse_Params struct {
|
|
// The parameters to use for a WebAuthn registration ceremony
|
|
Params *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
|
|
}
|
|
|
|
type StartWebAuthnRegistrationResponse_TooManyMfaKeys struct {
|
|
// The authenticated account already has too many MFA keys, and the
|
|
// caller must remove one before adding one
|
|
TooManyMfaKeys *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=too_many_mfa_keys,json=tooManyMfaKeys,proto3,oneof"`
|
|
}
|
|
|
|
func (*StartWebAuthnRegistrationResponse_Params) isStartWebAuthnRegistrationResponse_Response() {}
|
|
|
|
func (*StartWebAuthnRegistrationResponse_TooManyMfaKeys) isStartWebAuthnRegistrationResponse_Response() {
|
|
}
|
|
|
|
type FinishWebAuthnRegistrationRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The attestation object from a completed registration ceremony, serialized
|
|
// as specified in https://www.w3.org/TR/webauthn/#attestation-object
|
|
AttestationObject []byte `protobuf:"bytes,1,opt,name=attestation_object,json=attestationObject,proto3" json:"attestation_object,omitempty"`
|
|
// The "collected client data" map used in the registration ceremony, as the
|
|
// exact JSON map that was hashed for the authenticator
|
|
CollectedClientDataJson string `protobuf:"bytes,2,opt,name=collected_client_data_json,json=collectedClientDataJson,proto3" json:"collected_client_data_json,omitempty"`
|
|
// The ciphertext of user-provided metadata (presumably including a
|
|
// human-readable name and creation timestamp) to be attached to the
|
|
// newly-confirmed key
|
|
MetadataCiphertext []byte `protobuf:"bytes,3,opt,name=metadata_ciphertext,json=metadataCiphertext,proto3" json:"metadata_ciphertext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationRequest) Reset() {
|
|
*x = FinishWebAuthnRegistrationRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishWebAuthnRegistrationRequest) ProtoMessage() {}
|
|
|
|
func (x *FinishWebAuthnRegistrationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[54]
|
|
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 FinishWebAuthnRegistrationRequest.ProtoReflect.Descriptor instead.
|
|
func (*FinishWebAuthnRegistrationRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationRequest) GetAttestationObject() []byte {
|
|
if x != nil {
|
|
return x.AttestationObject
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationRequest) GetCollectedClientDataJson() string {
|
|
if x != nil {
|
|
return x.CollectedClientDataJson
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationRequest) GetMetadataCiphertext() []byte {
|
|
if x != nil {
|
|
return x.MetadataCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FinishWebAuthnRegistrationResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *FinishWebAuthnRegistrationResponse_KeyConfirmed_
|
|
// *FinishWebAuthnRegistrationResponse_KeyNotConfirmed
|
|
// *FinishWebAuthnRegistrationResponse_TooManyMfaKeys
|
|
Response isFinishWebAuthnRegistrationResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) Reset() {
|
|
*x = FinishWebAuthnRegistrationResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishWebAuthnRegistrationResponse) ProtoMessage() {}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[55]
|
|
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 FinishWebAuthnRegistrationResponse.ProtoReflect.Descriptor instead.
|
|
func (*FinishWebAuthnRegistrationResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) GetResponse() isFinishWebAuthnRegistrationResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) GetKeyConfirmed() *FinishWebAuthnRegistrationResponse_KeyConfirmed {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*FinishWebAuthnRegistrationResponse_KeyConfirmed_); ok {
|
|
return x.KeyConfirmed
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) GetKeyNotConfirmed() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*FinishWebAuthnRegistrationResponse_KeyNotConfirmed); ok {
|
|
return x.KeyNotConfirmed
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse) GetTooManyMfaKeys() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*FinishWebAuthnRegistrationResponse_TooManyMfaKeys); ok {
|
|
return x.TooManyMfaKeys
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isFinishWebAuthnRegistrationResponse_Response interface {
|
|
isFinishWebAuthnRegistrationResponse_Response()
|
|
}
|
|
|
|
type FinishWebAuthnRegistrationResponse_KeyConfirmed_ struct {
|
|
// The provided public key has been registered for the account
|
|
KeyConfirmed *FinishWebAuthnRegistrationResponse_KeyConfirmed `protobuf:"bytes,1,opt,name=key_confirmed,json=keyConfirmed,proto3,oneof"`
|
|
}
|
|
|
|
type FinishWebAuthnRegistrationResponse_KeyNotConfirmed struct {
|
|
// The registration response was not verified successfully for any reason
|
|
KeyNotConfirmed *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=key_not_confirmed,json=keyNotConfirmed,proto3,oneof"`
|
|
}
|
|
|
|
type FinishWebAuthnRegistrationResponse_TooManyMfaKeys struct {
|
|
// The authenticated account already has too many MFA keys, and the
|
|
// caller must remove one before adding one (this can be true even if it
|
|
// was not when starting the request, since there is nothing to prevent
|
|
// multiple registrations from occurring in parallel)
|
|
TooManyMfaKeys *errors.FailedPrecondition `protobuf:"bytes,3,opt,name=too_many_mfa_keys,json=tooManyMfaKeys,proto3,oneof"`
|
|
}
|
|
|
|
func (*FinishWebAuthnRegistrationResponse_KeyConfirmed_) isFinishWebAuthnRegistrationResponse_Response() {
|
|
}
|
|
|
|
func (*FinishWebAuthnRegistrationResponse_KeyNotConfirmed) isFinishWebAuthnRegistrationResponse_Response() {
|
|
}
|
|
|
|
func (*FinishWebAuthnRegistrationResponse_TooManyMfaKeys) isFinishWebAuthnRegistrationResponse_Response() {
|
|
}
|
|
|
|
type ListMfaKeysRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMfaKeysRequest) Reset() {
|
|
*x = ListMfaKeysRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMfaKeysRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMfaKeysRequest) ProtoMessage() {}
|
|
|
|
func (x *ListMfaKeysRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[56]
|
|
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 ListMfaKeysRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMfaKeysRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
type ListMfaKeysResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Keys map[uint32]*ListMfaKeysResponse_MfaKeyMetadata `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse) Reset() {
|
|
*x = ListMfaKeysResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMfaKeysResponse) ProtoMessage() {}
|
|
|
|
func (x *ListMfaKeysResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[57]
|
|
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 ListMfaKeysResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMfaKeysResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse) GetKeys() map[uint32]*ListMfaKeysResponse_MfaKeyMetadata {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetMfaKeyMetadataRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The account-specific identifier of the MFA key to modify
|
|
KeyId uint32 `protobuf:"varint,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
|
|
// The ciphertext of the new user-provided metadata to be attached to the
|
|
// identified key
|
|
MetadataCiphertext []byte `protobuf:"bytes,2,opt,name=metadata_ciphertext,json=metadataCiphertext,proto3" json:"metadata_ciphertext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataRequest) Reset() {
|
|
*x = SetMfaKeyMetadataRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMfaKeyMetadataRequest) ProtoMessage() {}
|
|
|
|
func (x *SetMfaKeyMetadataRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[58]
|
|
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 SetMfaKeyMetadataRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetMfaKeyMetadataRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataRequest) GetKeyId() uint32 {
|
|
if x != nil {
|
|
return x.KeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataRequest) GetMetadataCiphertext() []byte {
|
|
if x != nil {
|
|
return x.MetadataCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetMfaKeyMetadataResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *SetMfaKeyMetadataResponse_Success
|
|
// *SetMfaKeyMetadataResponse_KeyNotFound
|
|
Response isSetMfaKeyMetadataResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse) Reset() {
|
|
*x = SetMfaKeyMetadataResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMfaKeyMetadataResponse) ProtoMessage() {}
|
|
|
|
func (x *SetMfaKeyMetadataResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[59]
|
|
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 SetMfaKeyMetadataResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetMfaKeyMetadataResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse) GetResponse() isSetMfaKeyMetadataResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse) GetSuccess() *SetMfaKeyMetadataResponse_MetadataUpdated {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*SetMfaKeyMetadataResponse_Success); ok {
|
|
return x.Success
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse) GetKeyNotFound() *errors.NotFound {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*SetMfaKeyMetadataResponse_KeyNotFound); ok {
|
|
return x.KeyNotFound
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSetMfaKeyMetadataResponse_Response interface {
|
|
isSetMfaKeyMetadataResponse_Response()
|
|
}
|
|
|
|
type SetMfaKeyMetadataResponse_Success struct {
|
|
// New metadata was stored for the identified key
|
|
Success *SetMfaKeyMetadataResponse_MetadataUpdated `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
|
|
}
|
|
|
|
type SetMfaKeyMetadataResponse_KeyNotFound struct {
|
|
// No TOTP was found with the given ID
|
|
KeyNotFound *errors.NotFound `protobuf:"bytes,2,opt,name=key_not_found,json=keyNotFound,proto3,oneof"`
|
|
}
|
|
|
|
func (*SetMfaKeyMetadataResponse_Success) isSetMfaKeyMetadataResponse_Response() {}
|
|
|
|
func (*SetMfaKeyMetadataResponse_KeyNotFound) isSetMfaKeyMetadataResponse_Response() {}
|
|
|
|
type RemoveMfaKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The account-specific identifier of the MFA key to remove
|
|
KeyId uint32 `protobuf:"varint,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveMfaKeyRequest) Reset() {
|
|
*x = RemoveMfaKeyRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveMfaKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveMfaKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveMfaKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[60]
|
|
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 RemoveMfaKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveMfaKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *RemoveMfaKeyRequest) GetKeyId() uint32 {
|
|
if x != nil {
|
|
return x.KeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RemoveMfaKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveMfaKeyResponse) Reset() {
|
|
*x = RemoveMfaKeyResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveMfaKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveMfaKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveMfaKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[61]
|
|
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 RemoveMfaKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveMfaKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
type StartMfaVerificationRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartMfaVerificationRequest) Reset() {
|
|
*x = StartMfaVerificationRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartMfaVerificationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartMfaVerificationRequest) ProtoMessage() {}
|
|
|
|
func (x *StartMfaVerificationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[62]
|
|
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 StartMfaVerificationRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartMfaVerificationRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
type StartMfaVerificationResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// / If true, a TOTP password will be accepted for verification
|
|
HasTotp bool `protobuf:"varint,1,opt,name=has_totp,json=hasTotp,proto3" json:"has_totp,omitempty"`
|
|
// / If present, information required to complete a WebAuthn authentication
|
|
WebauthnAuthenticationParameters *StartMfaVerificationResponse_WebAuthnAuthenticationParameters `protobuf:"bytes,2,opt,name=webauthn_authentication_parameters,json=webauthnAuthenticationParameters,proto3,oneof" json:"webauthn_authentication_parameters,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse) Reset() {
|
|
*x = StartMfaVerificationResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartMfaVerificationResponse) ProtoMessage() {}
|
|
|
|
func (x *StartMfaVerificationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[63]
|
|
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 StartMfaVerificationResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartMfaVerificationResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse) GetHasTotp() bool {
|
|
if x != nil {
|
|
return x.HasTotp
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse) GetWebauthnAuthenticationParameters() *StartMfaVerificationResponse_WebAuthnAuthenticationParameters {
|
|
if x != nil {
|
|
return x.WebauthnAuthenticationParameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FinishMfaVerificationRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Credential:
|
|
//
|
|
// *FinishMfaVerificationRequest_TotpPassword
|
|
// *FinishMfaVerificationRequest_WebauthnAuthenticationResponseJson
|
|
Credential isFinishMfaVerificationRequest_Credential `protobuf_oneof:"credential"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishMfaVerificationRequest) Reset() {
|
|
*x = FinishMfaVerificationRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishMfaVerificationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishMfaVerificationRequest) ProtoMessage() {}
|
|
|
|
func (x *FinishMfaVerificationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[64]
|
|
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 FinishMfaVerificationRequest.ProtoReflect.Descriptor instead.
|
|
func (*FinishMfaVerificationRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *FinishMfaVerificationRequest) GetCredential() isFinishMfaVerificationRequest_Credential {
|
|
if x != nil {
|
|
return x.Credential
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishMfaVerificationRequest) GetTotpPassword() uint32 {
|
|
if x != nil {
|
|
if x, ok := x.Credential.(*FinishMfaVerificationRequest_TotpPassword); ok {
|
|
return x.TotpPassword
|
|
}
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FinishMfaVerificationRequest) GetWebauthnAuthenticationResponseJson() string {
|
|
if x != nil {
|
|
if x, ok := x.Credential.(*FinishMfaVerificationRequest_WebauthnAuthenticationResponseJson); ok {
|
|
return x.WebauthnAuthenticationResponseJson
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type isFinishMfaVerificationRequest_Credential interface {
|
|
isFinishMfaVerificationRequest_Credential()
|
|
}
|
|
|
|
type FinishMfaVerificationRequest_TotpPassword struct {
|
|
// / A 6-digit TOTP password to validate
|
|
TotpPassword uint32 `protobuf:"varint,1,opt,name=totp_password,json=totpPassword,proto3,oneof"`
|
|
}
|
|
|
|
type FinishMfaVerificationRequest_WebauthnAuthenticationResponseJson struct {
|
|
// / A WebAuthn-compatible JSON-serialized authentication response
|
|
WebauthnAuthenticationResponseJson string `protobuf:"bytes,2,opt,name=webauthn_authentication_response_json,json=webauthnAuthenticationResponseJson,proto3,oneof"`
|
|
}
|
|
|
|
func (*FinishMfaVerificationRequest_TotpPassword) isFinishMfaVerificationRequest_Credential() {}
|
|
|
|
func (*FinishMfaVerificationRequest_WebauthnAuthenticationResponseJson) isFinishMfaVerificationRequest_Credential() {
|
|
}
|
|
|
|
type FinishMfaVerificationResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// / If true, the selected authentication factor was verified correctly.
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishMfaVerificationResponse) Reset() {
|
|
*x = FinishMfaVerificationResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishMfaVerificationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishMfaVerificationResponse) ProtoMessage() {}
|
|
|
|
func (x *FinishMfaVerificationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[65]
|
|
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 FinishMfaVerificationResponse.ProtoReflect.Descriptor instead.
|
|
func (*FinishMfaVerificationResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *FinishMfaVerificationResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetEntitlementsResponse_BadgeEntitlement struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The id of the badge the account is entitled. Metadata to display for
|
|
// badges may be obtained by cross-referencing badge ids with
|
|
// RemoteConfiguration.GetBadges.
|
|
BadgeId string `protobuf:"bytes,1,opt,name=badge_id,json=badgeId,proto3" json:"badge_id,omitempty"`
|
|
// When the badge expires, in number of seconds since epoch
|
|
ExpirationEpochSeconds uint64 `protobuf:"varint,2,opt,name=expiration_epoch_seconds,json=expirationEpochSeconds,proto3" json:"expiration_epoch_seconds,omitempty"`
|
|
// Whether the badge is currently configured to be visible
|
|
Visible bool `protobuf:"varint,3,opt,name=visible,proto3" json:"visible,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BadgeEntitlement) Reset() {
|
|
*x = GetEntitlementsResponse_BadgeEntitlement{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BadgeEntitlement) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEntitlementsResponse_BadgeEntitlement) ProtoMessage() {}
|
|
|
|
func (x *GetEntitlementsResponse_BadgeEntitlement) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[66]
|
|
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 GetEntitlementsResponse_BadgeEntitlement.ProtoReflect.Descriptor instead.
|
|
func (*GetEntitlementsResponse_BadgeEntitlement) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BadgeEntitlement) GetBadgeId() string {
|
|
if x != nil {
|
|
return x.BadgeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BadgeEntitlement) GetExpirationEpochSeconds() uint64 {
|
|
if x != nil {
|
|
return x.ExpirationEpochSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BadgeEntitlement) GetVisible() bool {
|
|
if x != nil {
|
|
return x.Visible
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetEntitlementsResponse_BackupEntitlement struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The backup level of the account
|
|
Level uint64 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
|
// When the backup entitlement expires, in number of seconds since epoch
|
|
ExpirationEpochSeconds uint64 `protobuf:"varint,2,opt,name=expiration_epoch_seconds,json=expirationEpochSeconds,proto3" json:"expiration_epoch_seconds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BackupEntitlement) Reset() {
|
|
*x = GetEntitlementsResponse_BackupEntitlement{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BackupEntitlement) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEntitlementsResponse_BackupEntitlement) ProtoMessage() {}
|
|
|
|
func (x *GetEntitlementsResponse_BackupEntitlement) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[67]
|
|
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 GetEntitlementsResponse_BackupEntitlement.ProtoReflect.Descriptor instead.
|
|
func (*GetEntitlementsResponse_BackupEntitlement) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{3, 1}
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BackupEntitlement) GetLevel() uint64 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetEntitlementsResponse_BackupEntitlement) GetExpirationEpochSeconds() uint64 {
|
|
if x != nil {
|
|
return x.ExpirationEpochSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConfirmUsernameHashResponse_ConfirmedUsernameHash struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The server-generated username link handle for the newly-confirmed username.
|
|
UsernameLinkHandle []byte `protobuf:"bytes,2,opt,name=username_link_handle,json=usernameLinkHandle,proto3" json:"username_link_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse_ConfirmedUsernameHash) Reset() {
|
|
*x = ConfirmUsernameHashResponse_ConfirmedUsernameHash{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse_ConfirmedUsernameHash) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmUsernameHashResponse_ConfirmedUsernameHash) ProtoMessage() {}
|
|
|
|
func (x *ConfirmUsernameHashResponse_ConfirmedUsernameHash) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[68]
|
|
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 ConfirmUsernameHashResponse_ConfirmedUsernameHash.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmUsernameHashResponse_ConfirmedUsernameHash) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{14, 0}
|
|
}
|
|
|
|
func (x *ConfirmUsernameHashResponse_ConfirmedUsernameHash) GetUsernameLinkHandle() []byte {
|
|
if x != nil {
|
|
return x.UsernameLinkHandle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GenerateTotpKeyResponse_KeyGenerated struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The raw TOTP key
|
|
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
// The TOTP parameters associated with the generated key
|
|
TotpParameters *TotpParameters `protobuf:"bytes,2,opt,name=totp_parameters,json=totpParameters,proto3" json:"totp_parameters,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse_KeyGenerated) Reset() {
|
|
*x = GenerateTotpKeyResponse_KeyGenerated{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse_KeyGenerated) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GenerateTotpKeyResponse_KeyGenerated) ProtoMessage() {}
|
|
|
|
func (x *GenerateTotpKeyResponse_KeyGenerated) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[72]
|
|
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 GenerateTotpKeyResponse_KeyGenerated.ProtoReflect.Descriptor instead.
|
|
func (*GenerateTotpKeyResponse_KeyGenerated) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{49, 0}
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse_KeyGenerated) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GenerateTotpKeyResponse_KeyGenerated) GetTotpParameters() *TotpParameters {
|
|
if x != nil {
|
|
return x.TotpParameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConfirmTotpKeyResponse_KeyConfirmed struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The account-specific identifier for the newly-confirmed TOTP key
|
|
KeyId uint32 `protobuf:"varint,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse_KeyConfirmed) Reset() {
|
|
*x = ConfirmTotpKeyResponse_KeyConfirmed{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse_KeyConfirmed) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmTotpKeyResponse_KeyConfirmed) ProtoMessage() {}
|
|
|
|
func (x *ConfirmTotpKeyResponse_KeyConfirmed) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[73]
|
|
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 ConfirmTotpKeyResponse_KeyConfirmed.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmTotpKeyResponse_KeyConfirmed) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{51, 0}
|
|
}
|
|
|
|
func (x *ConfirmTotpKeyResponse_KeyConfirmed) GetKeyId() uint32 {
|
|
if x != nil {
|
|
return x.KeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StartWebAuthnRegistrationResponse_WebAuthnCreateParameters struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The "user handle" (user.id) that should be handed to the authenticator
|
|
UserHandle []byte `protobuf:"bytes,1,opt,name=user_handle,json=userHandle,proto3" json:"user_handle,omitempty"`
|
|
// The COSE IDs (https://www.iana.org/assignments/cose#algorithms) of
|
|
// acceptable algorithms for the created key
|
|
AllowedAlgorithms []int64 `protobuf:"varint,2,rep,packed,name=allowed_algorithms,json=allowedAlgorithms,proto3" json:"allowed_algorithms,omitempty"`
|
|
// A list of the credential IDs already registered for this account; these
|
|
// can be passed to candidate authenticators to tell them not to create a
|
|
// new key if they already have a private key matching one of these
|
|
ExcludeCredentialIds [][]byte `protobuf:"bytes,3,rep,name=exclude_credential_ids,json=excludeCredentialIds,proto3" json:"exclude_credential_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) Reset() {
|
|
*x = StartWebAuthnRegistrationResponse_WebAuthnCreateParameters{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) ProtoMessage() {}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[74]
|
|
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 StartWebAuthnRegistrationResponse_WebAuthnCreateParameters.ProtoReflect.Descriptor instead.
|
|
func (*StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{53, 0}
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) GetUserHandle() []byte {
|
|
if x != nil {
|
|
return x.UserHandle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) GetAllowedAlgorithms() []int64 {
|
|
if x != nil {
|
|
return x.AllowedAlgorithms
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartWebAuthnRegistrationResponse_WebAuthnCreateParameters) GetExcludeCredentialIds() [][]byte {
|
|
if x != nil {
|
|
return x.ExcludeCredentialIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FinishWebAuthnRegistrationResponse_KeyConfirmed struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// An account-specific identifier for the new WebAuthn key
|
|
KeyId uint32 `protobuf:"varint,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse_KeyConfirmed) Reset() {
|
|
*x = FinishWebAuthnRegistrationResponse_KeyConfirmed{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse_KeyConfirmed) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishWebAuthnRegistrationResponse_KeyConfirmed) ProtoMessage() {}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse_KeyConfirmed) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[75]
|
|
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 FinishWebAuthnRegistrationResponse_KeyConfirmed.ProtoReflect.Descriptor instead.
|
|
func (*FinishWebAuthnRegistrationResponse_KeyConfirmed) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{55, 0}
|
|
}
|
|
|
|
func (x *FinishWebAuthnRegistrationResponse_KeyConfirmed) GetKeyId() uint32 {
|
|
if x != nil {
|
|
return x.KeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListMfaKeysResponse_MfaKeyMetadata struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The user-provided ciphertext for metadata associated with this MFA key
|
|
MetadataCiphertext []byte `protobuf:"bytes,1,opt,name=metadata_ciphertext,json=metadataCiphertext,proto3" json:"metadata_ciphertext,omitempty"`
|
|
// The type of MFA factor this key is for
|
|
Type ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType `protobuf:"varint,2,opt,name=type,proto3,enum=org.signal.chat.account.ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse_MfaKeyMetadata) Reset() {
|
|
*x = ListMfaKeysResponse_MfaKeyMetadata{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse_MfaKeyMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMfaKeysResponse_MfaKeyMetadata) ProtoMessage() {}
|
|
|
|
func (x *ListMfaKeysResponse_MfaKeyMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[76]
|
|
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 ListMfaKeysResponse_MfaKeyMetadata.ProtoReflect.Descriptor instead.
|
|
func (*ListMfaKeysResponse_MfaKeyMetadata) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{57, 0}
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse_MfaKeyMetadata) GetMetadataCiphertext() []byte {
|
|
if x != nil {
|
|
return x.MetadataCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListMfaKeysResponse_MfaKeyMetadata) GetType() ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ListMfaKeysResponse_MfaKeyMetadata_MFA_KEY_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type SetMfaKeyMetadataResponse_MetadataUpdated struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse_MetadataUpdated) Reset() {
|
|
*x = SetMfaKeyMetadataResponse_MetadataUpdated{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMfaKeyMetadataResponse_MetadataUpdated) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMfaKeyMetadataResponse_MetadataUpdated) ProtoMessage() {}
|
|
|
|
func (x *SetMfaKeyMetadataResponse_MetadataUpdated) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[78]
|
|
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 SetMfaKeyMetadataResponse_MetadataUpdated.ProtoReflect.Descriptor instead.
|
|
func (*SetMfaKeyMetadataResponse_MetadataUpdated) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{59, 0}
|
|
}
|
|
|
|
type StartMfaVerificationResponse_WebAuthnAuthenticationParameters struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// / A random challenge that must be included in the authenticator response, to prevent replay attacks
|
|
Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
|
|
// / The estimated amount of time, in seconds, after which an otherwise-valid response will be rejected
|
|
TimeoutSeconds uint32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
|
|
// / A list of credential IDs associated with this account
|
|
AllowedCredentialIds [][]byte `protobuf:"bytes,3,rep,name=allowed_credential_ids,json=allowedCredentialIds,proto3" json:"allowed_credential_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse_WebAuthnAuthenticationParameters) Reset() {
|
|
*x = StartMfaVerificationResponse_WebAuthnAuthenticationParameters{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse_WebAuthnAuthenticationParameters) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartMfaVerificationResponse_WebAuthnAuthenticationParameters) ProtoMessage() {}
|
|
|
|
func (x *StartMfaVerificationResponse_WebAuthnAuthenticationParameters) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[79]
|
|
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 StartMfaVerificationResponse_WebAuthnAuthenticationParameters.ProtoReflect.Descriptor instead.
|
|
func (*StartMfaVerificationResponse_WebAuthnAuthenticationParameters) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{63, 0}
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse_WebAuthnAuthenticationParameters) GetChallenge() []byte {
|
|
if x != nil {
|
|
return x.Challenge
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse_WebAuthnAuthenticationParameters) GetTimeoutSeconds() uint32 {
|
|
if x != nil {
|
|
return x.TimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartMfaVerificationResponse_WebAuthnAuthenticationParameters) GetAllowedCredentialIds() [][]byte {
|
|
if x != nil {
|
|
return x.AllowedCredentialIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_org_signal_chat_account_proto protoreflect.FileDescriptor
|
|
|
|
const file_org_signal_chat_account_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1dorg/signal/chat/account.proto\x12\x17org.signal.chat.account\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1corg/signal/chat/common.proto\x1a\x1corg/signal/chat/errors.proto\x1a\x1eorg/signal/chat/messages.proto\x1a\x1dorg/signal/chat/require.proto\x1a\x19org/signal/chat/tag.proto\"\x1b\n" +
|
|
"\x19GetAccountIdentityRequest\"y\n" +
|
|
"\x1aGetAccountIdentityResponse\x12[\n" +
|
|
"\x13account_identifiers\x18\x01 \x01(\v2*.org.signal.chat.common.AccountIdentifiersR\x12accountIdentifiers\"\x18\n" +
|
|
"\x16GetEntitlementsRequest\"\xb9\x03\n" +
|
|
"\x17GetEntitlementsResponse\x12Y\n" +
|
|
"\x06badges\x18\x01 \x03(\v2A.org.signal.chat.account.GetEntitlementsResponse.BadgeEntitlementR\x06badges\x12Z\n" +
|
|
"\x06backup\x18\x02 \x01(\v2B.org.signal.chat.account.GetEntitlementsResponse.BackupEntitlementR\x06backup\x1a\x81\x01\n" +
|
|
"\x10BadgeEntitlement\x12\x19\n" +
|
|
"\bbadge_id\x18\x01 \x01(\tR\abadgeId\x128\n" +
|
|
"\x18expiration_epoch_seconds\x18\x02 \x01(\x04R\x16expirationEpochSeconds\x12\x18\n" +
|
|
"\avisible\x18\x03 \x01(\bR\avisible\x1ac\n" +
|
|
"\x11BackupEntitlement\x12\x14\n" +
|
|
"\x05level\x18\x01 \x01(\x04R\x05level\x128\n" +
|
|
"\x18expiration_epoch_seconds\x18\x02 \x01(\x04R\x16expirationEpochSeconds\"\x16\n" +
|
|
"\x14DeleteAccountRequest\"\x17\n" +
|
|
"\x15DeleteAccountResponse\"P\n" +
|
|
"\x1aSetRegistrationLockRequest\x122\n" +
|
|
"\x11registration_lock\x18\x01 \x01(\fB\x05\xa2\x97\"\x01 R\x10registrationLock\"\x1d\n" +
|
|
"\x1bSetRegistrationLockResponse\"\x1e\n" +
|
|
"\x1cClearRegistrationLockRequest\"\x1f\n" +
|
|
"\x1dClearRegistrationLockResponse\"V\n" +
|
|
"\x1aReserveUsernameHashRequest\x128\n" +
|
|
"\x0fusername_hashes\x18\x01 \x03(\fB\x0f\x9a\x97\"\x04\b\x01\x10\x14җ\"\x03\x1a\x01 R\x0eusernameHashes\"\x16\n" +
|
|
"\x14UsernameNotAvailable\"\xd4\x01\n" +
|
|
"\x1bReserveUsernameHashResponse\x12%\n" +
|
|
"\rusername_hash\x18\x01 \x01(\fH\x00R\fusernameHash\x12\x81\x01\n" +
|
|
"\x16username_not_available\x18\x02 \x01(\v2-.org.signal.chat.account.UsernameNotAvailableB\x1a\xc2\xd5\"\x16username_not_availableH\x00R\x14usernameNotAvailableB\n" +
|
|
"\n" +
|
|
"\bresponse\"\xa5\x01\n" +
|
|
"\x1aConfirmUsernameHashRequest\x12*\n" +
|
|
"\rusername_hash\x18\x01 \x01(\fB\x05\xa2\x97\"\x01 R\fusernameHash\x12\x1f\n" +
|
|
"\bzk_proof\x18\x02 \x01(\fB\x04\x88\x97\"\x01R\azkProof\x12:\n" +
|
|
"\x13username_ciphertext\x18\x03 \x01(\fB\t\x9a\x97\"\x05\b\x01\x10\x80\x01R\x12usernameCiphertext\"\x82\x04\n" +
|
|
"\x1bConfirmUsernameHashResponse\x12\x84\x01\n" +
|
|
"\x17confirmed_username_hash\x18\x01 \x01(\v2J.org.signal.chat.account.ConfirmUsernameHashResponse.ConfirmedUsernameHashH\x00R\x15confirmedUsernameHash\x12{\n" +
|
|
"\x15reservation_not_found\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x19\xc2\xd5\"\x15reservation_not_foundH\x00R\x13reservationNotFound\x12\x81\x01\n" +
|
|
"\x16username_not_available\x18\x03 \x01(\v2-.org.signal.chat.account.UsernameNotAvailableB\x1a\xc2\xd5\"\x16username_not_availableH\x00R\x14usernameNotAvailable\x1aO\n" +
|
|
"\x15ConfirmedUsernameHash\x120\n" +
|
|
"\x14username_link_handle\x18\x02 \x01(\fR\x12usernameLinkHandleJ\x04\b\x01\x10\x02B\n" +
|
|
"\n" +
|
|
"\bresponse\"\x1b\n" +
|
|
"\x19DeleteUsernameHashRequest\"\x1c\n" +
|
|
"\x1aDeleteUsernameHashResponse\"~\n" +
|
|
"\x16SetUsernameLinkRequest\x12:\n" +
|
|
"\x13username_ciphertext\x18\x01 \x01(\fB\t\x9a\x97\"\x05\b\x01\x10\x80\x01R\x12usernameCiphertext\x12(\n" +
|
|
"\x10keep_link_handle\x18\x02 \x01(\bR\x0ekeepLinkHandle\"\xc4\x01\n" +
|
|
"\x17SetUsernameLinkResponse\x122\n" +
|
|
"\x14username_link_handle\x18\x01 \x01(\fH\x00R\x12usernameLinkHandle\x12i\n" +
|
|
"\x0fno_username_set\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x13\xc2\xd5\"\x0fno_username_setH\x00R\rnoUsernameSetB\n" +
|
|
"\n" +
|
|
"\bresponse\"\x1b\n" +
|
|
"\x19DeleteUsernameLinkRequest\"\x1c\n" +
|
|
"\x1aDeleteUsernameLinkResponse\"\xe5\x01\n" +
|
|
"\"ConfigureUnidentifiedAccessRequest\x12?\n" +
|
|
"\x17unidentified_access_key\x18\x01 \x01(\fB\x05\xa2\x97\"\x01\x10H\x00R\x15unidentifiedAccessKey\x12m\n" +
|
|
"&allow_unrestricted_unidentified_access\x18\x02 \x01(\v2\x16.google.protobuf.EmptyH\x00R#allowUnrestrictedUnidentifiedAccessB\x0f\n" +
|
|
"\rconfiguration\"%\n" +
|
|
"#ConfigureUnidentifiedAccessResponse\"f\n" +
|
|
"#SetDiscoverableByPhoneNumberRequest\x12?\n" +
|
|
"\x1cdiscoverable_by_phone_number\x18\x01 \x01(\bR\x19discoverableByPhoneNumber\"&\n" +
|
|
"$SetDiscoverableByPhoneNumberResponse\"u\n" +
|
|
"&SetRegistrationRecoveryPasswordRequest\x12K\n" +
|
|
"\x1eregistration_recovery_password\x18\x01 \x01(\fB\x05\xa2\x97\"\x01 R\x1cregistrationRecoveryPassword\")\n" +
|
|
"'SetRegistrationRecoveryPasswordResponse\"x\n" +
|
|
"\x1cCheckAccountExistenceRequest\x12X\n" +
|
|
"\x12service_identifier\x18\x01 \x01(\v2).org.signal.chat.common.ServiceIdentifierR\x11serviceIdentifier\"F\n" +
|
|
"\x1dCheckAccountExistenceResponse\x12%\n" +
|
|
"\x0eaccount_exists\x18\x01 \x01(\bR\raccountExists\"G\n" +
|
|
"\x19LookupUsernameHashRequest\x12*\n" +
|
|
"\rusername_hash\x18\x01 \x01(\fB\x05\xa2\x97\"\x01 R\fusernameHash\"\xd4\x01\n" +
|
|
"\x1aLookupUsernameHashResponse\x12Z\n" +
|
|
"\x12service_identifier\x18\x01 \x01(\v2).org.signal.chat.common.ServiceIdentifierH\x00R\x11serviceIdentifier\x12N\n" +
|
|
"\tnot_found\x18\x02 \x01(\v2 .org.signal.chat.errors.NotFoundB\r\xc2\xd5\"\tnot_foundH\x00R\bnotFoundB\n" +
|
|
"\n" +
|
|
"\bresponse\"T\n" +
|
|
"\x19LookupUsernameLinkRequest\x127\n" +
|
|
"\x14username_link_handle\x18\x01 \x01(\fB\x05\xa2\x97\"\x01\x10R\x12usernameLinkHandle\"\xab\x01\n" +
|
|
"\x1aLookupUsernameLinkResponse\x121\n" +
|
|
"\x13username_ciphertext\x18\x01 \x01(\fH\x00R\x12usernameCiphertext\x12N\n" +
|
|
"\tnot_found\x18\x02 \x01(\v2 .org.signal.chat.errors.NotFoundB\r\xc2\xd5\"\tnot_foundH\x00R\bnotFoundB\n" +
|
|
"\n" +
|
|
"\bresponse\"A\n" +
|
|
"\x19SetZkCredentialKeyRequest\x12$\n" +
|
|
"\n" +
|
|
"public_key\x18\x01 \x01(\fB\x05\xa2\x97\"\x01!R\tpublicKey\"=\n" +
|
|
"\x1aSetZkCredentialKeyResponse\x12\x1f\n" +
|
|
"\vrotation_id\x18\x01 \x01(\x04R\n" +
|
|
"rotationId\"\xb8\b\n" +
|
|
"\x13ChangeNumberRequest\x12%\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\fB\x04\x88\x97\"\x01H\x00R\tsessionId\x124\n" +
|
|
"\x11recovery_password\x18\x02 \x01(\fB\x05\xa2\x97\"\x01 H\x00R\x10recoveryPassword\x12\x1c\n" +
|
|
"\x06number\x18\x03 \x01(\tB\x04\xa8\x97\"\x01R\x06number\x123\n" +
|
|
"\x11registration_lock\x18\x04 \x01(\fB\x06\xa2\x97\"\x02\x00 R\x10registrationLock\x12.\n" +
|
|
"\x10pni_identity_key\x18\x05 \x01(\fB\x04\x88\x97\"\x01R\x0epniIdentityKey\x12c\n" +
|
|
"\x0fdevice_messages\x18\x06 \x01(\v2:.org.signal.chat.messages.IndividualRecipientMessageBundleR\x0edeviceMessages\x12\x84\x01\n" +
|
|
"\x1adevice_pni_signed_pre_keys\x18\a \x03(\v2H.org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntryR\x16devicePniSignedPreKeys\x12\x98\x01\n" +
|
|
"\"device_pni_pq_last_resort_pre_keys\x18\b \x03(\v2N.org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntryR\x1cdevicePniPqLastResortPreKeys\x12v\n" +
|
|
"\x14pni_registration_ids\x18\t \x03(\v2D.org.signal.chat.account.ChangeNumberRequest.PniRegistrationIdsEntryR\x12pniRegistrationIds\x1aq\n" +
|
|
"\x1bDevicePniSignedPreKeysEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\rR\x03key\x12<\n" +
|
|
"\x05value\x18\x02 \x01(\v2&.org.signal.chat.common.EcSignedPreKeyR\x05value:\x028\x01\x1ax\n" +
|
|
"!DevicePniPqLastResortPreKeysEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\rR\x03key\x12=\n" +
|
|
"\x05value\x18\x02 \x01(\v2'.org.signal.chat.common.KemSignedPreKeyR\x05value:\x028\x01\x1aE\n" +
|
|
"\x17PniRegistrationIdsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\rR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\rR\x05value:\x028\x01B\x0e\n" +
|
|
"\fverification\"\xb5\b\n" +
|
|
"\x14ChangeNumberResponse\x12]\n" +
|
|
"\x13account_identifiers\x18\x01 \x01(\v2*.org.signal.chat.common.AccountIdentifiersH\x00R\x12accountIdentifiers\x12t\n" +
|
|
"\x12mismatched_devices\x18\x02 \x01(\v2+.org.signal.chat.messages.MismatchedDevicesB\x16\xc2\xd5\"\x12mismatched_devicesH\x00R\x11mismatchedDevices\x12\x8d\x01\n" +
|
|
"\x19registration_lock_failure\x18\x03 \x01(\v20.org.signal.chat.account.RegistrationLockFailureB\x1d\xc2\xd5\"\x19registration_lock_failureH\x00R\x17registrationLockFailure\x12_\n" +
|
|
"\rstale_devices\x18\x04 \x01(\v2%.org.signal.chat.account.StaleDevicesB\x11\xc2\xd5\"\rstale_devicesH\x00R\fstaleDevices\x12o\n" +
|
|
"\x11message_too_large\x18\x05 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x15\xc2\xd5\"\x11message_too_largeH\x00R\x0fmessageTooLarge\x12\x99\x01\n" +
|
|
"\x1funverified_registration_session\x18\x06 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB#\xc2\xd5\"\x1funverified_registration_sessionH\x00R\x1dunverifiedRegistrationSession\x12\x90\x01\n" +
|
|
"\x1cinvalid_registration_session\x18\a \x01(\v2*.org.signal.chat.errors.FailedPreconditionB \xc2\xd5\"\x1cinvalid_registration_sessionH\x00R\x1ainvalidRegistrationSession\x12\xaa\x01\n" +
|
|
"%recovery_password_verification_failed\x18\b \x01(\v2*.org.signal.chat.errors.FailedPreconditionB)\xc2\xd5\"%recovery_password_verification_failedH\x00R\"recoveryPasswordVerificationFailedB\n" +
|
|
"\n" +
|
|
"\bresponse\"\xad\x01\n" +
|
|
"\x17RegistrationLockFailure\x122\n" +
|
|
"\x15time_remaining_millis\x18\x01 \x01(\x04R\x13timeRemainingMillis\x12^\n" +
|
|
"\x10svr2_credentials\x18\x02 \x01(\v23.org.signal.chat.account.ExternalServiceCredentialsR\x0fsvr2Credentials\"T\n" +
|
|
"\x1aExternalServiceCredentials\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"=\n" +
|
|
"\fStaleDevices\x12-\n" +
|
|
"\rstale_devices\x18\x01 \x03(\rB\bҗ\"\x042\x02\x10\x7fR\fstaleDevices\"\x1d\n" +
|
|
"\x1bGetAccountDataReportRequest\"F\n" +
|
|
"\x1cGetAccountDataReportResponse\x12\x12\n" +
|
|
"\x04json\x18\x03 \x01(\tR\x04json\x12\x12\n" +
|
|
"\x04text\x18\x04 \x01(\tR\x04text\"\x18\n" +
|
|
"\x16GetCapabilitiesRequest\"\\\n" +
|
|
"\fCapabilities\x12L\n" +
|
|
"\fcapabilities\x18\x01 \x03(\x0e2(.org.signal.chat.common.DeviceCapabilityR\fcapabilities\"d\n" +
|
|
"\x17GetCapabilitiesResponse\x12I\n" +
|
|
"\fcapabilities\x18\x01 \x01(\v2%.org.signal.chat.account.CapabilitiesR\fcapabilities\"\x8a\x02\n" +
|
|
"\x1fGetCapabilitiesAnonymousRequest\x12b\n" +
|
|
"\x12account_identifier\x18\x01 \x01(\v2).org.signal.chat.common.ServiceIdentifierB\b\xb8\x97\"\x01ȗ\"\x01R\x11accountIdentifier\x12?\n" +
|
|
"\x17unidentified_access_key\x18\x02 \x01(\fB\x05\xa2\x97\"\x01\x10H\x00R\x15unidentifiedAccessKey\x120\n" +
|
|
"\x10group_send_token\x18\x03 \x01(\fB\x04\x88\x97\"\x01H\x00R\x0egroupSendTokenB\x10\n" +
|
|
"\x0eauthentication\"\xfa\x02\n" +
|
|
" GetCapabilitiesAnonymousResponse\x12K\n" +
|
|
"\fcapabilities\x18\x01 \x01(\v2%.org.signal.chat.account.CapabilitiesH\x00R\fcapabilities\x12N\n" +
|
|
"\tnot_found\x18\x02 \x01(\v2 .org.signal.chat.errors.NotFoundB\r\xc2\xd5\"\tnot_foundH\x00R\bnotFound\x12\xac\x01\n" +
|
|
"!failed_unidentified_authorization\x18\x03 \x01(\v27.org.signal.chat.errors.FailedUnidentifiedAuthorizationB%\xc2\xd5\"!failed_unidentified_authorizationH\x00R\x1ffailedUnidentifiedAuthorizationB\n" +
|
|
"\n" +
|
|
"\bresponse\"\x83\x01\n" +
|
|
"\x0eTotpParameters\x12\x1c\n" +
|
|
"\talgorithm\x18\x01 \x01(\tR\talgorithm\x12'\n" +
|
|
"\x0fpassword_length\x18\x02 \x01(\rR\x0epasswordLength\x12*\n" +
|
|
"\x11time_step_seconds\x18\x03 \x01(\rR\x0ftimeStepSeconds\"\x18\n" +
|
|
"\x16GenerateTotpKeyRequest\"\xe2\x03\n" +
|
|
"\x17GenerateTotpKeyResponse\x12d\n" +
|
|
"\rkey_generated\x18\x01 \x01(\v2=.org.signal.chat.account.GenerateTotpKeyResponse.KeyGeneratedH\x00R\fkeyGenerated\x12q\n" +
|
|
"\x12too_many_totp_keys\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x16\xc2\xd5\"\x12too_many_totp_keysH\x00R\x0ftooManyTotpKeys\x12n\n" +
|
|
"\x11too_many_mfa_keys\x18\x03 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x15\xc2\xd5\"\x11too_many_mfa_keysH\x00R\x0etooManyMfaKeys\x1ar\n" +
|
|
"\fKeyGenerated\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\fR\x03key\x12P\n" +
|
|
"\x0ftotp_parameters\x18\x02 \x01(\v2'.org.signal.chat.account.TotpParametersR\x0etotpParametersB\n" +
|
|
"\n" +
|
|
"\bresponse\"|\n" +
|
|
"\x15ConfirmTotpKeyRequest\x12*\n" +
|
|
"\x11one_time_password\x18\x01 \x01(\rR\x0foneTimePassword\x127\n" +
|
|
"\x13metadata_ciphertext\x18\x02 \x01(\fB\x06\xa2\x97\"\x02\xa0\x01R\x12metadataCiphertext\"\xc1\x03\n" +
|
|
"\x16ConfirmTotpKeyResponse\x12c\n" +
|
|
"\rkey_confirmed\x18\x01 \x01(\v2<.org.signal.chat.account.ConfirmTotpKeyResponse.KeyConfirmedH\x00R\fkeyConfirmed\x12\x94\x01\n" +
|
|
"\x1eone_time_password_not_verified\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\"\xc2\xd5\"\x1eone_time_password_not_verifiedH\x00R\x1aoneTimePasswordNotVerified\x12n\n" +
|
|
"\x11too_many_mfa_keys\x18\x03 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x15\xc2\xd5\"\x11too_many_mfa_keysH\x00R\x0etooManyMfaKeys\x1a/\n" +
|
|
"\fKeyConfirmed\x12\x1f\n" +
|
|
"\x06key_id\x18\x01 \x01(\rB\b\xb2\x97\"\x04\b\x00\x10\x7fR\x05keyIdB\n" +
|
|
"\n" +
|
|
"\bresponse\"\"\n" +
|
|
" StartWebAuthnRegistrationRequest\"\xb1\x03\n" +
|
|
"!StartWebAuthnRegistrationResponse\x12m\n" +
|
|
"\x06params\x18\x01 \x01(\v2S.org.signal.chat.account.StartWebAuthnRegistrationResponse.WebAuthnCreateParametersH\x00R\x06params\x12n\n" +
|
|
"\x11too_many_mfa_keys\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x15\xc2\xd5\"\x11too_many_mfa_keysH\x00R\x0etooManyMfaKeys\x1a\xa0\x01\n" +
|
|
"\x18WebAuthnCreateParameters\x12\x1f\n" +
|
|
"\vuser_handle\x18\x01 \x01(\fR\n" +
|
|
"userHandle\x12-\n" +
|
|
"\x12allowed_algorithms\x18\x02 \x03(\x03R\x11allowedAlgorithms\x124\n" +
|
|
"\x16exclude_credential_ids\x18\x03 \x03(\fR\x14excludeCredentialIdsB\n" +
|
|
"\n" +
|
|
"\bresponse\"\xc8\x01\n" +
|
|
"!FinishWebAuthnRegistrationRequest\x12-\n" +
|
|
"\x12attestation_object\x18\x01 \x01(\fR\x11attestationObject\x12;\n" +
|
|
"\x1acollected_client_data_json\x18\x02 \x01(\tR\x17collectedClientDataJson\x127\n" +
|
|
"\x13metadata_ciphertext\x18\x03 \x01(\fB\x06\xa2\x97\"\x02\xa0\x01R\x12metadataCiphertext\"\xc5\x03\n" +
|
|
"\"FinishWebAuthnRegistrationResponse\x12o\n" +
|
|
"\rkey_confirmed\x18\x01 \x01(\v2H.org.signal.chat.account.FinishWebAuthnRegistrationResponse.KeyConfirmedH\x00R\fkeyConfirmed\x12\x80\x01\n" +
|
|
"\x11key_not_confirmed\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB&\xc2\xd5\"\"registration_ceremony_unsuccessfulH\x00R\x0fkeyNotConfirmed\x12n\n" +
|
|
"\x11too_many_mfa_keys\x18\x03 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x15\xc2\xd5\"\x11too_many_mfa_keysH\x00R\x0etooManyMfaKeys\x1a/\n" +
|
|
"\fKeyConfirmed\x12\x1f\n" +
|
|
"\x06key_id\x18\x01 \x01(\rB\b\xb2\x97\"\x04\b\x00\x10\x7fR\x05keyIdB\n" +
|
|
"\n" +
|
|
"\bresponse\"\x14\n" +
|
|
"\x12ListMfaKeysRequest\"\xdd\x03\n" +
|
|
"\x13ListMfaKeysResponse\x12J\n" +
|
|
"\x04keys\x18\x01 \x03(\v26.org.signal.chat.account.ListMfaKeysResponse.KeysEntryR\x04keys\x1a\x83\x02\n" +
|
|
"\x0eMfaKeyMetadata\x127\n" +
|
|
"\x13metadata_ciphertext\x18\x01 \x01(\fB\x06\xa2\x97\"\x02\xa0\x01R\x12metadataCiphertext\x12Z\n" +
|
|
"\x04type\x18\x02 \x01(\x0e2F.org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadata.MfaKeyTypeR\x04type\"\\\n" +
|
|
"\n" +
|
|
"MfaKeyType\x12\x1c\n" +
|
|
"\x18MFA_KEY_TYPE_UNSPECIFIED\x10\x00\x12\x15\n" +
|
|
"\x11MFA_KEY_TYPE_TOTP\x10\x01\x12\x19\n" +
|
|
"\x15MFA_KEY_TYPE_WEBAUTHN\x10\x02\x1at\n" +
|
|
"\tKeysEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\rR\x03key\x12Q\n" +
|
|
"\x05value\x18\x02 \x01(\v2;.org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadataR\x05value:\x028\x01\"t\n" +
|
|
"\x18SetMfaKeyMetadataRequest\x12\x1f\n" +
|
|
"\x06key_id\x18\x01 \x01(\rB\b\xb2\x97\"\x04\b\x00\x10\x7fR\x05keyId\x127\n" +
|
|
"\x13metadata_ciphertext\x18\x02 \x01(\fB\x06\xa2\x97\"\x02\xa0\x01R\x12metadataCiphertext\"\xf5\x01\n" +
|
|
"\x19SetMfaKeyMetadataResponse\x12^\n" +
|
|
"\asuccess\x18\x01 \x01(\v2B.org.signal.chat.account.SetMfaKeyMetadataResponse.MetadataUpdatedH\x00R\asuccess\x12Y\n" +
|
|
"\rkey_not_found\x18\x02 \x01(\v2 .org.signal.chat.errors.NotFoundB\x11\xc2\xd5\"\rkey_not_foundH\x00R\vkeyNotFound\x1a\x11\n" +
|
|
"\x0fMetadataUpdatedB\n" +
|
|
"\n" +
|
|
"\bresponse\"6\n" +
|
|
"\x13RemoveMfaKeyRequest\x12\x1f\n" +
|
|
"\x06key_id\x18\x01 \x01(\rB\b\xb2\x97\"\x04\b\x00\x10\x7fR\x05keyId\"\x16\n" +
|
|
"\x14RemoveMfaKeyResponse\"\x1d\n" +
|
|
"\x1bStartMfaVerificationRequest\"\xae\x03\n" +
|
|
"\x1cStartMfaVerificationResponse\x12\x19\n" +
|
|
"\bhas_totp\x18\x01 \x01(\bR\ahasTotp\x12\xa9\x01\n" +
|
|
"\"webauthn_authentication_parameters\x18\x02 \x01(\v2V.org.signal.chat.account.StartMfaVerificationResponse.WebAuthnAuthenticationParametersH\x00R webauthnAuthenticationParameters\x88\x01\x01\x1a\x9f\x01\n" +
|
|
" WebAuthnAuthenticationParameters\x12\x1c\n" +
|
|
"\tchallenge\x18\x01 \x01(\fR\tchallenge\x12'\n" +
|
|
"\x0ftimeout_seconds\x18\x02 \x01(\rR\x0etimeoutSeconds\x124\n" +
|
|
"\x16allowed_credential_ids\x18\x03 \x03(\fR\x14allowedCredentialIdsB%\n" +
|
|
"#_webauthn_authentication_parameters\"\xa8\x01\n" +
|
|
"\x1cFinishMfaVerificationRequest\x12%\n" +
|
|
"\rtotp_password\x18\x01 \x01(\rH\x00R\ftotpPassword\x12S\n" +
|
|
"%webauthn_authentication_response_json\x18\x02 \x01(\tH\x00R\"webauthnAuthenticationResponseJsonB\f\n" +
|
|
"\n" +
|
|
"credential\"9\n" +
|
|
"\x1dFinishMfaVerificationResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess2\xef\x1a\n" +
|
|
"\bAccounts\x12\x7f\n" +
|
|
"\x12GetAccountIdentity\x122.org.signal.chat.account.GetAccountIdentityRequest\x1a3.org.signal.chat.account.GetAccountIdentityResponse\"\x00\x12v\n" +
|
|
"\x0fGetEntitlements\x12/.org.signal.chat.account.GetEntitlementsRequest\x1a0.org.signal.chat.account.GetEntitlementsResponse\"\x00\x12p\n" +
|
|
"\rDeleteAccount\x12-.org.signal.chat.account.DeleteAccountRequest\x1a..org.signal.chat.account.DeleteAccountResponse\"\x00\x12\x82\x01\n" +
|
|
"\x13SetRegistrationLock\x123.org.signal.chat.account.SetRegistrationLockRequest\x1a4.org.signal.chat.account.SetRegistrationLockResponse\"\x00\x12\x88\x01\n" +
|
|
"\x15ClearRegistrationLock\x125.org.signal.chat.account.ClearRegistrationLockRequest\x1a6.org.signal.chat.account.ClearRegistrationLockResponse\"\x00\x12\x82\x01\n" +
|
|
"\x13ReserveUsernameHash\x123.org.signal.chat.account.ReserveUsernameHashRequest\x1a4.org.signal.chat.account.ReserveUsernameHashResponse\"\x00\x12\x82\x01\n" +
|
|
"\x13ConfirmUsernameHash\x123.org.signal.chat.account.ConfirmUsernameHashRequest\x1a4.org.signal.chat.account.ConfirmUsernameHashResponse\"\x00\x12\x7f\n" +
|
|
"\x12DeleteUsernameHash\x122.org.signal.chat.account.DeleteUsernameHashRequest\x1a3.org.signal.chat.account.DeleteUsernameHashResponse\"\x00\x12v\n" +
|
|
"\x0fSetUsernameLink\x12/.org.signal.chat.account.SetUsernameLinkRequest\x1a0.org.signal.chat.account.SetUsernameLinkResponse\"\x00\x12\x7f\n" +
|
|
"\x12DeleteUsernameLink\x122.org.signal.chat.account.DeleteUsernameLinkRequest\x1a3.org.signal.chat.account.DeleteUsernameLinkResponse\"\x00\x12\x9a\x01\n" +
|
|
"\x1bConfigureUnidentifiedAccess\x12;.org.signal.chat.account.ConfigureUnidentifiedAccessRequest\x1a<.org.signal.chat.account.ConfigureUnidentifiedAccessResponse\"\x00\x12\x9d\x01\n" +
|
|
"\x1cSetDiscoverableByPhoneNumber\x12<.org.signal.chat.account.SetDiscoverableByPhoneNumberRequest\x1a=.org.signal.chat.account.SetDiscoverableByPhoneNumberResponse\"\x00\x12\xa6\x01\n" +
|
|
"\x1fSetRegistrationRecoveryPassword\x12?.org.signal.chat.account.SetRegistrationRecoveryPasswordRequest\x1a@.org.signal.chat.account.SetRegistrationRecoveryPasswordResponse\"\x00\x12\x7f\n" +
|
|
"\x12SetZkCredentialKey\x122.org.signal.chat.account.SetZkCredentialKeyRequest\x1a3.org.signal.chat.account.SetZkCredentialKeyResponse\"\x00\x12m\n" +
|
|
"\fChangeNumber\x12,.org.signal.chat.account.ChangeNumberRequest\x1a-.org.signal.chat.account.ChangeNumberResponse\"\x00\x12\x85\x01\n" +
|
|
"\x14GetAccountDataReport\x124.org.signal.chat.account.GetAccountDataReportRequest\x1a5.org.signal.chat.account.GetAccountDataReportResponse\"\x00\x12v\n" +
|
|
"\x0fGetCapabilities\x12/.org.signal.chat.account.GetCapabilitiesRequest\x1a0.org.signal.chat.account.GetCapabilitiesResponse\"\x00\x12v\n" +
|
|
"\x0fGenerateTotpKey\x12/.org.signal.chat.account.GenerateTotpKeyRequest\x1a0.org.signal.chat.account.GenerateTotpKeyResponse\"\x00\x12s\n" +
|
|
"\x0eConfirmTotpKey\x12..org.signal.chat.account.ConfirmTotpKeyRequest\x1a/.org.signal.chat.account.ConfirmTotpKeyResponse\"\x00\x12\x94\x01\n" +
|
|
"\x19StartWebAuthnRegistration\x129.org.signal.chat.account.StartWebAuthnRegistrationRequest\x1a:.org.signal.chat.account.StartWebAuthnRegistrationResponse\"\x00\x12\x97\x01\n" +
|
|
"\x1aFinishWebAuthnRegistration\x12:.org.signal.chat.account.FinishWebAuthnRegistrationRequest\x1a;.org.signal.chat.account.FinishWebAuthnRegistrationResponse\"\x00\x12j\n" +
|
|
"\vListMfaKeys\x12+.org.signal.chat.account.ListMfaKeysRequest\x1a,.org.signal.chat.account.ListMfaKeysResponse\"\x00\x12|\n" +
|
|
"\x11SetMfaKeyMetadata\x121.org.signal.chat.account.SetMfaKeyMetadataRequest\x1a2.org.signal.chat.account.SetMfaKeyMetadataResponse\"\x00\x12m\n" +
|
|
"\fRemoveMfaKey\x12,.org.signal.chat.account.RemoveMfaKeyRequest\x1a-.org.signal.chat.account.RemoveMfaKeyResponse\"\x00\x12\x85\x01\n" +
|
|
"\x14StartMfaVerification\x124.org.signal.chat.account.StartMfaVerificationRequest\x1a5.org.signal.chat.account.StartMfaVerificationResponse\"\x00\x12\x88\x01\n" +
|
|
"\x15FinishMfaVerification\x125.org.signal.chat.account.FinishMfaVerificationRequest\x1a6.org.signal.chat.account.FinishMfaVerificationResponse\"\x00\x1a\x04\xc8\xd5\"\x012\xb1\x04\n" +
|
|
"\x11AccountsAnonymous\x12\x88\x01\n" +
|
|
"\x15CheckAccountExistence\x125.org.signal.chat.account.CheckAccountExistenceRequest\x1a6.org.signal.chat.account.CheckAccountExistenceResponse\"\x00\x12\x7f\n" +
|
|
"\x12LookupUsernameHash\x122.org.signal.chat.account.LookupUsernameHashRequest\x1a3.org.signal.chat.account.LookupUsernameHashResponse\"\x00\x12\x7f\n" +
|
|
"\x12LookupUsernameLink\x122.org.signal.chat.account.LookupUsernameLinkRequest\x1a3.org.signal.chat.account.LookupUsernameLinkResponse\"\x00\x12\x88\x01\n" +
|
|
"\x0fGetCapabilities\x128.org.signal.chat.account.GetCapabilitiesAnonymousRequest\x1a9.org.signal.chat.account.GetCapabilitiesAnonymousResponse\"\x00\x1a\x04\xc8\xd5\"\x02B\x02P\x01b\x06proto3"
|
|
|
|
var (
|
|
file_org_signal_chat_account_proto_rawDescOnce sync.Once
|
|
file_org_signal_chat_account_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_org_signal_chat_account_proto_rawDescGZIP() []byte {
|
|
file_org_signal_chat_account_proto_rawDescOnce.Do(func() {
|
|
file_org_signal_chat_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_org_signal_chat_account_proto_rawDesc), len(file_org_signal_chat_account_proto_rawDesc)))
|
|
})
|
|
return file_org_signal_chat_account_proto_rawDescData
|
|
}
|
|
|
|
var file_org_signal_chat_account_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_org_signal_chat_account_proto_msgTypes = make([]protoimpl.MessageInfo, 80)
|
|
var file_org_signal_chat_account_proto_goTypes = []any{
|
|
(ListMfaKeysResponse_MfaKeyMetadata_MfaKeyType)(0), // 0: org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadata.MfaKeyType
|
|
(*GetAccountIdentityRequest)(nil), // 1: org.signal.chat.account.GetAccountIdentityRequest
|
|
(*GetAccountIdentityResponse)(nil), // 2: org.signal.chat.account.GetAccountIdentityResponse
|
|
(*GetEntitlementsRequest)(nil), // 3: org.signal.chat.account.GetEntitlementsRequest
|
|
(*GetEntitlementsResponse)(nil), // 4: org.signal.chat.account.GetEntitlementsResponse
|
|
(*DeleteAccountRequest)(nil), // 5: org.signal.chat.account.DeleteAccountRequest
|
|
(*DeleteAccountResponse)(nil), // 6: org.signal.chat.account.DeleteAccountResponse
|
|
(*SetRegistrationLockRequest)(nil), // 7: org.signal.chat.account.SetRegistrationLockRequest
|
|
(*SetRegistrationLockResponse)(nil), // 8: org.signal.chat.account.SetRegistrationLockResponse
|
|
(*ClearRegistrationLockRequest)(nil), // 9: org.signal.chat.account.ClearRegistrationLockRequest
|
|
(*ClearRegistrationLockResponse)(nil), // 10: org.signal.chat.account.ClearRegistrationLockResponse
|
|
(*ReserveUsernameHashRequest)(nil), // 11: org.signal.chat.account.ReserveUsernameHashRequest
|
|
(*UsernameNotAvailable)(nil), // 12: org.signal.chat.account.UsernameNotAvailable
|
|
(*ReserveUsernameHashResponse)(nil), // 13: org.signal.chat.account.ReserveUsernameHashResponse
|
|
(*ConfirmUsernameHashRequest)(nil), // 14: org.signal.chat.account.ConfirmUsernameHashRequest
|
|
(*ConfirmUsernameHashResponse)(nil), // 15: org.signal.chat.account.ConfirmUsernameHashResponse
|
|
(*DeleteUsernameHashRequest)(nil), // 16: org.signal.chat.account.DeleteUsernameHashRequest
|
|
(*DeleteUsernameHashResponse)(nil), // 17: org.signal.chat.account.DeleteUsernameHashResponse
|
|
(*SetUsernameLinkRequest)(nil), // 18: org.signal.chat.account.SetUsernameLinkRequest
|
|
(*SetUsernameLinkResponse)(nil), // 19: org.signal.chat.account.SetUsernameLinkResponse
|
|
(*DeleteUsernameLinkRequest)(nil), // 20: org.signal.chat.account.DeleteUsernameLinkRequest
|
|
(*DeleteUsernameLinkResponse)(nil), // 21: org.signal.chat.account.DeleteUsernameLinkResponse
|
|
(*ConfigureUnidentifiedAccessRequest)(nil), // 22: org.signal.chat.account.ConfigureUnidentifiedAccessRequest
|
|
(*ConfigureUnidentifiedAccessResponse)(nil), // 23: org.signal.chat.account.ConfigureUnidentifiedAccessResponse
|
|
(*SetDiscoverableByPhoneNumberRequest)(nil), // 24: org.signal.chat.account.SetDiscoverableByPhoneNumberRequest
|
|
(*SetDiscoverableByPhoneNumberResponse)(nil), // 25: org.signal.chat.account.SetDiscoverableByPhoneNumberResponse
|
|
(*SetRegistrationRecoveryPasswordRequest)(nil), // 26: org.signal.chat.account.SetRegistrationRecoveryPasswordRequest
|
|
(*SetRegistrationRecoveryPasswordResponse)(nil), // 27: org.signal.chat.account.SetRegistrationRecoveryPasswordResponse
|
|
(*CheckAccountExistenceRequest)(nil), // 28: org.signal.chat.account.CheckAccountExistenceRequest
|
|
(*CheckAccountExistenceResponse)(nil), // 29: org.signal.chat.account.CheckAccountExistenceResponse
|
|
(*LookupUsernameHashRequest)(nil), // 30: org.signal.chat.account.LookupUsernameHashRequest
|
|
(*LookupUsernameHashResponse)(nil), // 31: org.signal.chat.account.LookupUsernameHashResponse
|
|
(*LookupUsernameLinkRequest)(nil), // 32: org.signal.chat.account.LookupUsernameLinkRequest
|
|
(*LookupUsernameLinkResponse)(nil), // 33: org.signal.chat.account.LookupUsernameLinkResponse
|
|
(*SetZkCredentialKeyRequest)(nil), // 34: org.signal.chat.account.SetZkCredentialKeyRequest
|
|
(*SetZkCredentialKeyResponse)(nil), // 35: org.signal.chat.account.SetZkCredentialKeyResponse
|
|
(*ChangeNumberRequest)(nil), // 36: org.signal.chat.account.ChangeNumberRequest
|
|
(*ChangeNumberResponse)(nil), // 37: org.signal.chat.account.ChangeNumberResponse
|
|
(*RegistrationLockFailure)(nil), // 38: org.signal.chat.account.RegistrationLockFailure
|
|
(*ExternalServiceCredentials)(nil), // 39: org.signal.chat.account.ExternalServiceCredentials
|
|
(*StaleDevices)(nil), // 40: org.signal.chat.account.StaleDevices
|
|
(*GetAccountDataReportRequest)(nil), // 41: org.signal.chat.account.GetAccountDataReportRequest
|
|
(*GetAccountDataReportResponse)(nil), // 42: org.signal.chat.account.GetAccountDataReportResponse
|
|
(*GetCapabilitiesRequest)(nil), // 43: org.signal.chat.account.GetCapabilitiesRequest
|
|
(*Capabilities)(nil), // 44: org.signal.chat.account.Capabilities
|
|
(*GetCapabilitiesResponse)(nil), // 45: org.signal.chat.account.GetCapabilitiesResponse
|
|
(*GetCapabilitiesAnonymousRequest)(nil), // 46: org.signal.chat.account.GetCapabilitiesAnonymousRequest
|
|
(*GetCapabilitiesAnonymousResponse)(nil), // 47: org.signal.chat.account.GetCapabilitiesAnonymousResponse
|
|
(*TotpParameters)(nil), // 48: org.signal.chat.account.TotpParameters
|
|
(*GenerateTotpKeyRequest)(nil), // 49: org.signal.chat.account.GenerateTotpKeyRequest
|
|
(*GenerateTotpKeyResponse)(nil), // 50: org.signal.chat.account.GenerateTotpKeyResponse
|
|
(*ConfirmTotpKeyRequest)(nil), // 51: org.signal.chat.account.ConfirmTotpKeyRequest
|
|
(*ConfirmTotpKeyResponse)(nil), // 52: org.signal.chat.account.ConfirmTotpKeyResponse
|
|
(*StartWebAuthnRegistrationRequest)(nil), // 53: org.signal.chat.account.StartWebAuthnRegistrationRequest
|
|
(*StartWebAuthnRegistrationResponse)(nil), // 54: org.signal.chat.account.StartWebAuthnRegistrationResponse
|
|
(*FinishWebAuthnRegistrationRequest)(nil), // 55: org.signal.chat.account.FinishWebAuthnRegistrationRequest
|
|
(*FinishWebAuthnRegistrationResponse)(nil), // 56: org.signal.chat.account.FinishWebAuthnRegistrationResponse
|
|
(*ListMfaKeysRequest)(nil), // 57: org.signal.chat.account.ListMfaKeysRequest
|
|
(*ListMfaKeysResponse)(nil), // 58: org.signal.chat.account.ListMfaKeysResponse
|
|
(*SetMfaKeyMetadataRequest)(nil), // 59: org.signal.chat.account.SetMfaKeyMetadataRequest
|
|
(*SetMfaKeyMetadataResponse)(nil), // 60: org.signal.chat.account.SetMfaKeyMetadataResponse
|
|
(*RemoveMfaKeyRequest)(nil), // 61: org.signal.chat.account.RemoveMfaKeyRequest
|
|
(*RemoveMfaKeyResponse)(nil), // 62: org.signal.chat.account.RemoveMfaKeyResponse
|
|
(*StartMfaVerificationRequest)(nil), // 63: org.signal.chat.account.StartMfaVerificationRequest
|
|
(*StartMfaVerificationResponse)(nil), // 64: org.signal.chat.account.StartMfaVerificationResponse
|
|
(*FinishMfaVerificationRequest)(nil), // 65: org.signal.chat.account.FinishMfaVerificationRequest
|
|
(*FinishMfaVerificationResponse)(nil), // 66: org.signal.chat.account.FinishMfaVerificationResponse
|
|
(*GetEntitlementsResponse_BadgeEntitlement)(nil), // 67: org.signal.chat.account.GetEntitlementsResponse.BadgeEntitlement
|
|
(*GetEntitlementsResponse_BackupEntitlement)(nil), // 68: org.signal.chat.account.GetEntitlementsResponse.BackupEntitlement
|
|
(*ConfirmUsernameHashResponse_ConfirmedUsernameHash)(nil), // 69: org.signal.chat.account.ConfirmUsernameHashResponse.ConfirmedUsernameHash
|
|
nil, // 70: org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntry
|
|
nil, // 71: org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntry
|
|
nil, // 72: org.signal.chat.account.ChangeNumberRequest.PniRegistrationIdsEntry
|
|
(*GenerateTotpKeyResponse_KeyGenerated)(nil), // 73: org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated
|
|
(*ConfirmTotpKeyResponse_KeyConfirmed)(nil), // 74: org.signal.chat.account.ConfirmTotpKeyResponse.KeyConfirmed
|
|
(*StartWebAuthnRegistrationResponse_WebAuthnCreateParameters)(nil), // 75: org.signal.chat.account.StartWebAuthnRegistrationResponse.WebAuthnCreateParameters
|
|
(*FinishWebAuthnRegistrationResponse_KeyConfirmed)(nil), // 76: org.signal.chat.account.FinishWebAuthnRegistrationResponse.KeyConfirmed
|
|
(*ListMfaKeysResponse_MfaKeyMetadata)(nil), // 77: org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadata
|
|
nil, // 78: org.signal.chat.account.ListMfaKeysResponse.KeysEntry
|
|
(*SetMfaKeyMetadataResponse_MetadataUpdated)(nil), // 79: org.signal.chat.account.SetMfaKeyMetadataResponse.MetadataUpdated
|
|
(*StartMfaVerificationResponse_WebAuthnAuthenticationParameters)(nil), // 80: org.signal.chat.account.StartMfaVerificationResponse.WebAuthnAuthenticationParameters
|
|
(*common.AccountIdentifiers)(nil), // 81: org.signal.chat.common.AccountIdentifiers
|
|
(*errors.FailedPrecondition)(nil), // 82: org.signal.chat.errors.FailedPrecondition
|
|
(*emptypb.Empty)(nil), // 83: google.protobuf.Empty
|
|
(*common.ServiceIdentifier)(nil), // 84: org.signal.chat.common.ServiceIdentifier
|
|
(*errors.NotFound)(nil), // 85: org.signal.chat.errors.NotFound
|
|
(*messages.IndividualRecipientMessageBundle)(nil), // 86: org.signal.chat.messages.IndividualRecipientMessageBundle
|
|
(*messages.MismatchedDevices)(nil), // 87: org.signal.chat.messages.MismatchedDevices
|
|
(common.DeviceCapability)(0), // 88: org.signal.chat.common.DeviceCapability
|
|
(*errors.FailedUnidentifiedAuthorization)(nil), // 89: org.signal.chat.errors.FailedUnidentifiedAuthorization
|
|
(*common.EcSignedPreKey)(nil), // 90: org.signal.chat.common.EcSignedPreKey
|
|
(*common.KemSignedPreKey)(nil), // 91: org.signal.chat.common.KemSignedPreKey
|
|
}
|
|
var file_org_signal_chat_account_proto_depIdxs = []int32{
|
|
81, // 0: org.signal.chat.account.GetAccountIdentityResponse.account_identifiers:type_name -> org.signal.chat.common.AccountIdentifiers
|
|
67, // 1: org.signal.chat.account.GetEntitlementsResponse.badges:type_name -> org.signal.chat.account.GetEntitlementsResponse.BadgeEntitlement
|
|
68, // 2: org.signal.chat.account.GetEntitlementsResponse.backup:type_name -> org.signal.chat.account.GetEntitlementsResponse.BackupEntitlement
|
|
12, // 3: org.signal.chat.account.ReserveUsernameHashResponse.username_not_available:type_name -> org.signal.chat.account.UsernameNotAvailable
|
|
69, // 4: org.signal.chat.account.ConfirmUsernameHashResponse.confirmed_username_hash:type_name -> org.signal.chat.account.ConfirmUsernameHashResponse.ConfirmedUsernameHash
|
|
82, // 5: org.signal.chat.account.ConfirmUsernameHashResponse.reservation_not_found:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
12, // 6: org.signal.chat.account.ConfirmUsernameHashResponse.username_not_available:type_name -> org.signal.chat.account.UsernameNotAvailable
|
|
82, // 7: org.signal.chat.account.SetUsernameLinkResponse.no_username_set:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
83, // 8: org.signal.chat.account.ConfigureUnidentifiedAccessRequest.allow_unrestricted_unidentified_access:type_name -> google.protobuf.Empty
|
|
84, // 9: org.signal.chat.account.CheckAccountExistenceRequest.service_identifier:type_name -> org.signal.chat.common.ServiceIdentifier
|
|
84, // 10: org.signal.chat.account.LookupUsernameHashResponse.service_identifier:type_name -> org.signal.chat.common.ServiceIdentifier
|
|
85, // 11: org.signal.chat.account.LookupUsernameHashResponse.not_found:type_name -> org.signal.chat.errors.NotFound
|
|
85, // 12: org.signal.chat.account.LookupUsernameLinkResponse.not_found:type_name -> org.signal.chat.errors.NotFound
|
|
86, // 13: org.signal.chat.account.ChangeNumberRequest.device_messages:type_name -> org.signal.chat.messages.IndividualRecipientMessageBundle
|
|
70, // 14: org.signal.chat.account.ChangeNumberRequest.device_pni_signed_pre_keys:type_name -> org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntry
|
|
71, // 15: org.signal.chat.account.ChangeNumberRequest.device_pni_pq_last_resort_pre_keys:type_name -> org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntry
|
|
72, // 16: org.signal.chat.account.ChangeNumberRequest.pni_registration_ids:type_name -> org.signal.chat.account.ChangeNumberRequest.PniRegistrationIdsEntry
|
|
81, // 17: org.signal.chat.account.ChangeNumberResponse.account_identifiers:type_name -> org.signal.chat.common.AccountIdentifiers
|
|
87, // 18: org.signal.chat.account.ChangeNumberResponse.mismatched_devices:type_name -> org.signal.chat.messages.MismatchedDevices
|
|
38, // 19: org.signal.chat.account.ChangeNumberResponse.registration_lock_failure:type_name -> org.signal.chat.account.RegistrationLockFailure
|
|
40, // 20: org.signal.chat.account.ChangeNumberResponse.stale_devices:type_name -> org.signal.chat.account.StaleDevices
|
|
82, // 21: org.signal.chat.account.ChangeNumberResponse.message_too_large:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
82, // 22: org.signal.chat.account.ChangeNumberResponse.unverified_registration_session:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
82, // 23: org.signal.chat.account.ChangeNumberResponse.invalid_registration_session:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
82, // 24: org.signal.chat.account.ChangeNumberResponse.recovery_password_verification_failed:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
39, // 25: org.signal.chat.account.RegistrationLockFailure.svr2_credentials:type_name -> org.signal.chat.account.ExternalServiceCredentials
|
|
88, // 26: org.signal.chat.account.Capabilities.capabilities:type_name -> org.signal.chat.common.DeviceCapability
|
|
44, // 27: org.signal.chat.account.GetCapabilitiesResponse.capabilities:type_name -> org.signal.chat.account.Capabilities
|
|
84, // 28: org.signal.chat.account.GetCapabilitiesAnonymousRequest.account_identifier:type_name -> org.signal.chat.common.ServiceIdentifier
|
|
44, // 29: org.signal.chat.account.GetCapabilitiesAnonymousResponse.capabilities:type_name -> org.signal.chat.account.Capabilities
|
|
85, // 30: org.signal.chat.account.GetCapabilitiesAnonymousResponse.not_found:type_name -> org.signal.chat.errors.NotFound
|
|
89, // 31: org.signal.chat.account.GetCapabilitiesAnonymousResponse.failed_unidentified_authorization:type_name -> org.signal.chat.errors.FailedUnidentifiedAuthorization
|
|
73, // 32: org.signal.chat.account.GenerateTotpKeyResponse.key_generated:type_name -> org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated
|
|
82, // 33: org.signal.chat.account.GenerateTotpKeyResponse.too_many_totp_keys:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
82, // 34: org.signal.chat.account.GenerateTotpKeyResponse.too_many_mfa_keys:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
74, // 35: org.signal.chat.account.ConfirmTotpKeyResponse.key_confirmed:type_name -> org.signal.chat.account.ConfirmTotpKeyResponse.KeyConfirmed
|
|
82, // 36: org.signal.chat.account.ConfirmTotpKeyResponse.one_time_password_not_verified:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
82, // 37: org.signal.chat.account.ConfirmTotpKeyResponse.too_many_mfa_keys:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
75, // 38: org.signal.chat.account.StartWebAuthnRegistrationResponse.params:type_name -> org.signal.chat.account.StartWebAuthnRegistrationResponse.WebAuthnCreateParameters
|
|
82, // 39: org.signal.chat.account.StartWebAuthnRegistrationResponse.too_many_mfa_keys:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
76, // 40: org.signal.chat.account.FinishWebAuthnRegistrationResponse.key_confirmed:type_name -> org.signal.chat.account.FinishWebAuthnRegistrationResponse.KeyConfirmed
|
|
82, // 41: org.signal.chat.account.FinishWebAuthnRegistrationResponse.key_not_confirmed:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
82, // 42: org.signal.chat.account.FinishWebAuthnRegistrationResponse.too_many_mfa_keys:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
78, // 43: org.signal.chat.account.ListMfaKeysResponse.keys:type_name -> org.signal.chat.account.ListMfaKeysResponse.KeysEntry
|
|
79, // 44: org.signal.chat.account.SetMfaKeyMetadataResponse.success:type_name -> org.signal.chat.account.SetMfaKeyMetadataResponse.MetadataUpdated
|
|
85, // 45: org.signal.chat.account.SetMfaKeyMetadataResponse.key_not_found:type_name -> org.signal.chat.errors.NotFound
|
|
80, // 46: org.signal.chat.account.StartMfaVerificationResponse.webauthn_authentication_parameters:type_name -> org.signal.chat.account.StartMfaVerificationResponse.WebAuthnAuthenticationParameters
|
|
90, // 47: org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntry.value:type_name -> org.signal.chat.common.EcSignedPreKey
|
|
91, // 48: org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntry.value:type_name -> org.signal.chat.common.KemSignedPreKey
|
|
48, // 49: org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated.totp_parameters:type_name -> org.signal.chat.account.TotpParameters
|
|
0, // 50: org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadata.type:type_name -> org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadata.MfaKeyType
|
|
77, // 51: org.signal.chat.account.ListMfaKeysResponse.KeysEntry.value:type_name -> org.signal.chat.account.ListMfaKeysResponse.MfaKeyMetadata
|
|
1, // 52: org.signal.chat.account.Accounts.GetAccountIdentity:input_type -> org.signal.chat.account.GetAccountIdentityRequest
|
|
3, // 53: org.signal.chat.account.Accounts.GetEntitlements:input_type -> org.signal.chat.account.GetEntitlementsRequest
|
|
5, // 54: org.signal.chat.account.Accounts.DeleteAccount:input_type -> org.signal.chat.account.DeleteAccountRequest
|
|
7, // 55: org.signal.chat.account.Accounts.SetRegistrationLock:input_type -> org.signal.chat.account.SetRegistrationLockRequest
|
|
9, // 56: org.signal.chat.account.Accounts.ClearRegistrationLock:input_type -> org.signal.chat.account.ClearRegistrationLockRequest
|
|
11, // 57: org.signal.chat.account.Accounts.ReserveUsernameHash:input_type -> org.signal.chat.account.ReserveUsernameHashRequest
|
|
14, // 58: org.signal.chat.account.Accounts.ConfirmUsernameHash:input_type -> org.signal.chat.account.ConfirmUsernameHashRequest
|
|
16, // 59: org.signal.chat.account.Accounts.DeleteUsernameHash:input_type -> org.signal.chat.account.DeleteUsernameHashRequest
|
|
18, // 60: org.signal.chat.account.Accounts.SetUsernameLink:input_type -> org.signal.chat.account.SetUsernameLinkRequest
|
|
20, // 61: org.signal.chat.account.Accounts.DeleteUsernameLink:input_type -> org.signal.chat.account.DeleteUsernameLinkRequest
|
|
22, // 62: org.signal.chat.account.Accounts.ConfigureUnidentifiedAccess:input_type -> org.signal.chat.account.ConfigureUnidentifiedAccessRequest
|
|
24, // 63: org.signal.chat.account.Accounts.SetDiscoverableByPhoneNumber:input_type -> org.signal.chat.account.SetDiscoverableByPhoneNumberRequest
|
|
26, // 64: org.signal.chat.account.Accounts.SetRegistrationRecoveryPassword:input_type -> org.signal.chat.account.SetRegistrationRecoveryPasswordRequest
|
|
34, // 65: org.signal.chat.account.Accounts.SetZkCredentialKey:input_type -> org.signal.chat.account.SetZkCredentialKeyRequest
|
|
36, // 66: org.signal.chat.account.Accounts.ChangeNumber:input_type -> org.signal.chat.account.ChangeNumberRequest
|
|
41, // 67: org.signal.chat.account.Accounts.GetAccountDataReport:input_type -> org.signal.chat.account.GetAccountDataReportRequest
|
|
43, // 68: org.signal.chat.account.Accounts.GetCapabilities:input_type -> org.signal.chat.account.GetCapabilitiesRequest
|
|
49, // 69: org.signal.chat.account.Accounts.GenerateTotpKey:input_type -> org.signal.chat.account.GenerateTotpKeyRequest
|
|
51, // 70: org.signal.chat.account.Accounts.ConfirmTotpKey:input_type -> org.signal.chat.account.ConfirmTotpKeyRequest
|
|
53, // 71: org.signal.chat.account.Accounts.StartWebAuthnRegistration:input_type -> org.signal.chat.account.StartWebAuthnRegistrationRequest
|
|
55, // 72: org.signal.chat.account.Accounts.FinishWebAuthnRegistration:input_type -> org.signal.chat.account.FinishWebAuthnRegistrationRequest
|
|
57, // 73: org.signal.chat.account.Accounts.ListMfaKeys:input_type -> org.signal.chat.account.ListMfaKeysRequest
|
|
59, // 74: org.signal.chat.account.Accounts.SetMfaKeyMetadata:input_type -> org.signal.chat.account.SetMfaKeyMetadataRequest
|
|
61, // 75: org.signal.chat.account.Accounts.RemoveMfaKey:input_type -> org.signal.chat.account.RemoveMfaKeyRequest
|
|
63, // 76: org.signal.chat.account.Accounts.StartMfaVerification:input_type -> org.signal.chat.account.StartMfaVerificationRequest
|
|
65, // 77: org.signal.chat.account.Accounts.FinishMfaVerification:input_type -> org.signal.chat.account.FinishMfaVerificationRequest
|
|
28, // 78: org.signal.chat.account.AccountsAnonymous.CheckAccountExistence:input_type -> org.signal.chat.account.CheckAccountExistenceRequest
|
|
30, // 79: org.signal.chat.account.AccountsAnonymous.LookupUsernameHash:input_type -> org.signal.chat.account.LookupUsernameHashRequest
|
|
32, // 80: org.signal.chat.account.AccountsAnonymous.LookupUsernameLink:input_type -> org.signal.chat.account.LookupUsernameLinkRequest
|
|
46, // 81: org.signal.chat.account.AccountsAnonymous.GetCapabilities:input_type -> org.signal.chat.account.GetCapabilitiesAnonymousRequest
|
|
2, // 82: org.signal.chat.account.Accounts.GetAccountIdentity:output_type -> org.signal.chat.account.GetAccountIdentityResponse
|
|
4, // 83: org.signal.chat.account.Accounts.GetEntitlements:output_type -> org.signal.chat.account.GetEntitlementsResponse
|
|
6, // 84: org.signal.chat.account.Accounts.DeleteAccount:output_type -> org.signal.chat.account.DeleteAccountResponse
|
|
8, // 85: org.signal.chat.account.Accounts.SetRegistrationLock:output_type -> org.signal.chat.account.SetRegistrationLockResponse
|
|
10, // 86: org.signal.chat.account.Accounts.ClearRegistrationLock:output_type -> org.signal.chat.account.ClearRegistrationLockResponse
|
|
13, // 87: org.signal.chat.account.Accounts.ReserveUsernameHash:output_type -> org.signal.chat.account.ReserveUsernameHashResponse
|
|
15, // 88: org.signal.chat.account.Accounts.ConfirmUsernameHash:output_type -> org.signal.chat.account.ConfirmUsernameHashResponse
|
|
17, // 89: org.signal.chat.account.Accounts.DeleteUsernameHash:output_type -> org.signal.chat.account.DeleteUsernameHashResponse
|
|
19, // 90: org.signal.chat.account.Accounts.SetUsernameLink:output_type -> org.signal.chat.account.SetUsernameLinkResponse
|
|
21, // 91: org.signal.chat.account.Accounts.DeleteUsernameLink:output_type -> org.signal.chat.account.DeleteUsernameLinkResponse
|
|
23, // 92: org.signal.chat.account.Accounts.ConfigureUnidentifiedAccess:output_type -> org.signal.chat.account.ConfigureUnidentifiedAccessResponse
|
|
25, // 93: org.signal.chat.account.Accounts.SetDiscoverableByPhoneNumber:output_type -> org.signal.chat.account.SetDiscoverableByPhoneNumberResponse
|
|
27, // 94: org.signal.chat.account.Accounts.SetRegistrationRecoveryPassword:output_type -> org.signal.chat.account.SetRegistrationRecoveryPasswordResponse
|
|
35, // 95: org.signal.chat.account.Accounts.SetZkCredentialKey:output_type -> org.signal.chat.account.SetZkCredentialKeyResponse
|
|
37, // 96: org.signal.chat.account.Accounts.ChangeNumber:output_type -> org.signal.chat.account.ChangeNumberResponse
|
|
42, // 97: org.signal.chat.account.Accounts.GetAccountDataReport:output_type -> org.signal.chat.account.GetAccountDataReportResponse
|
|
45, // 98: org.signal.chat.account.Accounts.GetCapabilities:output_type -> org.signal.chat.account.GetCapabilitiesResponse
|
|
50, // 99: org.signal.chat.account.Accounts.GenerateTotpKey:output_type -> org.signal.chat.account.GenerateTotpKeyResponse
|
|
52, // 100: org.signal.chat.account.Accounts.ConfirmTotpKey:output_type -> org.signal.chat.account.ConfirmTotpKeyResponse
|
|
54, // 101: org.signal.chat.account.Accounts.StartWebAuthnRegistration:output_type -> org.signal.chat.account.StartWebAuthnRegistrationResponse
|
|
56, // 102: org.signal.chat.account.Accounts.FinishWebAuthnRegistration:output_type -> org.signal.chat.account.FinishWebAuthnRegistrationResponse
|
|
58, // 103: org.signal.chat.account.Accounts.ListMfaKeys:output_type -> org.signal.chat.account.ListMfaKeysResponse
|
|
60, // 104: org.signal.chat.account.Accounts.SetMfaKeyMetadata:output_type -> org.signal.chat.account.SetMfaKeyMetadataResponse
|
|
62, // 105: org.signal.chat.account.Accounts.RemoveMfaKey:output_type -> org.signal.chat.account.RemoveMfaKeyResponse
|
|
64, // 106: org.signal.chat.account.Accounts.StartMfaVerification:output_type -> org.signal.chat.account.StartMfaVerificationResponse
|
|
66, // 107: org.signal.chat.account.Accounts.FinishMfaVerification:output_type -> org.signal.chat.account.FinishMfaVerificationResponse
|
|
29, // 108: org.signal.chat.account.AccountsAnonymous.CheckAccountExistence:output_type -> org.signal.chat.account.CheckAccountExistenceResponse
|
|
31, // 109: org.signal.chat.account.AccountsAnonymous.LookupUsernameHash:output_type -> org.signal.chat.account.LookupUsernameHashResponse
|
|
33, // 110: org.signal.chat.account.AccountsAnonymous.LookupUsernameLink:output_type -> org.signal.chat.account.LookupUsernameLinkResponse
|
|
47, // 111: org.signal.chat.account.AccountsAnonymous.GetCapabilities:output_type -> org.signal.chat.account.GetCapabilitiesAnonymousResponse
|
|
82, // [82:112] is the sub-list for method output_type
|
|
52, // [52:82] is the sub-list for method input_type
|
|
52, // [52:52] is the sub-list for extension type_name
|
|
52, // [52:52] is the sub-list for extension extendee
|
|
0, // [0:52] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_org_signal_chat_account_proto_init() }
|
|
func file_org_signal_chat_account_proto_init() {
|
|
if File_org_signal_chat_account_proto != nil {
|
|
return
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[12].OneofWrappers = []any{
|
|
(*ReserveUsernameHashResponse_UsernameHash)(nil),
|
|
(*ReserveUsernameHashResponse_UsernameNotAvailable)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[14].OneofWrappers = []any{
|
|
(*ConfirmUsernameHashResponse_ConfirmedUsernameHash_)(nil),
|
|
(*ConfirmUsernameHashResponse_ReservationNotFound)(nil),
|
|
(*ConfirmUsernameHashResponse_UsernameNotAvailable)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[18].OneofWrappers = []any{
|
|
(*SetUsernameLinkResponse_UsernameLinkHandle)(nil),
|
|
(*SetUsernameLinkResponse_NoUsernameSet)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[21].OneofWrappers = []any{
|
|
(*ConfigureUnidentifiedAccessRequest_UnidentifiedAccessKey)(nil),
|
|
(*ConfigureUnidentifiedAccessRequest_AllowUnrestrictedUnidentifiedAccess)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[30].OneofWrappers = []any{
|
|
(*LookupUsernameHashResponse_ServiceIdentifier)(nil),
|
|
(*LookupUsernameHashResponse_NotFound)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[32].OneofWrappers = []any{
|
|
(*LookupUsernameLinkResponse_UsernameCiphertext)(nil),
|
|
(*LookupUsernameLinkResponse_NotFound)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[35].OneofWrappers = []any{
|
|
(*ChangeNumberRequest_SessionId)(nil),
|
|
(*ChangeNumberRequest_RecoveryPassword)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[36].OneofWrappers = []any{
|
|
(*ChangeNumberResponse_AccountIdentifiers)(nil),
|
|
(*ChangeNumberResponse_MismatchedDevices)(nil),
|
|
(*ChangeNumberResponse_RegistrationLockFailure)(nil),
|
|
(*ChangeNumberResponse_StaleDevices)(nil),
|
|
(*ChangeNumberResponse_MessageTooLarge)(nil),
|
|
(*ChangeNumberResponse_UnverifiedRegistrationSession)(nil),
|
|
(*ChangeNumberResponse_InvalidRegistrationSession)(nil),
|
|
(*ChangeNumberResponse_RecoveryPasswordVerificationFailed)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[45].OneofWrappers = []any{
|
|
(*GetCapabilitiesAnonymousRequest_UnidentifiedAccessKey)(nil),
|
|
(*GetCapabilitiesAnonymousRequest_GroupSendToken)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[46].OneofWrappers = []any{
|
|
(*GetCapabilitiesAnonymousResponse_Capabilities)(nil),
|
|
(*GetCapabilitiesAnonymousResponse_NotFound)(nil),
|
|
(*GetCapabilitiesAnonymousResponse_FailedUnidentifiedAuthorization)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[49].OneofWrappers = []any{
|
|
(*GenerateTotpKeyResponse_KeyGenerated_)(nil),
|
|
(*GenerateTotpKeyResponse_TooManyTotpKeys)(nil),
|
|
(*GenerateTotpKeyResponse_TooManyMfaKeys)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[51].OneofWrappers = []any{
|
|
(*ConfirmTotpKeyResponse_KeyConfirmed_)(nil),
|
|
(*ConfirmTotpKeyResponse_OneTimePasswordNotVerified)(nil),
|
|
(*ConfirmTotpKeyResponse_TooManyMfaKeys)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[53].OneofWrappers = []any{
|
|
(*StartWebAuthnRegistrationResponse_Params)(nil),
|
|
(*StartWebAuthnRegistrationResponse_TooManyMfaKeys)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[55].OneofWrappers = []any{
|
|
(*FinishWebAuthnRegistrationResponse_KeyConfirmed_)(nil),
|
|
(*FinishWebAuthnRegistrationResponse_KeyNotConfirmed)(nil),
|
|
(*FinishWebAuthnRegistrationResponse_TooManyMfaKeys)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[59].OneofWrappers = []any{
|
|
(*SetMfaKeyMetadataResponse_Success)(nil),
|
|
(*SetMfaKeyMetadataResponse_KeyNotFound)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[63].OneofWrappers = []any{}
|
|
file_org_signal_chat_account_proto_msgTypes[64].OneofWrappers = []any{
|
|
(*FinishMfaVerificationRequest_TotpPassword)(nil),
|
|
(*FinishMfaVerificationRequest_WebauthnAuthenticationResponseJson)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_org_signal_chat_account_proto_rawDesc), len(file_org_signal_chat_account_proto_rawDesc)),
|
|
NumEnums: 1,
|
|
NumMessages: 80,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_org_signal_chat_account_proto_goTypes,
|
|
DependencyIndexes: file_org_signal_chat_account_proto_depIdxs,
|
|
EnumInfos: file_org_signal_chat_account_proto_enumTypes,
|
|
MessageInfos: file_org_signal_chat_account_proto_msgTypes,
|
|
}.Build()
|
|
File_org_signal_chat_account_proto = out.File
|
|
file_org_signal_chat_account_proto_goTypes = nil
|
|
file_org_signal_chat_account_proto_depIdxs = nil
|
|
}
|