Documentation ¶
Index ¶
- Variables
- type Fqdn
- type GlobalTitle
- type Iccid
- 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 NetworkGeneration
- func (NetworkGeneration) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkGeneration) Enum() *NetworkGeneration
- func (NetworkGeneration) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkGeneration) Number() protoreflect.EnumNumber
- func (x NetworkGeneration) String() string
- func (NetworkGeneration) Type() protoreflect.EnumType
- 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 StatusCode
- type SubscriptionIdentifier
- func (*SubscriptionIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionIdentifier) GetTenant() *Tenant
- func (x *SubscriptionIdentifier) GetValue() string
- func (*SubscriptionIdentifier) ProtoMessage()
- func (x *SubscriptionIdentifier) ProtoReflect() protoreflect.Message
- func (x *SubscriptionIdentifier) Reset()
- func (x *SubscriptionIdentifier) String() string
- type Tadig
- type Tenant
- type TextAddress
Constants ¶
This section is empty.
Variables ¶
var ( StatusCode_name = map[int32]string{ 0: "STATUS_CODE_UNSPECIFIED", 1: "STATUS_CODE_OK", 2: "STATUS_CODE_NOT_ACCEPTABLE", 3: "STATUS_CODE_ACCESS_DENIED", 4: "STATUS_CODE_INTERNAL_ERROR", } StatusCode_value = map[string]int32{ "STATUS_CODE_UNSPECIFIED": 0, "STATUS_CODE_OK": 1, "STATUS_CODE_NOT_ACCEPTABLE": 2, "STATUS_CODE_ACCESS_DENIED": 3, "STATUS_CODE_INTERNAL_ERROR": 4, } )
Enum value maps for StatusCode.
var ( NetworkGeneration_name = map[int32]string{ 0: "NETWORK_GENERATION_UNSPECIFIED", 1: "NETWORK_GENERATION_2G", 2: "NETWORK_GENERATION_3G", 3: "NETWORK_GENERATION_4G", 4: "NETWORK_GENERATION_5G", } NetworkGeneration_value = map[string]int32{ "NETWORK_GENERATION_UNSPECIFIED": 0, "NETWORK_GENERATION_2G": 1, "NETWORK_GENERATION_3G": 2, "NETWORK_GENERATION_4G": 3, "NETWORK_GENERATION_5G": 4, } )
Enum value maps for NetworkGeneration.
var File_wgtwo_common_v0_errors_proto protoreflect.FileDescriptor
var File_wgtwo_common_v0_phonenumber_proto protoreflect.FileDescriptor
var File_wgtwo_common_v0_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Fqdn ¶ added in v0.1.3
type Fqdn struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Fully Qualified Domain Name
func (*Fqdn) Descriptor
deprecated
added in
v0.1.3
func (*Fqdn) ProtoMessage ¶ added in v0.1.3
func (*Fqdn) ProtoMessage()
func (*Fqdn) ProtoReflect ¶ added in v0.1.3
func (x *Fqdn) ProtoReflect() protoreflect.Message
type GlobalTitle ¶ added in v0.1.3
type GlobalTitle struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GlobalTitle) Descriptor
deprecated
added in
v0.1.3
func (*GlobalTitle) Descriptor() ([]byte, []int)
Deprecated: Use GlobalTitle.ProtoReflect.Descriptor instead.
func (*GlobalTitle) GetValue ¶ added in v0.1.3
func (x *GlobalTitle) GetValue() string
func (*GlobalTitle) ProtoMessage ¶ added in v0.1.3
func (*GlobalTitle) ProtoMessage()
func (*GlobalTitle) ProtoReflect ¶ added in v0.1.3
func (x *GlobalTitle) ProtoReflect() protoreflect.Message
func (*GlobalTitle) Reset ¶ added in v0.1.3
func (x *GlobalTitle) Reset()
func (*GlobalTitle) String ¶ added in v0.1.3
func (x *GlobalTitle) String() string
type Iccid ¶ added in v0.1.3
type Iccid struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Iccid) Descriptor
deprecated
added in
v0.1.3
func (*Iccid) ProtoMessage ¶ added in v0.1.3
func (*Iccid) ProtoMessage()
func (*Iccid) ProtoReflect ¶ added in v0.1.3
func (x *Iccid) ProtoReflect() protoreflect.Message
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 in combination with the MCC identify the home PLMN of the mobile subscription. The length of the MNC in most cases depends on the value of the MCC. Note that some MCC use a mixture of two and three digit MNC codes.
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 NetworkGeneration ¶ added in v0.1.3
type NetworkGeneration int32
const ( NetworkGeneration_NETWORK_GENERATION_UNSPECIFIED NetworkGeneration = 0 NetworkGeneration_NETWORK_GENERATION_2G NetworkGeneration = 1 NetworkGeneration_NETWORK_GENERATION_3G NetworkGeneration = 2 NetworkGeneration_NETWORK_GENERATION_4G NetworkGeneration = 3 NetworkGeneration_NETWORK_GENERATION_5G NetworkGeneration = 4 )
func (NetworkGeneration) Descriptor ¶ added in v0.1.3
func (NetworkGeneration) Descriptor() protoreflect.EnumDescriptor
func (NetworkGeneration) Enum ¶ added in v0.1.3
func (x NetworkGeneration) Enum() *NetworkGeneration
func (NetworkGeneration) EnumDescriptor
deprecated
added in
v0.1.3
func (NetworkGeneration) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkGeneration.Descriptor instead.
func (NetworkGeneration) Number ¶ added in v0.1.3
func (x NetworkGeneration) Number() protoreflect.EnumNumber
func (NetworkGeneration) String ¶ added in v0.1.3
func (x NetworkGeneration) String() string
func (NetworkGeneration) Type ¶ added in v0.1.3
func (NetworkGeneration) Type() protoreflect.EnumType
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 StatusCode ¶ added in v0.1.4
type StatusCode int32
const ( StatusCode_STATUS_CODE_UNSPECIFIED StatusCode = 0 StatusCode_STATUS_CODE_OK StatusCode = 1 StatusCode_STATUS_CODE_NOT_ACCEPTABLE StatusCode = 2 StatusCode_STATUS_CODE_ACCESS_DENIED StatusCode = 3 StatusCode_STATUS_CODE_INTERNAL_ERROR StatusCode = 4 )
func (StatusCode) Descriptor ¶ added in v0.1.4
func (StatusCode) Descriptor() protoreflect.EnumDescriptor
func (StatusCode) Enum ¶ added in v0.1.4
func (x StatusCode) Enum() *StatusCode
func (StatusCode) EnumDescriptor
deprecated
added in
v0.1.4
func (StatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusCode.Descriptor instead.
func (StatusCode) Number ¶ added in v0.1.4
func (x StatusCode) Number() protoreflect.EnumNumber
func (StatusCode) String ¶ added in v0.1.4
func (x StatusCode) String() string
func (StatusCode) Type ¶ added in v0.1.4
func (StatusCode) Type() protoreflect.EnumType
type SubscriptionIdentifier ¶ added in v0.1.5
type SubscriptionIdentifier struct { // A globally unique string identifying a subscription. This will stay the same even if msisdn of subscription changes Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Tenant *Tenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*SubscriptionIdentifier) Descriptor
deprecated
added in
v0.1.5
func (*SubscriptionIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionIdentifier.ProtoReflect.Descriptor instead.
func (*SubscriptionIdentifier) GetTenant ¶ added in v0.1.5
func (x *SubscriptionIdentifier) GetTenant() *Tenant
func (*SubscriptionIdentifier) GetValue ¶ added in v0.1.5
func (x *SubscriptionIdentifier) GetValue() string
func (*SubscriptionIdentifier) ProtoMessage ¶ added in v0.1.5
func (*SubscriptionIdentifier) ProtoMessage()
func (*SubscriptionIdentifier) ProtoReflect ¶ added in v0.1.5
func (x *SubscriptionIdentifier) ProtoReflect() protoreflect.Message
func (*SubscriptionIdentifier) Reset ¶ added in v0.1.5
func (x *SubscriptionIdentifier) Reset()
func (*SubscriptionIdentifier) String ¶ added in v0.1.5
func (x *SubscriptionIdentifier) String() string
type Tadig ¶ added in v0.1.3
type Tadig struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Tadig) Descriptor
deprecated
added in
v0.1.3
func (*Tadig) ProtoMessage ¶ added in v0.1.3
func (*Tadig) ProtoMessage()
func (*Tadig) ProtoReflect ¶ added in v0.1.3
func (x *Tadig) ProtoReflect() protoreflect.Message
type Tenant ¶ added in v0.1.4
type Tenant struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Tenant) Descriptor
deprecated
added in
v0.1.4
func (*Tenant) ProtoMessage ¶ added in v0.1.4
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶ added in v0.1.4
func (x *Tenant) ProtoReflect() protoreflect.Message
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