v0

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
var File_wgtwo_common_v0_errors_proto protoreflect.FileDescriptor
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 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) Descriptor() ([]byte, []int)

Deprecated: Use Fqdn.ProtoReflect.Descriptor instead.

func (*Fqdn) GetValue added in v0.1.3

func (x *Fqdn) GetValue() string

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

func (*Fqdn) Reset added in v0.1.3

func (x *Fqdn) Reset()

func (*Fqdn) String added in v0.1.3

func (x *Fqdn) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Iccid.ProtoReflect.Descriptor instead.

func (*Iccid) GetValue added in v0.1.3

func (x *Iccid) GetValue() string

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

func (*Iccid) Reset added in v0.1.3

func (x *Iccid) Reset()

func (*Iccid) String added in v0.1.3

func (x *Iccid) String() string

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:

  1. 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

  2. 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.

  3. 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) Descriptor() ([]byte, []int)

Deprecated: Use Imsi.ProtoReflect.Descriptor instead.

func (*Imsi) GetValue added in v0.1.1

func (x *Imsi) GetValue() string

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

func (*Imsi) Reset added in v0.1.1

func (x *Imsi) Reset()

func (*Imsi) String added in v0.1.1

func (x *Imsi) String() string

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) Enum added in v0.1.3

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 (NetworkGeneration) String added in v0.1.3

func (x NetworkGeneration) String() string

func (NetworkGeneration) Type added in v0.1.3

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

type SubscriberIdentifier added in v0.1.4

type SubscriberIdentifier 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 (*SubscriberIdentifier) Descriptor deprecated added in v0.1.4

func (*SubscriberIdentifier) Descriptor() ([]byte, []int)

Deprecated: Use SubscriberIdentifier.ProtoReflect.Descriptor instead.

func (*SubscriberIdentifier) GetTenant added in v0.1.4

func (x *SubscriberIdentifier) GetTenant() *Tenant

func (*SubscriberIdentifier) GetValue added in v0.1.4

func (x *SubscriberIdentifier) GetValue() string

func (*SubscriberIdentifier) ProtoMessage added in v0.1.4

func (*SubscriberIdentifier) ProtoMessage()

func (*SubscriberIdentifier) ProtoReflect added in v0.1.4

func (x *SubscriberIdentifier) ProtoReflect() protoreflect.Message

func (*SubscriberIdentifier) Reset added in v0.1.4

func (x *SubscriberIdentifier) Reset()

func (*SubscriberIdentifier) String added in v0.1.4

func (x *SubscriberIdentifier) 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) Descriptor() ([]byte, []int)

Deprecated: Use Tadig.ProtoReflect.Descriptor instead.

func (*Tadig) GetValue added in v0.1.3

func (x *Tadig) GetValue() string

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

func (*Tadig) Reset added in v0.1.3

func (x *Tadig) Reset()

func (*Tadig) String added in v0.1.3

func (x *Tadig) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetName added in v0.1.4

func (x *Tenant) GetName() string

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

func (*Tenant) Reset added in v0.1.4

func (x *Tenant) Reset()

func (*Tenant) String added in v0.1.4

func (x *Tenant) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL