v1

package
v0.3.54 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_APP",
		2: "KIND_CHAT",
		3: "KIND_POST",
		4: "KIND_CIRCLE",
		5: "KIND_PROFILE",
	}
	Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"KIND_APP":         1,
		"KIND_CHAT":        2,
		"KIND_POST":        3,
		"KIND_CIRCLE":      4,
		"KIND_PROFILE":     5,
	}
)

Enum value maps for Kind.

View Source
var (
	PostScreenTimeKind_name = map[int32]string{
		0: "PostScreenTimeKind_Content",
		1: "PostScreenTimeKind_Comments",
	}
	PostScreenTimeKind_value = map[string]int32{
		"PostScreenTimeKind_Content":  0,
		"PostScreenTimeKind_Comments": 1,
	}
)

Enum value maps for PostScreenTimeKind.

View Source
var File_recommendation_api_recommendation_v1_recommendation_proto protoreflect.FileDescriptor
View Source
var RecommendationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "recommendation.v1.RecommendationService",
	HandlerType: (*RecommendationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SaveSearchResult",
			Handler:    _RecommendationService_SaveSearchResult_Handler,
		},
		{
			MethodName: "UnsaveSearchResult",
			Handler:    _RecommendationService_UnsaveSearchResult_Handler,
		},
		{
			MethodName: "GetSavedSearchResults",
			Handler:    _RecommendationService_GetSavedSearchResults_Handler,
		},
		{
			MethodName: "SavePostScreenTime",
			Handler:    _RecommendationService_SavePostScreenTime_Handler,
		},
		{
			MethodName: "GetCircleMeanScreenTime",
			Handler:    _RecommendationService_GetCircleMeanScreenTime_Handler,
		},
		{
			MethodName: "GetCircleTotalScreenTime",
			Handler:    _RecommendationService_GetCircleTotalScreenTime_Handler,
		},
		{
			MethodName: "SyncCircle",
			Handler:    _RecommendationService_SyncCircle_Handler,
		},
		{
			MethodName: "SyncCircleMember",
			Handler:    _RecommendationService_SyncCircleMember_Handler,
		},
		{
			MethodName: "SyncUser",
			Handler:    _RecommendationService_SyncUser_Handler,
		},
		{
			MethodName: "SyncUserFollow",
			Handler:    _RecommendationService_SyncUserFollow_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "recommendation-api/recommendation/v1/recommendation.proto",
}

RecommendationService_ServiceDesc is the grpc.ServiceDesc for RecommendationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRecommendationServiceServer

func RegisterRecommendationServiceServer(s grpc.ServiceRegistrar, srv RecommendationServiceServer)

Types

type EntityKey

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

func (*EntityKey) Descriptor deprecated

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

Deprecated: Use EntityKey.ProtoReflect.Descriptor instead.

func (*EntityKey) GetId

func (x *EntityKey) GetId() string

func (*EntityKey) ProtoMessage

func (*EntityKey) ProtoMessage()

func (*EntityKey) ProtoReflect

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

func (*EntityKey) Reset

func (x *EntityKey) Reset()

func (*EntityKey) String

func (x *EntityKey) String() string

type GetCircleMeanScreenTimeRequest added in v0.2.77

type GetCircleMeanScreenTimeRequest struct {
	CircleId string                 `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	After    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
	Before   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCircleMeanScreenTimeRequest) Descriptor deprecated added in v0.2.77

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

Deprecated: Use GetCircleMeanScreenTimeRequest.ProtoReflect.Descriptor instead.

func (*GetCircleMeanScreenTimeRequest) GetAfter added in v0.2.77

func (*GetCircleMeanScreenTimeRequest) GetBefore added in v0.2.77

func (*GetCircleMeanScreenTimeRequest) GetCircleId added in v0.2.77

func (x *GetCircleMeanScreenTimeRequest) GetCircleId() string

func (*GetCircleMeanScreenTimeRequest) ProtoMessage added in v0.2.77

func (*GetCircleMeanScreenTimeRequest) ProtoMessage()

func (*GetCircleMeanScreenTimeRequest) ProtoReflect added in v0.2.77

func (*GetCircleMeanScreenTimeRequest) Reset added in v0.2.77

func (x *GetCircleMeanScreenTimeRequest) Reset()

func (*GetCircleMeanScreenTimeRequest) String added in v0.2.77

type GetCircleMeanScreenTimeResponse added in v0.2.77

type GetCircleMeanScreenTimeResponse struct {
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCircleMeanScreenTimeResponse) Descriptor deprecated added in v0.2.77

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

Deprecated: Use GetCircleMeanScreenTimeResponse.ProtoReflect.Descriptor instead.

func (*GetCircleMeanScreenTimeResponse) GetDuration added in v0.2.77

func (*GetCircleMeanScreenTimeResponse) ProtoMessage added in v0.2.77

func (*GetCircleMeanScreenTimeResponse) ProtoMessage()

func (*GetCircleMeanScreenTimeResponse) ProtoReflect added in v0.2.77

func (*GetCircleMeanScreenTimeResponse) Reset added in v0.2.77

func (*GetCircleMeanScreenTimeResponse) String added in v0.2.77

type GetCircleTotalScreenTimeRequest added in v0.2.77

type GetCircleTotalScreenTimeRequest struct {
	CircleId string                 `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	After    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
	Before   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCircleTotalScreenTimeRequest) Descriptor deprecated added in v0.2.77

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

Deprecated: Use GetCircleTotalScreenTimeRequest.ProtoReflect.Descriptor instead.

func (*GetCircleTotalScreenTimeRequest) GetAfter added in v0.2.77

func (*GetCircleTotalScreenTimeRequest) GetBefore added in v0.2.77

func (*GetCircleTotalScreenTimeRequest) GetCircleId added in v0.2.77

func (x *GetCircleTotalScreenTimeRequest) GetCircleId() string

func (*GetCircleTotalScreenTimeRequest) ProtoMessage added in v0.2.77

func (*GetCircleTotalScreenTimeRequest) ProtoMessage()

func (*GetCircleTotalScreenTimeRequest) ProtoReflect added in v0.2.77

func (*GetCircleTotalScreenTimeRequest) Reset added in v0.2.77

func (*GetCircleTotalScreenTimeRequest) String added in v0.2.77

type GetCircleTotalScreenTimeResponse added in v0.2.77

type GetCircleTotalScreenTimeResponse struct {
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCircleTotalScreenTimeResponse) Descriptor deprecated added in v0.2.77

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

Deprecated: Use GetCircleTotalScreenTimeResponse.ProtoReflect.Descriptor instead.

func (*GetCircleTotalScreenTimeResponse) GetDuration added in v0.2.77

func (*GetCircleTotalScreenTimeResponse) ProtoMessage added in v0.2.77

func (*GetCircleTotalScreenTimeResponse) ProtoMessage()

func (*GetCircleTotalScreenTimeResponse) ProtoReflect added in v0.2.77

func (*GetCircleTotalScreenTimeResponse) Reset added in v0.2.77

func (*GetCircleTotalScreenTimeResponse) String added in v0.2.77

type GetSavedSearchResultsRequest

type GetSavedSearchResultsRequest struct {
	Kind   Kind                 `protobuf:"varint,1,opt,name=kind,proto3,enum=recommendation.v1.Kind" json:"kind,omitempty"`
	Cursor *protobuf.PageCursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSavedSearchResultsRequest) Descriptor deprecated

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

Deprecated: Use GetSavedSearchResultsRequest.ProtoReflect.Descriptor instead.

func (*GetSavedSearchResultsRequest) GetCursor

func (*GetSavedSearchResultsRequest) GetKind

func (x *GetSavedSearchResultsRequest) GetKind() Kind

func (*GetSavedSearchResultsRequest) ProtoMessage

func (*GetSavedSearchResultsRequest) ProtoMessage()

func (*GetSavedSearchResultsRequest) ProtoReflect

func (*GetSavedSearchResultsRequest) Reset

func (x *GetSavedSearchResultsRequest) Reset()

func (*GetSavedSearchResultsRequest) String

type GetSavedSearchResultsResponse

type GetSavedSearchResultsResponse struct {
	PageInfo *protobuf.PageInfo   `protobuf:"bytes,1,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	Results  []*SavedSearchResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSavedSearchResultsResponse) Descriptor deprecated

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

Deprecated: Use GetSavedSearchResultsResponse.ProtoReflect.Descriptor instead.

func (*GetSavedSearchResultsResponse) GetPageInfo

func (*GetSavedSearchResultsResponse) GetResults

func (*GetSavedSearchResultsResponse) ProtoMessage

func (*GetSavedSearchResultsResponse) ProtoMessage()

func (*GetSavedSearchResultsResponse) ProtoReflect

func (*GetSavedSearchResultsResponse) Reset

func (x *GetSavedSearchResultsResponse) Reset()

func (*GetSavedSearchResultsResponse) String

type Kind

type Kind int32
const (
	Kind_KIND_UNSPECIFIED Kind = 0
	Kind_KIND_APP         Kind = 1
	Kind_KIND_CHAT        Kind = 2
	Kind_KIND_POST        Kind = 3
	Kind_KIND_CIRCLE      Kind = 4
	Kind_KIND_PROFILE     Kind = 5
)

func (Kind) Descriptor

func (Kind) Descriptor() protoreflect.EnumDescriptor

func (Kind) Enum

func (x Kind) Enum() *Kind

func (Kind) EnumDescriptor deprecated

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

Deprecated: Use Kind.Descriptor instead.

func (Kind) Number

func (x Kind) Number() protoreflect.EnumNumber

func (Kind) String

func (x Kind) String() string

func (Kind) Type

func (Kind) Type() protoreflect.EnumType

type PostScreenTimeKind added in v0.2.77

type PostScreenTimeKind int32

buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX

const (
	PostScreenTimeKind_PostScreenTimeKind_Content  PostScreenTimeKind = 0
	PostScreenTimeKind_PostScreenTimeKind_Comments PostScreenTimeKind = 1
)

func (PostScreenTimeKind) Descriptor added in v0.2.77

func (PostScreenTimeKind) Enum added in v0.2.77

func (PostScreenTimeKind) EnumDescriptor deprecated added in v0.2.77

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

Deprecated: Use PostScreenTimeKind.Descriptor instead.

func (PostScreenTimeKind) Number added in v0.2.77

func (PostScreenTimeKind) String added in v0.2.77

func (x PostScreenTimeKind) String() string

func (PostScreenTimeKind) Type added in v0.2.77

type RecommendationServiceClient

type RecommendationServiceClient interface {
	SaveSearchResult(ctx context.Context, in *SaveSearchResultRequest, opts ...grpc.CallOption) (*SaveSearchResultResponse, error)
	UnsaveSearchResult(ctx context.Context, in *UnsaveSearchResultRequest, opts ...grpc.CallOption) (*UnsaveSearchResultResponse, error)
	GetSavedSearchResults(ctx context.Context, in *GetSavedSearchResultsRequest, opts ...grpc.CallOption) (*GetSavedSearchResultsResponse, error)
	SavePostScreenTime(ctx context.Context, in *SavePostScreenTimeRequest, opts ...grpc.CallOption) (*SavePostScreenTimeResponse, error)
	GetCircleMeanScreenTime(ctx context.Context, in *GetCircleMeanScreenTimeRequest, opts ...grpc.CallOption) (*GetCircleMeanScreenTimeResponse, error)
	GetCircleTotalScreenTime(ctx context.Context, in *GetCircleTotalScreenTimeRequest, opts ...grpc.CallOption) (*GetCircleTotalScreenTimeResponse, error)
	SyncCircle(ctx context.Context, in *SyncCircleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SyncCircleMember(ctx context.Context, in *SyncCircleMemberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SyncUser(ctx context.Context, in *SyncUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SyncUserFollow(ctx context.Context, in *SyncUserFollowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

RecommendationServiceClient is the client API for RecommendationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RecommendationServiceServer

RecommendationServiceServer is the server API for RecommendationService service. All implementations must embed UnimplementedRecommendationServiceServer for forward compatibility

type SavePostScreenTimeRequest added in v0.2.77

type SavePostScreenTimeRequest struct {
	PostId   string               `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Kind     PostScreenTimeKind   `protobuf:"varint,3,opt,name=kind,proto3,enum=recommendation.v1.PostScreenTimeKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*SavePostScreenTimeRequest) Descriptor deprecated added in v0.2.77

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

Deprecated: Use SavePostScreenTimeRequest.ProtoReflect.Descriptor instead.

func (*SavePostScreenTimeRequest) GetDuration added in v0.2.77

func (x *SavePostScreenTimeRequest) GetDuration() *durationpb.Duration

func (*SavePostScreenTimeRequest) GetKind added in v0.2.77

func (*SavePostScreenTimeRequest) GetPostId added in v0.2.77

func (x *SavePostScreenTimeRequest) GetPostId() string

func (*SavePostScreenTimeRequest) ProtoMessage added in v0.2.77

func (*SavePostScreenTimeRequest) ProtoMessage()

func (*SavePostScreenTimeRequest) ProtoReflect added in v0.2.77

func (*SavePostScreenTimeRequest) Reset added in v0.2.77

func (x *SavePostScreenTimeRequest) Reset()

func (*SavePostScreenTimeRequest) String added in v0.2.77

func (x *SavePostScreenTimeRequest) String() string

type SavePostScreenTimeResponse added in v0.2.77

type SavePostScreenTimeResponse struct {
	// contains filtered or unexported fields
}

func (*SavePostScreenTimeResponse) Descriptor deprecated added in v0.2.77

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

Deprecated: Use SavePostScreenTimeResponse.ProtoReflect.Descriptor instead.

func (*SavePostScreenTimeResponse) ProtoMessage added in v0.2.77

func (*SavePostScreenTimeResponse) ProtoMessage()

func (*SavePostScreenTimeResponse) ProtoReflect added in v0.2.77

func (*SavePostScreenTimeResponse) Reset added in v0.2.77

func (x *SavePostScreenTimeResponse) Reset()

func (*SavePostScreenTimeResponse) String added in v0.2.77

func (x *SavePostScreenTimeResponse) String() string

type SaveSearchResultRequest

type SaveSearchResultRequest struct {
	Kind      Kind       `protobuf:"varint,1,opt,name=kind,proto3,enum=recommendation.v1.Kind" json:"kind,omitempty"`
	EntityKey *EntityKey `protobuf:"bytes,2,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveSearchResultRequest) Descriptor deprecated

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

Deprecated: Use SaveSearchResultRequest.ProtoReflect.Descriptor instead.

func (*SaveSearchResultRequest) GetEntityKey

func (x *SaveSearchResultRequest) GetEntityKey() *EntityKey

func (*SaveSearchResultRequest) GetKind

func (x *SaveSearchResultRequest) GetKind() Kind

func (*SaveSearchResultRequest) ProtoMessage

func (*SaveSearchResultRequest) ProtoMessage()

func (*SaveSearchResultRequest) ProtoReflect

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

func (*SaveSearchResultRequest) Reset

func (x *SaveSearchResultRequest) Reset()

func (*SaveSearchResultRequest) String

func (x *SaveSearchResultRequest) String() string

type SaveSearchResultResponse

type SaveSearchResultResponse struct {
	// contains filtered or unexported fields
}

func (*SaveSearchResultResponse) Descriptor deprecated

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

Deprecated: Use SaveSearchResultResponse.ProtoReflect.Descriptor instead.

func (*SaveSearchResultResponse) ProtoMessage

func (*SaveSearchResultResponse) ProtoMessage()

func (*SaveSearchResultResponse) ProtoReflect

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

func (*SaveSearchResultResponse) Reset

func (x *SaveSearchResultResponse) Reset()

func (*SaveSearchResultResponse) String

func (x *SaveSearchResultResponse) String() string

type SavedSearchResult

type SavedSearchResult struct {
	Kind       Kind                   `protobuf:"varint,1,opt,name=kind,proto3,enum=recommendation.v1.Kind" json:"kind,omitempty"`
	EntityKey  *EntityKey             `protobuf:"bytes,2,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
	SearchedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=searched_at,json=searchedAt,proto3" json:"searched_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SavedSearchResult) Descriptor deprecated

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

Deprecated: Use SavedSearchResult.ProtoReflect.Descriptor instead.

func (*SavedSearchResult) GetEntityKey

func (x *SavedSearchResult) GetEntityKey() *EntityKey

func (*SavedSearchResult) GetKind

func (x *SavedSearchResult) GetKind() Kind

func (*SavedSearchResult) GetSearchedAt

func (x *SavedSearchResult) GetSearchedAt() *timestamppb.Timestamp

func (*SavedSearchResult) ProtoMessage

func (*SavedSearchResult) ProtoMessage()

func (*SavedSearchResult) ProtoReflect

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

func (*SavedSearchResult) Reset

func (x *SavedSearchResult) Reset()

func (*SavedSearchResult) String

func (x *SavedSearchResult) String() string

type SyncCircleMemberRequest added in v0.2.80

type SyncCircleMemberRequest struct {
	CircleId string                 `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	UserId   string                 `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	JoinedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	BannedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=banned_at,json=bannedAt,proto3" json:"banned_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncCircleMemberRequest) Descriptor deprecated added in v0.2.80

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

Deprecated: Use SyncCircleMemberRequest.ProtoReflect.Descriptor instead.

func (*SyncCircleMemberRequest) GetBannedAt added in v0.2.80

func (x *SyncCircleMemberRequest) GetBannedAt() *timestamppb.Timestamp

func (*SyncCircleMemberRequest) GetCircleId added in v0.2.80

func (x *SyncCircleMemberRequest) GetCircleId() string

func (*SyncCircleMemberRequest) GetJoinedAt added in v0.2.80

func (x *SyncCircleMemberRequest) GetJoinedAt() *timestamppb.Timestamp

func (*SyncCircleMemberRequest) GetUserId added in v0.2.80

func (x *SyncCircleMemberRequest) GetUserId() string

func (*SyncCircleMemberRequest) ProtoMessage added in v0.2.80

func (*SyncCircleMemberRequest) ProtoMessage()

func (*SyncCircleMemberRequest) ProtoReflect added in v0.2.80

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

func (*SyncCircleMemberRequest) Reset added in v0.2.80

func (x *SyncCircleMemberRequest) Reset()

func (*SyncCircleMemberRequest) String added in v0.2.80

func (x *SyncCircleMemberRequest) String() string

type SyncCircleRequest added in v0.2.80

type SyncCircleRequest struct {
	CircleId  string                 `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	GroupId   string                 `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncCircleRequest) Descriptor deprecated added in v0.2.80

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

Deprecated: Use SyncCircleRequest.ProtoReflect.Descriptor instead.

func (*SyncCircleRequest) GetCircleId added in v0.2.80

func (x *SyncCircleRequest) GetCircleId() string

func (*SyncCircleRequest) GetGroupId added in v0.2.80

func (x *SyncCircleRequest) GetGroupId() string

func (*SyncCircleRequest) GetUpdatedAt added in v0.2.80

func (x *SyncCircleRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*SyncCircleRequest) ProtoMessage added in v0.2.80

func (*SyncCircleRequest) ProtoMessage()

func (*SyncCircleRequest) ProtoReflect added in v0.2.80

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

func (*SyncCircleRequest) Reset added in v0.2.80

func (x *SyncCircleRequest) Reset()

func (*SyncCircleRequest) String added in v0.2.80

func (x *SyncCircleRequest) String() string

type SyncUserFollowRequest added in v0.2.80

type SyncUserFollowRequest struct {
	UserId       string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TargetUserId string                 `protobuf:"bytes,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
	FollowedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=followed_at,json=followedAt,proto3" json:"followed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncUserFollowRequest) Descriptor deprecated added in v0.2.80

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

Deprecated: Use SyncUserFollowRequest.ProtoReflect.Descriptor instead.

func (*SyncUserFollowRequest) GetFollowedAt added in v0.2.80

func (x *SyncUserFollowRequest) GetFollowedAt() *timestamppb.Timestamp

func (*SyncUserFollowRequest) GetTargetUserId added in v0.2.80

func (x *SyncUserFollowRequest) GetTargetUserId() string

func (*SyncUserFollowRequest) GetUserId added in v0.2.80

func (x *SyncUserFollowRequest) GetUserId() string

func (*SyncUserFollowRequest) ProtoMessage added in v0.2.80

func (*SyncUserFollowRequest) ProtoMessage()

func (*SyncUserFollowRequest) ProtoReflect added in v0.2.80

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

func (*SyncUserFollowRequest) Reset added in v0.2.80

func (x *SyncUserFollowRequest) Reset()

func (*SyncUserFollowRequest) String added in v0.2.80

func (x *SyncUserFollowRequest) String() string

type SyncUserRequest added in v0.2.80

type SyncUserRequest struct {
	UserId        string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	LanguageCodes []string               `protobuf:"bytes,2,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
	BannedAt      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=banned_at,json=bannedAt,proto3" json:"banned_at,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncUserRequest) Descriptor deprecated added in v0.2.80

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

Deprecated: Use SyncUserRequest.ProtoReflect.Descriptor instead.

func (*SyncUserRequest) GetBannedAt added in v0.2.80

func (x *SyncUserRequest) GetBannedAt() *timestamppb.Timestamp

func (*SyncUserRequest) GetCreatedAt added in v0.2.83

func (x *SyncUserRequest) GetCreatedAt() *timestamppb.Timestamp

func (*SyncUserRequest) GetLanguageCodes added in v0.2.80

func (x *SyncUserRequest) GetLanguageCodes() []string

func (*SyncUserRequest) GetUserId added in v0.2.80

func (x *SyncUserRequest) GetUserId() string

func (*SyncUserRequest) ProtoMessage added in v0.2.80

func (*SyncUserRequest) ProtoMessage()

func (*SyncUserRequest) ProtoReflect added in v0.2.80

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

func (*SyncUserRequest) Reset added in v0.2.80

func (x *SyncUserRequest) Reset()

func (*SyncUserRequest) String added in v0.2.80

func (x *SyncUserRequest) String() string

type UnimplementedRecommendationServiceServer

type UnimplementedRecommendationServiceServer struct {
}

UnimplementedRecommendationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRecommendationServiceServer) GetCircleMeanScreenTime added in v0.2.77

func (UnimplementedRecommendationServiceServer) GetCircleTotalScreenTime added in v0.2.77

func (UnimplementedRecommendationServiceServer) GetSavedSearchResults

func (UnimplementedRecommendationServiceServer) SavePostScreenTime added in v0.2.77

func (UnimplementedRecommendationServiceServer) SaveSearchResult

func (UnimplementedRecommendationServiceServer) SyncCircle added in v0.2.80

func (UnimplementedRecommendationServiceServer) SyncCircleMember added in v0.2.80

func (UnimplementedRecommendationServiceServer) SyncUser added in v0.2.80

func (UnimplementedRecommendationServiceServer) SyncUserFollow added in v0.2.80

func (UnimplementedRecommendationServiceServer) UnsaveSearchResult

type UnsafeRecommendationServiceServer

type UnsafeRecommendationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRecommendationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RecommendationServiceServer will result in compilation errors.

type UnsaveSearchResultRequest

type UnsaveSearchResultRequest struct {
	Kind      Kind       `protobuf:"varint,1,opt,name=kind,proto3,enum=recommendation.v1.Kind" json:"kind,omitempty"`
	EntityKey *EntityKey `protobuf:"bytes,2,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsaveSearchResultRequest) Descriptor deprecated

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

Deprecated: Use UnsaveSearchResultRequest.ProtoReflect.Descriptor instead.

func (*UnsaveSearchResultRequest) GetEntityKey

func (x *UnsaveSearchResultRequest) GetEntityKey() *EntityKey

func (*UnsaveSearchResultRequest) GetKind

func (x *UnsaveSearchResultRequest) GetKind() Kind

func (*UnsaveSearchResultRequest) ProtoMessage

func (*UnsaveSearchResultRequest) ProtoMessage()

func (*UnsaveSearchResultRequest) ProtoReflect

func (*UnsaveSearchResultRequest) Reset

func (x *UnsaveSearchResultRequest) Reset()

func (*UnsaveSearchResultRequest) String

func (x *UnsaveSearchResultRequest) String() string

type UnsaveSearchResultResponse

type UnsaveSearchResultResponse struct {
	// contains filtered or unexported fields
}

func (*UnsaveSearchResultResponse) Descriptor deprecated

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

Deprecated: Use UnsaveSearchResultResponse.ProtoReflect.Descriptor instead.

func (*UnsaveSearchResultResponse) ProtoMessage

func (*UnsaveSearchResultResponse) ProtoMessage()

func (*UnsaveSearchResultResponse) ProtoReflect

func (*UnsaveSearchResultResponse) Reset

func (x *UnsaveSearchResultResponse) Reset()

func (*UnsaveSearchResultResponse) String

func (x *UnsaveSearchResultResponse) String() string

Directories

Path Synopsis
Package recommendation_mock is a generated GoMock package.
Package recommendation_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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