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 { // The value as a string. 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 { // The value as a string. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A global title is an address used in the SCCP protocol for routing signaling messages on telecommunications networks.
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 { // The value as a string. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The Integrated Circuit Card Identification number (ICCID) is an 18-22-digit number typically printed on the back of a SIM card
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 { // The value as a string. 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 { // The value as a string. 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
Enum for network generations is a type of cellular network generally referred to by its number. E.g.: 2G, 3G, 4G, 5G.
const ( // Unspecified network generation; default value. Do not use. NetworkGeneration_NETWORK_GENERATION_UNSPECIFIED NetworkGeneration = 0 // 2G NetworkGeneration_NETWORK_GENERATION_2G NetworkGeneration = 1 // 3G NetworkGeneration_NETWORK_GENERATION_3G NetworkGeneration = 2 // 4G NetworkGeneration_NETWORK_GENERATION_4G NetworkGeneration = 3 // 5G 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 { // Mobile Country Code, e.g. `"262"` for Germany. Mcc string `protobuf:"bytes,1,opt,name=mcc,proto3" json:"mcc,omitempty"` // Mobile Network Code, e.g. `"01"` for T-Mobile Germany, when mcc is `"262"`. Mnc string `protobuf:"bytes,2,opt,name=mnc,proto3" json:"mnc,omitempty"` // contains filtered or unexported fields }
Home network identity; composed of a Mobile Country Code (MCC) and a Mobile Network Code (MNC).
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.<p/> // This contains of three components: <p/> // - The plus prefix <br> // - Country code, max 3 digits <br> // - Subscriber number <p/> // Test your number at <https://libphonenumber.appspot.com/> <p/> // Example: +12024561111 E164 string `protobuf:"bytes,1,opt,name=e164,proto3" json:"e164,omitempty"` // contains filtered or unexported fields }
A phone number that is tied to a specific country.
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
Shared status codes
const ( // Unspecified/default status code; do not use. StatusCode_STATUS_CODE_UNSPECIFIED StatusCode = 0 // Success. StatusCode_STATUS_CODE_OK StatusCode = 1 // The request is not acceptable. StatusCode_STATUS_CODE_NOT_ACCEPTABLE StatusCode = 2 // Access denied. The request is not authorized; the access token may not have the necessary scopes or targeting the // wrong resource. StatusCode_STATUS_CODE_ACCESS_DENIED StatusCode = 3 // Internal error. The request could not be processed due to an error on the server side. 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"` // The tenant (operator) of the subscription. Tenant *Tenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
Subscription identifier message.
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 { // The value as a string. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
TADIG code is a number uniquely identifying network operators in a GSM mobile network. The acronym TADIG expands to "Transferred Account Data Interchange Group".
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 { // The name of the tenant (operator) on the platform. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The tenant (operator) message.
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 { // The value as a string. TextAddress string `protobuf:"bytes,1,opt,name=text_address,json=textAddress,proto3" json:"text_address,omitempty"` // contains filtered or unexported fields }
An address that is non-numerical, e.g. "MyProduct".
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