gmessages/libgm/binary/authentication.pb.go
2023-07-17 02:06:35 +03:00

855 lines
23 KiB
Go
Generated

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.12
// source: authentication.proto
package binary
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "embed"
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 BrowserDetails struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserAgent string `protobuf:"bytes,1,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
BrowserType BrowserTypes `protobuf:"varint,2,opt,name=browserType,proto3,enum=client.BrowserTypes" json:"browserType,omitempty"`
OS string `protobuf:"bytes,3,opt,name=OS,proto3" json:"OS,omitempty"`
SomeBool bool `protobuf:"varint,6,opt,name=someBool,proto3" json:"someBool,omitempty"`
}
func (x *BrowserDetails) Reset() {
*x = BrowserDetails{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BrowserDetails) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BrowserDetails) ProtoMessage() {}
func (x *BrowserDetails) ProtoReflect() protoreflect.Message {
mi := &file_authentication_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 BrowserDetails.ProtoReflect.Descriptor instead.
func (*BrowserDetails) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{0}
}
func (x *BrowserDetails) GetUserAgent() string {
if x != nil {
return x.UserAgent
}
return ""
}
func (x *BrowserDetails) GetBrowserType() BrowserTypes {
if x != nil {
return x.BrowserType
}
return BrowserTypes_UNKNOWN_BROWSER_TYPE
}
func (x *BrowserDetails) GetOS() string {
if x != nil {
return x.OS
}
return ""
}
func (x *BrowserDetails) GetSomeBool() bool {
if x != nil {
return x.SomeBool
}
return false
}
type AuthenticationContainer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AuthMessage *AuthMessage `protobuf:"bytes,1,opt,name=authMessage,proto3" json:"authMessage,omitempty"`
BrowserDetails *BrowserDetails `protobuf:"bytes,3,opt,name=browserDetails,proto3" json:"browserDetails,omitempty"`
// Types that are assignable to Data:
//
// *AuthenticationContainer_KeyData
// *AuthenticationContainer_DeviceData
Data isAuthenticationContainer_Data `protobuf_oneof:"data"`
}
func (x *AuthenticationContainer) Reset() {
*x = AuthenticationContainer{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AuthenticationContainer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthenticationContainer) ProtoMessage() {}
func (x *AuthenticationContainer) ProtoReflect() protoreflect.Message {
mi := &file_authentication_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 AuthenticationContainer.ProtoReflect.Descriptor instead.
func (*AuthenticationContainer) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{1}
}
func (x *AuthenticationContainer) GetAuthMessage() *AuthMessage {
if x != nil {
return x.AuthMessage
}
return nil
}
func (x *AuthenticationContainer) GetBrowserDetails() *BrowserDetails {
if x != nil {
return x.BrowserDetails
}
return nil
}
func (m *AuthenticationContainer) GetData() isAuthenticationContainer_Data {
if m != nil {
return m.Data
}
return nil
}
func (x *AuthenticationContainer) GetKeyData() *KeyData {
if x, ok := x.GetData().(*AuthenticationContainer_KeyData); ok {
return x.KeyData
}
return nil
}
func (x *AuthenticationContainer) GetDeviceData() *CurrentDeviceData {
if x, ok := x.GetData().(*AuthenticationContainer_DeviceData); ok {
return x.DeviceData
}
return nil
}
type isAuthenticationContainer_Data interface {
isAuthenticationContainer_Data()
}
type AuthenticationContainer_KeyData struct {
KeyData *KeyData `protobuf:"bytes,4,opt,name=keyData,proto3,oneof"`
}
type AuthenticationContainer_DeviceData struct {
DeviceData *CurrentDeviceData `protobuf:"bytes,5,opt,name=deviceData,proto3,oneof"`
}
func (*AuthenticationContainer_KeyData) isAuthenticationContainer_Data() {}
func (*AuthenticationContainer_DeviceData) isAuthenticationContainer_Data() {}
type ECDSAKeys struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Field1 int64 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` // idk?
EncryptedKeys []byte `protobuf:"bytes,2,opt,name=encryptedKeys,proto3" json:"encryptedKeys,omitempty"`
}
func (x *ECDSAKeys) Reset() {
*x = ECDSAKeys{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ECDSAKeys) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ECDSAKeys) ProtoMessage() {}
func (x *ECDSAKeys) ProtoReflect() protoreflect.Message {
mi := &file_authentication_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 ECDSAKeys.ProtoReflect.Descriptor instead.
func (*ECDSAKeys) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{2}
}
func (x *ECDSAKeys) GetField1() int64 {
if x != nil {
return x.Field1
}
return 0
}
func (x *ECDSAKeys) GetEncryptedKeys() []byte {
if x != nil {
return x.EncryptedKeys
}
return nil
}
type KeyData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Mobile *Device `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
EcdsaKeys *ECDSAKeys `protobuf:"bytes,6,opt,name=ecdsaKeys,proto3" json:"ecdsaKeys,omitempty"`
WebAuthKeyData *WebAuthKey `protobuf:"bytes,2,opt,name=webAuthKeyData,proto3" json:"webAuthKeyData,omitempty"`
Browser *Device `protobuf:"bytes,3,opt,name=browser,proto3" json:"browser,omitempty"`
}
func (x *KeyData) Reset() {
*x = KeyData{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *KeyData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*KeyData) ProtoMessage() {}
func (x *KeyData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_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 KeyData.ProtoReflect.Descriptor instead.
func (*KeyData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{3}
}
func (x *KeyData) GetMobile() *Device {
if x != nil {
return x.Mobile
}
return nil
}
func (x *KeyData) GetEcdsaKeys() *ECDSAKeys {
if x != nil {
return x.EcdsaKeys
}
return nil
}
func (x *KeyData) GetWebAuthKeyData() *WebAuthKey {
if x != nil {
return x.WebAuthKeyData
}
return nil
}
func (x *KeyData) GetBrowser() *Device {
if x != nil {
return x.Browser
}
return nil
}
type WebAuthKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
WebAuthKey []byte `protobuf:"bytes,1,opt,name=webAuthKey,proto3" json:"webAuthKey,omitempty"`
ValidFor int64 `protobuf:"varint,2,opt,name=validFor,proto3" json:"validFor,omitempty"`
}
func (x *WebAuthKey) Reset() {
*x = WebAuthKey{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WebAuthKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebAuthKey) ProtoMessage() {}
func (x *WebAuthKey) ProtoReflect() protoreflect.Message {
mi := &file_authentication_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 WebAuthKey.ProtoReflect.Descriptor instead.
func (*WebAuthKey) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{4}
}
func (x *WebAuthKey) GetWebAuthKey() []byte {
if x != nil {
return x.WebAuthKey
}
return nil
}
func (x *WebAuthKey) GetValidFor() int64 {
if x != nil {
return x.ValidFor
}
return 0
}
type CurrentDeviceData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Browser *Device `protobuf:"bytes,1,opt,name=browser,proto3" json:"browser,omitempty"`
}
func (x *CurrentDeviceData) Reset() {
*x = CurrentDeviceData{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CurrentDeviceData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CurrentDeviceData) ProtoMessage() {}
func (x *CurrentDeviceData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_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 CurrentDeviceData.ProtoReflect.Descriptor instead.
func (*CurrentDeviceData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{5}
}
func (x *CurrentDeviceData) GetBrowser() *Device {
if x != nil {
return x.Browser
}
return nil
}
type URLData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PairingKey []byte `protobuf:"bytes,1,opt,name=pairingKey,proto3" json:"pairingKey,omitempty"`
AESKey []byte `protobuf:"bytes,2,opt,name=AESKey,proto3" json:"AESKey,omitempty"`
HMACKey []byte `protobuf:"bytes,3,opt,name=HMACKey,proto3" json:"HMACKey,omitempty"`
}
func (x *URLData) Reset() {
*x = URLData{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *URLData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*URLData) ProtoMessage() {}
func (x *URLData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[6]
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 URLData.ProtoReflect.Descriptor instead.
func (*URLData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{6}
}
func (x *URLData) GetPairingKey() []byte {
if x != nil {
return x.PairingKey
}
return nil
}
func (x *URLData) GetAESKey() []byte {
if x != nil {
return x.AESKey
}
return nil
}
func (x *URLData) GetHMACKey() []byte {
if x != nil {
return x.HMACKey
}
return nil
}
type TokenData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
TTL int64 `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
}
func (x *TokenData) Reset() {
*x = TokenData{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TokenData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TokenData) ProtoMessage() {}
func (x *TokenData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[7]
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 TokenData.ProtoReflect.Descriptor instead.
func (*TokenData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{7}
}
func (x *TokenData) GetTachyonAuthToken() []byte {
if x != nil {
return x.TachyonAuthToken
}
return nil
}
func (x *TokenData) GetTTL() int64 {
if x != nil {
return x.TTL
}
return 0
}
type PairedData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Mobile *Device `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
TokenData *TokenData `protobuf:"bytes,2,opt,name=tokenData,proto3" json:"tokenData,omitempty"`
Browser *Device `protobuf:"bytes,3,opt,name=browser,proto3" json:"browser,omitempty"`
}
func (x *PairedData) Reset() {
*x = PairedData{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PairedData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PairedData) ProtoMessage() {}
func (x *PairedData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[8]
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 PairedData.ProtoReflect.Descriptor instead.
func (*PairedData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{8}
}
func (x *PairedData) GetMobile() *Device {
if x != nil {
return x.Mobile
}
return nil
}
func (x *PairedData) GetTokenData() *TokenData {
if x != nil {
return x.TokenData
}
return nil
}
func (x *PairedData) GetBrowser() *Device {
if x != nil {
return x.Browser
}
return nil
}
type RevokePairData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RevokedDevice *Device `protobuf:"bytes,1,opt,name=revokedDevice,proto3" json:"revokedDevice,omitempty"`
}
func (x *RevokePairData) Reset() {
*x = RevokePairData{}
if protoimpl.UnsafeEnabled {
mi := &file_authentication_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RevokePairData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevokePairData) ProtoMessage() {}
func (x *RevokePairData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[9]
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 RevokePairData.ProtoReflect.Descriptor instead.
func (*RevokePairData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{9}
}
func (x *RevokePairData) GetRevokedDevice() *Device {
if x != nil {
return x.RevokedDevice
}
return nil
}
var File_authentication_proto protoreflect.FileDescriptor
//go:embed authentication.pb.raw
var file_authentication_proto_rawDesc []byte
var (
file_authentication_proto_rawDescOnce sync.Once
file_authentication_proto_rawDescData = file_authentication_proto_rawDesc
)
func file_authentication_proto_rawDescGZIP() []byte {
file_authentication_proto_rawDescOnce.Do(func() {
file_authentication_proto_rawDescData = protoimpl.X.CompressGZIP(file_authentication_proto_rawDescData)
})
return file_authentication_proto_rawDescData
}
var file_authentication_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_authentication_proto_goTypes = []interface{}{
(*BrowserDetails)(nil), // 0: authentication.BrowserDetails
(*AuthenticationContainer)(nil), // 1: authentication.AuthenticationContainer
(*ECDSAKeys)(nil), // 2: authentication.ECDSAKeys
(*KeyData)(nil), // 3: authentication.KeyData
(*WebAuthKey)(nil), // 4: authentication.WebAuthKey
(*CurrentDeviceData)(nil), // 5: authentication.CurrentDeviceData
(*URLData)(nil), // 6: authentication.URLData
(*TokenData)(nil), // 7: authentication.TokenData
(*PairedData)(nil), // 8: authentication.PairedData
(*RevokePairData)(nil), // 9: authentication.RevokePairData
(BrowserTypes)(0), // 10: client.BrowserTypes
(*AuthMessage)(nil), // 11: messages.AuthMessage
(*Device)(nil), // 12: messages.Device
}
var file_authentication_proto_depIdxs = []int32{
10, // 0: authentication.BrowserDetails.browserType:type_name -> client.BrowserTypes
11, // 1: authentication.AuthenticationContainer.authMessage:type_name -> messages.AuthMessage
0, // 2: authentication.AuthenticationContainer.browserDetails:type_name -> authentication.BrowserDetails
3, // 3: authentication.AuthenticationContainer.keyData:type_name -> authentication.KeyData
5, // 4: authentication.AuthenticationContainer.deviceData:type_name -> authentication.CurrentDeviceData
12, // 5: authentication.KeyData.mobile:type_name -> messages.Device
2, // 6: authentication.KeyData.ecdsaKeys:type_name -> authentication.ECDSAKeys
4, // 7: authentication.KeyData.webAuthKeyData:type_name -> authentication.WebAuthKey
12, // 8: authentication.KeyData.browser:type_name -> messages.Device
12, // 9: authentication.CurrentDeviceData.browser:type_name -> messages.Device
12, // 10: authentication.PairedData.mobile:type_name -> messages.Device
7, // 11: authentication.PairedData.tokenData:type_name -> authentication.TokenData
12, // 12: authentication.PairedData.browser:type_name -> messages.Device
12, // 13: authentication.RevokePairData.revokedDevice:type_name -> messages.Device
14, // [14:14] is the sub-list for method output_type
14, // [14:14] is the sub-list for method input_type
14, // [14:14] is the sub-list for extension type_name
14, // [14:14] is the sub-list for extension extendee
0, // [0:14] is the sub-list for field type_name
}
func init() { file_authentication_proto_init() }
func file_authentication_proto_init() {
if File_authentication_proto != nil {
return
}
file_messages_proto_init()
file_client_proto_init()
if !protoimpl.UnsafeEnabled {
file_authentication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BrowserDetails); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AuthenticationContainer); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ECDSAKeys); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*KeyData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WebAuthKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CurrentDeviceData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*URLData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TokenData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PairedData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_authentication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RevokePairData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_authentication_proto_msgTypes[1].OneofWrappers = []interface{}{
(*AuthenticationContainer_KeyData)(nil),
(*AuthenticationContainer_DeviceData)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_authentication_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_authentication_proto_goTypes,
DependencyIndexes: file_authentication_proto_depIdxs,
MessageInfos: file_authentication_proto_msgTypes,
}.Build()
File_authentication_proto = out.File
file_authentication_proto_rawDesc = nil
file_authentication_proto_goTypes = nil
file_authentication_proto_depIdxs = nil
}