577 lines
18 KiB
Go
577 lines
18 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.30.0
|
||
|
// protoc v3.21.12
|
||
|
// source: relay.proto
|
||
|
|
||
|
package binary
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
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 RegisterPhoneRelayResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Field1 *Message1 `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
|
||
|
Field2 *Message2 `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"`
|
||
|
PairingKey []byte `protobuf:"bytes,3,opt,name=PairingKey,proto3" json:"PairingKey,omitempty"`
|
||
|
Field4 int64 `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"`
|
||
|
Field5 *Message3 `protobuf:"bytes,5,opt,name=field5,proto3" json:"field5,omitempty"`
|
||
|
Field6 []byte `protobuf:"bytes,6,opt,name=field6,proto3" json:"field6,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) Reset() {
|
||
|
*x = RegisterPhoneRelayResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_relay_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RegisterPhoneRelayResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_relay_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RegisterPhoneRelayResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*RegisterPhoneRelayResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_relay_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) GetField1() *Message1 {
|
||
|
if x != nil {
|
||
|
return x.Field1
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) GetField2() *Message2 {
|
||
|
if x != nil {
|
||
|
return x.Field2
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) GetPairingKey() []byte {
|
||
|
if x != nil {
|
||
|
return x.PairingKey
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) GetField4() int64 {
|
||
|
if x != nil {
|
||
|
return x.Field4
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) GetField5() *Message3 {
|
||
|
if x != nil {
|
||
|
return x.Field5
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RegisterPhoneRelayResponse) GetField6() []byte {
|
||
|
if x != nil {
|
||
|
return x.Field6
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Message1 struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
PubKey int64 `protobuf:"varint,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Message1) Reset() {
|
||
|
*x = Message1{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_relay_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Message1) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Message1) ProtoMessage() {}
|
||
|
|
||
|
func (x *Message1) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_relay_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Message1.ProtoReflect.Descriptor instead.
|
||
|
func (*Message1) Descriptor() ([]byte, []int) {
|
||
|
return file_relay_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *Message1) GetPubKey() int64 {
|
||
|
if x != nil {
|
||
|
return x.PubKey
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type Message2 struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Field1 int64 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"`
|
||
|
Field2 []byte `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"`
|
||
|
Field3 string `protobuf:"bytes,3,opt,name=field3,proto3" json:"field3,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Message2) Reset() {
|
||
|
*x = Message2{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_relay_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Message2) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Message2) ProtoMessage() {}
|
||
|
|
||
|
func (x *Message2) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_relay_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Message2.ProtoReflect.Descriptor instead.
|
||
|
func (*Message2) Descriptor() ([]byte, []int) {
|
||
|
return file_relay_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *Message2) GetField1() int64 {
|
||
|
if x != nil {
|
||
|
return x.Field1
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Message2) GetField2() []byte {
|
||
|
if x != nil {
|
||
|
return x.Field2
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Message2) GetField3() string {
|
||
|
if x != nil {
|
||
|
return x.Field3
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Message3 struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RpcKey []byte `protobuf:"bytes,1,opt,name=rpcKey,proto3" json:"rpcKey,omitempty"`
|
||
|
Field2 int64 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Message3) Reset() {
|
||
|
*x = Message3{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_relay_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Message3) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Message3) ProtoMessage() {}
|
||
|
|
||
|
func (x *Message3) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_relay_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Message3.ProtoReflect.Descriptor instead.
|
||
|
func (*Message3) Descriptor() ([]byte, []int) {
|
||
|
return file_relay_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *Message3) GetRpcKey() []byte {
|
||
|
if x != nil {
|
||
|
return x.RpcKey
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Message3) GetField2() int64 {
|
||
|
if x != nil {
|
||
|
return x.Field2
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type RefreshPhoneRelayResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Field1 *Message1 `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
|
||
|
PairKey []byte `protobuf:"bytes,2,opt,name=pairKey,proto3" json:"pairKey,omitempty"`
|
||
|
ValidFor int64 `protobuf:"varint,3,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RefreshPhoneRelayResponse) Reset() {
|
||
|
*x = RefreshPhoneRelayResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_relay_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RefreshPhoneRelayResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RefreshPhoneRelayResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *RefreshPhoneRelayResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_relay_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RefreshPhoneRelayResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*RefreshPhoneRelayResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_relay_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *RefreshPhoneRelayResponse) GetField1() *Message1 {
|
||
|
if x != nil {
|
||
|
return x.Field1
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RefreshPhoneRelayResponse) GetPairKey() []byte {
|
||
|
if x != nil {
|
||
|
return x.PairKey
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RefreshPhoneRelayResponse) GetValidFor() int64 {
|
||
|
if x != nil {
|
||
|
return x.ValidFor
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type WebEncryptionKeyResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Curve *Message1 `protobuf:"bytes,1,opt,name=curve,proto3" json:"curve,omitempty"`
|
||
|
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *WebEncryptionKeyResponse) Reset() {
|
||
|
*x = WebEncryptionKeyResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_relay_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *WebEncryptionKeyResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*WebEncryptionKeyResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *WebEncryptionKeyResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_relay_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use WebEncryptionKeyResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*WebEncryptionKeyResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_relay_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *WebEncryptionKeyResponse) GetCurve() *Message1 {
|
||
|
if x != nil {
|
||
|
return x.Curve
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *WebEncryptionKeyResponse) GetKey() []byte {
|
||
|
if x != nil {
|
||
|
return x.Key
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_relay_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_relay_proto_rawDesc = []byte{
|
||
|
0x0a, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x72,
|
||
|
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61,
|
||
|
0x79, 0x22, 0x8e, 0x02, 0x0a, 0x1a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x68,
|
||
|
0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||
|
0x12, 0x34, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||
|
0x32, 0x1c, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65,
|
||
|
0x52, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x52, 0x06,
|
||
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32,
|
||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
|
||
|
0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
||
|
0x61, 0x67, 0x65, 0x32, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x12, 0x1e, 0x0a, 0x0a,
|
||
|
0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
||
|
0x52, 0x0a, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06,
|
||
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69,
|
||
|
0x65, 0x6c, 0x64, 0x34, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x35, 0x18, 0x05,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50,
|
||
|
0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||
|
0x65, 0x33, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x35, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69,
|
||
|
0x65, 0x6c, 0x64, 0x36, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c,
|
||
|
0x64, 0x36, 0x22, 0x22, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12, 0x16,
|
||
|
0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||
|
0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x22, 0x52, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||
|
0x65, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69,
|
||
|
0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c,
|
||
|
0x64, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x33, 0x18, 0x03, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x33, 0x22, 0x3a, 0x0a, 0x08, 0x4d, 0x65,
|
||
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x70, 0x63, 0x4b, 0x65, 0x79,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x70, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x16,
|
||
|
0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x22, 0x87, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x66, 0x72, 0x65,
|
||
|
0x73, 0x68, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70,
|
||
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50,
|
||
|
0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||
|
0x65, 0x31, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61,
|
||
|
0x69, 0x72, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x69,
|
||
|
0x72, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x6f, 0x72,
|
||
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x46, 0x6f, 0x72,
|
||
|
0x22, 0x60, 0x0a, 0x18, 0x57, 0x65, 0x62, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f,
|
||
|
0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05,
|
||
|
0x63, 0x75, 0x72, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x65,
|
||
|
0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79,
|
||
|
0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x52, 0x05, 0x63, 0x75, 0x72, 0x76, 0x65,
|
||
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b,
|
||
|
0x65, 0x79, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2e, 0x2f, 0x2e, 0x2e, 0x2f, 0x62, 0x69, 0x6e, 0x61,
|
||
|
0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_relay_proto_rawDescOnce sync.Once
|
||
|
file_relay_proto_rawDescData = file_relay_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_relay_proto_rawDescGZIP() []byte {
|
||
|
file_relay_proto_rawDescOnce.Do(func() {
|
||
|
file_relay_proto_rawDescData = protoimpl.X.CompressGZIP(file_relay_proto_rawDescData)
|
||
|
})
|
||
|
return file_relay_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_relay_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||
|
var file_relay_proto_goTypes = []interface{}{
|
||
|
(*RegisterPhoneRelayResponse)(nil), // 0: registerPhoneRelay.RegisterPhoneRelayResponse
|
||
|
(*Message1)(nil), // 1: registerPhoneRelay.Message1
|
||
|
(*Message2)(nil), // 2: registerPhoneRelay.Message2
|
||
|
(*Message3)(nil), // 3: registerPhoneRelay.Message3
|
||
|
(*RefreshPhoneRelayResponse)(nil), // 4: registerPhoneRelay.RefreshPhoneRelayResponse
|
||
|
(*WebEncryptionKeyResponse)(nil), // 5: registerPhoneRelay.WebEncryptionKeyResponse
|
||
|
}
|
||
|
var file_relay_proto_depIdxs = []int32{
|
||
|
1, // 0: registerPhoneRelay.RegisterPhoneRelayResponse.field1:type_name -> registerPhoneRelay.Message1
|
||
|
2, // 1: registerPhoneRelay.RegisterPhoneRelayResponse.field2:type_name -> registerPhoneRelay.Message2
|
||
|
3, // 2: registerPhoneRelay.RegisterPhoneRelayResponse.field5:type_name -> registerPhoneRelay.Message3
|
||
|
1, // 3: registerPhoneRelay.RefreshPhoneRelayResponse.field1:type_name -> registerPhoneRelay.Message1
|
||
|
1, // 4: registerPhoneRelay.WebEncryptionKeyResponse.curve:type_name -> registerPhoneRelay.Message1
|
||
|
5, // [5:5] is the sub-list for method output_type
|
||
|
5, // [5:5] is the sub-list for method input_type
|
||
|
5, // [5:5] is the sub-list for extension type_name
|
||
|
5, // [5:5] is the sub-list for extension extendee
|
||
|
0, // [0:5] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_relay_proto_init() }
|
||
|
func file_relay_proto_init() {
|
||
|
if File_relay_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_relay_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RegisterPhoneRelayResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_relay_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Message1); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_relay_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Message2); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_relay_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Message3); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_relay_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RefreshPhoneRelayResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_relay_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*WebEncryptionKeyResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_relay_proto_rawDesc,
|
||
|
NumEnums: 0,
|
||
|
NumMessages: 6,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_relay_proto_goTypes,
|
||
|
DependencyIndexes: file_relay_proto_depIdxs,
|
||
|
MessageInfos: file_relay_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_relay_proto = out.File
|
||
|
file_relay_proto_rawDesc = nil
|
||
|
file_relay_proto_goTypes = nil
|
||
|
file_relay_proto_depIdxs = nil
|
||
|
}
|