proto

package
v0.0.0-...-ae3587a Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterUserSearchServiceServer

func RegisterUserSearchServiceServer(s *grpc.Server, srv UserSearchServiceServer)

Types

type Face

type Face struct {
	X                    int32    `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y                    int32    `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	Width                int32    `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	Height               int32    `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	PostId               int32    `protobuf:"varint,5,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	FullImageSrc         string   `protobuf:"bytes,6,opt,name=full_image_src,json=fullImageSrc,proto3" json:"full_image_src,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Face) Descriptor

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

func (*Face) GetFullImageSrc

func (m *Face) GetFullImageSrc() string

func (*Face) GetHeight

func (m *Face) GetHeight() int32

func (*Face) GetPostId

func (m *Face) GetPostId() int32

func (*Face) GetWidth

func (m *Face) GetWidth() int32

func (*Face) GetX

func (m *Face) GetX() int32

func (*Face) GetY

func (m *Face) GetY() int32

func (*Face) ProtoMessage

func (*Face) ProtoMessage()

func (*Face) Reset

func (m *Face) Reset()

func (*Face) String

func (m *Face) String() string

func (*Face) XXX_DiscardUnknown

func (m *Face) XXX_DiscardUnknown()

func (*Face) XXX_Marshal

func (m *Face) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Face) XXX_Merge

func (dst *Face) XXX_Merge(src proto.Message)

func (*Face) XXX_Size

func (m *Face) XXX_Size() int

func (*Face) XXX_Unmarshal

func (m *Face) XXX_Unmarshal(b []byte) error

type FaceSearchRequest

type FaceSearchRequest struct {
	Base64EncodedPicture string   `protobuf:"bytes,1,opt,name=base64EncodedPicture,proto3" json:"base64EncodedPicture,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FaceSearchRequest) Descriptor

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

func (*FaceSearchRequest) GetBase64EncodedPicture

func (m *FaceSearchRequest) GetBase64EncodedPicture() string

func (*FaceSearchRequest) ProtoMessage

func (*FaceSearchRequest) ProtoMessage()

func (*FaceSearchRequest) Reset

func (m *FaceSearchRequest) Reset()

func (*FaceSearchRequest) String

func (m *FaceSearchRequest) String() string

func (*FaceSearchRequest) XXX_DiscardUnknown

func (m *FaceSearchRequest) XXX_DiscardUnknown()

func (*FaceSearchRequest) XXX_Marshal

func (m *FaceSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaceSearchRequest) XXX_Merge

func (dst *FaceSearchRequest) XXX_Merge(src proto.Message)

func (*FaceSearchRequest) XXX_Size

func (m *FaceSearchRequest) XXX_Size() int

func (*FaceSearchRequest) XXX_Unmarshal

func (m *FaceSearchRequest) XXX_Unmarshal(b []byte) error

type FaceSearchResponse

type FaceSearchResponse struct {
	Faces                []*Face  `protobuf:"bytes,1,rep,name=faces,proto3" json:"faces,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FaceSearchResponse) Descriptor

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

func (*FaceSearchResponse) GetFaces

func (m *FaceSearchResponse) GetFaces() []*Face

func (*FaceSearchResponse) ProtoMessage

func (*FaceSearchResponse) ProtoMessage()

func (*FaceSearchResponse) Reset

func (m *FaceSearchResponse) Reset()

func (*FaceSearchResponse) String

func (m *FaceSearchResponse) String() string

func (*FaceSearchResponse) XXX_DiscardUnknown

func (m *FaceSearchResponse) XXX_DiscardUnknown()

func (*FaceSearchResponse) XXX_Marshal

func (m *FaceSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaceSearchResponse) XXX_Merge

func (dst *FaceSearchResponse) XXX_Merge(src proto.Message)

func (*FaceSearchResponse) XXX_Size

func (m *FaceSearchResponse) XXX_Size() int

func (*FaceSearchResponse) XXX_Unmarshal

func (m *FaceSearchResponse) XXX_Unmarshal(b []byte) error

type FoundCities

type FoundCities struct {
	CityNames            []string `protobuf:"bytes,1,rep,name=city_names,json=cityNames,proto3" json:"city_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FoundCities) Descriptor

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

func (*FoundCities) GetCityNames

func (m *FoundCities) GetCityNames() []string

func (*FoundCities) ProtoMessage

func (*FoundCities) ProtoMessage()

func (*FoundCities) Reset

func (m *FoundCities) Reset()

func (*FoundCities) String

func (m *FoundCities) String() string

func (*FoundCities) XXX_DiscardUnknown

func (m *FoundCities) XXX_DiscardUnknown()

func (*FoundCities) XXX_Marshal

func (m *FoundCities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FoundCities) XXX_Merge

func (dst *FoundCities) XXX_Merge(src proto.Message)

func (*FoundCities) XXX_Size

func (m *FoundCities) XXX_Size() int

func (*FoundCities) XXX_Unmarshal

func (m *FoundCities) XXX_Unmarshal(b []byte) error

type InstaPost

type InstaPost struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PostId               string   `protobuf:"bytes,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	ImgUrl               string   `protobuf:"bytes,3,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"`
	Caption              string   `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"`
	TaggedUsers          []*User  `protobuf:"bytes,5,rep,name=tagged_users,json=taggedUsers,proto3" json:"tagged_users,omitempty"`
	ShortCode            string   `protobuf:"bytes,6,opt,name=short_code,json=shortCode,proto3" json:"short_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InstaPost) Descriptor

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

func (*InstaPost) GetCaption

func (m *InstaPost) GetCaption() string

func (*InstaPost) GetId

func (m *InstaPost) GetId() string

func (*InstaPost) GetImgUrl

func (m *InstaPost) GetImgUrl() string

func (*InstaPost) GetPostId

func (m *InstaPost) GetPostId() string

func (*InstaPost) GetShortCode

func (m *InstaPost) GetShortCode() string

func (*InstaPost) GetTaggedUsers

func (m *InstaPost) GetTaggedUsers() []*User

func (*InstaPost) ProtoMessage

func (*InstaPost) ProtoMessage()

func (*InstaPost) Reset

func (m *InstaPost) Reset()

func (*InstaPost) String

func (m *InstaPost) String() string

func (*InstaPost) XXX_DiscardUnknown

func (m *InstaPost) XXX_DiscardUnknown()

func (*InstaPost) XXX_Marshal

func (m *InstaPost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstaPost) XXX_Merge

func (dst *InstaPost) XXX_Merge(src proto.Message)

func (*InstaPost) XXX_Size

func (m *InstaPost) XXX_Size() int

func (*InstaPost) XXX_Unmarshal

func (m *InstaPost) XXX_Unmarshal(b []byte) error

type InstaPostsResponse

type InstaPostsResponse struct {
	UserId               string       `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	InstaPosts           []*InstaPost `protobuf:"bytes,2,rep,name=insta_posts,json=instaPosts,proto3" json:"insta_posts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*InstaPostsResponse) Descriptor

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

func (*InstaPostsResponse) GetInstaPosts

func (m *InstaPostsResponse) GetInstaPosts() []*InstaPost

func (*InstaPostsResponse) GetUserId

func (m *InstaPostsResponse) GetUserId() string

func (*InstaPostsResponse) ProtoMessage

func (*InstaPostsResponse) ProtoMessage()

func (*InstaPostsResponse) Reset

func (m *InstaPostsResponse) Reset()

func (*InstaPostsResponse) String

func (m *InstaPostsResponse) String() string

func (*InstaPostsResponse) XXX_DiscardUnknown

func (m *InstaPostsResponse) XXX_DiscardUnknown()

func (*InstaPostsResponse) XXX_Marshal

func (m *InstaPostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstaPostsResponse) XXX_Merge

func (dst *InstaPostsResponse) XXX_Merge(src proto.Message)

func (*InstaPostsResponse) XXX_Size

func (m *InstaPostsResponse) XXX_Size() int

func (*InstaPostsResponse) XXX_Unmarshal

func (m *InstaPostsResponse) XXX_Unmarshal(b []byte) error

type User

type User struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserName             string   `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	RealName             string   `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	Bio                  string   `protobuf:"bytes,4,opt,name=bio,proto3" json:"bio,omitempty"`
	AvatarUrl            string   `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Followings           []*User  `protobuf:"bytes,6,rep,name=followings,proto3" json:"followings,omitempty"`
	Followers            []*User  `protobuf:"bytes,7,rep,name=followers,proto3" json:"followers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetAvatarUrl

func (m *User) GetAvatarUrl() string

func (*User) GetBio

func (m *User) GetBio() string

func (*User) GetFollowers

func (m *User) GetFollowers() []*User

func (*User) GetFollowings

func (m *User) GetFollowings() []*User

func (*User) GetId

func (m *User) GetId() string

func (*User) GetRealName

func (m *User) GetRealName() string

func (*User) GetUserName

func (m *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (dst *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserDataPointCount

type UserDataPointCount struct {
	Count                int32    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserDataPointCount) Descriptor

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

func (*UserDataPointCount) GetCount

func (m *UserDataPointCount) GetCount() int32

func (*UserDataPointCount) ProtoMessage

func (*UserDataPointCount) ProtoMessage()

func (*UserDataPointCount) Reset

func (m *UserDataPointCount) Reset()

func (*UserDataPointCount) String

func (m *UserDataPointCount) String() string

func (*UserDataPointCount) XXX_DiscardUnknown

func (m *UserDataPointCount) XXX_DiscardUnknown()

func (*UserDataPointCount) XXX_Marshal

func (m *UserDataPointCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserDataPointCount) XXX_Merge

func (dst *UserDataPointCount) XXX_Merge(src proto.Message)

func (*UserDataPointCount) XXX_Size

func (m *UserDataPointCount) XXX_Size() int

func (*UserDataPointCount) XXX_Unmarshal

func (m *UserDataPointCount) XXX_Unmarshal(b []byte) error

type UserIdRequest

type UserIdRequest struct {
	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserIdRequest) Descriptor

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

func (*UserIdRequest) GetUserId

func (m *UserIdRequest) GetUserId() string

func (*UserIdRequest) ProtoMessage

func (*UserIdRequest) ProtoMessage()

func (*UserIdRequest) Reset

func (m *UserIdRequest) Reset()

func (*UserIdRequest) String

func (m *UserIdRequest) String() string

func (*UserIdRequest) XXX_DiscardUnknown

func (m *UserIdRequest) XXX_DiscardUnknown()

func (*UserIdRequest) XXX_Marshal

func (m *UserIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserIdRequest) XXX_Merge

func (dst *UserIdRequest) XXX_Merge(src proto.Message)

func (*UserIdRequest) XXX_Size

func (m *UserIdRequest) XXX_Size() int

func (*UserIdRequest) XXX_Unmarshal

func (m *UserIdRequest) XXX_Unmarshal(b []byte) error

type UserNameRequest

type UserNameRequest struct {
	UserName             string   `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserNameRequest) Descriptor

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

func (*UserNameRequest) GetUserName

func (m *UserNameRequest) GetUserName() string

func (*UserNameRequest) ProtoMessage

func (*UserNameRequest) ProtoMessage()

func (*UserNameRequest) Reset

func (m *UserNameRequest) Reset()

func (*UserNameRequest) String

func (m *UserNameRequest) String() string

func (*UserNameRequest) XXX_DiscardUnknown

func (m *UserNameRequest) XXX_DiscardUnknown()

func (*UserNameRequest) XXX_Marshal

func (m *UserNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserNameRequest) XXX_Merge

func (dst *UserNameRequest) XXX_Merge(src proto.Message)

func (*UserNameRequest) XXX_Size

func (m *UserNameRequest) XXX_Size() int

func (*UserNameRequest) XXX_Unmarshal

func (m *UserNameRequest) XXX_Unmarshal(b []byte) error

type UserSearchResponse

type UserSearchResponse struct {
	UserList             []*User  `protobuf:"bytes,1,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserSearchResponse) Descriptor

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

func (*UserSearchResponse) GetUserList

func (m *UserSearchResponse) GetUserList() []*User

func (*UserSearchResponse) ProtoMessage

func (*UserSearchResponse) ProtoMessage()

func (*UserSearchResponse) Reset

func (m *UserSearchResponse) Reset()

func (*UserSearchResponse) String

func (m *UserSearchResponse) String() string

func (*UserSearchResponse) XXX_DiscardUnknown

func (m *UserSearchResponse) XXX_DiscardUnknown()

func (*UserSearchResponse) XXX_Marshal

func (m *UserSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserSearchResponse) XXX_Merge

func (dst *UserSearchResponse) XXX_Merge(src proto.Message)

func (*UserSearchResponse) XXX_Size

func (m *UserSearchResponse) XXX_Size() int

func (*UserSearchResponse) XXX_Unmarshal

func (m *UserSearchResponse) XXX_Unmarshal(b []byte) error

type UserSearchServiceClient

type UserSearchServiceClient interface {
	GetAllUsersLikeUsername(ctx context.Context, in *UserNameRequest, opts ...grpc.CallOption) (*UserSearchResponse, error)
	GetUserWithUserId(ctx context.Context, in *UserIdRequest, opts ...grpc.CallOption) (*User, error)
	GetUserWithUsername(ctx context.Context, in *UserNameRequest, opts ...grpc.CallOption) (*User, error)
	GetInstaPostsWithUserId(ctx context.Context, in *UserIdRequest, opts ...grpc.CallOption) (*InstaPostsResponse, error)
	SearchSimilarFaces(ctx context.Context, in *FaceSearchRequest, opts ...grpc.CallOption) (*FaceSearchResponse, error)
	SearchUsersWithWeightedPosts(ctx context.Context, in *WeightedPosts, opts ...grpc.CallOption) (*WeightedUsers, error)
	DataPointCountForUserId(ctx context.Context, in *UserIdRequest, opts ...grpc.CallOption) (*UserDataPointCount, error)
	FindCitiesForUserId(ctx context.Context, in *UserIdRequest, opts ...grpc.CallOption) (*FoundCities, error)
}

UserSearchServiceClient is the client API for UserSearchService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUserSearchServiceClient

func NewUserSearchServiceClient(cc *grpc.ClientConn) UserSearchServiceClient

type UserSearchServiceServer

type UserSearchServiceServer interface {
	GetAllUsersLikeUsername(context.Context, *UserNameRequest) (*UserSearchResponse, error)
	GetUserWithUserId(context.Context, *UserIdRequest) (*User, error)
	GetUserWithUsername(context.Context, *UserNameRequest) (*User, error)
	GetInstaPostsWithUserId(context.Context, *UserIdRequest) (*InstaPostsResponse, error)
	SearchSimilarFaces(context.Context, *FaceSearchRequest) (*FaceSearchResponse, error)
	SearchUsersWithWeightedPosts(context.Context, *WeightedPosts) (*WeightedUsers, error)
	DataPointCountForUserId(context.Context, *UserIdRequest) (*UserDataPointCount, error)
	FindCitiesForUserId(context.Context, *UserIdRequest) (*FoundCities, error)
}

UserSearchServiceServer is the server API for UserSearchService service.

type UserWithFaces

type UserWithFaces struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Faces                []*Face  `protobuf:"bytes,2,rep,name=faces,proto3" json:"faces,omitempty"`
	Weight               int32    `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserWithFaces) Descriptor

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

func (*UserWithFaces) GetFaces

func (m *UserWithFaces) GetFaces() []*Face

func (*UserWithFaces) GetUser

func (m *UserWithFaces) GetUser() *User

func (*UserWithFaces) GetWeight

func (m *UserWithFaces) GetWeight() int32

func (*UserWithFaces) ProtoMessage

func (*UserWithFaces) ProtoMessage()

func (*UserWithFaces) Reset

func (m *UserWithFaces) Reset()

func (*UserWithFaces) String

func (m *UserWithFaces) String() string

func (*UserWithFaces) XXX_DiscardUnknown

func (m *UserWithFaces) XXX_DiscardUnknown()

func (*UserWithFaces) XXX_Marshal

func (m *UserWithFaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserWithFaces) XXX_Merge

func (dst *UserWithFaces) XXX_Merge(src proto.Message)

func (*UserWithFaces) XXX_Size

func (m *UserWithFaces) XXX_Size() int

func (*UserWithFaces) XXX_Unmarshal

func (m *UserWithFaces) XXX_Unmarshal(b []byte) error

type WeightedPostWithFaces

type WeightedPostWithFaces struct {
	PostId               int32    `protobuf:"varint,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	Weight               int32    `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	Faces                []*Face  `protobuf:"bytes,3,rep,name=faces,proto3" json:"faces,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WeightedPostWithFaces) Descriptor

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

func (*WeightedPostWithFaces) GetFaces

func (m *WeightedPostWithFaces) GetFaces() []*Face

func (*WeightedPostWithFaces) GetPostId

func (m *WeightedPostWithFaces) GetPostId() int32

func (*WeightedPostWithFaces) GetWeight

func (m *WeightedPostWithFaces) GetWeight() int32

func (*WeightedPostWithFaces) ProtoMessage

func (*WeightedPostWithFaces) ProtoMessage()

func (*WeightedPostWithFaces) Reset

func (m *WeightedPostWithFaces) Reset()

func (*WeightedPostWithFaces) String

func (m *WeightedPostWithFaces) String() string

func (*WeightedPostWithFaces) XXX_DiscardUnknown

func (m *WeightedPostWithFaces) XXX_DiscardUnknown()

func (*WeightedPostWithFaces) XXX_Marshal

func (m *WeightedPostWithFaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedPostWithFaces) XXX_Merge

func (dst *WeightedPostWithFaces) XXX_Merge(src proto.Message)

func (*WeightedPostWithFaces) XXX_Size

func (m *WeightedPostWithFaces) XXX_Size() int

func (*WeightedPostWithFaces) XXX_Unmarshal

func (m *WeightedPostWithFaces) XXX_Unmarshal(b []byte) error

type WeightedPosts

type WeightedPosts struct {
	Posts                []*WeightedPostWithFaces `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*WeightedPosts) Descriptor

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

func (*WeightedPosts) GetPosts

func (m *WeightedPosts) GetPosts() []*WeightedPostWithFaces

func (*WeightedPosts) ProtoMessage

func (*WeightedPosts) ProtoMessage()

func (*WeightedPosts) Reset

func (m *WeightedPosts) Reset()

func (*WeightedPosts) String

func (m *WeightedPosts) String() string

func (*WeightedPosts) XXX_DiscardUnknown

func (m *WeightedPosts) XXX_DiscardUnknown()

func (*WeightedPosts) XXX_Marshal

func (m *WeightedPosts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedPosts) XXX_Merge

func (dst *WeightedPosts) XXX_Merge(src proto.Message)

func (*WeightedPosts) XXX_Size

func (m *WeightedPosts) XXX_Size() int

func (*WeightedPosts) XXX_Unmarshal

func (m *WeightedPosts) XXX_Unmarshal(b []byte) error

type WeightedUsers

type WeightedUsers struct {
	UsersWithFaces       []*UserWithFaces `protobuf:"bytes,1,rep,name=users_with_faces,json=usersWithFaces,proto3" json:"users_with_faces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*WeightedUsers) Descriptor

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

func (*WeightedUsers) GetUsersWithFaces

func (m *WeightedUsers) GetUsersWithFaces() []*UserWithFaces

func (*WeightedUsers) ProtoMessage

func (*WeightedUsers) ProtoMessage()

func (*WeightedUsers) Reset

func (m *WeightedUsers) Reset()

func (*WeightedUsers) String

func (m *WeightedUsers) String() string

func (*WeightedUsers) XXX_DiscardUnknown

func (m *WeightedUsers) XXX_DiscardUnknown()

func (*WeightedUsers) XXX_Marshal

func (m *WeightedUsers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedUsers) XXX_Merge

func (dst *WeightedUsers) XXX_Merge(src proto.Message)

func (*WeightedUsers) XXX_Size

func (m *WeightedUsers) XXX_Size() int

func (*WeightedUsers) XXX_Unmarshal

func (m *WeightedUsers) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳