Documentation ¶
Index ¶
- Variables
- type Profile
- type Profile_Data
- func (*Profile_Data) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_Data) GetBirthday() uint32
- func (x *Profile_Data) GetGender() Profile_Data_Gender
- func (x *Profile_Data) GetName() string
- func (x *Profile_Data) GetNational() string
- func (x *Profile_Data) GetPatronymic() string
- func (x *Profile_Data) GetSurname() string
- func (*Profile_Data) ProtoMessage()
- func (x *Profile_Data) ProtoReflect() protoreflect.Message
- func (x *Profile_Data) Reset()
- func (x *Profile_Data) String() string
- type Profile_Data_Gender
- func (Profile_Data_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x Profile_Data_Gender) Enum() *Profile_Data_Gender
- func (Profile_Data_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x Profile_Data_Gender) Number() protoreflect.EnumNumber
- func (x Profile_Data_Gender) String() string
- func (Profile_Data_Gender) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Profile_Data_Gender_name = map[int32]string{ 0: "UNKNOWN", 1: "MALE", 2: "FEMALE", } Profile_Data_Gender_value = map[string]int32{ "UNKNOWN": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for Profile_Data_Gender.
View Source
var File_biconom_type_profile_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { Data *Profile_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // профиль ModificationLocked bool `protobuf:"varint,2,opt,name=modification_locked,json=modificationLocked,proto3" json:"modification_locked,omitempty"` // заблокировано для редактирования // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetData ¶
func (x *Profile) GetData() *Profile_Data
func (*Profile) GetModificationLocked ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type Profile_Data ¶
type Profile_Data struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // имя Surname string `protobuf:"bytes,2,opt,name=surname,proto3" json:"surname,omitempty"` // фамилия Patronymic string `protobuf:"bytes,3,opt,name=patronymic,proto3" json:"patronymic,omitempty"` // отчество Gender Profile_Data_Gender `protobuf:"varint,4,opt,name=gender,proto3,enum=biconom.type.Profile_Data_Gender" json:"gender,omitempty"` // пол Birthday uint32 `protobuf:"varint,5,opt,name=birthday,proto3" json:"birthday,omitempty"` // дата рождения в формате YYYYMMDD National string `protobuf:"bytes,6,opt,name=national,proto3" json:"national,omitempty"` // гражданство // contains filtered or unexported fields }
func (*Profile_Data) Descriptor
deprecated
func (*Profile_Data) Descriptor() ([]byte, []int)
Deprecated: Use Profile_Data.ProtoReflect.Descriptor instead.
func (*Profile_Data) GetBirthday ¶
func (x *Profile_Data) GetBirthday() uint32
func (*Profile_Data) GetGender ¶
func (x *Profile_Data) GetGender() Profile_Data_Gender
func (*Profile_Data) GetName ¶
func (x *Profile_Data) GetName() string
func (*Profile_Data) GetNational ¶
func (x *Profile_Data) GetNational() string
func (*Profile_Data) GetPatronymic ¶
func (x *Profile_Data) GetPatronymic() string
func (*Profile_Data) GetSurname ¶
func (x *Profile_Data) GetSurname() string
func (*Profile_Data) ProtoMessage ¶
func (*Profile_Data) ProtoMessage()
func (*Profile_Data) ProtoReflect ¶
func (x *Profile_Data) ProtoReflect() protoreflect.Message
func (*Profile_Data) Reset ¶
func (x *Profile_Data) Reset()
func (*Profile_Data) String ¶
func (x *Profile_Data) String() string
type Profile_Data_Gender ¶
type Profile_Data_Gender int32
const ( Profile_Data_UNKNOWN Profile_Data_Gender = 0 Profile_Data_MALE Profile_Data_Gender = 1 Profile_Data_FEMALE Profile_Data_Gender = 2 )
func (Profile_Data_Gender) Descriptor ¶
func (Profile_Data_Gender) Descriptor() protoreflect.EnumDescriptor
func (Profile_Data_Gender) Enum ¶
func (x Profile_Data_Gender) Enum() *Profile_Data_Gender
func (Profile_Data_Gender) EnumDescriptor
deprecated
func (Profile_Data_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use Profile_Data_Gender.Descriptor instead.
func (Profile_Data_Gender) Number ¶
func (x Profile_Data_Gender) Number() protoreflect.EnumNumber
func (Profile_Data_Gender) String ¶
func (x Profile_Data_Gender) String() string
func (Profile_Data_Gender) Type ¶
func (Profile_Data_Gender) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.