contact_pb

package
v0.0.0-...-07b0db4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Contact_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "EMAIL",
		2: "PHONE",
		3: "LOGIN",
	}
	Contact_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"EMAIL":   1,
		"PHONE":   2,
		"LOGIN":   3,
	}
)

Enum value maps for Contact_Type.

View Source
var File_biconom_type_contact_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Contact

type Contact struct {
	TypeId Contact_Type `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3,enum=biconom.type.Contact_Type" json:"type_id,omitempty"`
	Value  string       `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetTypeId

func (x *Contact) GetTypeId() Contact_Type

func (*Contact) GetValue

func (x *Contact) GetValue() string

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

type Contact_Type

type Contact_Type int32
const (
	Contact_UNKNOWN Contact_Type = 0
	Contact_EMAIL   Contact_Type = 1
	Contact_PHONE   Contact_Type = 2
	Contact_LOGIN   Contact_Type = 3
)

func (Contact_Type) Descriptor

func (Contact_Type) Enum

func (x Contact_Type) Enum() *Contact_Type

func (Contact_Type) EnumDescriptor deprecated

func (Contact_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Contact_Type.Descriptor instead.

func (Contact_Type) Number

func (Contact_Type) String

func (x Contact_Type) String() string

func (Contact_Type) Type

Jump to

Keyboard shortcuts

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