search

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_search_search_proto protoreflect.FileDescriptor
View Source
var File_search_search_response_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Id           uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Rating       uint32 `protobuf:"varint,2,opt,name=rating,proto3" json:"rating,omitempty"`
	IsPersonal   bool   `protobuf:"varint,3,opt,name=isPersonal,proto3" json:"isPersonal,omitempty"`
	Text         string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	CreationDate string `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	Username     string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*Comment) Descriptor deprecated

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

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetCreationDate

func (x *Comment) GetCreationDate() string

func (*Comment) GetId

func (x *Comment) GetId() uint32

func (*Comment) GetIsPersonal

func (x *Comment) GetIsPersonal() bool

func (*Comment) GetRating

func (x *Comment) GetRating() uint32

func (*Comment) GetText

func (x *Comment) GetText() string

func (*Comment) GetUsername

func (x *Comment) GetUsername() string

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect

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

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string
type MenuItem struct {
	Id                     uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                   string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RestrictionIds         []uint32 `protobuf:"varint,3,rep,packed,name=restriction_ids,json=restrictionIds,proto3" json:"restriction_ids,omitempty"`
	MatchingRestrictionIds []uint32 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}
func (*MenuItem) Descriptor() ([]byte, []int)

Deprecated: Use MenuItem.ProtoReflect.Descriptor instead.

func (x *MenuItem) GetId() uint32
func (x *MenuItem) GetMatchingRestrictionIds() []uint32
func (x *MenuItem) GetName() string
func (x *MenuItem) GetRestrictionIds() []uint32
func (*MenuItem) ProtoMessage()
func (x *MenuItem) ProtoReflect() protoreflect.Message
func (x *MenuItem) Reset()
func (x *MenuItem) String() string

type Place

type Place struct {
	Id                  uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SupplierId          string   `protobuf:"bytes,2,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
	RestrictionIds      []uint32 `protobuf:"varint,3,rep,packed,name=restriction_ids,json=restrictionIds,proto3" json:"restriction_ids,omitempty"`
	CommentIds          []uint32 `protobuf:"varint,4,rep,packed,name=comment_ids,json=commentIds,proto3" json:"comment_ids,omitempty"`
	PersonalRating      uint32   `protobuf:"varint,5,opt,name=personal_rating,json=personalRating,proto3" json:"personal_rating,omitempty"`
	PersonalRatingCount uint32   `protobuf:"varint,6,opt,name=personal_rating_count,json=personalRatingCount,proto3" json:"personal_rating_count,omitempty"`
	Rating              uint32   `protobuf:"varint,7,opt,name=rating,proto3" json:"rating,omitempty"`
	RatingCount         uint32   `protobuf:"varint,8,opt,name=rating_count,json=ratingCount,proto3" json:"rating_count,omitempty"`
	IsPerfectMatch      bool     `protobuf:"varint,9,opt,name=is_perfect_match,json=isPerfectMatch,proto3" json:"is_perfect_match,omitempty"`
	// contains filtered or unexported fields
}

func (*Place) Descriptor deprecated

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

Deprecated: Use Place.ProtoReflect.Descriptor instead.

func (*Place) GetCommentIds

func (x *Place) GetCommentIds() []uint32

func (*Place) GetId

func (x *Place) GetId() uint32

func (*Place) GetIsPerfectMatch

func (x *Place) GetIsPerfectMatch() bool

func (*Place) GetPersonalRating

func (x *Place) GetPersonalRating() uint32

func (*Place) GetPersonalRatingCount

func (x *Place) GetPersonalRatingCount() uint32

func (*Place) GetRating

func (x *Place) GetRating() uint32

func (*Place) GetRatingCount

func (x *Place) GetRatingCount() uint32

func (*Place) GetRestrictionIds

func (x *Place) GetRestrictionIds() []uint32

func (*Place) GetSupplierId

func (x *Place) GetSupplierId() string

func (*Place) ProtoMessage

func (*Place) ProtoMessage()

func (*Place) ProtoReflect

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

func (*Place) Reset

func (x *Place) Reset()

func (*Place) String

func (x *Place) String() string

type Restriction

type Restriction struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Restriction) Descriptor deprecated

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

Deprecated: Use Restriction.ProtoReflect.Descriptor instead.

func (*Restriction) GetId

func (x *Restriction) GetId() uint32

func (*Restriction) GetName

func (x *Restriction) GetName() string

func (*Restriction) ProtoMessage

func (*Restriction) ProtoMessage()

func (*Restriction) ProtoReflect

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

func (*Restriction) Reset

func (x *Restriction) Reset()

func (*Restriction) String

func (x *Restriction) String() string

type SearchInput

type SearchInput struct {
	Input *SearchInput_Input `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchInput) Descriptor deprecated

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

Deprecated: Use SearchInput.ProtoReflect.Descriptor instead.

func (*SearchInput) GetInput

func (x *SearchInput) GetInput() *SearchInput_Input

func (*SearchInput) ProtoMessage

func (*SearchInput) ProtoMessage()

func (*SearchInput) ProtoReflect

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

func (*SearchInput) Reset

func (x *SearchInput) Reset()

func (*SearchInput) String

func (x *SearchInput) String() string

type SearchInput_Input

type SearchInput_Input struct {
	UserId   string   `protobuf:"bytes,1,opt,name=user_id,proto3" json:"user_id,omitempty"`
	PlaceIds []uint32 `protobuf:"varint,2,rep,packed,name=place_ids,proto3" json:"place_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchInput_Input) Descriptor deprecated

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

Deprecated: Use SearchInput_Input.ProtoReflect.Descriptor instead.

func (*SearchInput_Input) GetPlaceIds

func (x *SearchInput_Input) GetPlaceIds() []uint32

func (*SearchInput_Input) GetUserId

func (x *SearchInput_Input) GetUserId() string

func (*SearchInput_Input) ProtoMessage

func (*SearchInput_Input) ProtoMessage()

func (*SearchInput_Input) ProtoReflect

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

func (*SearchInput_Input) Reset

func (x *SearchInput_Input) Reset()

func (*SearchInput_Input) String

func (x *SearchInput_Input) String() string

type SearchOutput

type SearchOutput struct {
	UserByPk *user.UserDB     `protobuf:"bytes,1,opt,name=user_by_pk,json=userByPk,proto3" json:"user_by_pk,omitempty"`
	Place    []*place.PlaceDB `protobuf:"bytes,2,rep,name=place,proto3" json:"place,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchOutput) Descriptor deprecated

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

Deprecated: Use SearchOutput.ProtoReflect.Descriptor instead.

func (*SearchOutput) GetPlace

func (x *SearchOutput) GetPlace() []*place.PlaceDB

func (*SearchOutput) GetUserByPk

func (x *SearchOutput) GetUserByPk() *user.UserDB

func (*SearchOutput) ProtoMessage

func (*SearchOutput) ProtoMessage()

func (*SearchOutput) ProtoReflect

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

func (*SearchOutput) Reset

func (x *SearchOutput) Reset()

func (*SearchOutput) String

func (x *SearchOutput) String() string

type SearchOutputData

type SearchOutputData struct {
	Data *SearchOutput `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchOutputData) Descriptor deprecated

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

Deprecated: Use SearchOutputData.ProtoReflect.Descriptor instead.

func (*SearchOutputData) GetData

func (x *SearchOutputData) GetData() *SearchOutput

func (*SearchOutputData) ProtoMessage

func (*SearchOutputData) ProtoMessage()

func (*SearchOutputData) ProtoReflect

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

func (*SearchOutputData) Reset

func (x *SearchOutputData) Reset()

func (*SearchOutputData) String

func (x *SearchOutputData) String() string

type SearchResponse

type SearchResponse struct {
	User                 *User                   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	PersonalizedPlaceIds []uint32                `` /* 131-byte string literal not displayed */
	Restrictions         map[uint32]*Restriction `` /* 166-byte string literal not displayed */
	Places               map[uint32]*Place       `` /* 154-byte string literal not displayed */
	Comments             map[uint32]*Comment     `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

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

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetComments

func (x *SearchResponse) GetComments() map[uint32]*Comment

func (*SearchResponse) GetPersonalizedPlaceIds

func (x *SearchResponse) GetPersonalizedPlaceIds() []uint32

func (*SearchResponse) GetPlaces

func (x *SearchResponse) GetPlaces() map[uint32]*Place

func (*SearchResponse) GetRestrictions

func (x *SearchResponse) GetRestrictions() map[uint32]*Restriction

func (*SearchResponse) GetUser

func (x *SearchResponse) GetUser() *User

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

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

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type SearchValue

type SearchValue struct {
	Query     string             `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Variables *SearchInput_Input `protobuf:"bytes,2,opt,name=variables,proto3" json:"variables,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchValue) Descriptor deprecated

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

Deprecated: Use SearchValue.ProtoReflect.Descriptor instead.

func (*SearchValue) GetQuery

func (x *SearchValue) GetQuery() string

func (*SearchValue) GetVariables

func (x *SearchValue) GetVariables() *SearchInput_Input

func (*SearchValue) ProtoMessage

func (*SearchValue) ProtoMessage()

func (*SearchValue) ProtoReflect

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

func (*SearchValue) Reset

func (x *SearchValue) Reset()

func (*SearchValue) String

func (x *SearchValue) String() string

type User

type User struct {
	Id             string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Username       string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	RestrictionIds []uint32 `protobuf:"varint,3,rep,packed,name=restriction_ids,json=restrictionIds,proto3" json:"restriction_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetId

func (x *User) GetId() string

func (*User) GetRestrictionIds

func (x *User) GetRestrictionIds() []uint32

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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