// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.30.0 // protoc v3.21.12 // source: authentication.proto package gmproto 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 BrowserType int32 const ( BrowserType_UNKNOWN_BROWSER_TYPE BrowserType = 0 BrowserType_OTHER BrowserType = 1 BrowserType_CHROME BrowserType = 2 BrowserType_FIREFOX BrowserType = 3 BrowserType_SAFARI BrowserType = 4 BrowserType_OPERA BrowserType = 5 BrowserType_IE BrowserType = 6 BrowserType_EDGE BrowserType = 7 ) // Enum value maps for BrowserType. var ( BrowserType_name = map[int32]string{ 0: "UNKNOWN_BROWSER_TYPE", 1: "OTHER", 2: "CHROME", 3: "FIREFOX", 4: "SAFARI", 5: "OPERA", 6: "IE", 7: "EDGE", } BrowserType_value = map[string]int32{ "UNKNOWN_BROWSER_TYPE": 0, "OTHER": 1, "CHROME": 2, "FIREFOX": 3, "SAFARI": 4, "OPERA": 5, "IE": 6, "EDGE": 7, } ) func (x BrowserType) Enum() *BrowserType { p := new(BrowserType) *p = x return p } func (x BrowserType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (BrowserType) Descriptor() protoreflect.EnumDescriptor { return file_authentication_proto_enumTypes[0].Descriptor() } func (BrowserType) Type() protoreflect.EnumType { return &file_authentication_proto_enumTypes[0] } func (x BrowserType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use BrowserType.Descriptor instead. func (BrowserType) EnumDescriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{0} } type DeviceType int32 const ( DeviceType_UNKNOWN_DEVICE_TYPE DeviceType = 0 DeviceType_WEB DeviceType = 1 DeviceType_TABLET DeviceType = 2 DeviceType_PWA DeviceType = 3 ) // Enum value maps for DeviceType. var ( DeviceType_name = map[int32]string{ 0: "UNKNOWN_DEVICE_TYPE", 1: "WEB", 2: "TABLET", 3: "PWA", } DeviceType_value = map[string]int32{ "UNKNOWN_DEVICE_TYPE": 0, "WEB": 1, "TABLET": 2, "PWA": 3, } ) func (x DeviceType) Enum() *DeviceType { p := new(DeviceType) *p = x return p } func (x DeviceType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (DeviceType) Descriptor() protoreflect.EnumDescriptor { return file_authentication_proto_enumTypes[1].Descriptor() } func (DeviceType) Type() protoreflect.EnumType { return &file_authentication_proto_enumTypes[1] } func (x DeviceType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use DeviceType.Descriptor instead. func (DeviceType) EnumDescriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{1} } 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 BrowserType `protobuf:"varint,2,opt,name=browserType,proto3,enum=authentication.BrowserType" json:"browserType,omitempty"` OS string `protobuf:"bytes,3,opt,name=OS,proto3" json:"OS,omitempty"` DeviceType DeviceType `protobuf:"varint,6,opt,name=deviceType,proto3,enum=authentication.DeviceType" json:"deviceType,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() BrowserType { if x != nil { return x.BrowserType } return BrowserType_UNKNOWN_BROWSER_TYPE } func (x *BrowserDetails) GetOS() string { if x != nil { return x.OS } return "" } func (x *BrowserDetails) GetDeviceType() DeviceType { if x != nil { return x.DeviceType } return DeviceType_UNKNOWN_DEVICE_TYPE } type Device struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"` SourceID string `protobuf:"bytes,2,opt,name=sourceID,proto3" json:"sourceID,omitempty"` Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` } func (x *Device) Reset() { *x = Device{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Device) String() string { return protoimpl.X.MessageStringOf(x) } func (*Device) ProtoMessage() {} func (x *Device) 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 Device.ProtoReflect.Descriptor instead. func (*Device) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{1} } func (x *Device) GetUserID() int64 { if x != nil { return x.UserID } return 0 } func (x *Device) GetSourceID() string { if x != nil { return x.SourceID } return "" } func (x *Device) GetNetwork() string { if x != nil { return x.Network } return "" } type ConfigVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Year int32 `protobuf:"varint,3,opt,name=Year,proto3" json:"Year,omitempty"` Month int32 `protobuf:"varint,4,opt,name=Month,proto3" json:"Month,omitempty"` Day int32 `protobuf:"varint,5,opt,name=Day,proto3" json:"Day,omitempty"` V1 int32 `protobuf:"varint,7,opt,name=V1,proto3" json:"V1,omitempty"` V2 int32 `protobuf:"varint,9,opt,name=V2,proto3" json:"V2,omitempty"` } func (x *ConfigVersion) Reset() { *x = ConfigVersion{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ConfigVersion) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfigVersion) ProtoMessage() {} func (x *ConfigVersion) 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 ConfigVersion.ProtoReflect.Descriptor instead. func (*ConfigVersion) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{2} } func (x *ConfigVersion) GetYear() int32 { if x != nil { return x.Year } return 0 } func (x *ConfigVersion) GetMonth() int32 { if x != nil { return x.Month } return 0 } func (x *ConfigVersion) GetDay() int32 { if x != nil { return x.Day } return 0 } func (x *ConfigVersion) GetV1() int32 { if x != nil { return x.V1 } return 0 } func (x *ConfigVersion) GetV2() int32 { if x != nil { return x.V2 } return 0 } 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[3] 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[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 AuthenticationContainer.ProtoReflect.Descriptor instead. func (*AuthenticationContainer) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{3} } 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 AuthMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"` Network *string `protobuf:"bytes,3,opt,name=network,proto3,oneof" json:"network,omitempty"` TachyonAuthToken []byte `protobuf:"bytes,6,opt,name=tachyonAuthToken,proto3,oneof" json:"tachyonAuthToken,omitempty"` ConfigVersion *ConfigVersion `protobuf:"bytes,7,opt,name=configVersion,proto3" json:"configVersion,omitempty"` } func (x *AuthMessage) Reset() { *x = AuthMessage{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AuthMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*AuthMessage) ProtoMessage() {} func (x *AuthMessage) 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 AuthMessage.ProtoReflect.Descriptor instead. func (*AuthMessage) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{4} } func (x *AuthMessage) GetRequestID() string { if x != nil { return x.RequestID } return "" } func (x *AuthMessage) GetNetwork() string { if x != nil && x.Network != nil { return *x.Network } return "" } func (x *AuthMessage) GetTachyonAuthToken() []byte { if x != nil { return x.TachyonAuthToken } return nil } func (x *AuthMessage) GetConfigVersion() *ConfigVersion { if x != nil { return x.ConfigVersion } return nil } type RevokeRelayPairingRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AuthMessage *AuthMessage `protobuf:"bytes,1,opt,name=authMessage,proto3" json:"authMessage,omitempty"` Browser *Device `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"` } func (x *RevokeRelayPairingRequest) Reset() { *x = RevokeRelayPairingRequest{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RevokeRelayPairingRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RevokeRelayPairingRequest) ProtoMessage() {} func (x *RevokeRelayPairingRequest) 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 RevokeRelayPairingRequest.ProtoReflect.Descriptor instead. func (*RevokeRelayPairingRequest) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{5} } func (x *RevokeRelayPairingRequest) GetAuthMessage() *AuthMessage { if x != nil { return x.AuthMessage } return nil } func (x *RevokeRelayPairingRequest) GetBrowser() *Device { if x != nil { return x.Browser } return nil } type RevokeRelayPairingResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *RevokeRelayPairingResponse) Reset() { *x = RevokeRelayPairingResponse{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RevokeRelayPairingResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RevokeRelayPairingResponse) ProtoMessage() {} func (x *RevokeRelayPairingResponse) 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 RevokeRelayPairingResponse.ProtoReflect.Descriptor instead. func (*RevokeRelayPairingResponse) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{6} } type RegisterRefreshRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields MessageAuth *AuthMessage `protobuf:"bytes,1,opt,name=messageAuth,proto3" json:"messageAuth,omitempty"` CurrBrowserDevice *Device `protobuf:"bytes,2,opt,name=currBrowserDevice,proto3" json:"currBrowserDevice,omitempty"` UnixTimestamp int64 `protobuf:"varint,3,opt,name=unixTimestamp,proto3" json:"unixTimestamp,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` EmptyRefreshArr *RegisterRefreshRequest_NestedEmptyArr `protobuf:"bytes,13,opt,name=emptyRefreshArr,proto3" json:"emptyRefreshArr,omitempty"` MessageType int32 `protobuf:"varint,16,opt,name=messageType,proto3" json:"messageType,omitempty"` } func (x *RegisterRefreshRequest) Reset() { *x = RegisterRefreshRequest{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterRefreshRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterRefreshRequest) ProtoMessage() {} func (x *RegisterRefreshRequest) 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 RegisterRefreshRequest.ProtoReflect.Descriptor instead. func (*RegisterRefreshRequest) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{7} } func (x *RegisterRefreshRequest) GetMessageAuth() *AuthMessage { if x != nil { return x.MessageAuth } return nil } func (x *RegisterRefreshRequest) GetCurrBrowserDevice() *Device { if x != nil { return x.CurrBrowserDevice } return nil } func (x *RegisterRefreshRequest) GetUnixTimestamp() int64 { if x != nil { return x.UnixTimestamp } return 0 } func (x *RegisterRefreshRequest) GetSignature() []byte { if x != nil { return x.Signature } return nil } func (x *RegisterRefreshRequest) GetEmptyRefreshArr() *RegisterRefreshRequest_NestedEmptyArr { if x != nil { return x.EmptyRefreshArr } return nil } func (x *RegisterRefreshRequest) GetMessageType() int32 { if x != nil { return x.MessageType } return 0 } type RegisterRefreshResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TokenData *RegisterRefreshResponse_AuthKeyData `protobuf:"bytes,2,opt,name=tokenData,proto3" json:"tokenData,omitempty"` } func (x *RegisterRefreshResponse) Reset() { *x = RegisterRefreshResponse{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterRefreshResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterRefreshResponse) ProtoMessage() {} func (x *RegisterRefreshResponse) 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 RegisterRefreshResponse.ProtoReflect.Descriptor instead. func (*RegisterRefreshResponse) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{8} } func (x *RegisterRefreshResponse) GetTokenData() *RegisterRefreshResponse_AuthKeyData { if x != nil { return x.TokenData } return nil } type RegisterPhoneRelayResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"` Browser *Device `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"` PairingKey []byte `protobuf:"bytes,3,opt,name=pairingKey,proto3" json:"pairingKey,omitempty"` ValidFor int64 `protobuf:"varint,4,opt,name=validFor,proto3" json:"validFor,omitempty"` AuthKeyData *RegisterPhoneRelayResponse_AuthKeyData `protobuf:"bytes,5,opt,name=authKeyData,proto3" json:"authKeyData,omitempty"` ResponseID string `protobuf:"bytes,6,opt,name=responseID,proto3" json:"responseID,omitempty"` } func (x *RegisterPhoneRelayResponse) Reset() { *x = RegisterPhoneRelayResponse{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[9] 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_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 RegisterPhoneRelayResponse.ProtoReflect.Descriptor instead. func (*RegisterPhoneRelayResponse) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{9} } func (x *RegisterPhoneRelayResponse) GetCoordinates() *CoordinateMessage { if x != nil { return x.Coordinates } return nil } func (x *RegisterPhoneRelayResponse) GetBrowser() *Device { if x != nil { return x.Browser } return nil } func (x *RegisterPhoneRelayResponse) GetPairingKey() []byte { if x != nil { return x.PairingKey } return nil } func (x *RegisterPhoneRelayResponse) GetValidFor() int64 { if x != nil { return x.ValidFor } return 0 } func (x *RegisterPhoneRelayResponse) GetAuthKeyData() *RegisterPhoneRelayResponse_AuthKeyData { if x != nil { return x.AuthKeyData } return nil } func (x *RegisterPhoneRelayResponse) GetResponseID() string { if x != nil { return x.ResponseID } return "" } type CoordinateMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Coord1 int64 `protobuf:"varint,2,opt,name=coord1,proto3" json:"coord1,omitempty"` } func (x *CoordinateMessage) Reset() { *x = CoordinateMessage{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CoordinateMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*CoordinateMessage) ProtoMessage() {} func (x *CoordinateMessage) ProtoReflect() protoreflect.Message { mi := &file_authentication_proto_msgTypes[10] 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 CoordinateMessage.ProtoReflect.Descriptor instead. func (*CoordinateMessage) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{10} } func (x *CoordinateMessage) GetCoord1() int64 { if x != nil { return x.Coord1 } return 0 } type RefreshPhoneRelayResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,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_authentication_proto_msgTypes[11] 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_authentication_proto_msgTypes[11] 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_authentication_proto_rawDescGZIP(), []int{11} } func (x *RefreshPhoneRelayResponse) GetCoordinates() *CoordinateMessage { if x != nil { return x.Coordinates } 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 Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` } func (x *WebEncryptionKeyResponse) Reset() { *x = WebEncryptionKeyResponse{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[12] 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_authentication_proto_msgTypes[12] 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_authentication_proto_rawDescGZIP(), []int{12} } func (x *WebEncryptionKeyResponse) GetCoordinates() *CoordinateMessage { if x != nil { return x.Coordinates } return nil } func (x *WebEncryptionKeyResponse) GetKey() []byte { if x != nil { return x.Key } return nil } type ErrorResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // 5? Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Class []*ErrorResponse_ErrorClass `protobuf:"bytes,3,rep,name=class,proto3" json:"class,omitempty"` } func (x *ErrorResponse) Reset() { *x = ErrorResponse{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ErrorResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ErrorResponse) ProtoMessage() {} func (x *ErrorResponse) ProtoReflect() protoreflect.Message { mi := &file_authentication_proto_msgTypes[13] 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 ErrorResponse.ProtoReflect.Descriptor instead. func (*ErrorResponse) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{13} } func (x *ErrorResponse) GetType() int64 { if x != nil { return x.Type } return 0 } func (x *ErrorResponse) GetMessage() string { if x != nil { return x.Message } return "" } func (x *ErrorResponse) GetClass() []*ErrorResponse_ErrorClass { if x != nil { return x.Class } return nil } 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[14] 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[14] 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{14} } 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 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[15] 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[15] 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{15} } func (x *CurrentDeviceData) GetBrowser() *Device { if x != nil { return x.Browser } 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[16] 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[16] 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{16} } 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[17] 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[17] 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{17} } 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 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[18] 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[18] 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{18} } 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[19] 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[19] 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{19} } 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[20] 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[20] 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{20} } 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[21] 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[21] 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{21} } func (x *RevokePairData) GetRevokedDevice() *Device { if x != nil { return x.RevokedDevice } return nil } type RegisterRefreshRequest_NestedEmptyArr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EmptyArr *EmptyArr `protobuf:"bytes,9,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"` } func (x *RegisterRefreshRequest_NestedEmptyArr) Reset() { *x = RegisterRefreshRequest_NestedEmptyArr{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterRefreshRequest_NestedEmptyArr) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterRefreshRequest_NestedEmptyArr) ProtoMessage() {} func (x *RegisterRefreshRequest_NestedEmptyArr) ProtoReflect() protoreflect.Message { mi := &file_authentication_proto_msgTypes[22] 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 RegisterRefreshRequest_NestedEmptyArr.ProtoReflect.Descriptor instead. func (*RegisterRefreshRequest_NestedEmptyArr) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{7, 0} } func (x *RegisterRefreshRequest_NestedEmptyArr) GetEmptyArr() *EmptyArr { if x != nil { return x.EmptyArr } return nil } type RegisterRefreshResponse_AuthKeyData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"` ValidFor string `protobuf:"bytes,2,opt,name=validFor,proto3" json:"validFor,omitempty"` } func (x *RegisterRefreshResponse_AuthKeyData) Reset() { *x = RegisterRefreshResponse_AuthKeyData{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterRefreshResponse_AuthKeyData) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterRefreshResponse_AuthKeyData) ProtoMessage() {} func (x *RegisterRefreshResponse_AuthKeyData) ProtoReflect() protoreflect.Message { mi := &file_authentication_proto_msgTypes[23] 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 RegisterRefreshResponse_AuthKeyData.ProtoReflect.Descriptor instead. func (*RegisterRefreshResponse_AuthKeyData) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{8, 0} } func (x *RegisterRefreshResponse_AuthKeyData) GetTachyonAuthToken() []byte { if x != nil { return x.TachyonAuthToken } return nil } func (x *RegisterRefreshResponse_AuthKeyData) GetValidFor() string { if x != nil { return x.ValidFor } return "" } type RegisterPhoneRelayResponse_AuthKeyData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"` ValidFor int64 `protobuf:"varint,2,opt,name=validFor,proto3" json:"validFor,omitempty"` } func (x *RegisterPhoneRelayResponse_AuthKeyData) Reset() { *x = RegisterPhoneRelayResponse_AuthKeyData{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterPhoneRelayResponse_AuthKeyData) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterPhoneRelayResponse_AuthKeyData) ProtoMessage() {} func (x *RegisterPhoneRelayResponse_AuthKeyData) ProtoReflect() protoreflect.Message { mi := &file_authentication_proto_msgTypes[24] 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_AuthKeyData.ProtoReflect.Descriptor instead. func (*RegisterPhoneRelayResponse_AuthKeyData) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{9, 0} } func (x *RegisterPhoneRelayResponse_AuthKeyData) GetTachyonAuthToken() []byte { if x != nil { return x.TachyonAuthToken } return nil } func (x *RegisterPhoneRelayResponse_AuthKeyData) GetValidFor() int64 { if x != nil { return x.ValidFor } return 0 } type ErrorResponse_ErrorClass struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` // 2: {1: 1} } func (x *ErrorResponse_ErrorClass) Reset() { *x = ErrorResponse_ErrorClass{} if protoimpl.UnsafeEnabled { mi := &file_authentication_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ErrorResponse_ErrorClass) String() string { return protoimpl.X.MessageStringOf(x) } func (*ErrorResponse_ErrorClass) ProtoMessage() {} func (x *ErrorResponse_ErrorClass) ProtoReflect() protoreflect.Message { mi := &file_authentication_proto_msgTypes[25] 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 ErrorResponse_ErrorClass.ProtoReflect.Descriptor instead. func (*ErrorResponse_ErrorClass) Descriptor() ([]byte, []int) { return file_authentication_proto_rawDescGZIP(), []int{13, 0} } func (x *ErrorResponse_ErrorClass) GetClass() string { if x != nil { return x.Class } return "" } 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_enumTypes = make([]protoimpl.EnumInfo, 2) var file_authentication_proto_msgTypes = make([]protoimpl.MessageInfo, 26) var file_authentication_proto_goTypes = []interface{}{ (BrowserType)(0), // 0: authentication.BrowserType (DeviceType)(0), // 1: authentication.DeviceType (*BrowserDetails)(nil), // 2: authentication.BrowserDetails (*Device)(nil), // 3: authentication.Device (*ConfigVersion)(nil), // 4: authentication.ConfigVersion (*AuthenticationContainer)(nil), // 5: authentication.AuthenticationContainer (*AuthMessage)(nil), // 6: authentication.AuthMessage (*RevokeRelayPairingRequest)(nil), // 7: authentication.RevokeRelayPairingRequest (*RevokeRelayPairingResponse)(nil), // 8: authentication.RevokeRelayPairingResponse (*RegisterRefreshRequest)(nil), // 9: authentication.RegisterRefreshRequest (*RegisterRefreshResponse)(nil), // 10: authentication.RegisterRefreshResponse (*RegisterPhoneRelayResponse)(nil), // 11: authentication.RegisterPhoneRelayResponse (*CoordinateMessage)(nil), // 12: authentication.CoordinateMessage (*RefreshPhoneRelayResponse)(nil), // 13: authentication.RefreshPhoneRelayResponse (*WebEncryptionKeyResponse)(nil), // 14: authentication.WebEncryptionKeyResponse (*ErrorResponse)(nil), // 15: authentication.ErrorResponse (*ECDSAKeys)(nil), // 16: authentication.ECDSAKeys (*CurrentDeviceData)(nil), // 17: authentication.CurrentDeviceData (*KeyData)(nil), // 18: authentication.KeyData (*WebAuthKey)(nil), // 19: authentication.WebAuthKey (*URLData)(nil), // 20: authentication.URLData (*TokenData)(nil), // 21: authentication.TokenData (*PairedData)(nil), // 22: authentication.PairedData (*RevokePairData)(nil), // 23: authentication.RevokePairData (*RegisterRefreshRequest_NestedEmptyArr)(nil), // 24: authentication.RegisterRefreshRequest.NestedEmptyArr (*RegisterRefreshResponse_AuthKeyData)(nil), // 25: authentication.RegisterRefreshResponse.AuthKeyData (*RegisterPhoneRelayResponse_AuthKeyData)(nil), // 26: authentication.RegisterPhoneRelayResponse.AuthKeyData (*ErrorResponse_ErrorClass)(nil), // 27: authentication.ErrorResponse.ErrorClass (*EmptyArr)(nil), // 28: util.EmptyArr } var file_authentication_proto_depIdxs = []int32{ 0, // 0: authentication.BrowserDetails.browserType:type_name -> authentication.BrowserType 1, // 1: authentication.BrowserDetails.deviceType:type_name -> authentication.DeviceType 6, // 2: authentication.AuthenticationContainer.authMessage:type_name -> authentication.AuthMessage 2, // 3: authentication.AuthenticationContainer.browserDetails:type_name -> authentication.BrowserDetails 18, // 4: authentication.AuthenticationContainer.keyData:type_name -> authentication.KeyData 17, // 5: authentication.AuthenticationContainer.deviceData:type_name -> authentication.CurrentDeviceData 4, // 6: authentication.AuthMessage.configVersion:type_name -> authentication.ConfigVersion 6, // 7: authentication.RevokeRelayPairingRequest.authMessage:type_name -> authentication.AuthMessage 3, // 8: authentication.RevokeRelayPairingRequest.browser:type_name -> authentication.Device 6, // 9: authentication.RegisterRefreshRequest.messageAuth:type_name -> authentication.AuthMessage 3, // 10: authentication.RegisterRefreshRequest.currBrowserDevice:type_name -> authentication.Device 24, // 11: authentication.RegisterRefreshRequest.emptyRefreshArr:type_name -> authentication.RegisterRefreshRequest.NestedEmptyArr 25, // 12: authentication.RegisterRefreshResponse.tokenData:type_name -> authentication.RegisterRefreshResponse.AuthKeyData 12, // 13: authentication.RegisterPhoneRelayResponse.coordinates:type_name -> authentication.CoordinateMessage 3, // 14: authentication.RegisterPhoneRelayResponse.browser:type_name -> authentication.Device 26, // 15: authentication.RegisterPhoneRelayResponse.authKeyData:type_name -> authentication.RegisterPhoneRelayResponse.AuthKeyData 12, // 16: authentication.RefreshPhoneRelayResponse.coordinates:type_name -> authentication.CoordinateMessage 12, // 17: authentication.WebEncryptionKeyResponse.coordinates:type_name -> authentication.CoordinateMessage 27, // 18: authentication.ErrorResponse.class:type_name -> authentication.ErrorResponse.ErrorClass 3, // 19: authentication.CurrentDeviceData.browser:type_name -> authentication.Device 3, // 20: authentication.KeyData.mobile:type_name -> authentication.Device 16, // 21: authentication.KeyData.ecdsaKeys:type_name -> authentication.ECDSAKeys 19, // 22: authentication.KeyData.webAuthKeyData:type_name -> authentication.WebAuthKey 3, // 23: authentication.KeyData.browser:type_name -> authentication.Device 3, // 24: authentication.PairedData.mobile:type_name -> authentication.Device 21, // 25: authentication.PairedData.tokenData:type_name -> authentication.TokenData 3, // 26: authentication.PairedData.browser:type_name -> authentication.Device 3, // 27: authentication.RevokePairData.revokedDevice:type_name -> authentication.Device 28, // 28: authentication.RegisterRefreshRequest.NestedEmptyArr.emptyArr:type_name -> util.EmptyArr 29, // [29:29] is the sub-list for method output_type 29, // [29:29] is the sub-list for method input_type 29, // [29:29] is the sub-list for extension type_name 29, // [29:29] is the sub-list for extension extendee 0, // [0:29] 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_util_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.(*Device); 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.(*ConfigVersion); 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.(*AuthenticationContainer); 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.(*AuthMessage); 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.(*RevokeRelayPairingRequest); 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.(*RevokeRelayPairingResponse); 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.(*RegisterRefreshRequest); 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.(*RegisterRefreshResponse); 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.(*RegisterPhoneRelayResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_authentication_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CoordinateMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_authentication_proto_msgTypes[11].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_authentication_proto_msgTypes[12].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 } } file_authentication_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ErrorResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_authentication_proto_msgTypes[14].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[15].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[16].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[17].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[18].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[19].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[20].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[21].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[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterRefreshRequest_NestedEmptyArr); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_authentication_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterRefreshResponse_AuthKeyData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_authentication_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterPhoneRelayResponse_AuthKeyData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_authentication_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ErrorResponse_ErrorClass); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_authentication_proto_msgTypes[3].OneofWrappers = []interface{}{ (*AuthenticationContainer_KeyData)(nil), (*AuthenticationContainer_DeviceData)(nil), } file_authentication_proto_msgTypes[4].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_authentication_proto_rawDesc, NumEnums: 2, NumMessages: 26, NumExtensions: 0, NumServices: 0, }, GoTypes: file_authentication_proto_goTypes, DependencyIndexes: file_authentication_proto_depIdxs, EnumInfos: file_authentication_proto_enumTypes, 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 }