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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetData

func (x *Profile) GetData() *Profile_Data

func (*Profile) GetModificationLocked

func (x *Profile) GetModificationLocked() bool

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

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

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 (Profile_Data_Gender) String

func (x Profile_Data_Gender) String() string

func (Profile_Data_Gender) Type

Jump to

Keyboard shortcuts

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