mirror of
https://github.com/mautrix/signal.git
synced 2026-11-11 08:39:17 -05:00
514 lines
19 KiB
Go
Generated
514 lines
19 KiB
Go
Generated
//
|
|
// Copyright 2026 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.1
|
|
// source: org/signal/chat/challenge.proto
|
|
|
|
package challenge
|
|
|
|
import (
|
|
errors "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/errors"
|
|
_ "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/require"
|
|
_ "go.mau.fi/mautrix-signal/pkg/signalmeow/protobuf/rpc/tag"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type AnswerChallengeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The opaque token id from the ChallengeRequired response returned by the
|
|
// server endpoint that requested the challenge
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
// Types that are valid to be assigned to Request:
|
|
//
|
|
// *AnswerChallengeRequest_Push
|
|
// *AnswerChallengeRequest_Captcha
|
|
Request isAnswerChallengeRequest_Request `protobuf_oneof:"request"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest) Reset() {
|
|
*x = AnswerChallengeRequest{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerChallengeRequest) ProtoMessage() {}
|
|
|
|
func (x *AnswerChallengeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 AnswerChallengeRequest.ProtoReflect.Descriptor instead.
|
|
func (*AnswerChallengeRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest) GetRequest() isAnswerChallengeRequest_Request {
|
|
if x != nil {
|
|
return x.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest) GetPush() *AnswerChallengeRequest_AnswerPushChallengeRequest {
|
|
if x != nil {
|
|
if x, ok := x.Request.(*AnswerChallengeRequest_Push); ok {
|
|
return x.Push
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest) GetCaptcha() *AnswerChallengeRequest_AnswerCaptchaChallengeRequest {
|
|
if x != nil {
|
|
if x, ok := x.Request.(*AnswerChallengeRequest_Captcha); ok {
|
|
return x.Captcha
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isAnswerChallengeRequest_Request interface {
|
|
isAnswerChallengeRequest_Request()
|
|
}
|
|
|
|
type AnswerChallengeRequest_Push struct {
|
|
Push *AnswerChallengeRequest_AnswerPushChallengeRequest `protobuf:"bytes,2,opt,name=push,proto3,oneof"`
|
|
}
|
|
|
|
type AnswerChallengeRequest_Captcha struct {
|
|
Captcha *AnswerChallengeRequest_AnswerCaptchaChallengeRequest `protobuf:"bytes,3,opt,name=captcha,proto3,oneof"`
|
|
}
|
|
|
|
func (*AnswerChallengeRequest_Push) isAnswerChallengeRequest_Request() {}
|
|
|
|
func (*AnswerChallengeRequest_Captcha) isAnswerChallengeRequest_Request() {}
|
|
|
|
type AnswerChallengeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Whether the challenge proof was accepted
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerChallengeResponse) Reset() {
|
|
*x = AnswerChallengeResponse{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerChallengeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerChallengeResponse) ProtoMessage() {}
|
|
|
|
func (x *AnswerChallengeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 AnswerChallengeResponse.ProtoReflect.Descriptor instead.
|
|
func (*AnswerChallengeResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AnswerChallengeResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RequestPushChallengeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequestPushChallengeRequest) Reset() {
|
|
*x = RequestPushChallengeRequest{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestPushChallengeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestPushChallengeRequest) ProtoMessage() {}
|
|
|
|
func (x *RequestPushChallengeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 RequestPushChallengeRequest.ProtoReflect.Descriptor instead.
|
|
func (*RequestPushChallengeRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type RequestPushChallengeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Response:
|
|
//
|
|
// *RequestPushChallengeResponse_SentPushChallenge_
|
|
// *RequestPushChallengeResponse_NoPushToken
|
|
Response isRequestPushChallengeResponse_Response `protobuf_oneof:"response"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse) Reset() {
|
|
*x = RequestPushChallengeResponse{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestPushChallengeResponse) ProtoMessage() {}
|
|
|
|
func (x *RequestPushChallengeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 RequestPushChallengeResponse.ProtoReflect.Descriptor instead.
|
|
func (*RequestPushChallengeResponse) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse) GetResponse() isRequestPushChallengeResponse_Response {
|
|
if x != nil {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse) GetSentPushChallenge() *emptypb.Empty {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*RequestPushChallengeResponse_SentPushChallenge_); ok {
|
|
return x.SentPushChallenge
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse) GetNoPushToken() *errors.FailedPrecondition {
|
|
if x != nil {
|
|
if x, ok := x.Response.(*RequestPushChallengeResponse_NoPushToken); ok {
|
|
return x.NoPushToken
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isRequestPushChallengeResponse_Response interface {
|
|
isRequestPushChallengeResponse_Response()
|
|
}
|
|
|
|
type RequestPushChallengeResponse_SentPushChallenge_ struct {
|
|
// The server attempted to send a challenge value to the authenticated
|
|
// account's primary device via a push notification.
|
|
SentPushChallenge *emptypb.Empty `protobuf:"bytes,1,opt,name=sent_push_challenge,json=sentPushChallenge,proto3,oneof"`
|
|
}
|
|
|
|
type RequestPushChallengeResponse_NoPushToken struct {
|
|
// The authenticated account's primary device does not have a push token.
|
|
NoPushToken *errors.FailedPrecondition `protobuf:"bytes,2,opt,name=no_push_token,json=noPushToken,proto3,oneof"`
|
|
}
|
|
|
|
func (*RequestPushChallengeResponse_SentPushChallenge_) isRequestPushChallengeResponse_Response() {}
|
|
|
|
func (*RequestPushChallengeResponse_NoPushToken) isRequestPushChallengeResponse_Response() {}
|
|
|
|
type AnswerChallengeRequest_AnswerPushChallengeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The challenge string provided to the client via a push payload
|
|
Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerPushChallengeRequest) Reset() {
|
|
*x = AnswerChallengeRequest_AnswerPushChallengeRequest{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerPushChallengeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerChallengeRequest_AnswerPushChallengeRequest) ProtoMessage() {}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerPushChallengeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 AnswerChallengeRequest_AnswerPushChallengeRequest.ProtoReflect.Descriptor instead.
|
|
func (*AnswerChallengeRequest_AnswerPushChallengeRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerPushChallengeRequest) GetChallenge() string {
|
|
if x != nil {
|
|
return x.Challenge
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AnswerChallengeRequest_AnswerCaptchaChallengeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// A string representing a solved captcha
|
|
// Example: signal-hcaptcha.30b01b46-d8c9-4c30-bbd7-9719acfe0c10.challenge.abcdefg1345
|
|
Captcha string `protobuf:"bytes,1,opt,name=captcha,proto3" json:"captcha,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerCaptchaChallengeRequest) Reset() {
|
|
*x = AnswerChallengeRequest_AnswerCaptchaChallengeRequest{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerCaptchaChallengeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerChallengeRequest_AnswerCaptchaChallengeRequest) ProtoMessage() {}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerCaptchaChallengeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 AnswerChallengeRequest_AnswerCaptchaChallengeRequest.ProtoReflect.Descriptor instead.
|
|
func (*AnswerChallengeRequest_AnswerCaptchaChallengeRequest) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
func (x *AnswerChallengeRequest_AnswerCaptchaChallengeRequest) GetCaptcha() string {
|
|
if x != nil {
|
|
return x.Captcha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RequestPushChallengeResponse_SentPushChallenge struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse_SentPushChallenge) Reset() {
|
|
*x = RequestPushChallengeResponse_SentPushChallenge{}
|
|
mi := &file_org_signal_chat_challenge_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestPushChallengeResponse_SentPushChallenge) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestPushChallengeResponse_SentPushChallenge) ProtoMessage() {}
|
|
|
|
func (x *RequestPushChallengeResponse_SentPushChallenge) ProtoReflect() protoreflect.Message {
|
|
mi := &file_org_signal_chat_challenge_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 RequestPushChallengeResponse_SentPushChallenge.ProtoReflect.Descriptor instead.
|
|
func (*RequestPushChallengeResponse_SentPushChallenge) Descriptor() ([]byte, []int) {
|
|
return file_org_signal_chat_challenge_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
var File_org_signal_chat_challenge_proto protoreflect.FileDescriptor
|
|
|
|
const file_org_signal_chat_challenge_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1forg/signal/chat/challenge.proto\x12\x19org.signal.chat.challenge\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1corg/signal/chat/errors.proto\x1a\x1dorg/signal/chat/require.proto\x1a\x19org/signal/chat/tag.proto\"\x93\x03\n" +
|
|
"\x16AnswerChallengeRequest\x12\x1a\n" +
|
|
"\x05token\x18\x01 \x01(\tB\x04\x88\x97\"\x01R\x05token\x12b\n" +
|
|
"\x04push\x18\x02 \x01(\v2L.org.signal.chat.challenge.AnswerChallengeRequest.AnswerPushChallengeRequestH\x00R\x04push\x12k\n" +
|
|
"\acaptcha\x18\x03 \x01(\v2O.org.signal.chat.challenge.AnswerChallengeRequest.AnswerCaptchaChallengeRequestH\x00R\acaptcha\x1a@\n" +
|
|
"\x1aAnswerPushChallengeRequest\x12\"\n" +
|
|
"\tchallenge\x18\x01 \x01(\tB\x04\x88\x97\"\x01R\tchallenge\x1a?\n" +
|
|
"\x1dAnswerCaptchaChallengeRequest\x12\x1e\n" +
|
|
"\acaptcha\x18\x01 \x01(\tB\x04\x88\x97\"\x01R\acaptchaB\t\n" +
|
|
"\arequest\"3\n" +
|
|
"\x17AnswerChallengeResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\"\x1d\n" +
|
|
"\x1bRequestPushChallengeRequest\"\xee\x01\n" +
|
|
"\x1cRequestPushChallengeResponse\x12H\n" +
|
|
"\x13sent_push_challenge\x18\x01 \x01(\v2\x16.google.protobuf.EmptyH\x00R\x11sentPushChallenge\x12c\n" +
|
|
"\rno_push_token\x18\x02 \x01(\v2*.org.signal.chat.errors.FailedPreconditionB\x11\xc2\xd5\"\rno_push_tokenH\x00R\vnoPushToken\x1a\x13\n" +
|
|
"\x11SentPushChallengeB\n" +
|
|
"\n" +
|
|
"\bresponse2\x99\x02\n" +
|
|
"\tChallenge\x12z\n" +
|
|
"\x0fAnswerChallenge\x121.org.signal.chat.challenge.AnswerChallengeRequest\x1a2.org.signal.chat.challenge.AnswerChallengeResponse\"\x00\x12\x89\x01\n" +
|
|
"\x14RequestPushChallenge\x126.org.signal.chat.challenge.RequestPushChallengeRequest\x1a7.org.signal.chat.challenge.RequestPushChallengeResponse\"\x00\x1a\x04\xc8\xd5\"\x01B\x02P\x01b\x06proto3"
|
|
|
|
var (
|
|
file_org_signal_chat_challenge_proto_rawDescOnce sync.Once
|
|
file_org_signal_chat_challenge_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_org_signal_chat_challenge_proto_rawDescGZIP() []byte {
|
|
file_org_signal_chat_challenge_proto_rawDescOnce.Do(func() {
|
|
file_org_signal_chat_challenge_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_org_signal_chat_challenge_proto_rawDesc), len(file_org_signal_chat_challenge_proto_rawDesc)))
|
|
})
|
|
return file_org_signal_chat_challenge_proto_rawDescData
|
|
}
|
|
|
|
var file_org_signal_chat_challenge_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_org_signal_chat_challenge_proto_goTypes = []any{
|
|
(*AnswerChallengeRequest)(nil), // 0: org.signal.chat.challenge.AnswerChallengeRequest
|
|
(*AnswerChallengeResponse)(nil), // 1: org.signal.chat.challenge.AnswerChallengeResponse
|
|
(*RequestPushChallengeRequest)(nil), // 2: org.signal.chat.challenge.RequestPushChallengeRequest
|
|
(*RequestPushChallengeResponse)(nil), // 3: org.signal.chat.challenge.RequestPushChallengeResponse
|
|
(*AnswerChallengeRequest_AnswerPushChallengeRequest)(nil), // 4: org.signal.chat.challenge.AnswerChallengeRequest.AnswerPushChallengeRequest
|
|
(*AnswerChallengeRequest_AnswerCaptchaChallengeRequest)(nil), // 5: org.signal.chat.challenge.AnswerChallengeRequest.AnswerCaptchaChallengeRequest
|
|
(*RequestPushChallengeResponse_SentPushChallenge)(nil), // 6: org.signal.chat.challenge.RequestPushChallengeResponse.SentPushChallenge
|
|
(*emptypb.Empty)(nil), // 7: google.protobuf.Empty
|
|
(*errors.FailedPrecondition)(nil), // 8: org.signal.chat.errors.FailedPrecondition
|
|
}
|
|
var file_org_signal_chat_challenge_proto_depIdxs = []int32{
|
|
4, // 0: org.signal.chat.challenge.AnswerChallengeRequest.push:type_name -> org.signal.chat.challenge.AnswerChallengeRequest.AnswerPushChallengeRequest
|
|
5, // 1: org.signal.chat.challenge.AnswerChallengeRequest.captcha:type_name -> org.signal.chat.challenge.AnswerChallengeRequest.AnswerCaptchaChallengeRequest
|
|
7, // 2: org.signal.chat.challenge.RequestPushChallengeResponse.sent_push_challenge:type_name -> google.protobuf.Empty
|
|
8, // 3: org.signal.chat.challenge.RequestPushChallengeResponse.no_push_token:type_name -> org.signal.chat.errors.FailedPrecondition
|
|
0, // 4: org.signal.chat.challenge.Challenge.AnswerChallenge:input_type -> org.signal.chat.challenge.AnswerChallengeRequest
|
|
2, // 5: org.signal.chat.challenge.Challenge.RequestPushChallenge:input_type -> org.signal.chat.challenge.RequestPushChallengeRequest
|
|
1, // 6: org.signal.chat.challenge.Challenge.AnswerChallenge:output_type -> org.signal.chat.challenge.AnswerChallengeResponse
|
|
3, // 7: org.signal.chat.challenge.Challenge.RequestPushChallenge:output_type -> org.signal.chat.challenge.RequestPushChallengeResponse
|
|
6, // [6:8] is the sub-list for method output_type
|
|
4, // [4:6] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_org_signal_chat_challenge_proto_init() }
|
|
func file_org_signal_chat_challenge_proto_init() {
|
|
if File_org_signal_chat_challenge_proto != nil {
|
|
return
|
|
}
|
|
file_org_signal_chat_challenge_proto_msgTypes[0].OneofWrappers = []any{
|
|
(*AnswerChallengeRequest_Push)(nil),
|
|
(*AnswerChallengeRequest_Captcha)(nil),
|
|
}
|
|
file_org_signal_chat_challenge_proto_msgTypes[3].OneofWrappers = []any{
|
|
(*RequestPushChallengeResponse_SentPushChallenge_)(nil),
|
|
(*RequestPushChallengeResponse_NoPushToken)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_org_signal_chat_challenge_proto_rawDesc), len(file_org_signal_chat_challenge_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_org_signal_chat_challenge_proto_goTypes,
|
|
DependencyIndexes: file_org_signal_chat_challenge_proto_depIdxs,
|
|
MessageInfos: file_org_signal_chat_challenge_proto_msgTypes,
|
|
}.Build()
|
|
File_org_signal_chat_challenge_proto = out.File
|
|
file_org_signal_chat_challenge_proto_goTypes = nil
|
|
file_org_signal_chat_challenge_proto_depIdxs = nil
|
|
}
|