v0

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wgtwo_common_v0_phonenumber_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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

Jump to

Keyboard shortcuts

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