api

package
v0.0.0-...-fd5fe55 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_Person_Image  = bool(false)
	Default_Person_Access = Access_ACCESS_IFTITLES
)

Default values for Person fields.

Variables

View Source
var (
	Calendar_name = map[int32]string{
		0: "GREGORIAN",
		1: "JULIAN",
		2: "FRENCH",
		3: "HEBREW",
	}
	Calendar_value = map[string]int32{
		"GREGORIAN": 0,
		"JULIAN":    1,
		"FRENCH":    2,
		"HEBREW":    3,
	}
)

Enum value maps for Calendar.

View Source
var (
	Precision_name = map[int32]string{
		0: "SURE",
		1: "ABOUT",
		2: "MAYBE",
		3: "BEFORE",
		4: "AFTER",
		5: "ORYEAR",
		6: "YEARINT",
	}
	Precision_value = map[string]int32{
		"SURE":    0,
		"ABOUT":   1,
		"MAYBE":   2,
		"BEFORE":  3,
		"AFTER":   4,
		"ORYEAR":  5,
		"YEARINT": 6,
	}
)

Enum value maps for Precision.

View Source
var (
	Sex_name = map[int32]string{
		0: "MALE",
		1: "FEMALE",
		2: "UNKNOWN",
	}
	Sex_value = map[string]int32{
		"MALE":    0,
		"FEMALE":  1,
		"UNKNOWN": 2,
	}
)

Enum value maps for Sex.

View Source
var (
	DeathType_name = map[int32]string{
		0: "NOT_DEAD",
		1: "DEAD",
		2: "DEAD_YOUNG",
		3: "DEAD_DONT_KNOW_WHEN",
		4: "DONT_KNOW_IF_DEAD",
		5: "OF_COURSE_DEAD",
	}
	DeathType_value = map[string]int32{
		"NOT_DEAD":            0,
		"DEAD":                1,
		"DEAD_YOUNG":          2,
		"DEAD_DONT_KNOW_WHEN": 3,
		"DONT_KNOW_IF_DEAD":   4,
		"OF_COURSE_DEAD":      5,
	}
)

Enum value maps for DeathType.

View Source
var (
	MarriageType_name = map[int32]string{
		0:  "MARRIED",
		1:  "NOT_MARRIED",
		2:  "ENGAGED",
		3:  "NO_SEXES_CHECK_NOT_MARRIED",
		4:  "NO_MENTION",
		5:  "NO_SEXES_CHECK_MARRIED",
		6:  "MARRIAGE_BANN",
		7:  "MARRIAGE_CONTRACT",
		8:  "MARRIAGE_LICENSE",
		9:  "PACS",
		10: "RESIDENCE",
	}
	MarriageType_value = map[string]int32{
		"MARRIED":                    0,
		"NOT_MARRIED":                1,
		"ENGAGED":                    2,
		"NO_SEXES_CHECK_NOT_MARRIED": 3,
		"NO_MENTION":                 4,
		"NO_SEXES_CHECK_MARRIED":     5,
		"MARRIAGE_BANN":              6,
		"MARRIAGE_CONTRACT":          7,
		"MARRIAGE_LICENSE":           8,
		"PACS":                       9,
		"RESIDENCE":                  10,
	}
)

Enum value maps for MarriageType.

View Source
var (
	DivorceType_name = map[int32]string{
		0: "NOT_DIVORCED",
		1: "DIVORCED",
		2: "SEPARATED",
	}
	DivorceType_value = map[string]int32{
		"NOT_DIVORCED": 0,
		"DIVORCED":     1,
		"SEPARATED":    2,
	}
)

Enum value maps for DivorceType.

View Source
var (
	RelationParentType_name = map[int32]string{
		0: "RPT_ADOPTION",
		1: "RPT_RECOGNITION",
		2: "RPT_CANDIDATE_PARENT",
		3: "RPT_GOD_PARENT",
		4: "RPT_FOSTER_PARENT",
	}
	RelationParentType_value = map[string]int32{
		"RPT_ADOPTION":         0,
		"RPT_RECOGNITION":      1,
		"RPT_CANDIDATE_PARENT": 2,
		"RPT_GOD_PARENT":       3,
		"RPT_FOSTER_PARENT":    4,
	}
)

Enum value maps for RelationParentType.

View Source
var (
	TitleType_name = map[int32]string{
		0: "TITLE_MAIN",
		1: "TITLE_NAME",
		2: "TITLE_NONE",
	}
	TitleType_value = map[string]int32{
		"TITLE_MAIN": 0,
		"TITLE_NAME": 1,
		"TITLE_NONE": 2,
	}
)

Enum value maps for TitleType.

View Source
var (
	Access_name = map[int32]string{
		0: "ACCESS_IFTITLES",
		1: "ACCESS_PUBLIC",
		2: "ACCESS_PRIVATE",
	}
	Access_value = map[string]int32{
		"ACCESS_IFTITLES": 0,
		"ACCESS_PUBLIC":   1,
		"ACCESS_PRIVATE":  2,
	}
)

Enum value maps for Access.

View Source
var (
	EventName_name = map[int32]string{
		0:  "EPERS_BIRTH",
		1:  "EPERS_BAPTISM",
		2:  "EPERS_DEATH",
		3:  "EPERS_BURIAL",
		4:  "EPERS_CREMATION",
		5:  "EPERS_ACCOMPLISHMENT",
		6:  "EPERS_ACQUISITION",
		7:  "EPERS_ADHESION",
		8:  "EPERS_BAPTISMLDS",
		9:  "EPERS_BARMITZVAH",
		10: "EPERS_BATMITZVAH",
		11: "EPERS_BENEDICTION",
		12: "EPERS_CHANGENAME",
		13: "EPERS_CIRCUMCISION",
		14: "EPERS_CONFIRMATION",
		15: "EPERS_CONFIRMATIONLDS",
		16: "EPERS_DECORATION",
		17: "EPERS_DEMOBILISATIONMILITAIRE",
		18: "EPERS_DIPLOMA",
		19: "EPERS_DISTINCTION",
		20: "EPERS_DOTATION",
		21: "EPERS_DOTATIONLDS",
		22: "EPERS_EDUCATION",
		23: "EPERS_ELECTION",
		24: "EPERS_EMIGRATION",
		25: "EPERS_EXCOMMUNICATION",
		26: "EPERS_FAMILYLINKLDS",
		27: "EPERS_FIRSTCOMMUNION",
		28: "EPERS_FUNERAL",
		29: "EPERS_GRADUATE",
		30: "EPERS_HOSPITALISATION",
		31: "EPERS_ILLNESS",
		32: "EPERS_IMMIGRATION",
		33: "EPERS_LISTEPASSENGER",
		34: "EPERS_MILITARYDISTINCTION",
		35: "EPERS_MILITARYPROMOTION",
		36: "EPERS_MILITARYSERVICE",
		37: "EPERS_MOBILISATIONMILITAIRE",
		38: "EPERS_NATURALISATION",
		39: "EPERS_OCCUPATION",
		40: "EPERS_ORDINATION",
		41: "EPERS_PROPERTY",
		42: "EPERS_RECENSEMENT",
		43: "EPERS_RESIDENCE",
		44: "EPERS_RETIRED",
		45: "EPERS_SCELLENTCHILDLDS",
		46: "EPERS_SCELLENTPARENTLDS",
		47: "EPERS_SCELLENTSPOUSELDS",
		48: "EPERS_VENTEBIEN",
		49: "EPERS_WILL",
		50: "EFAM_MARRIAGE",
		51: "EFAM_NO_MARRIAGE",
		52: "EFAM_NO_MENTION",
		53: "EFAM_ENGAGE",
		54: "EFAM_DIVORCE",
		55: "EFAM_SEPARATED",
		56: "EFAM_ANNULATION",
		57: "EFAM_MARRIAGE_BANN",
		58: "EFAM_MARRIAGE_CONTRACT",
		59: "EFAM_MARRIAGE_LICENSE",
		60: "EFAM_PACS",
		61: "EFAM_RESIDENCE",
	}
	EventName_value = map[string]int32{
		"EPERS_BIRTH":                   0,
		"EPERS_BAPTISM":                 1,
		"EPERS_DEATH":                   2,
		"EPERS_BURIAL":                  3,
		"EPERS_CREMATION":               4,
		"EPERS_ACCOMPLISHMENT":          5,
		"EPERS_ACQUISITION":             6,
		"EPERS_ADHESION":                7,
		"EPERS_BAPTISMLDS":              8,
		"EPERS_BARMITZVAH":              9,
		"EPERS_BATMITZVAH":              10,
		"EPERS_BENEDICTION":             11,
		"EPERS_CHANGENAME":              12,
		"EPERS_CIRCUMCISION":            13,
		"EPERS_CONFIRMATION":            14,
		"EPERS_CONFIRMATIONLDS":         15,
		"EPERS_DECORATION":              16,
		"EPERS_DEMOBILISATIONMILITAIRE": 17,
		"EPERS_DIPLOMA":                 18,
		"EPERS_DISTINCTION":             19,
		"EPERS_DOTATION":                20,
		"EPERS_DOTATIONLDS":             21,
		"EPERS_EDUCATION":               22,
		"EPERS_ELECTION":                23,
		"EPERS_EMIGRATION":              24,
		"EPERS_EXCOMMUNICATION":         25,
		"EPERS_FAMILYLINKLDS":           26,
		"EPERS_FIRSTCOMMUNION":          27,
		"EPERS_FUNERAL":                 28,
		"EPERS_GRADUATE":                29,
		"EPERS_HOSPITALISATION":         30,
		"EPERS_ILLNESS":                 31,
		"EPERS_IMMIGRATION":             32,
		"EPERS_LISTEPASSENGER":          33,
		"EPERS_MILITARYDISTINCTION":     34,
		"EPERS_MILITARYPROMOTION":       35,
		"EPERS_MILITARYSERVICE":         36,
		"EPERS_MOBILISATIONMILITAIRE":   37,
		"EPERS_NATURALISATION":          38,
		"EPERS_OCCUPATION":              39,
		"EPERS_ORDINATION":              40,
		"EPERS_PROPERTY":                41,
		"EPERS_RECENSEMENT":             42,
		"EPERS_RESIDENCE":               43,
		"EPERS_RETIRED":                 44,
		"EPERS_SCELLENTCHILDLDS":        45,
		"EPERS_SCELLENTPARENTLDS":       46,
		"EPERS_SCELLENTSPOUSELDS":       47,
		"EPERS_VENTEBIEN":               48,
		"EPERS_WILL":                    49,
		"EFAM_MARRIAGE":                 50,
		"EFAM_NO_MARRIAGE":              51,
		"EFAM_NO_MENTION":               52,
		"EFAM_ENGAGE":                   53,
		"EFAM_DIVORCE":                  54,
		"EFAM_SEPARATED":                55,
		"EFAM_ANNULATION":               56,
		"EFAM_MARRIAGE_BANN":            57,
		"EFAM_MARRIAGE_CONTRACT":        58,
		"EFAM_MARRIAGE_LICENSE":         59,
		"EFAM_PACS":                     60,
		"EFAM_RESIDENCE":                61,
	}
)

Enum value maps for EventName.

View Source
var (
	WitnessType_name = map[int32]string{
		0: "WITNESS",
		1: "WITNESS_GODPARENT",
		2: "WITNESS_OFFICER",
	}
	WitnessType_value = map[string]int32{
		"WITNESS":           0,
		"WITNESS_GODPARENT": 1,
		"WITNESS_OFFICER":   2,
	}
)

Enum value maps for WitnessType.

View Source
var File_pkg_geneanet_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Access

type Access int32
const (
	Access_ACCESS_IFTITLES Access = 0
	Access_ACCESS_PUBLIC   Access = 1
	Access_ACCESS_PRIVATE  Access = 2
)

func (Access) Descriptor

func (Access) Descriptor() protoreflect.EnumDescriptor

func (Access) Enum

func (x Access) Enum() *Access

func (Access) EnumDescriptor deprecated

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

Deprecated: Use Access.Descriptor instead.

func (Access) Number

func (x Access) Number() protoreflect.EnumNumber

func (Access) String

func (x Access) String() string

func (Access) Type

func (Access) Type() protoreflect.EnumType

func (*Access) UnmarshalJSON deprecated

func (x *Access) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Calendar

type Calendar int32
const (
	Calendar_GREGORIAN Calendar = 0
	Calendar_JULIAN    Calendar = 1
	Calendar_FRENCH    Calendar = 2
	Calendar_HEBREW    Calendar = 3
)

func (Calendar) Descriptor

func (Calendar) Descriptor() protoreflect.EnumDescriptor

func (Calendar) Enum

func (x Calendar) Enum() *Calendar

func (Calendar) EnumDescriptor deprecated

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

Deprecated: Use Calendar.Descriptor instead.

func (Calendar) Number

func (x Calendar) Number() protoreflect.EnumNumber

func (Calendar) String

func (x Calendar) String() string

func (Calendar) Type

func (*Calendar) UnmarshalJSON deprecated

func (x *Calendar) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Date

type Date struct {
	Cal  *Calendar  `protobuf:"varint,2,opt,name=cal,enum=Calendar" json:"cal,omitempty"`
	Prec *Precision `protobuf:"varint,3,opt,name=prec,enum=Precision" json:"prec,omitempty"`
	Dmy  *Dmy       `protobuf:"bytes,4,opt,name=dmy" json:"dmy,omitempty"`
	Dmy2 *Dmy       `protobuf:"bytes,5,opt,name=dmy2" json:"dmy2,omitempty"`
	Text *string    `protobuf:"bytes,6,opt,name=text" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*Date) Descriptor deprecated

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

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetCal

func (x *Date) GetCal() Calendar

func (*Date) GetDmy

func (x *Date) GetDmy() *Dmy

func (*Date) GetDmy2

func (x *Date) GetDmy2() *Dmy

func (*Date) GetPrec

func (x *Date) GetPrec() Precision

func (*Date) GetText

func (x *Date) GetText() string

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) ProtoReflect

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

func (*Date) Reset

func (x *Date) Reset()

func (*Date) String

func (x *Date) String() string

type DeathType

type DeathType int32
const (
	DeathType_NOT_DEAD            DeathType = 0
	DeathType_DEAD                DeathType = 1
	DeathType_DEAD_YOUNG          DeathType = 2
	DeathType_DEAD_DONT_KNOW_WHEN DeathType = 3
	DeathType_DONT_KNOW_IF_DEAD   DeathType = 4
	DeathType_OF_COURSE_DEAD      DeathType = 5
)

func (DeathType) Descriptor

func (DeathType) Descriptor() protoreflect.EnumDescriptor

func (DeathType) Enum

func (x DeathType) Enum() *DeathType

func (DeathType) EnumDescriptor deprecated

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

Deprecated: Use DeathType.Descriptor instead.

func (DeathType) Number

func (x DeathType) Number() protoreflect.EnumNumber

func (DeathType) String

func (x DeathType) String() string

func (DeathType) Type

func (*DeathType) UnmarshalJSON deprecated

func (x *DeathType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DivorceType

type DivorceType int32
const (
	DivorceType_NOT_DIVORCED DivorceType = 0
	DivorceType_DIVORCED     DivorceType = 1
	DivorceType_SEPARATED    DivorceType = 2
)

func (DivorceType) Descriptor

func (DivorceType) Enum

func (x DivorceType) Enum() *DivorceType

func (DivorceType) EnumDescriptor deprecated

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

Deprecated: Use DivorceType.Descriptor instead.

func (DivorceType) Number

func (x DivorceType) Number() protoreflect.EnumNumber

func (DivorceType) String

func (x DivorceType) String() string

func (DivorceType) Type

func (*DivorceType) UnmarshalJSON deprecated

func (x *DivorceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Dmy

type Dmy struct {
	Day   *int32 `protobuf:"varint,1,req,name=day" json:"day,omitempty"`
	Month *int32 `protobuf:"varint,2,req,name=month" json:"month,omitempty"`
	Year  *int32 `protobuf:"varint,3,req,name=year" json:"year,omitempty"`
	Delta *int32 `protobuf:"varint,4,req,name=delta" json:"delta,omitempty"`
	// contains filtered or unexported fields
}

func (*Dmy) Descriptor deprecated

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

Deprecated: Use Dmy.ProtoReflect.Descriptor instead.

func (*Dmy) GetDay

func (x *Dmy) GetDay() int32

func (*Dmy) GetDelta

func (x *Dmy) GetDelta() int32

func (*Dmy) GetMonth

func (x *Dmy) GetMonth() int32

func (*Dmy) GetYear

func (x *Dmy) GetYear() int32

func (*Dmy) ProtoMessage

func (*Dmy) ProtoMessage()

func (*Dmy) ProtoReflect

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

func (*Dmy) Reset

func (x *Dmy) Reset()

func (*Dmy) String

func (x *Dmy) String() string

type Event

type Event struct {
	Name        *EventName      `protobuf:"varint,1,opt,name=name,enum=EventName" json:"name,omitempty"`
	Text        *string         `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
	Date        *Date           `protobuf:"bytes,3,opt,name=date" json:"date,omitempty"`
	Place       *string         `protobuf:"bytes,4,opt,name=place" json:"place,omitempty"`
	Reason      *string         `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
	Note        *string         `protobuf:"bytes,6,opt,name=note" json:"note,omitempty"`
	Src         *string         `protobuf:"bytes,7,opt,name=src" json:"src,omitempty"`
	Witnesses   []*WitnessEvent `protobuf:"bytes,8,rep,name=witnesses" json:"witnesses,omitempty"`
	IndexSpouse *int32          `protobuf:"varint,9,opt,name=index_spouse,json=indexSpouse" json:"index_spouse,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetDate

func (x *Event) GetDate() *Date

func (*Event) GetIndexSpouse

func (x *Event) GetIndexSpouse() int32

func (*Event) GetName

func (x *Event) GetName() EventName

func (*Event) GetNote

func (x *Event) GetNote() string

func (*Event) GetPlace

func (x *Event) GetPlace() string

func (*Event) GetReason

func (x *Event) GetReason() string

func (*Event) GetSrc

func (x *Event) GetSrc() string

func (*Event) GetText

func (x *Event) GetText() string

func (*Event) GetWitnesses

func (x *Event) GetWitnesses() []*WitnessEvent

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventName

type EventName int32
const (
	EventName_EPERS_BIRTH                   EventName = 0
	EventName_EPERS_BAPTISM                 EventName = 1
	EventName_EPERS_DEATH                   EventName = 2
	EventName_EPERS_BURIAL                  EventName = 3
	EventName_EPERS_CREMATION               EventName = 4
	EventName_EPERS_ACCOMPLISHMENT          EventName = 5
	EventName_EPERS_ACQUISITION             EventName = 6
	EventName_EPERS_ADHESION                EventName = 7
	EventName_EPERS_BAPTISMLDS              EventName = 8
	EventName_EPERS_BARMITZVAH              EventName = 9
	EventName_EPERS_BATMITZVAH              EventName = 10
	EventName_EPERS_BENEDICTION             EventName = 11
	EventName_EPERS_CHANGENAME              EventName = 12
	EventName_EPERS_CIRCUMCISION            EventName = 13
	EventName_EPERS_CONFIRMATION            EventName = 14
	EventName_EPERS_CONFIRMATIONLDS         EventName = 15
	EventName_EPERS_DECORATION              EventName = 16
	EventName_EPERS_DEMOBILISATIONMILITAIRE EventName = 17
	EventName_EPERS_DIPLOMA                 EventName = 18
	EventName_EPERS_DISTINCTION             EventName = 19
	EventName_EPERS_DOTATION                EventName = 20
	EventName_EPERS_DOTATIONLDS             EventName = 21
	EventName_EPERS_EDUCATION               EventName = 22
	EventName_EPERS_ELECTION                EventName = 23
	EventName_EPERS_EMIGRATION              EventName = 24
	EventName_EPERS_EXCOMMUNICATION         EventName = 25
	EventName_EPERS_FAMILYLINKLDS           EventName = 26
	EventName_EPERS_FIRSTCOMMUNION          EventName = 27
	EventName_EPERS_FUNERAL                 EventName = 28
	EventName_EPERS_GRADUATE                EventName = 29
	EventName_EPERS_HOSPITALISATION         EventName = 30
	EventName_EPERS_ILLNESS                 EventName = 31
	EventName_EPERS_IMMIGRATION             EventName = 32
	EventName_EPERS_LISTEPASSENGER          EventName = 33
	EventName_EPERS_MILITARYDISTINCTION     EventName = 34
	EventName_EPERS_MILITARYPROMOTION       EventName = 35
	EventName_EPERS_MILITARYSERVICE         EventName = 36
	EventName_EPERS_MOBILISATIONMILITAIRE   EventName = 37
	EventName_EPERS_NATURALISATION          EventName = 38
	EventName_EPERS_OCCUPATION              EventName = 39
	EventName_EPERS_ORDINATION              EventName = 40
	EventName_EPERS_PROPERTY                EventName = 41
	EventName_EPERS_RECENSEMENT             EventName = 42
	EventName_EPERS_RESIDENCE               EventName = 43
	EventName_EPERS_RETIRED                 EventName = 44
	EventName_EPERS_SCELLENTCHILDLDS        EventName = 45
	EventName_EPERS_SCELLENTPARENTLDS       EventName = 46
	EventName_EPERS_SCELLENTSPOUSELDS       EventName = 47
	EventName_EPERS_VENTEBIEN               EventName = 48
	EventName_EPERS_WILL                    EventName = 49
	EventName_EFAM_MARRIAGE                 EventName = 50
	EventName_EFAM_NO_MARRIAGE              EventName = 51
	EventName_EFAM_NO_MENTION               EventName = 52
	EventName_EFAM_ENGAGE                   EventName = 53
	EventName_EFAM_DIVORCE                  EventName = 54
	EventName_EFAM_SEPARATED                EventName = 55
	EventName_EFAM_ANNULATION               EventName = 56
	EventName_EFAM_MARRIAGE_BANN            EventName = 57
	EventName_EFAM_MARRIAGE_CONTRACT        EventName = 58
	EventName_EFAM_MARRIAGE_LICENSE         EventName = 59
	EventName_EFAM_PACS                     EventName = 60
	EventName_EFAM_RESIDENCE                EventName = 61
)

func (EventName) Descriptor

func (EventName) Descriptor() protoreflect.EnumDescriptor

func (EventName) Enum

func (x EventName) Enum() *EventName

func (EventName) EnumDescriptor deprecated

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

Deprecated: Use EventName.Descriptor instead.

func (EventName) Number

func (x EventName) Number() protoreflect.EnumNumber

func (EventName) String

func (x EventName) String() string

func (EventName) Type

func (*EventName) UnmarshalJSON deprecated

func (x *EventName) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Family

type Family struct {
	Index         *int32        `protobuf:"varint,1,req,name=index" json:"index,omitempty"`
	MarriageDate  *Date         `protobuf:"bytes,2,opt,name=marriage_date,json=marriageDate" json:"marriage_date,omitempty"`
	MarriagePlace *string       `protobuf:"bytes,3,opt,name=marriage_place,json=marriagePlace" json:"marriage_place,omitempty"`
	MarriageSrc   *string       `protobuf:"bytes,4,opt,name=marriage_src,json=marriageSrc" json:"marriage_src,omitempty"`
	MarriageType  *MarriageType `protobuf:"varint,5,req,name=marriage_type,json=marriageType,enum=MarriageType" json:"marriage_type,omitempty"`
	DivorceType   *DivorceType  `protobuf:"varint,6,req,name=divorce_type,json=divorceType,enum=DivorceType" json:"divorce_type,omitempty"`
	DivorceDate   *Date         `protobuf:"bytes,7,opt,name=divorce_date,json=divorceDate" json:"divorce_date,omitempty"`
	Witnesses     []int32       `protobuf:"varint,8,rep,name=witnesses" json:"witnesses,omitempty"`
	Fsources      *string       `protobuf:"bytes,9,opt,name=fsources" json:"fsources,omitempty"`
	Father        *int32        `protobuf:"varint,10,req,name=father" json:"father,omitempty"`
	Mother        *int32        `protobuf:"varint,11,req,name=mother" json:"mother,omitempty"`
	Children      []int32       `protobuf:"varint,12,rep,name=children" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*Family) Descriptor deprecated

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

Deprecated: Use Family.ProtoReflect.Descriptor instead.

func (*Family) GetChildren

func (x *Family) GetChildren() []int32

func (*Family) GetDivorceDate

func (x *Family) GetDivorceDate() *Date

func (*Family) GetDivorceType

func (x *Family) GetDivorceType() DivorceType

func (*Family) GetFather

func (x *Family) GetFather() int32

func (*Family) GetFsources

func (x *Family) GetFsources() string

func (*Family) GetIndex

func (x *Family) GetIndex() int32

func (*Family) GetMarriageDate

func (x *Family) GetMarriageDate() *Date

func (*Family) GetMarriagePlace

func (x *Family) GetMarriagePlace() string

func (*Family) GetMarriageSrc

func (x *Family) GetMarriageSrc() string

func (*Family) GetMarriageType

func (x *Family) GetMarriageType() MarriageType

func (*Family) GetMother

func (x *Family) GetMother() int32

func (*Family) GetWitnesses

func (x *Family) GetWitnesses() []int32

func (*Family) ProtoMessage

func (*Family) ProtoMessage()

func (*Family) ProtoReflect

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

func (*Family) Reset

func (x *Family) Reset()

func (*Family) String

func (x *Family) String() string

type MarriageType

type MarriageType int32
const (
	MarriageType_MARRIED                    MarriageType = 0
	MarriageType_NOT_MARRIED                MarriageType = 1
	MarriageType_ENGAGED                    MarriageType = 2
	MarriageType_NO_SEXES_CHECK_NOT_MARRIED MarriageType = 3
	MarriageType_NO_MENTION                 MarriageType = 4
	MarriageType_NO_SEXES_CHECK_MARRIED     MarriageType = 5
	MarriageType_MARRIAGE_BANN              MarriageType = 6
	MarriageType_MARRIAGE_CONTRACT          MarriageType = 7
	MarriageType_MARRIAGE_LICENSE           MarriageType = 8
	MarriageType_PACS                       MarriageType = 9
	MarriageType_RESIDENCE                  MarriageType = 10
)

func (MarriageType) Descriptor

func (MarriageType) Enum

func (x MarriageType) Enum() *MarriageType

func (MarriageType) EnumDescriptor deprecated

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

Deprecated: Use MarriageType.Descriptor instead.

func (MarriageType) Number

func (MarriageType) String

func (x MarriageType) String() string

func (MarriageType) Type

func (*MarriageType) UnmarshalJSON deprecated

func (x *MarriageType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Person

type Person struct {
	Index            *int32            `protobuf:"varint,1,req,name=index" json:"index,omitempty"`
	Sex              *Sex              `protobuf:"varint,2,req,name=sex,enum=Sex" json:"sex,omitempty"`
	Lastname         *string           `protobuf:"bytes,3,req,name=lastname" json:"lastname,omitempty"`
	Firstname        *string           `protobuf:"bytes,4,req,name=firstname" json:"firstname,omitempty"`
	Occ              *int32            `protobuf:"varint,5,req,name=occ" json:"occ,omitempty"`
	PublicName       *string           `protobuf:"bytes,6,opt,name=public_name,json=publicName" json:"public_name,omitempty"`
	Aliases          []string          `protobuf:"bytes,7,rep,name=aliases" json:"aliases,omitempty"`
	Qualifiers       []string          `protobuf:"bytes,8,rep,name=qualifiers" json:"qualifiers,omitempty"`
	FirstnameAliases []string          `protobuf:"bytes,9,rep,name=firstname_aliases,json=firstnameAliases" json:"firstname_aliases,omitempty"`
	SurnameAliases   []string          `protobuf:"bytes,10,rep,name=surname_aliases,json=surnameAliases" json:"surname_aliases,omitempty"`
	Image            *bool             `protobuf:"varint,11,opt,name=image,def=0" json:"image,omitempty"`
	BirthDate        *Date             `protobuf:"bytes,12,opt,name=birth_date,json=birthDate" json:"birth_date,omitempty"`
	BirthPlace       *string           `protobuf:"bytes,13,opt,name=birth_place,json=birthPlace" json:"birth_place,omitempty"`
	BirthSrc         *string           `protobuf:"bytes,14,opt,name=birth_src,json=birthSrc" json:"birth_src,omitempty"`
	BaptismDate      *Date             `protobuf:"bytes,15,opt,name=baptism_date,json=baptismDate" json:"baptism_date,omitempty"`
	BaptismPlace     *string           `protobuf:"bytes,16,opt,name=baptism_place,json=baptismPlace" json:"baptism_place,omitempty"`
	BaptismSrc       *string           `protobuf:"bytes,17,opt,name=baptism_src,json=baptismSrc" json:"baptism_src,omitempty"`
	DeathDate        *Date             `protobuf:"bytes,18,opt,name=death_date,json=deathDate" json:"death_date,omitempty"`
	DeathPlace       *string           `protobuf:"bytes,19,opt,name=death_place,json=deathPlace" json:"death_place,omitempty"`
	DeathSrc         *string           `protobuf:"bytes,20,opt,name=death_src,json=deathSrc" json:"death_src,omitempty"`
	DeathType        *DeathType        `protobuf:"varint,21,req,name=death_type,json=deathType,enum=DeathType" json:"death_type,omitempty"`
	BurialDate       *Date             `protobuf:"bytes,22,opt,name=burial_date,json=burialDate" json:"burial_date,omitempty"`
	BurialPlace      *string           `protobuf:"bytes,23,opt,name=burial_place,json=burialPlace" json:"burial_place,omitempty"`
	BurialSrc        *string           `protobuf:"bytes,24,opt,name=burial_src,json=burialSrc" json:"burial_src,omitempty"`
	Occupation       *string           `protobuf:"bytes,25,opt,name=occupation" json:"occupation,omitempty"`
	Psources         *string           `protobuf:"bytes,26,opt,name=psources" json:"psources,omitempty"`
	Titles           []*Title          `protobuf:"bytes,27,rep,name=titles" json:"titles,omitempty"`
	Related          []int32           `protobuf:"varint,28,rep,name=related" json:"related,omitempty"`
	Rparents         []*RelationParent `protobuf:"bytes,29,rep,name=rparents" json:"rparents,omitempty"`
	Access           *Access           `protobuf:"varint,30,opt,name=access,enum=Access,def=0" json:"access,omitempty"`
	Parents          *int32            `protobuf:"varint,31,opt,name=parents" json:"parents,omitempty"`
	Families         []int32           `protobuf:"varint,32,rep,name=families" json:"families,omitempty"`
	Events           []*Event          `protobuf:"bytes,33,rep,name=events" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*Person) Descriptor deprecated

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

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetAccess

func (x *Person) GetAccess() Access

func (*Person) GetAliases

func (x *Person) GetAliases() []string

func (*Person) GetBaptismDate

func (x *Person) GetBaptismDate() *Date

func (*Person) GetBaptismPlace

func (x *Person) GetBaptismPlace() string

func (*Person) GetBaptismSrc

func (x *Person) GetBaptismSrc() string

func (*Person) GetBirthDate

func (x *Person) GetBirthDate() *Date

func (*Person) GetBirthPlace

func (x *Person) GetBirthPlace() string

func (*Person) GetBirthSrc

func (x *Person) GetBirthSrc() string

func (*Person) GetBurialDate

func (x *Person) GetBurialDate() *Date

func (*Person) GetBurialPlace

func (x *Person) GetBurialPlace() string

func (*Person) GetBurialSrc

func (x *Person) GetBurialSrc() string

func (*Person) GetDeathDate

func (x *Person) GetDeathDate() *Date

func (*Person) GetDeathPlace

func (x *Person) GetDeathPlace() string

func (*Person) GetDeathSrc

func (x *Person) GetDeathSrc() string

func (*Person) GetDeathType

func (x *Person) GetDeathType() DeathType

func (*Person) GetEvents

func (x *Person) GetEvents() []*Event

func (*Person) GetFamilies

func (x *Person) GetFamilies() []int32

func (*Person) GetFirstname

func (x *Person) GetFirstname() string

func (*Person) GetFirstnameAliases

func (x *Person) GetFirstnameAliases() []string

func (*Person) GetImage

func (x *Person) GetImage() bool

func (*Person) GetIndex

func (x *Person) GetIndex() int32

func (*Person) GetLastname

func (x *Person) GetLastname() string

func (*Person) GetOcc

func (x *Person) GetOcc() int32

func (*Person) GetOccupation

func (x *Person) GetOccupation() string

func (*Person) GetParents

func (x *Person) GetParents() int32

func (*Person) GetPsources

func (x *Person) GetPsources() string

func (*Person) GetPublicName

func (x *Person) GetPublicName() string

func (*Person) GetQualifiers

func (x *Person) GetQualifiers() []string

func (*Person) GetRelated

func (x *Person) GetRelated() []int32

func (*Person) GetRparents

func (x *Person) GetRparents() []*RelationParent

func (*Person) GetSex

func (x *Person) GetSex() Sex

func (*Person) GetSurnameAliases

func (x *Person) GetSurnameAliases() []string

func (*Person) GetTitles

func (x *Person) GetTitles() []*Title

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

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

func (*Person) Reset

func (x *Person) Reset()

func (*Person) String

func (x *Person) String() string

type Precision

type Precision int32
const (
	Precision_SURE    Precision = 0
	Precision_ABOUT   Precision = 1
	Precision_MAYBE   Precision = 2
	Precision_BEFORE  Precision = 3
	Precision_AFTER   Precision = 4
	Precision_ORYEAR  Precision = 5
	Precision_YEARINT Precision = 6
)

func (Precision) Descriptor

func (Precision) Descriptor() protoreflect.EnumDescriptor

func (Precision) Enum

func (x Precision) Enum() *Precision

func (Precision) EnumDescriptor deprecated

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

Deprecated: Use Precision.Descriptor instead.

func (Precision) Number

func (x Precision) Number() protoreflect.EnumNumber

func (Precision) String

func (x Precision) String() string

func (Precision) Type

func (*Precision) UnmarshalJSON deprecated

func (x *Precision) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RelationParent

type RelationParent struct {
	Father  *int32              `protobuf:"varint,1,opt,name=father" json:"father,omitempty"`
	Mother  *int32              `protobuf:"varint,2,opt,name=mother" json:"mother,omitempty"`
	Source  *string             `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"`
	RptType *RelationParentType `protobuf:"varint,4,req,name=rpt_type,json=rptType,enum=RelationParentType" json:"rpt_type,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationParent) Descriptor deprecated

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

Deprecated: Use RelationParent.ProtoReflect.Descriptor instead.

func (*RelationParent) GetFather

func (x *RelationParent) GetFather() int32

func (*RelationParent) GetMother

func (x *RelationParent) GetMother() int32

func (*RelationParent) GetRptType

func (x *RelationParent) GetRptType() RelationParentType

func (*RelationParent) GetSource

func (x *RelationParent) GetSource() string

func (*RelationParent) ProtoMessage

func (*RelationParent) ProtoMessage()

func (*RelationParent) ProtoReflect

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

func (*RelationParent) Reset

func (x *RelationParent) Reset()

func (*RelationParent) String

func (x *RelationParent) String() string

type RelationParentType

type RelationParentType int32
const (
	RelationParentType_RPT_ADOPTION         RelationParentType = 0
	RelationParentType_RPT_RECOGNITION      RelationParentType = 1
	RelationParentType_RPT_CANDIDATE_PARENT RelationParentType = 2
	RelationParentType_RPT_GOD_PARENT       RelationParentType = 3
	RelationParentType_RPT_FOSTER_PARENT    RelationParentType = 4
)

func (RelationParentType) Descriptor

func (RelationParentType) Enum

func (RelationParentType) EnumDescriptor deprecated

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

Deprecated: Use RelationParentType.Descriptor instead.

func (RelationParentType) Number

func (RelationParentType) String

func (x RelationParentType) String() string

func (RelationParentType) Type

func (*RelationParentType) UnmarshalJSON deprecated

func (x *RelationParentType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Sex

type Sex int32
const (
	Sex_MALE    Sex = 0
	Sex_FEMALE  Sex = 1
	Sex_UNKNOWN Sex = 2
)

func (Sex) Descriptor

func (Sex) Descriptor() protoreflect.EnumDescriptor

func (Sex) Enum

func (x Sex) Enum() *Sex

func (Sex) EnumDescriptor deprecated

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

Deprecated: Use Sex.Descriptor instead.

func (Sex) Number

func (x Sex) Number() protoreflect.EnumNumber

func (Sex) String

func (x Sex) String() string

func (Sex) Type

func (Sex) Type() protoreflect.EnumType

func (*Sex) UnmarshalJSON deprecated

func (x *Sex) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Title

type Title struct {
	TitleType *TitleType `protobuf:"varint,1,req,name=title_type,json=titleType,enum=TitleType" json:"title_type,omitempty"`
	Name      *string    `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Title     *string    `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	Fief      *string    `protobuf:"bytes,4,opt,name=fief" json:"fief,omitempty"`
	DateBegin *Date      `protobuf:"bytes,5,opt,name=date_begin,json=dateBegin" json:"date_begin,omitempty"`
	DateEnd   *Date      `protobuf:"bytes,6,opt,name=date_end,json=dateEnd" json:"date_end,omitempty"`
	Nth       *int32     `protobuf:"varint,7,opt,name=nth" json:"nth,omitempty"`
	// contains filtered or unexported fields
}

func (*Title) Descriptor deprecated

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

Deprecated: Use Title.ProtoReflect.Descriptor instead.

func (*Title) GetDateBegin

func (x *Title) GetDateBegin() *Date

func (*Title) GetDateEnd

func (x *Title) GetDateEnd() *Date

func (*Title) GetFief

func (x *Title) GetFief() string

func (*Title) GetName

func (x *Title) GetName() string

func (*Title) GetNth

func (x *Title) GetNth() int32

func (*Title) GetTitle

func (x *Title) GetTitle() string

func (*Title) GetTitleType

func (x *Title) GetTitleType() TitleType

func (*Title) ProtoMessage

func (*Title) ProtoMessage()

func (*Title) ProtoReflect

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

func (*Title) Reset

func (x *Title) Reset()

func (*Title) String

func (x *Title) String() string

type TitleType

type TitleType int32
const (
	TitleType_TITLE_MAIN TitleType = 0
	TitleType_TITLE_NAME TitleType = 1
	TitleType_TITLE_NONE TitleType = 2
)

func (TitleType) Descriptor

func (TitleType) Descriptor() protoreflect.EnumDescriptor

func (TitleType) Enum

func (x TitleType) Enum() *TitleType

func (TitleType) EnumDescriptor deprecated

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

Deprecated: Use TitleType.Descriptor instead.

func (TitleType) Number

func (x TitleType) Number() protoreflect.EnumNumber

func (TitleType) String

func (x TitleType) String() string

func (TitleType) Type

func (*TitleType) UnmarshalJSON deprecated

func (x *TitleType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WitnessEvent

type WitnessEvent struct {
	WitnessType *WitnessType `protobuf:"varint,1,req,name=witness_type,json=witnessType,enum=WitnessType" json:"witness_type,omitempty"`
	Witness     *int32       `protobuf:"varint,2,req,name=witness" json:"witness,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessEvent) Descriptor deprecated

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

Deprecated: Use WitnessEvent.ProtoReflect.Descriptor instead.

func (*WitnessEvent) GetWitness

func (x *WitnessEvent) GetWitness() int32

func (*WitnessEvent) GetWitnessType

func (x *WitnessEvent) GetWitnessType() WitnessType

func (*WitnessEvent) ProtoMessage

func (*WitnessEvent) ProtoMessage()

func (*WitnessEvent) ProtoReflect

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

func (*WitnessEvent) Reset

func (x *WitnessEvent) Reset()

func (*WitnessEvent) String

func (x *WitnessEvent) String() string

type WitnessType

type WitnessType int32
const (
	WitnessType_WITNESS           WitnessType = 0
	WitnessType_WITNESS_GODPARENT WitnessType = 1
	WitnessType_WITNESS_OFFICER   WitnessType = 2
)

func (WitnessType) Descriptor

func (WitnessType) Enum

func (x WitnessType) Enum() *WitnessType

func (WitnessType) EnumDescriptor deprecated

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

Deprecated: Use WitnessType.Descriptor instead.

func (WitnessType) Number

func (x WitnessType) Number() protoreflect.EnumNumber

func (WitnessType) String

func (x WitnessType) String() string

func (WitnessType) Type

func (*WitnessType) UnmarshalJSON deprecated

func (x *WitnessType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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