content

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentService_ListArticle_FullMethodName             = "/checkpicks.content.v1.ContentService/ListArticle"
	ContentService_ListArticleByArticleURL_FullMethodName = "/checkpicks.content.v1.ContentService/ListArticleByArticleURL"
	ContentService_GetArticle_FullMethodName              = "/checkpicks.content.v1.ContentService/GetArticle"
	ContentService_GetUserSavedArticle_FullMethodName     = "/checkpicks.content.v1.ContentService/GetUserSavedArticle"
	ContentService_CreateUploadArticle_FullMethodName     = "/checkpicks.content.v1.ContentService/CreateUploadArticle"
	ContentService_GetArticleOGP_FullMethodName           = "/checkpicks.content.v1.ContentService/GetArticleOGP"
	ContentService_GetFeeds_FullMethodName                = "/checkpicks.content.v1.ContentService/GetFeeds"
	ContentService_GetFeed_FullMethodName                 = "/checkpicks.content.v1.ContentService/GetFeed"
	ContentService_UpsertArticleComment_FullMethodName    = "/checkpicks.content.v1.ContentService/UpsertArticleComment"
	ContentService_DeleteArticleComment_FullMethodName    = "/checkpicks.content.v1.ContentService/DeleteArticleComment"
)

Variables

View Source
var ContentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "checkpicks.content.v1.ContentService",
	HandlerType: (*ContentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListArticle",
			Handler:    _ContentService_ListArticle_Handler,
		},
		{
			MethodName: "ListArticleByArticleURL",
			Handler:    _ContentService_ListArticleByArticleURL_Handler,
		},
		{
			MethodName: "GetArticle",
			Handler:    _ContentService_GetArticle_Handler,
		},
		{
			MethodName: "GetUserSavedArticle",
			Handler:    _ContentService_GetUserSavedArticle_Handler,
		},
		{
			MethodName: "CreateUploadArticle",
			Handler:    _ContentService_CreateUploadArticle_Handler,
		},
		{
			MethodName: "GetArticleOGP",
			Handler:    _ContentService_GetArticleOGP_Handler,
		},
		{
			MethodName: "GetFeeds",
			Handler:    _ContentService_GetFeeds_Handler,
		},
		{
			MethodName: "GetFeed",
			Handler:    _ContentService_GetFeed_Handler,
		},
		{
			MethodName: "UpsertArticleComment",
			Handler:    _ContentService_UpsertArticleComment_Handler,
		},
		{
			MethodName: "DeleteArticleComment",
			Handler:    _ContentService_DeleteArticleComment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "content/content.proto",
}

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

View Source
var File_content_content_proto protoreflect.FileDescriptor

Functions

func RegisterContentServiceServer

func RegisterContentServiceServer(s grpc.ServiceRegistrar, srv ContentServiceServer)

Types

type Article

type Article struct {
	Id                       string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Platform                 *Platform               `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Feeds                    []*Feed                 `protobuf:"bytes,3,rep,name=feeds,proto3" json:"feeds,omitempty"`
	Comment                  *ArticleComment         `protobuf:"bytes,4,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	Title                    string                  `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Description              string                  `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	ArticleUrl               string                  `protobuf:"bytes,7,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"`
	PublishedAt              *timestamppb.Timestamp  `protobuf:"bytes,8,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
	AuthorName               *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
	Tags                     *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"`
	ThumbnailUrl             string                  `protobuf:"bytes,11,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
	IsEng                    bool                    `protobuf:"varint,12,opt,name=is_eng,json=isEng,proto3" json:"is_eng,omitempty"`
	IsPrivate                bool                    `protobuf:"varint,13,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	BookmarkId               *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=bookmark_id,json=bookmarkId,proto3" json:"bookmark_id,omitempty"`
	IsBookmarked             bool                    `protobuf:"varint,15,opt,name=is_bookmarked,json=isBookmarked,proto3" json:"is_bookmarked,omitempty"`
	IsFollowing              bool                    `protobuf:"varint,16,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"`
	FavoriteArticleFolderIds []string                `` /* 138-byte string literal not displayed */
	LikeCount                int64                   `protobuf:"varint,18,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"`
	IsTrend                  bool                    `protobuf:"varint,19,opt,name=is_trend,json=isTrend,proto3" json:"is_trend,omitempty"`
	CreatedAt                *timestamppb.Timestamp  `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt                *timestamppb.Timestamp  `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Article) Descriptor deprecated

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

Deprecated: Use Article.ProtoReflect.Descriptor instead.

func (*Article) GetArticleUrl

func (x *Article) GetArticleUrl() string

func (*Article) GetAuthorName

func (x *Article) GetAuthorName() *wrapperspb.StringValue

func (*Article) GetBookmarkId

func (x *Article) GetBookmarkId() *wrapperspb.StringValue

func (*Article) GetComment added in v1.4.0

func (x *Article) GetComment() *ArticleComment

func (*Article) GetCreatedAt

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

func (*Article) GetDescription

func (x *Article) GetDescription() string

func (*Article) GetFavoriteArticleFolderIds

func (x *Article) GetFavoriteArticleFolderIds() []string

func (*Article) GetFeeds

func (x *Article) GetFeeds() []*Feed

func (*Article) GetId

func (x *Article) GetId() string

func (*Article) GetIsBookmarked

func (x *Article) GetIsBookmarked() bool

func (*Article) GetIsEng

func (x *Article) GetIsEng() bool

func (*Article) GetIsFollowing

func (x *Article) GetIsFollowing() bool

func (*Article) GetIsPrivate

func (x *Article) GetIsPrivate() bool

func (*Article) GetIsTrend

func (x *Article) GetIsTrend() bool

func (*Article) GetLikeCount

func (x *Article) GetLikeCount() int64

func (*Article) GetPlatform

func (x *Article) GetPlatform() *Platform

func (*Article) GetPublishedAt

func (x *Article) GetPublishedAt() *timestamppb.Timestamp

func (*Article) GetTags

func (x *Article) GetTags() *wrapperspb.StringValue

func (*Article) GetThumbnailUrl

func (x *Article) GetThumbnailUrl() string

func (*Article) GetTitle

func (x *Article) GetTitle() string

func (*Article) GetUpdatedAt

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

func (*Article) ProtoMessage

func (*Article) ProtoMessage()

func (*Article) ProtoReflect

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

func (*Article) Reset

func (x *Article) Reset()

func (*Article) String

func (x *Article) String() string

type ArticleComment added in v1.4.0

type ArticleComment struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    string                 `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ArticleId string                 `protobuf:"bytes,3,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"`
	Comment   string                 `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ArticleComment) Descriptor deprecated added in v1.4.0

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

Deprecated: Use ArticleComment.ProtoReflect.Descriptor instead.

func (*ArticleComment) GetArticleId added in v1.4.0

func (x *ArticleComment) GetArticleId() string

func (*ArticleComment) GetComment added in v1.4.0

func (x *ArticleComment) GetComment() string

func (*ArticleComment) GetCreatedAt added in v1.4.0

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

func (*ArticleComment) GetId added in v1.4.0

func (x *ArticleComment) GetId() string

func (*ArticleComment) GetUpdatedAt added in v1.4.0

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

func (*ArticleComment) GetUserId added in v1.4.0

func (x *ArticleComment) GetUserId() string

func (*ArticleComment) ProtoMessage added in v1.4.0

func (*ArticleComment) ProtoMessage()

func (*ArticleComment) ProtoReflect added in v1.4.0

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

func (*ArticleComment) Reset added in v1.4.0

func (x *ArticleComment) Reset()

func (*ArticleComment) String added in v1.4.0

func (x *ArticleComment) String() string

type ArticleEdge

type ArticleEdge struct {
	Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"`
	Cursor  string   `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ArticleEdge) Descriptor deprecated

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

Deprecated: Use ArticleEdge.ProtoReflect.Descriptor instead.

func (*ArticleEdge) GetArticle

func (x *ArticleEdge) GetArticle() *Article

func (*ArticleEdge) GetCursor

func (x *ArticleEdge) GetCursor() string

func (*ArticleEdge) ProtoMessage

func (*ArticleEdge) ProtoMessage()

func (*ArticleEdge) ProtoReflect

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

func (*ArticleEdge) Reset

func (x *ArticleEdge) Reset()

func (*ArticleEdge) String

func (x *ArticleEdge) String() string

type Category

type Category struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type      int64                  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetCreatedAt

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

func (*Category) GetDeletedAt

func (x *Category) GetDeletedAt() *timestamppb.Timestamp

func (*Category) GetId

func (x *Category) GetId() string

func (*Category) GetName

func (x *Category) GetName() string

func (*Category) GetType

func (x *Category) GetType() int64

func (*Category) GetUpdatedAt

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

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type ContentServiceClient

ContentServiceClient is the client API for ContentService 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 ContentServiceServer

ContentServiceServer is the server API for ContentService service. All implementations should embed UnimplementedContentServiceServer for forward compatibility.

type CreateArticleResponse

type CreateArticleResponse struct {
	Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateArticleResponse) Descriptor deprecated

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

Deprecated: Use CreateArticleResponse.ProtoReflect.Descriptor instead.

func (*CreateArticleResponse) GetArticle

func (x *CreateArticleResponse) GetArticle() *Article

func (*CreateArticleResponse) ProtoMessage

func (*CreateArticleResponse) ProtoMessage()

func (*CreateArticleResponse) ProtoReflect

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

func (*CreateArticleResponse) Reset

func (x *CreateArticleResponse) Reset()

func (*CreateArticleResponse) String

func (x *CreateArticleResponse) String() string

type CreateUploadArticleRequest

type CreateUploadArticleRequest struct {
	UserId             string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Title              string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description        string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ArticleUrl         string `protobuf:"bytes,4,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"`
	ThumbnailUrl       string `protobuf:"bytes,5,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
	PlatformName       string `protobuf:"bytes,6,opt,name=platform_name,json=platformName,proto3" json:"platform_name,omitempty"`
	PlatformUrl        string `protobuf:"bytes,7,opt,name=platform_url,json=platformUrl,proto3" json:"platform_url,omitempty"`
	PlatformFaviconUrl string `protobuf:"bytes,8,opt,name=platform_favicon_url,json=platformFaviconUrl,proto3" json:"platform_favicon_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUploadArticleRequest) Descriptor deprecated

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

Deprecated: Use CreateUploadArticleRequest.ProtoReflect.Descriptor instead.

func (*CreateUploadArticleRequest) GetArticleUrl

func (x *CreateUploadArticleRequest) GetArticleUrl() string

func (*CreateUploadArticleRequest) GetDescription

func (x *CreateUploadArticleRequest) GetDescription() string

func (*CreateUploadArticleRequest) GetPlatformFaviconUrl

func (x *CreateUploadArticleRequest) GetPlatformFaviconUrl() string

func (*CreateUploadArticleRequest) GetPlatformName

func (x *CreateUploadArticleRequest) GetPlatformName() string

func (*CreateUploadArticleRequest) GetPlatformUrl

func (x *CreateUploadArticleRequest) GetPlatformUrl() string

func (*CreateUploadArticleRequest) GetThumbnailUrl

func (x *CreateUploadArticleRequest) GetThumbnailUrl() string

func (*CreateUploadArticleRequest) GetTitle

func (x *CreateUploadArticleRequest) GetTitle() string

func (*CreateUploadArticleRequest) GetUserId

func (x *CreateUploadArticleRequest) GetUserId() string

func (*CreateUploadArticleRequest) ProtoMessage

func (*CreateUploadArticleRequest) ProtoMessage()

func (*CreateUploadArticleRequest) ProtoReflect

func (*CreateUploadArticleRequest) Reset

func (x *CreateUploadArticleRequest) Reset()

func (*CreateUploadArticleRequest) String

func (x *CreateUploadArticleRequest) String() string

type DeleteArticleCommentRequest added in v1.5.0

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

func (*DeleteArticleCommentRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use DeleteArticleCommentRequest.ProtoReflect.Descriptor instead.

func (*DeleteArticleCommentRequest) GetId added in v1.5.0

func (*DeleteArticleCommentRequest) GetUserId added in v1.5.0

func (x *DeleteArticleCommentRequest) GetUserId() string

func (*DeleteArticleCommentRequest) ProtoMessage added in v1.5.0

func (*DeleteArticleCommentRequest) ProtoMessage()

func (*DeleteArticleCommentRequest) ProtoReflect added in v1.5.0

func (*DeleteArticleCommentRequest) Reset added in v1.5.0

func (x *DeleteArticleCommentRequest) Reset()

func (*DeleteArticleCommentRequest) String added in v1.5.0

func (x *DeleteArticleCommentRequest) String() string

type Feed

type Feed struct {
	Id                string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Platform          *Platform               `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Category          *Category               `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	MyFeedIds         []string                `protobuf:"bytes,4,rep,name=my_feed_ids,json=myFeedIds,proto3" json:"my_feed_ids,omitempty"`
	Name              string                  `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Description       string                  `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	RssUrl            string                  `protobuf:"bytes,7,opt,name=rss_url,json=rssUrl,proto3" json:"rss_url,omitempty"`
	SiteUrl           string                  `protobuf:"bytes,8,opt,name=site_url,json=siteUrl,proto3" json:"site_url,omitempty"`
	ThumbnailUrl      string                  `protobuf:"bytes,9,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
	TrendPlatformType int64                   `protobuf:"varint,10,opt,name=trend_platform_type,json=trendPlatformType,proto3" json:"trend_platform_type,omitempty"`
	ApiQueryParam     *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=api_query_param,json=apiQueryParam,proto3" json:"api_query_param,omitempty"`
	CreatedAt         *timestamppb.Timestamp  `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt         *timestamppb.Timestamp  `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt         *timestamppb.Timestamp  `protobuf:"bytes,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Feed) Descriptor deprecated

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

Deprecated: Use Feed.ProtoReflect.Descriptor instead.

func (*Feed) GetApiQueryParam

func (x *Feed) GetApiQueryParam() *wrapperspb.StringValue

func (*Feed) GetCategory

func (x *Feed) GetCategory() *Category

func (*Feed) GetCreatedAt

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

func (*Feed) GetDeletedAt

func (x *Feed) GetDeletedAt() *timestamppb.Timestamp

func (*Feed) GetDescription

func (x *Feed) GetDescription() string

func (*Feed) GetId

func (x *Feed) GetId() string

func (*Feed) GetMyFeedIds

func (x *Feed) GetMyFeedIds() []string

func (*Feed) GetName

func (x *Feed) GetName() string

func (*Feed) GetPlatform

func (x *Feed) GetPlatform() *Platform

func (*Feed) GetRssUrl

func (x *Feed) GetRssUrl() string

func (*Feed) GetSiteUrl

func (x *Feed) GetSiteUrl() string

func (*Feed) GetThumbnailUrl

func (x *Feed) GetThumbnailUrl() string

func (*Feed) GetTrendPlatformType

func (x *Feed) GetTrendPlatformType() int64

func (*Feed) GetUpdatedAt

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

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) ProtoReflect

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

func (*Feed) Reset

func (x *Feed) Reset()

func (*Feed) String

func (x *Feed) String() string

type FeedEdge

type FeedEdge struct {
	Feed   *Feed  `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"`
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedEdge) Descriptor deprecated

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

Deprecated: Use FeedEdge.ProtoReflect.Descriptor instead.

func (*FeedEdge) GetCursor

func (x *FeedEdge) GetCursor() string

func (*FeedEdge) GetFeed

func (x *FeedEdge) GetFeed() *Feed

func (*FeedEdge) ProtoMessage

func (*FeedEdge) ProtoMessage()

func (*FeedEdge) ProtoReflect

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

func (*FeedEdge) Reset

func (x *FeedEdge) Reset()

func (*FeedEdge) String

func (x *FeedEdge) String() string

type GetArticleOGPRequest

type GetArticleOGPRequest struct {
	ArticleUrl string `protobuf:"bytes,1,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArticleOGPRequest) Descriptor deprecated

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

Deprecated: Use GetArticleOGPRequest.ProtoReflect.Descriptor instead.

func (*GetArticleOGPRequest) GetArticleUrl

func (x *GetArticleOGPRequest) GetArticleUrl() string

func (*GetArticleOGPRequest) ProtoMessage

func (*GetArticleOGPRequest) ProtoMessage()

func (*GetArticleOGPRequest) ProtoReflect

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

func (*GetArticleOGPRequest) Reset

func (x *GetArticleOGPRequest) Reset()

func (*GetArticleOGPRequest) String

func (x *GetArticleOGPRequest) String() string

type GetArticleOGPResponse

type GetArticleOGPResponse struct {
	Ogp *OGP `protobuf:"bytes,1,opt,name=ogp,proto3" json:"ogp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArticleOGPResponse) Descriptor deprecated

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

Deprecated: Use GetArticleOGPResponse.ProtoReflect.Descriptor instead.

func (*GetArticleOGPResponse) GetOgp

func (x *GetArticleOGPResponse) GetOgp() *OGP

func (*GetArticleOGPResponse) ProtoMessage

func (*GetArticleOGPResponse) ProtoMessage()

func (*GetArticleOGPResponse) ProtoReflect

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

func (*GetArticleOGPResponse) Reset

func (x *GetArticleOGPResponse) Reset()

func (*GetArticleOGPResponse) String

func (x *GetArticleOGPResponse) String() string

type GetArticleRequest added in v1.5.2

type GetArticleRequest struct {
	ArticleId string `protobuf:"bytes,1,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"`
	UserId    string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArticleRequest) Descriptor deprecated added in v1.5.2

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

Deprecated: Use GetArticleRequest.ProtoReflect.Descriptor instead.

func (*GetArticleRequest) GetArticleId added in v1.5.2

func (x *GetArticleRequest) GetArticleId() string

func (*GetArticleRequest) GetUserId added in v1.5.2

func (x *GetArticleRequest) GetUserId() string

func (*GetArticleRequest) ProtoMessage added in v1.5.2

func (*GetArticleRequest) ProtoMessage()

func (*GetArticleRequest) ProtoReflect added in v1.5.2

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

func (*GetArticleRequest) Reset added in v1.5.2

func (x *GetArticleRequest) Reset()

func (*GetArticleRequest) String added in v1.5.2

func (x *GetArticleRequest) String() string

type GetArticleResponse added in v1.5.2

type GetArticleResponse struct {
	Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArticleResponse) Descriptor deprecated added in v1.5.2

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

Deprecated: Use GetArticleResponse.ProtoReflect.Descriptor instead.

func (*GetArticleResponse) GetArticle added in v1.5.2

func (x *GetArticleResponse) GetArticle() *Article

func (*GetArticleResponse) ProtoMessage added in v1.5.2

func (*GetArticleResponse) ProtoMessage()

func (*GetArticleResponse) ProtoReflect added in v1.5.2

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

func (*GetArticleResponse) Reset added in v1.5.2

func (x *GetArticleResponse) Reset()

func (*GetArticleResponse) String added in v1.5.2

func (x *GetArticleResponse) String() string

type GetFeedRequest

type GetFeedRequest struct {
	FeedId string `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeedRequest) Descriptor deprecated

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

Deprecated: Use GetFeedRequest.ProtoReflect.Descriptor instead.

func (*GetFeedRequest) GetFeedId

func (x *GetFeedRequest) GetFeedId() string

func (*GetFeedRequest) GetUserId

func (x *GetFeedRequest) GetUserId() string

func (*GetFeedRequest) ProtoMessage

func (*GetFeedRequest) ProtoMessage()

func (*GetFeedRequest) ProtoReflect

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

func (*GetFeedRequest) Reset

func (x *GetFeedRequest) Reset()

func (*GetFeedRequest) String

func (x *GetFeedRequest) String() string

type GetFeedResponse

type GetFeedResponse struct {
	Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeedResponse) Descriptor deprecated

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

Deprecated: Use GetFeedResponse.ProtoReflect.Descriptor instead.

func (*GetFeedResponse) GetFeed

func (x *GetFeedResponse) GetFeed() *Feed

func (*GetFeedResponse) ProtoMessage

func (*GetFeedResponse) ProtoMessage()

func (*GetFeedResponse) ProtoReflect

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

func (*GetFeedResponse) Reset

func (x *GetFeedResponse) Reset()

func (*GetFeedResponse) String

func (x *GetFeedResponse) String() string

type GetFeedsRequest

type GetFeedsRequest struct {
	UserId           string                    `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	PlatformSiteType *wrapperspb.Int64Value    `protobuf:"bytes,2,opt,name=platform_site_type,json=platformSiteType,proto3" json:"platform_site_type,omitempty"`
	PlatformId       *wrapperspb.StringValue   `protobuf:"bytes,3,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"`
	Keywords         []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=keywords,proto3" json:"keywords,omitempty"`
	FeedIds          []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"`
	IsAllFetch       *wrapperspb.BoolValue     `protobuf:"bytes,6,opt,name=is_all_fetch,json=isAllFetch,proto3" json:"is_all_fetch,omitempty"`
	Cursor           string                    `protobuf:"bytes,7,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Limit            int64                     `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeedsRequest) Descriptor deprecated

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

Deprecated: Use GetFeedsRequest.ProtoReflect.Descriptor instead.

func (*GetFeedsRequest) GetCursor

func (x *GetFeedsRequest) GetCursor() string

func (*GetFeedsRequest) GetFeedIds added in v1.3.3

func (x *GetFeedsRequest) GetFeedIds() []*wrapperspb.StringValue

func (*GetFeedsRequest) GetIsAllFetch added in v1.3.1

func (x *GetFeedsRequest) GetIsAllFetch() *wrapperspb.BoolValue

func (*GetFeedsRequest) GetKeywords added in v1.3.5

func (x *GetFeedsRequest) GetKeywords() []*wrapperspb.StringValue

func (*GetFeedsRequest) GetLimit

func (x *GetFeedsRequest) GetLimit() int64

func (*GetFeedsRequest) GetPlatformId

func (x *GetFeedsRequest) GetPlatformId() *wrapperspb.StringValue

func (*GetFeedsRequest) GetPlatformSiteType

func (x *GetFeedsRequest) GetPlatformSiteType() *wrapperspb.Int64Value

func (*GetFeedsRequest) GetUserId

func (x *GetFeedsRequest) GetUserId() string

func (*GetFeedsRequest) ProtoMessage

func (*GetFeedsRequest) ProtoMessage()

func (*GetFeedsRequest) ProtoReflect

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

func (*GetFeedsRequest) Reset

func (x *GetFeedsRequest) Reset()

func (*GetFeedsRequest) String

func (x *GetFeedsRequest) String() string

type GetFeedsResponse

type GetFeedsResponse struct {
	FeedEdge []*FeedEdge      `protobuf:"bytes,1,rep,name=feed_edge,json=feedEdge,proto3" json:"feed_edge,omitempty"`
	PageInfo *common.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeedsResponse) Descriptor deprecated

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

Deprecated: Use GetFeedsResponse.ProtoReflect.Descriptor instead.

func (*GetFeedsResponse) GetFeedEdge

func (x *GetFeedsResponse) GetFeedEdge() []*FeedEdge

func (*GetFeedsResponse) GetPageInfo

func (x *GetFeedsResponse) GetPageInfo() *common.PageInfo

func (*GetFeedsResponse) ProtoMessage

func (*GetFeedsResponse) ProtoMessage()

func (*GetFeedsResponse) ProtoReflect

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

func (*GetFeedsResponse) Reset

func (x *GetFeedsResponse) Reset()

func (*GetFeedsResponse) String

func (x *GetFeedsResponse) String() string

type GetUserSavedArticleRequest added in v1.5.3

type GetUserSavedArticleRequest struct {
	ArticleId string `protobuf:"bytes,1,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"`
	UserId    string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserSavedArticleRequest) Descriptor deprecated added in v1.5.3

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

Deprecated: Use GetUserSavedArticleRequest.ProtoReflect.Descriptor instead.

func (*GetUserSavedArticleRequest) GetArticleId added in v1.5.3

func (x *GetUserSavedArticleRequest) GetArticleId() string

func (*GetUserSavedArticleRequest) GetUserId added in v1.5.3

func (x *GetUserSavedArticleRequest) GetUserId() string

func (*GetUserSavedArticleRequest) ProtoMessage added in v1.5.3

func (*GetUserSavedArticleRequest) ProtoMessage()

func (*GetUserSavedArticleRequest) ProtoReflect added in v1.5.3

func (*GetUserSavedArticleRequest) Reset added in v1.5.3

func (x *GetUserSavedArticleRequest) Reset()

func (*GetUserSavedArticleRequest) String added in v1.5.3

func (x *GetUserSavedArticleRequest) String() string

type GetUserSavedArticleResponse added in v1.5.3

type GetUserSavedArticleResponse struct {
	Article *Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserSavedArticleResponse) Descriptor deprecated added in v1.5.3

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

Deprecated: Use GetUserSavedArticleResponse.ProtoReflect.Descriptor instead.

func (*GetUserSavedArticleResponse) GetArticle added in v1.5.3

func (x *GetUserSavedArticleResponse) GetArticle() *Article

func (*GetUserSavedArticleResponse) ProtoMessage added in v1.5.3

func (*GetUserSavedArticleResponse) ProtoMessage()

func (*GetUserSavedArticleResponse) ProtoReflect added in v1.5.3

func (*GetUserSavedArticleResponse) Reset added in v1.5.3

func (x *GetUserSavedArticleResponse) Reset()

func (*GetUserSavedArticleResponse) String added in v1.5.3

func (x *GetUserSavedArticleResponse) String() string

type ListArticleByArticleURLRequest added in v1.3.9

type ListArticleByArticleURLRequest struct {
	ArticleUrl string `protobuf:"bytes,1,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"`
	Cursor     string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Limit      int64  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArticleByArticleURLRequest) Descriptor deprecated added in v1.3.9

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

Deprecated: Use ListArticleByArticleURLRequest.ProtoReflect.Descriptor instead.

func (*ListArticleByArticleURLRequest) GetArticleUrl added in v1.3.9

func (x *ListArticleByArticleURLRequest) GetArticleUrl() string

func (*ListArticleByArticleURLRequest) GetCursor added in v1.3.9

func (x *ListArticleByArticleURLRequest) GetCursor() string

func (*ListArticleByArticleURLRequest) GetLimit added in v1.3.9

func (x *ListArticleByArticleURLRequest) GetLimit() int64

func (*ListArticleByArticleURLRequest) ProtoMessage added in v1.3.9

func (*ListArticleByArticleURLRequest) ProtoMessage()

func (*ListArticleByArticleURLRequest) ProtoReflect added in v1.3.9

func (*ListArticleByArticleURLRequest) Reset added in v1.3.9

func (x *ListArticleByArticleURLRequest) Reset()

func (*ListArticleByArticleURLRequest) String added in v1.3.9

type ListArticleByArticleURLResponse added in v1.3.9

type ListArticleByArticleURLResponse struct {
	ArticlesEdge []*TemporaryArticleEdge `protobuf:"bytes,1,rep,name=articlesEdge,proto3" json:"articlesEdge,omitempty"`
	PageInfo     *common.PageInfo        `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArticleByArticleURLResponse) Descriptor deprecated added in v1.3.9

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

Deprecated: Use ListArticleByArticleURLResponse.ProtoReflect.Descriptor instead.

func (*ListArticleByArticleURLResponse) GetArticlesEdge added in v1.3.9

func (x *ListArticleByArticleURLResponse) GetArticlesEdge() []*TemporaryArticleEdge

func (*ListArticleByArticleURLResponse) GetPageInfo added in v1.3.9

func (*ListArticleByArticleURLResponse) ProtoMessage added in v1.3.9

func (*ListArticleByArticleURLResponse) ProtoMessage()

func (*ListArticleByArticleURLResponse) ProtoReflect added in v1.3.9

func (*ListArticleByArticleURLResponse) Reset added in v1.3.9

func (*ListArticleByArticleURLResponse) String added in v1.3.9

type ListArticleRequest added in v1.4.0

type ListArticleRequest struct {
	UserId         *wrapperspb.StringValue   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	LanguageStatus *wrapperspb.Int64Value    `protobuf:"bytes,2,opt,name=language_status,json=languageStatus,proto3" json:"language_status,omitempty"`
	Tag            *wrapperspb.StringValue   `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	FeedIds        []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=feed_ids,json=feedIds,proto3" json:"feed_ids,omitempty"`
	Keywords       []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=keywords,proto3" json:"keywords,omitempty"`
	Cursor         string                    `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Limit          int64                     `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArticleRequest) Descriptor deprecated added in v1.4.0

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

Deprecated: Use ListArticleRequest.ProtoReflect.Descriptor instead.

func (*ListArticleRequest) GetCursor added in v1.4.0

func (x *ListArticleRequest) GetCursor() string

func (*ListArticleRequest) GetFeedIds added in v1.4.0

func (x *ListArticleRequest) GetFeedIds() []*wrapperspb.StringValue

func (*ListArticleRequest) GetKeywords added in v1.4.0

func (x *ListArticleRequest) GetKeywords() []*wrapperspb.StringValue

func (*ListArticleRequest) GetLanguageStatus added in v1.4.0

func (x *ListArticleRequest) GetLanguageStatus() *wrapperspb.Int64Value

func (*ListArticleRequest) GetLimit added in v1.4.0

func (x *ListArticleRequest) GetLimit() int64

func (*ListArticleRequest) GetTag added in v1.4.0

func (*ListArticleRequest) GetUserId added in v1.4.0

func (x *ListArticleRequest) GetUserId() *wrapperspb.StringValue

func (*ListArticleRequest) ProtoMessage added in v1.4.0

func (*ListArticleRequest) ProtoMessage()

func (*ListArticleRequest) ProtoReflect added in v1.4.0

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

func (*ListArticleRequest) Reset added in v1.4.0

func (x *ListArticleRequest) Reset()

func (*ListArticleRequest) String added in v1.4.0

func (x *ListArticleRequest) String() string

type ListArticleResponse added in v1.4.0

type ListArticleResponse struct {
	ArticlesEdge []*ArticleEdge   `protobuf:"bytes,1,rep,name=articlesEdge,proto3" json:"articlesEdge,omitempty"`
	PageInfo     *common.PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArticleResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use ListArticleResponse.ProtoReflect.Descriptor instead.

func (*ListArticleResponse) GetArticlesEdge added in v1.4.0

func (x *ListArticleResponse) GetArticlesEdge() []*ArticleEdge

func (*ListArticleResponse) GetPageInfo added in v1.4.0

func (x *ListArticleResponse) GetPageInfo() *common.PageInfo

func (*ListArticleResponse) ProtoMessage added in v1.4.0

func (*ListArticleResponse) ProtoMessage()

func (*ListArticleResponse) ProtoReflect added in v1.4.0

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

func (*ListArticleResponse) Reset added in v1.4.0

func (x *ListArticleResponse) Reset()

func (*ListArticleResponse) String added in v1.4.0

func (x *ListArticleResponse) String() string

type OGP

type OGP struct {
	Title        string                  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description  *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ArticleUrl   string                  `protobuf:"bytes,3,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"`
	SiteUrl      string                  `protobuf:"bytes,4,opt,name=site_url,json=siteUrl,proto3" json:"site_url,omitempty"`
	SiteName     string                  `protobuf:"bytes,5,opt,name=site_name,json=siteName,proto3" json:"site_name,omitempty"`
	ThumbnailUrl string                  `protobuf:"bytes,6,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
	FaviconUrl   string                  `protobuf:"bytes,7,opt,name=favicon_url,json=faviconUrl,proto3" json:"favicon_url,omitempty"`
	// contains filtered or unexported fields
}

func (*OGP) Descriptor deprecated

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

Deprecated: Use OGP.ProtoReflect.Descriptor instead.

func (*OGP) GetArticleUrl

func (x *OGP) GetArticleUrl() string

func (*OGP) GetDescription

func (x *OGP) GetDescription() *wrapperspb.StringValue

func (*OGP) GetFaviconUrl

func (x *OGP) GetFaviconUrl() string

func (*OGP) GetSiteName

func (x *OGP) GetSiteName() string

func (*OGP) GetSiteUrl

func (x *OGP) GetSiteUrl() string

func (*OGP) GetThumbnailUrl

func (x *OGP) GetThumbnailUrl() string

func (*OGP) GetTitle

func (x *OGP) GetTitle() string

func (*OGP) ProtoMessage

func (*OGP) ProtoMessage()

func (*OGP) ProtoReflect

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

func (*OGP) Reset

func (x *OGP) Reset()

func (*OGP) String

func (x *OGP) String() string

type Platform

type Platform struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SiteUrl          string                 `protobuf:"bytes,3,opt,name=site_url,json=siteUrl,proto3" json:"site_url,omitempty"`
	PlatformSiteType int64                  `protobuf:"varint,4,opt,name=platform_site_type,json=platformSiteType,proto3" json:"platform_site_type,omitempty"`
	FaviconUrl       string                 `protobuf:"bytes,5,opt,name=favicon_url,json=faviconUrl,proto3" json:"favicon_url,omitempty"`
	IsEng            bool                   `protobuf:"varint,6,opt,name=is_eng,json=isEng,proto3" json:"is_eng,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt        *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Platform) Descriptor deprecated

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

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetCreatedAt

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

func (*Platform) GetDeletedAt

func (x *Platform) GetDeletedAt() *timestamppb.Timestamp

func (*Platform) GetFaviconUrl

func (x *Platform) GetFaviconUrl() string

func (*Platform) GetId

func (x *Platform) GetId() string

func (*Platform) GetIsEng

func (x *Platform) GetIsEng() bool

func (*Platform) GetName

func (x *Platform) GetName() string

func (*Platform) GetPlatformSiteType

func (x *Platform) GetPlatformSiteType() int64

func (*Platform) GetSiteUrl

func (x *Platform) GetSiteUrl() string

func (*Platform) GetUpdatedAt

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

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

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

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

type TemporaryArticle added in v1.3.9

type TemporaryArticle struct {
	Id           string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title        string                  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description  string                  `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ArticleUrl   string                  `protobuf:"bytes,4,opt,name=article_url,json=articleUrl,proto3" json:"article_url,omitempty"`
	PublishedAt  *timestamppb.Timestamp  `protobuf:"bytes,5,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
	AuthorName   *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
	Tags         *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"`
	ThumbnailUrl string                  `protobuf:"bytes,8,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
	IsEng        bool                    `protobuf:"varint,9,opt,name=is_eng,json=isEng,proto3" json:"is_eng,omitempty"`
	IsPrivate    bool                    `protobuf:"varint,10,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	CreatedAt    *timestamppb.Timestamp  `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp  `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*TemporaryArticle) Descriptor deprecated added in v1.3.9

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

Deprecated: Use TemporaryArticle.ProtoReflect.Descriptor instead.

func (*TemporaryArticle) GetArticleUrl added in v1.3.9

func (x *TemporaryArticle) GetArticleUrl() string

func (*TemporaryArticle) GetAuthorName added in v1.3.9

func (x *TemporaryArticle) GetAuthorName() *wrapperspb.StringValue

func (*TemporaryArticle) GetCreatedAt added in v1.3.9

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

func (*TemporaryArticle) GetDescription added in v1.3.9

func (x *TemporaryArticle) GetDescription() string

func (*TemporaryArticle) GetId added in v1.3.9

func (x *TemporaryArticle) GetId() string

func (*TemporaryArticle) GetIsEng added in v1.3.9

func (x *TemporaryArticle) GetIsEng() bool

func (*TemporaryArticle) GetIsPrivate added in v1.3.9

func (x *TemporaryArticle) GetIsPrivate() bool

func (*TemporaryArticle) GetPublishedAt added in v1.3.9

func (x *TemporaryArticle) GetPublishedAt() *timestamppb.Timestamp

func (*TemporaryArticle) GetTags added in v1.3.9

func (x *TemporaryArticle) GetTags() *wrapperspb.StringValue

func (*TemporaryArticle) GetThumbnailUrl added in v1.3.9

func (x *TemporaryArticle) GetThumbnailUrl() string

func (*TemporaryArticle) GetTitle added in v1.3.9

func (x *TemporaryArticle) GetTitle() string

func (*TemporaryArticle) GetUpdatedAt added in v1.3.9

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

func (*TemporaryArticle) ProtoMessage added in v1.3.9

func (*TemporaryArticle) ProtoMessage()

func (*TemporaryArticle) ProtoReflect added in v1.3.9

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

func (*TemporaryArticle) Reset added in v1.3.9

func (x *TemporaryArticle) Reset()

func (*TemporaryArticle) String added in v1.3.9

func (x *TemporaryArticle) String() string

type TemporaryArticleEdge added in v1.3.9

type TemporaryArticleEdge struct {
	Article  *TemporaryArticle `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"`
	Platform *Platform         `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Cursor   string            `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*TemporaryArticleEdge) Descriptor deprecated added in v1.3.9

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

Deprecated: Use TemporaryArticleEdge.ProtoReflect.Descriptor instead.

func (*TemporaryArticleEdge) GetArticle added in v1.3.9

func (x *TemporaryArticleEdge) GetArticle() *TemporaryArticle

func (*TemporaryArticleEdge) GetCursor added in v1.3.9

func (x *TemporaryArticleEdge) GetCursor() string

func (*TemporaryArticleEdge) GetPlatform added in v1.3.9

func (x *TemporaryArticleEdge) GetPlatform() *Platform

func (*TemporaryArticleEdge) ProtoMessage added in v1.3.9

func (*TemporaryArticleEdge) ProtoMessage()

func (*TemporaryArticleEdge) ProtoReflect added in v1.3.9

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

func (*TemporaryArticleEdge) Reset added in v1.3.9

func (x *TemporaryArticleEdge) Reset()

func (*TemporaryArticleEdge) String added in v1.3.9

func (x *TemporaryArticleEdge) String() string

type UnimplementedContentServiceServer

type UnimplementedContentServiceServer struct{}

UnimplementedContentServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedContentServiceServer) CreateUploadArticle

func (UnimplementedContentServiceServer) DeleteArticleComment added in v1.5.0

func (UnimplementedContentServiceServer) GetArticle added in v1.5.2

func (UnimplementedContentServiceServer) GetArticleOGP

func (UnimplementedContentServiceServer) GetFeed

func (UnimplementedContentServiceServer) GetFeeds

func (UnimplementedContentServiceServer) GetUserSavedArticle added in v1.5.4

func (UnimplementedContentServiceServer) ListArticle added in v1.4.0

func (UnimplementedContentServiceServer) ListArticleByArticleURL added in v1.3.9

func (UnimplementedContentServiceServer) UpsertArticleComment added in v1.4.0

type UnsafeContentServiceServer

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

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

type UpsertArticleCommentRequest added in v1.4.0

type UpsertArticleCommentRequest struct {
	Id        *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    string                  `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ArticleId string                  `protobuf:"bytes,3,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"`
	Comment   string                  `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertArticleCommentRequest) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UpsertArticleCommentRequest.ProtoReflect.Descriptor instead.

func (*UpsertArticleCommentRequest) GetArticleId added in v1.4.0

func (x *UpsertArticleCommentRequest) GetArticleId() string

func (*UpsertArticleCommentRequest) GetComment added in v1.4.0

func (x *UpsertArticleCommentRequest) GetComment() string

func (*UpsertArticleCommentRequest) GetId added in v1.4.0

func (*UpsertArticleCommentRequest) GetUserId added in v1.4.0

func (x *UpsertArticleCommentRequest) GetUserId() string

func (*UpsertArticleCommentRequest) ProtoMessage added in v1.4.0

func (*UpsertArticleCommentRequest) ProtoMessage()

func (*UpsertArticleCommentRequest) ProtoReflect added in v1.4.0

func (*UpsertArticleCommentRequest) Reset added in v1.4.0

func (x *UpsertArticleCommentRequest) Reset()

func (*UpsertArticleCommentRequest) String added in v1.4.0

func (x *UpsertArticleCommentRequest) String() string

type UpsertArticleCommentResponse added in v1.4.0

type UpsertArticleCommentResponse struct {
	Comment *ArticleComment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertArticleCommentResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use UpsertArticleCommentResponse.ProtoReflect.Descriptor instead.

func (*UpsertArticleCommentResponse) GetComment added in v1.4.0

func (*UpsertArticleCommentResponse) ProtoMessage added in v1.4.0

func (*UpsertArticleCommentResponse) ProtoMessage()

func (*UpsertArticleCommentResponse) ProtoReflect added in v1.4.0

func (*UpsertArticleCommentResponse) Reset added in v1.4.0

func (x *UpsertArticleCommentResponse) Reset()

func (*UpsertArticleCommentResponse) String added in v1.4.0

Jump to

Keyboard shortcuts

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