mirror of
https://github.com/mautrix/signal.git
synced 2026-09-17 16:17:01 -04:00
4186 lines
160 KiB
Go
Generated
4186 lines
160 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 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
|
|
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
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (*GenerateTotpKeyResponse_KeyGenerated_) isGenerateTotpKeyResponse_Response() {}
|
|
|
|
func (*GenerateTotpKeyResponse_TooManyTotpKeys) 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
|
|
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
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (*ConfirmTotpKeyResponse_KeyConfirmed_) isConfirmTotpKeyResponse_Response() {}
|
|
|
|
func (*ConfirmTotpKeyResponse_OneTimePasswordNotVerified) isConfirmTotpKeyResponse_Response() {}
|
|
|
|
type ListTotpKeysRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTotpKeysRequest) Reset() {
|
|
*x = ListTotpKeysRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTotpKeysRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTotpKeysRequest) ProtoMessage() {}
|
|
|
|
func (x *ListTotpKeysRequest) 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 ListTotpKeysRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListTotpKeysRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
type ListTotpKeysResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Keys map[int32]*ListTotpKeysResponse_TotpKeyMetadata `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 *ListTotpKeysResponse) Reset() {
|
|
*x = ListTotpKeysResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTotpKeysResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTotpKeysResponse) ProtoMessage() {}
|
|
|
|
func (x *ListTotpKeysResponse) 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 ListTotpKeysResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListTotpKeysResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *ListTotpKeysResponse) GetKeys() map[int32]*ListTotpKeysResponse_TotpKeyMetadata {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTotpKeyMetadataRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The account-specific identifier of the TOTP 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 *SetTotpKeyMetadataRequest) Reset() {
|
|
*x = SetTotpKeyMetadataRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTotpKeyMetadataRequest) ProtoMessage() {}
|
|
|
|
func (x *SetTotpKeyMetadataRequest) 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 SetTotpKeyMetadataRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetTotpKeyMetadataRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataRequest) GetKeyId() uint32 {
|
|
if x != nil {
|
|
return x.KeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataRequest) GetMetadataCiphertext() []byte {
|
|
if x != nil {
|
|
return x.MetadataCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTotpKeyMetadataResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *SetTotpKeyMetadataResponse_MetadataUpdated_
|
|
// *SetTotpKeyMetadataResponse_KeyNotFound
|
|
Response isSetTotpKeyMetadataResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse) Reset() {
|
|
*x = SetTotpKeyMetadataResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTotpKeyMetadataResponse) ProtoMessage() {}
|
|
|
|
func (x *SetTotpKeyMetadataResponse) 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 SetTotpKeyMetadataResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetTotpKeyMetadataResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse) GetResponse() isSetTotpKeyMetadataResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse) GetMetadataUpdated() *SetTotpKeyMetadataResponse_MetadataUpdated {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*SetTotpKeyMetadataResponse_MetadataUpdated_); ok {
|
|
return x.MetadataUpdated
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse) GetKeyNotFound() *errors.NotFound {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*SetTotpKeyMetadataResponse_KeyNotFound); ok {
|
|
return x.KeyNotFound
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSetTotpKeyMetadataResponse_Response interface {
|
|
isSetTotpKeyMetadataResponse_Response()
|
|
}
|
|
|
|
type SetTotpKeyMetadataResponse_MetadataUpdated_ struct {
|
|
// New metadata was stored for the identified TOTP key
|
|
MetadataUpdated *SetTotpKeyMetadataResponse_MetadataUpdated `protobuf:"bytes,1,opt,name=metadata_updated,json=metadataUpdated,proto3,oneof"`
|
|
}
|
|
|
|
type SetTotpKeyMetadataResponse_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 (*SetTotpKeyMetadataResponse_MetadataUpdated_) isSetTotpKeyMetadataResponse_Response() {}
|
|
|
|
func (*SetTotpKeyMetadataResponse_KeyNotFound) isSetTotpKeyMetadataResponse_Response() {}
|
|
|
|
type RemoveTotpKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The account-specific identifier of the TOTP 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 *RemoveTotpKeyRequest) Reset() {
|
|
*x = RemoveTotpKeyRequest{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveTotpKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveTotpKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveTotpKeyRequest) 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 RemoveTotpKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveTotpKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *RemoveTotpKeyRequest) GetKeyId() uint32 {
|
|
if x != nil {
|
|
return x.KeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RemoveTotpKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveTotpKeyResponse) Reset() {
|
|
*x = RemoveTotpKeyResponse{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveTotpKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveTotpKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveTotpKeyResponse) 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 RemoveTotpKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveTotpKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
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[58]
|
|
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[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 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[59]
|
|
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[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 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[60]
|
|
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[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 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[64]
|
|
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[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 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[65]
|
|
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[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 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 ListTotpKeysResponse_TotpKeyMetadata struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The user-provided ciphertext for metadata associated with this TOTP key
|
|
MetadataCiphertext []byte `protobuf:"bytes,1,opt,name=metadata_ciphertext,json=metadataCiphertext,proto3" json:"metadata_ciphertext,omitempty"`
|
|
// The TOTP parameters associated with this 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 *ListTotpKeysResponse_TotpKeyMetadata) Reset() {
|
|
*x = ListTotpKeysResponse_TotpKeyMetadata{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTotpKeysResponse_TotpKeyMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTotpKeysResponse_TotpKeyMetadata) ProtoMessage() {}
|
|
|
|
func (x *ListTotpKeysResponse_TotpKeyMetadata) 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 ListTotpKeysResponse_TotpKeyMetadata.ProtoReflect.Descriptor instead.
|
|
func (*ListTotpKeysResponse_TotpKeyMetadata) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{53, 0}
|
|
}
|
|
|
|
func (x *ListTotpKeysResponse_TotpKeyMetadata) GetMetadataCiphertext() []byte {
|
|
if x != nil {
|
|
return x.MetadataCiphertext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListTotpKeysResponse_TotpKeyMetadata) GetTotpParameters() *TotpParameters {
|
|
if x != nil {
|
|
return x.TotpParameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTotpKeyMetadataResponse_MetadataUpdated struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse_MetadataUpdated) Reset() {
|
|
*x = SetTotpKeyMetadataResponse_MetadataUpdated{}
|
|
mi := &file_org_signal_chat_account_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTotpKeyMetadataResponse_MetadataUpdated) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTotpKeyMetadataResponse_MetadataUpdated) ProtoMessage() {}
|
|
|
|
func (x *SetTotpKeyMetadataResponse_MetadataUpdated) 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 SetTotpKeyMetadataResponse_MetadataUpdated.ProtoReflect.Descriptor instead.
|
|
func (*SetTotpKeyMetadataResponse_MetadataUpdated) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_account_proto_rawDescGZIP(), []int{55, 0}
|
|
}
|
|
|
|
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\"\xf2\x02\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\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\"\xc7\x02\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\x1a%\n" +
|
|
"\fKeyConfirmed\x12\x15\n" +
|
|
"\x06key_id\x18\x01 \x01(\rR\x05keyIdB\n" +
|
|
"\n" +
|
|
"\bresponse\"\x15\n" +
|
|
"\x13ListTotpKeysRequest\"\xf2\x02\n" +
|
|
"\x14ListTotpKeysResponse\x12K\n" +
|
|
"\x04keys\x18\x01 \x03(\v27.org.signal.chat.account.ListTotpKeysResponse.KeysEntryR\x04keys\x1a\x94\x01\n" +
|
|
"\x0fTotpKeyMetadata\x12/\n" +
|
|
"\x13metadata_ciphertext\x18\x01 \x01(\fR\x12metadataCiphertext\x12P\n" +
|
|
"\x0ftotp_parameters\x18\x02 \x01(\v2'.org.signal.chat.account.TotpParametersR\x0etotpParameters\x1av\n" +
|
|
"\tKeysEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\x05R\x03key\x12S\n" +
|
|
"\x05value\x18\x02 \x01(\v2=.org.signal.chat.account.ListTotpKeysResponse.TotpKeyMetadataR\x05value:\x028\x01\"k\n" +
|
|
"\x19SetTotpKeyMetadataRequest\x12\x15\n" +
|
|
"\x06key_id\x18\x01 \x01(\rR\x05keyId\x127\n" +
|
|
"\x13metadata_ciphertext\x18\x02 \x01(\fB\x06\xa2\x97\"\x02\xa0\x01R\x12metadataCiphertext\"\x88\x02\n" +
|
|
"\x1aSetTotpKeyMetadataResponse\x12p\n" +
|
|
"\x10metadata_updated\x18\x01 \x01(\v2C.org.signal.chat.account.SetTotpKeyMetadataResponse.MetadataUpdatedH\x00R\x0fmetadataUpdated\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\"-\n" +
|
|
"\x14RemoveTotpKeyRequest\x12\x15\n" +
|
|
"\x06key_id\x18\x01 \x01(\rR\x05keyId\"\x17\n" +
|
|
"\x15RemoveTotpKeyResponse2\xb4\x16\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\x12m\n" +
|
|
"\fListTotpKeys\x12,.org.signal.chat.account.ListTotpKeysRequest\x1a-.org.signal.chat.account.ListTotpKeysResponse\"\x00\x12\x7f\n" +
|
|
"\x12SetTotpKeyMetadata\x122.org.signal.chat.account.SetTotpKeyMetadataRequest\x1a3.org.signal.chat.account.SetTotpKeyMetadataResponse\"\x00\x12p\n" +
|
|
"\rRemoveTotpKey\x12-.org.signal.chat.account.RemoveTotpKeyRequest\x1a..org.signal.chat.account.RemoveTotpKeyResponse\"\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_msgTypes = make([]protoimpl.MessageInfo, 69)
|
|
var file_org_signal_chat_account_proto_goTypes = []any{
|
|
(*GetAccountIdentityRequest)(nil), // 0: org.signal.chat.account.GetAccountIdentityRequest
|
|
(*GetAccountIdentityResponse)(nil), // 1: org.signal.chat.account.GetAccountIdentityResponse
|
|
(*GetEntitlementsRequest)(nil), // 2: org.signal.chat.account.GetEntitlementsRequest
|
|
(*GetEntitlementsResponse)(nil), // 3: org.signal.chat.account.GetEntitlementsResponse
|
|
(*DeleteAccountRequest)(nil), // 4: org.signal.chat.account.DeleteAccountRequest
|
|
(*DeleteAccountResponse)(nil), // 5: org.signal.chat.account.DeleteAccountResponse
|
|
(*SetRegistrationLockRequest)(nil), // 6: org.signal.chat.account.SetRegistrationLockRequest
|
|
(*SetRegistrationLockResponse)(nil), // 7: org.signal.chat.account.SetRegistrationLockResponse
|
|
(*ClearRegistrationLockRequest)(nil), // 8: org.signal.chat.account.ClearRegistrationLockRequest
|
|
(*ClearRegistrationLockResponse)(nil), // 9: org.signal.chat.account.ClearRegistrationLockResponse
|
|
(*ReserveUsernameHashRequest)(nil), // 10: org.signal.chat.account.ReserveUsernameHashRequest
|
|
(*UsernameNotAvailable)(nil), // 11: org.signal.chat.account.UsernameNotAvailable
|
|
(*ReserveUsernameHashResponse)(nil), // 12: org.signal.chat.account.ReserveUsernameHashResponse
|
|
(*ConfirmUsernameHashRequest)(nil), // 13: org.signal.chat.account.ConfirmUsernameHashRequest
|
|
(*ConfirmUsernameHashResponse)(nil), // 14: org.signal.chat.account.ConfirmUsernameHashResponse
|
|
(*DeleteUsernameHashRequest)(nil), // 15: org.signal.chat.account.DeleteUsernameHashRequest
|
|
(*DeleteUsernameHashResponse)(nil), // 16: org.signal.chat.account.DeleteUsernameHashResponse
|
|
(*SetUsernameLinkRequest)(nil), // 17: org.signal.chat.account.SetUsernameLinkRequest
|
|
(*SetUsernameLinkResponse)(nil), // 18: org.signal.chat.account.SetUsernameLinkResponse
|
|
(*DeleteUsernameLinkRequest)(nil), // 19: org.signal.chat.account.DeleteUsernameLinkRequest
|
|
(*DeleteUsernameLinkResponse)(nil), // 20: org.signal.chat.account.DeleteUsernameLinkResponse
|
|
(*ConfigureUnidentifiedAccessRequest)(nil), // 21: org.signal.chat.account.ConfigureUnidentifiedAccessRequest
|
|
(*ConfigureUnidentifiedAccessResponse)(nil), // 22: org.signal.chat.account.ConfigureUnidentifiedAccessResponse
|
|
(*SetDiscoverableByPhoneNumberRequest)(nil), // 23: org.signal.chat.account.SetDiscoverableByPhoneNumberRequest
|
|
(*SetDiscoverableByPhoneNumberResponse)(nil), // 24: org.signal.chat.account.SetDiscoverableByPhoneNumberResponse
|
|
(*SetRegistrationRecoveryPasswordRequest)(nil), // 25: org.signal.chat.account.SetRegistrationRecoveryPasswordRequest
|
|
(*SetRegistrationRecoveryPasswordResponse)(nil), // 26: org.signal.chat.account.SetRegistrationRecoveryPasswordResponse
|
|
(*CheckAccountExistenceRequest)(nil), // 27: org.signal.chat.account.CheckAccountExistenceRequest
|
|
(*CheckAccountExistenceResponse)(nil), // 28: org.signal.chat.account.CheckAccountExistenceResponse
|
|
(*LookupUsernameHashRequest)(nil), // 29: org.signal.chat.account.LookupUsernameHashRequest
|
|
(*LookupUsernameHashResponse)(nil), // 30: org.signal.chat.account.LookupUsernameHashResponse
|
|
(*LookupUsernameLinkRequest)(nil), // 31: org.signal.chat.account.LookupUsernameLinkRequest
|
|
(*LookupUsernameLinkResponse)(nil), // 32: org.signal.chat.account.LookupUsernameLinkResponse
|
|
(*SetZkCredentialKeyRequest)(nil), // 33: org.signal.chat.account.SetZkCredentialKeyRequest
|
|
(*SetZkCredentialKeyResponse)(nil), // 34: org.signal.chat.account.SetZkCredentialKeyResponse
|
|
(*ChangeNumberRequest)(nil), // 35: org.signal.chat.account.ChangeNumberRequest
|
|
(*ChangeNumberResponse)(nil), // 36: org.signal.chat.account.ChangeNumberResponse
|
|
(*RegistrationLockFailure)(nil), // 37: org.signal.chat.account.RegistrationLockFailure
|
|
(*ExternalServiceCredentials)(nil), // 38: org.signal.chat.account.ExternalServiceCredentials
|
|
(*StaleDevices)(nil), // 39: org.signal.chat.account.StaleDevices
|
|
(*GetAccountDataReportRequest)(nil), // 40: org.signal.chat.account.GetAccountDataReportRequest
|
|
(*GetAccountDataReportResponse)(nil), // 41: org.signal.chat.account.GetAccountDataReportResponse
|
|
(*GetCapabilitiesRequest)(nil), // 42: org.signal.chat.account.GetCapabilitiesRequest
|
|
(*Capabilities)(nil), // 43: org.signal.chat.account.Capabilities
|
|
(*GetCapabilitiesResponse)(nil), // 44: org.signal.chat.account.GetCapabilitiesResponse
|
|
(*GetCapabilitiesAnonymousRequest)(nil), // 45: org.signal.chat.account.GetCapabilitiesAnonymousRequest
|
|
(*GetCapabilitiesAnonymousResponse)(nil), // 46: org.signal.chat.account.GetCapabilitiesAnonymousResponse
|
|
(*TotpParameters)(nil), // 47: org.signal.chat.account.TotpParameters
|
|
(*GenerateTotpKeyRequest)(nil), // 48: org.signal.chat.account.GenerateTotpKeyRequest
|
|
(*GenerateTotpKeyResponse)(nil), // 49: org.signal.chat.account.GenerateTotpKeyResponse
|
|
(*ConfirmTotpKeyRequest)(nil), // 50: org.signal.chat.account.ConfirmTotpKeyRequest
|
|
(*ConfirmTotpKeyResponse)(nil), // 51: org.signal.chat.account.ConfirmTotpKeyResponse
|
|
(*ListTotpKeysRequest)(nil), // 52: org.signal.chat.account.ListTotpKeysRequest
|
|
(*ListTotpKeysResponse)(nil), // 53: org.signal.chat.account.ListTotpKeysResponse
|
|
(*SetTotpKeyMetadataRequest)(nil), // 54: org.signal.chat.account.SetTotpKeyMetadataRequest
|
|
(*SetTotpKeyMetadataResponse)(nil), // 55: org.signal.chat.account.SetTotpKeyMetadataResponse
|
|
(*RemoveTotpKeyRequest)(nil), // 56: org.signal.chat.account.RemoveTotpKeyRequest
|
|
(*RemoveTotpKeyResponse)(nil), // 57: org.signal.chat.account.RemoveTotpKeyResponse
|
|
(*GetEntitlementsResponse_BadgeEntitlement)(nil), // 58: org.signal.chat.account.GetEntitlementsResponse.BadgeEntitlement
|
|
(*GetEntitlementsResponse_BackupEntitlement)(nil), // 59: org.signal.chat.account.GetEntitlementsResponse.BackupEntitlement
|
|
(*ConfirmUsernameHashResponse_ConfirmedUsernameHash)(nil), // 60: org.signal.chat.account.ConfirmUsernameHashResponse.ConfirmedUsernameHash
|
|
nil, // 61: org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntry
|
|
nil, // 62: org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntry
|
|
nil, // 63: org.signal.chat.account.ChangeNumberRequest.PniRegistrationIdsEntry
|
|
(*GenerateTotpKeyResponse_KeyGenerated)(nil), // 64: org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated
|
|
(*ConfirmTotpKeyResponse_KeyConfirmed)(nil), // 65: org.signal.chat.account.ConfirmTotpKeyResponse.KeyConfirmed
|
|
(*ListTotpKeysResponse_TotpKeyMetadata)(nil), // 66: org.signal.chat.account.ListTotpKeysResponse.TotpKeyMetadata
|
|
nil, // 67: org.signal.chat.account.ListTotpKeysResponse.KeysEntry
|
|
(*SetTotpKeyMetadataResponse_MetadataUpdated)(nil), // 68: org.signal.chat.account.SetTotpKeyMetadataResponse.MetadataUpdated
|
|
(*common.AccountIdentifiers)(nil), // 69: org.signal.chat.common.AccountIdentifiers
|
|
(*errors.FailedPrecondition)(nil), // 70: org.signal.chat.errors.FailedPrecondition
|
|
(*emptypb.Empty)(nil), // 71: google.protobuf.Empty
|
|
(*common.ServiceIdentifier)(nil), // 72: org.signal.chat.common.ServiceIdentifier
|
|
(*errors.NotFound)(nil), // 73: org.signal.chat.errors.NotFound
|
|
(*messages.IndividualRecipientMessageBundle)(nil), // 74: org.signal.chat.messages.IndividualRecipientMessageBundle
|
|
(*messages.MismatchedDevices)(nil), // 75: org.signal.chat.messages.MismatchedDevices
|
|
(common.DeviceCapability)(0), // 76: org.signal.chat.common.DeviceCapability
|
|
(*errors.FailedUnidentifiedAuthorization)(nil), // 77: org.signal.chat.errors.FailedUnidentifiedAuthorization
|
|
(*common.EcSignedPreKey)(nil), // 78: org.signal.chat.common.EcSignedPreKey
|
|
(*common.KemSignedPreKey)(nil), // 79: org.signal.chat.common.KemSignedPreKey
|
|
}
|
|
var file_org_signal_chat_account_proto_depIdxs = []int32{
|
|
69, // 0: org.signal.chat.account.GetAccountIdentityResponse.account_identifiers:type_name -> org.signal.chat.common.AccountIdentifiers
|
|
58, // 1: org.signal.chat.account.GetEntitlementsResponse.badges:type_name -> org.signal.chat.account.GetEntitlementsResponse.BadgeEntitlement
|
|
59, // 2: org.signal.chat.account.GetEntitlementsResponse.backup:type_name -> org.signal.chat.account.GetEntitlementsResponse.BackupEntitlement
|
|
11, // 3: org.signal.chat.account.ReserveUsernameHashResponse.username_not_available:type_name -> org.signal.chat.account.UsernameNotAvailable
|
|
60, // 4: org.signal.chat.account.ConfirmUsernameHashResponse.confirmed_username_hash:type_name -> org.signal.chat.account.ConfirmUsernameHashResponse.ConfirmedUsernameHash
|
|
70, // 5: org.signal.chat.account.ConfirmUsernameHashResponse.reservation_not_found:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
11, // 6: org.signal.chat.account.ConfirmUsernameHashResponse.username_not_available:type_name -> org.signal.chat.account.UsernameNotAvailable
|
|
70, // 7: org.signal.chat.account.SetUsernameLinkResponse.no_username_set:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
71, // 8: org.signal.chat.account.ConfigureUnidentifiedAccessRequest.allow_unrestricted_unidentified_access:type_name -> google.protobuf.Empty
|
|
72, // 9: org.signal.chat.account.CheckAccountExistenceRequest.service_identifier:type_name -> org.signal.chat.common.ServiceIdentifier
|
|
72, // 10: org.signal.chat.account.LookupUsernameHashResponse.service_identifier:type_name -> org.signal.chat.common.ServiceIdentifier
|
|
73, // 11: org.signal.chat.account.LookupUsernameHashResponse.not_found:type_name -> org.signal.chat.errors.NotFound
|
|
73, // 12: org.signal.chat.account.LookupUsernameLinkResponse.not_found:type_name -> org.signal.chat.errors.NotFound
|
|
74, // 13: org.signal.chat.account.ChangeNumberRequest.device_messages:type_name -> org.signal.chat.messages.IndividualRecipientMessageBundle
|
|
61, // 14: org.signal.chat.account.ChangeNumberRequest.device_pni_signed_pre_keys:type_name -> org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntry
|
|
62, // 15: org.signal.chat.account.ChangeNumberRequest.device_pni_pq_last_resort_pre_keys:type_name -> org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntry
|
|
63, // 16: org.signal.chat.account.ChangeNumberRequest.pni_registration_ids:type_name -> org.signal.chat.account.ChangeNumberRequest.PniRegistrationIdsEntry
|
|
69, // 17: org.signal.chat.account.ChangeNumberResponse.account_identifiers:type_name -> org.signal.chat.common.AccountIdentifiers
|
|
75, // 18: org.signal.chat.account.ChangeNumberResponse.mismatched_devices:type_name -> org.signal.chat.messages.MismatchedDevices
|
|
37, // 19: org.signal.chat.account.ChangeNumberResponse.registration_lock_failure:type_name -> org.signal.chat.account.RegistrationLockFailure
|
|
39, // 20: org.signal.chat.account.ChangeNumberResponse.stale_devices:type_name -> org.signal.chat.account.StaleDevices
|
|
70, // 21: org.signal.chat.account.ChangeNumberResponse.message_too_large:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
70, // 22: org.signal.chat.account.ChangeNumberResponse.unverified_registration_session:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
70, // 23: org.signal.chat.account.ChangeNumberResponse.invalid_registration_session:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
70, // 24: org.signal.chat.account.ChangeNumberResponse.recovery_password_verification_failed:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
38, // 25: org.signal.chat.account.RegistrationLockFailure.svr2_credentials:type_name -> org.signal.chat.account.ExternalServiceCredentials
|
|
76, // 26: org.signal.chat.account.Capabilities.capabilities:type_name -> org.signal.chat.common.DeviceCapability
|
|
43, // 27: org.signal.chat.account.GetCapabilitiesResponse.capabilities:type_name -> org.signal.chat.account.Capabilities
|
|
72, // 28: org.signal.chat.account.GetCapabilitiesAnonymousRequest.account_identifier:type_name -> org.signal.chat.common.ServiceIdentifier
|
|
43, // 29: org.signal.chat.account.GetCapabilitiesAnonymousResponse.capabilities:type_name -> org.signal.chat.account.Capabilities
|
|
73, // 30: org.signal.chat.account.GetCapabilitiesAnonymousResponse.not_found:type_name -> org.signal.chat.errors.NotFound
|
|
77, // 31: org.signal.chat.account.GetCapabilitiesAnonymousResponse.failed_unidentified_authorization:type_name -> org.signal.chat.errors.FailedUnidentifiedAuthorization
|
|
64, // 32: org.signal.chat.account.GenerateTotpKeyResponse.key_generated:type_name -> org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated
|
|
70, // 33: org.signal.chat.account.GenerateTotpKeyResponse.too_many_totp_keys:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
65, // 34: org.signal.chat.account.ConfirmTotpKeyResponse.key_confirmed:type_name -> org.signal.chat.account.ConfirmTotpKeyResponse.KeyConfirmed
|
|
70, // 35: org.signal.chat.account.ConfirmTotpKeyResponse.one_time_password_not_verified:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
67, // 36: org.signal.chat.account.ListTotpKeysResponse.keys:type_name -> org.signal.chat.account.ListTotpKeysResponse.KeysEntry
|
|
68, // 37: org.signal.chat.account.SetTotpKeyMetadataResponse.metadata_updated:type_name -> org.signal.chat.account.SetTotpKeyMetadataResponse.MetadataUpdated
|
|
73, // 38: org.signal.chat.account.SetTotpKeyMetadataResponse.key_not_found:type_name -> org.signal.chat.errors.NotFound
|
|
78, // 39: org.signal.chat.account.ChangeNumberRequest.DevicePniSignedPreKeysEntry.value:type_name -> org.signal.chat.common.EcSignedPreKey
|
|
79, // 40: org.signal.chat.account.ChangeNumberRequest.DevicePniPqLastResortPreKeysEntry.value:type_name -> org.signal.chat.common.KemSignedPreKey
|
|
47, // 41: org.signal.chat.account.GenerateTotpKeyResponse.KeyGenerated.totp_parameters:type_name -> org.signal.chat.account.TotpParameters
|
|
47, // 42: org.signal.chat.account.ListTotpKeysResponse.TotpKeyMetadata.totp_parameters:type_name -> org.signal.chat.account.TotpParameters
|
|
66, // 43: org.signal.chat.account.ListTotpKeysResponse.KeysEntry.value:type_name -> org.signal.chat.account.ListTotpKeysResponse.TotpKeyMetadata
|
|
0, // 44: org.signal.chat.account.Accounts.GetAccountIdentity:input_type -> org.signal.chat.account.GetAccountIdentityRequest
|
|
2, // 45: org.signal.chat.account.Accounts.GetEntitlements:input_type -> org.signal.chat.account.GetEntitlementsRequest
|
|
4, // 46: org.signal.chat.account.Accounts.DeleteAccount:input_type -> org.signal.chat.account.DeleteAccountRequest
|
|
6, // 47: org.signal.chat.account.Accounts.SetRegistrationLock:input_type -> org.signal.chat.account.SetRegistrationLockRequest
|
|
8, // 48: org.signal.chat.account.Accounts.ClearRegistrationLock:input_type -> org.signal.chat.account.ClearRegistrationLockRequest
|
|
10, // 49: org.signal.chat.account.Accounts.ReserveUsernameHash:input_type -> org.signal.chat.account.ReserveUsernameHashRequest
|
|
13, // 50: org.signal.chat.account.Accounts.ConfirmUsernameHash:input_type -> org.signal.chat.account.ConfirmUsernameHashRequest
|
|
15, // 51: org.signal.chat.account.Accounts.DeleteUsernameHash:input_type -> org.signal.chat.account.DeleteUsernameHashRequest
|
|
17, // 52: org.signal.chat.account.Accounts.SetUsernameLink:input_type -> org.signal.chat.account.SetUsernameLinkRequest
|
|
19, // 53: org.signal.chat.account.Accounts.DeleteUsernameLink:input_type -> org.signal.chat.account.DeleteUsernameLinkRequest
|
|
21, // 54: org.signal.chat.account.Accounts.ConfigureUnidentifiedAccess:input_type -> org.signal.chat.account.ConfigureUnidentifiedAccessRequest
|
|
23, // 55: org.signal.chat.account.Accounts.SetDiscoverableByPhoneNumber:input_type -> org.signal.chat.account.SetDiscoverableByPhoneNumberRequest
|
|
25, // 56: org.signal.chat.account.Accounts.SetRegistrationRecoveryPassword:input_type -> org.signal.chat.account.SetRegistrationRecoveryPasswordRequest
|
|
33, // 57: org.signal.chat.account.Accounts.SetZkCredentialKey:input_type -> org.signal.chat.account.SetZkCredentialKeyRequest
|
|
35, // 58: org.signal.chat.account.Accounts.ChangeNumber:input_type -> org.signal.chat.account.ChangeNumberRequest
|
|
40, // 59: org.signal.chat.account.Accounts.GetAccountDataReport:input_type -> org.signal.chat.account.GetAccountDataReportRequest
|
|
42, // 60: org.signal.chat.account.Accounts.GetCapabilities:input_type -> org.signal.chat.account.GetCapabilitiesRequest
|
|
48, // 61: org.signal.chat.account.Accounts.GenerateTotpKey:input_type -> org.signal.chat.account.GenerateTotpKeyRequest
|
|
50, // 62: org.signal.chat.account.Accounts.ConfirmTotpKey:input_type -> org.signal.chat.account.ConfirmTotpKeyRequest
|
|
52, // 63: org.signal.chat.account.Accounts.ListTotpKeys:input_type -> org.signal.chat.account.ListTotpKeysRequest
|
|
54, // 64: org.signal.chat.account.Accounts.SetTotpKeyMetadata:input_type -> org.signal.chat.account.SetTotpKeyMetadataRequest
|
|
56, // 65: org.signal.chat.account.Accounts.RemoveTotpKey:input_type -> org.signal.chat.account.RemoveTotpKeyRequest
|
|
27, // 66: org.signal.chat.account.AccountsAnonymous.CheckAccountExistence:input_type -> org.signal.chat.account.CheckAccountExistenceRequest
|
|
29, // 67: org.signal.chat.account.AccountsAnonymous.LookupUsernameHash:input_type -> org.signal.chat.account.LookupUsernameHashRequest
|
|
31, // 68: org.signal.chat.account.AccountsAnonymous.LookupUsernameLink:input_type -> org.signal.chat.account.LookupUsernameLinkRequest
|
|
45, // 69: org.signal.chat.account.AccountsAnonymous.GetCapabilities:input_type -> org.signal.chat.account.GetCapabilitiesAnonymousRequest
|
|
1, // 70: org.signal.chat.account.Accounts.GetAccountIdentity:output_type -> org.signal.chat.account.GetAccountIdentityResponse
|
|
3, // 71: org.signal.chat.account.Accounts.GetEntitlements:output_type -> org.signal.chat.account.GetEntitlementsResponse
|
|
5, // 72: org.signal.chat.account.Accounts.DeleteAccount:output_type -> org.signal.chat.account.DeleteAccountResponse
|
|
7, // 73: org.signal.chat.account.Accounts.SetRegistrationLock:output_type -> org.signal.chat.account.SetRegistrationLockResponse
|
|
9, // 74: org.signal.chat.account.Accounts.ClearRegistrationLock:output_type -> org.signal.chat.account.ClearRegistrationLockResponse
|
|
12, // 75: org.signal.chat.account.Accounts.ReserveUsernameHash:output_type -> org.signal.chat.account.ReserveUsernameHashResponse
|
|
14, // 76: org.signal.chat.account.Accounts.ConfirmUsernameHash:output_type -> org.signal.chat.account.ConfirmUsernameHashResponse
|
|
16, // 77: org.signal.chat.account.Accounts.DeleteUsernameHash:output_type -> org.signal.chat.account.DeleteUsernameHashResponse
|
|
18, // 78: org.signal.chat.account.Accounts.SetUsernameLink:output_type -> org.signal.chat.account.SetUsernameLinkResponse
|
|
20, // 79: org.signal.chat.account.Accounts.DeleteUsernameLink:output_type -> org.signal.chat.account.DeleteUsernameLinkResponse
|
|
22, // 80: org.signal.chat.account.Accounts.ConfigureUnidentifiedAccess:output_type -> org.signal.chat.account.ConfigureUnidentifiedAccessResponse
|
|
24, // 81: org.signal.chat.account.Accounts.SetDiscoverableByPhoneNumber:output_type -> org.signal.chat.account.SetDiscoverableByPhoneNumberResponse
|
|
26, // 82: org.signal.chat.account.Accounts.SetRegistrationRecoveryPassword:output_type -> org.signal.chat.account.SetRegistrationRecoveryPasswordResponse
|
|
34, // 83: org.signal.chat.account.Accounts.SetZkCredentialKey:output_type -> org.signal.chat.account.SetZkCredentialKeyResponse
|
|
36, // 84: org.signal.chat.account.Accounts.ChangeNumber:output_type -> org.signal.chat.account.ChangeNumberResponse
|
|
41, // 85: org.signal.chat.account.Accounts.GetAccountDataReport:output_type -> org.signal.chat.account.GetAccountDataReportResponse
|
|
44, // 86: org.signal.chat.account.Accounts.GetCapabilities:output_type -> org.signal.chat.account.GetCapabilitiesResponse
|
|
49, // 87: org.signal.chat.account.Accounts.GenerateTotpKey:output_type -> org.signal.chat.account.GenerateTotpKeyResponse
|
|
51, // 88: org.signal.chat.account.Accounts.ConfirmTotpKey:output_type -> org.signal.chat.account.ConfirmTotpKeyResponse
|
|
53, // 89: org.signal.chat.account.Accounts.ListTotpKeys:output_type -> org.signal.chat.account.ListTotpKeysResponse
|
|
55, // 90: org.signal.chat.account.Accounts.SetTotpKeyMetadata:output_type -> org.signal.chat.account.SetTotpKeyMetadataResponse
|
|
57, // 91: org.signal.chat.account.Accounts.RemoveTotpKey:output_type -> org.signal.chat.account.RemoveTotpKeyResponse
|
|
28, // 92: org.signal.chat.account.AccountsAnonymous.CheckAccountExistence:output_type -> org.signal.chat.account.CheckAccountExistenceResponse
|
|
30, // 93: org.signal.chat.account.AccountsAnonymous.LookupUsernameHash:output_type -> org.signal.chat.account.LookupUsernameHashResponse
|
|
32, // 94: org.signal.chat.account.AccountsAnonymous.LookupUsernameLink:output_type -> org.signal.chat.account.LookupUsernameLinkResponse
|
|
46, // 95: org.signal.chat.account.AccountsAnonymous.GetCapabilities:output_type -> org.signal.chat.account.GetCapabilitiesAnonymousResponse
|
|
70, // [70:96] is the sub-list for method output_type
|
|
44, // [44:70] is the sub-list for method input_type
|
|
44, // [44:44] is the sub-list for extension type_name
|
|
44, // [44:44] is the sub-list for extension extendee
|
|
0, // [0:44] 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),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[51].OneofWrappers = []any{
|
|
(*ConfirmTotpKeyResponse_KeyConfirmed_)(nil),
|
|
(*ConfirmTotpKeyResponse_OneTimePasswordNotVerified)(nil),
|
|
}
|
|
file_org_signal_chat_account_proto_msgTypes[55].OneofWrappers = []any{
|
|
(*SetTotpKeyMetadataResponse_MetadataUpdated_)(nil),
|
|
(*SetTotpKeyMetadataResponse_KeyNotFound)(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: 0,
|
|
NumMessages: 69,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_org_signal_chat_account_proto_goTypes,
|
|
DependencyIndexes: file_org_signal_chat_account_proto_depIdxs,
|
|
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
|
|
}
|