Documentation ¶
Index ¶
- Variables
- type Contact
- type Contact_Type
- func (Contact_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Contact_Type) Enum() *Contact_Type
- func (Contact_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Contact_Type) Number() protoreflect.EnumNumber
- func (x Contact_Type) String() string
- func (Contact_Type) Type() protoreflect.EnumType
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) GetTypeId ¶
func (x *Contact) GetTypeId() Contact_Type
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x Contact_Type) Number() protoreflect.EnumNumber
func (Contact_Type) String ¶
func (x Contact_Type) String() string
func (Contact_Type) Type ¶
func (Contact_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.