Documentation ¶
Index ¶
- Variables
- type Imsi
- type NationalPhoneNumber
- func (*NationalPhoneNumber) Descriptor() ([]byte, []int)deprecated
- func (x *NationalPhoneNumber) GetNationalPhoneNumber() string
- func (*NationalPhoneNumber) ProtoMessage()
- func (x *NationalPhoneNumber) ProtoReflect() protoreflect.Message
- func (x *NationalPhoneNumber) Reset()
- func (x *NationalPhoneNumber) String() string
- type NetworkIdentity
- func (*NetworkIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkIdentity) GetMcc() string
- func (x *NetworkIdentity) GetMnc() string
- func (*NetworkIdentity) ProtoMessage()
- func (x *NetworkIdentity) ProtoReflect() protoreflect.Message
- func (x *NetworkIdentity) Reset()
- func (x *NetworkIdentity) String() string
- type PhoneNumber
- type TextAddress
Constants ¶
This section is empty.
Variables ¶
View Source
var File_wgtwo_common_v0_phonenumber_proto protoreflect.FileDescriptor
View Source
var File_wgtwo_common_v0_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Imsi ¶ added in v0.1.1
type Imsi struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
International Mobile Subscription Identity An IMSI is composed of three parts:
- Mobile Country Code (MCC) consisting of three digits. The MCC is 3 digits long and identifies uniquely the country of domicile of the mobile subscription;
- Mobile Network Code (MNC), 2 or 3 digits for 3GPP network applications. The MNC identifies the home PLMN of the mobile subscription. The length of the MNC depends on the value of the MCC. A mixture of two and three digit MNC codes within a single MCC area is not recommended.
- Mobile Subscriber Identification Number (MSIN) identifying the mobile subscription within a PLMN. Normally there are 10 digits, but can be fewer in the case of a 3-digit MNC or if national regulations indicate that the total length of the IMSI should be less than 15 digits.
func (*Imsi) Descriptor
deprecated
added in
v0.1.1
func (*Imsi) ProtoMessage ¶ added in v0.1.1
func (*Imsi) ProtoMessage()
func (*Imsi) ProtoReflect ¶ added in v0.1.1
func (x *Imsi) ProtoReflect() protoreflect.Message
type NationalPhoneNumber ¶
type NationalPhoneNumber struct { NationalPhoneNumber string `protobuf:"bytes,1,opt,name=national_phone_number,json=nationalPhoneNumber,proto3" json:"national_phone_number,omitempty"` // contains filtered or unexported fields }
Any phone number that is tied to a specific country. Does not contain the prefix '+' nor a country code.
func (*NationalPhoneNumber) Descriptor
deprecated
func (*NationalPhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use NationalPhoneNumber.ProtoReflect.Descriptor instead.
func (*NationalPhoneNumber) GetNationalPhoneNumber ¶
func (x *NationalPhoneNumber) GetNationalPhoneNumber() string
func (*NationalPhoneNumber) ProtoMessage ¶
func (*NationalPhoneNumber) ProtoMessage()
func (*NationalPhoneNumber) ProtoReflect ¶
func (x *NationalPhoneNumber) ProtoReflect() protoreflect.Message
func (*NationalPhoneNumber) Reset ¶
func (x *NationalPhoneNumber) Reset()
func (*NationalPhoneNumber) String ¶
func (x *NationalPhoneNumber) String() string
type NetworkIdentity ¶ added in v0.1.1
type NetworkIdentity struct { Mcc string `protobuf:"bytes,1,opt,name=mcc,proto3" json:"mcc,omitempty"` Mnc string `protobuf:"bytes,2,opt,name=mnc,proto3" json:"mnc,omitempty"` // contains filtered or unexported fields }
func (*NetworkIdentity) Descriptor
deprecated
added in
v0.1.1
func (*NetworkIdentity) Descriptor() ([]byte, []int)
Deprecated: Use NetworkIdentity.ProtoReflect.Descriptor instead.
func (*NetworkIdentity) GetMcc ¶ added in v0.1.1
func (x *NetworkIdentity) GetMcc() string
func (*NetworkIdentity) GetMnc ¶ added in v0.1.1
func (x *NetworkIdentity) GetMnc() string
func (*NetworkIdentity) ProtoMessage ¶ added in v0.1.1
func (*NetworkIdentity) ProtoMessage()
func (*NetworkIdentity) ProtoReflect ¶ added in v0.1.1
func (x *NetworkIdentity) ProtoReflect() protoreflect.Message
func (*NetworkIdentity) Reset ¶ added in v0.1.1
func (x *NetworkIdentity) Reset()
func (*NetworkIdentity) String ¶ added in v0.1.1
func (x *NetworkIdentity) String() string
type PhoneNumber ¶
type PhoneNumber struct { // Phone number formatted as E.164 with leading plus sign // // This contains of three components: // - The plus prefix // - Country code, max 3 digits // - Subscriber number // // Test your number at https://libphonenumber.appspot.com/ // Example: +12024561111 E164 string `protobuf:"bytes,1,opt,name=e164,proto3" json:"e164,omitempty"` // contains filtered or unexported fields }
func (*PhoneNumber) Descriptor
deprecated
func (*PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use PhoneNumber.ProtoReflect.Descriptor instead.
func (*PhoneNumber) GetE164 ¶
func (x *PhoneNumber) GetE164() string
func (*PhoneNumber) ProtoMessage ¶
func (*PhoneNumber) ProtoMessage()
func (*PhoneNumber) ProtoReflect ¶
func (x *PhoneNumber) ProtoReflect() protoreflect.Message
func (*PhoneNumber) Reset ¶
func (x *PhoneNumber) Reset()
func (*PhoneNumber) String ¶
func (x *PhoneNumber) String() string
type TextAddress ¶
type TextAddress struct { TextAddress string `protobuf:"bytes,1,opt,name=text_address,json=textAddress,proto3" json:"text_address,omitempty"` // contains filtered or unexported fields }
func (*TextAddress) Descriptor
deprecated
func (*TextAddress) Descriptor() ([]byte, []int)
Deprecated: Use TextAddress.ProtoReflect.Descriptor instead.
func (*TextAddress) GetTextAddress ¶
func (x *TextAddress) GetTextAddress() string
func (*TextAddress) ProtoMessage ¶
func (*TextAddress) ProtoMessage()
func (*TextAddress) ProtoReflect ¶
func (x *TextAddress) ProtoReflect() protoreflect.Message
func (*TextAddress) Reset ¶
func (x *TextAddress) Reset()
func (*TextAddress) String ¶
func (x *TextAddress) String() string
Click to show internal directories.
Click to hide internal directories.