Documentation ¶
Index ¶
- Variables
- type ArticlePage
- func (*ArticlePage) Descriptor() ([]byte, []int)deprecated
- func (x *ArticlePage) GetArticle() *v1.Article
- func (x *ArticlePage) GetNavigationMenu() *v1.Reference
- func (x *ArticlePage) GetRelatedArticles() []*RelatedArticle
- func (x *ArticlePage) GetStages() []*v11.Stage
- func (*ArticlePage) ProtoMessage()
- func (x *ArticlePage) ProtoReflect() protoreflect.Message
- func (x *ArticlePage) Reset()
- func (x *ArticlePage) String() string
- type GetArticlePageRequest
- func (*GetArticlePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArticlePageRequest) GetId() int64
- func (*GetArticlePageRequest) ProtoMessage()
- func (x *GetArticlePageRequest) ProtoReflect() protoreflect.Message
- func (x *GetArticlePageRequest) Reset()
- func (x *GetArticlePageRequest) String() string
- type GetArticlePageResponse
- func (*GetArticlePageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArticlePageResponse) GetArticlePage() *ArticlePage
- func (*GetArticlePageResponse) ProtoMessage()
- func (x *GetArticlePageResponse) ProtoReflect() protoreflect.Message
- func (x *GetArticlePageResponse) Reset()
- func (x *GetArticlePageResponse) String() string
- type RelatedArticle
- func (*RelatedArticle) Descriptor() ([]byte, []int)deprecated
- func (x *RelatedArticle) GetArticle() *v1.Article
- func (x *RelatedArticle) GetRelatedArticleSource() string
- func (x *RelatedArticle) GetSource() RelatedArticleSource
- func (*RelatedArticle) ProtoMessage()
- func (x *RelatedArticle) ProtoReflect() protoreflect.Message
- func (x *RelatedArticle) Reset()
- func (x *RelatedArticle) String() string
- type RelatedArticleSource
- func (RelatedArticleSource) Descriptor() protoreflect.EnumDescriptor
- func (x RelatedArticleSource) Enum() *RelatedArticleSource
- func (RelatedArticleSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelatedArticleSource) Number() protoreflect.EnumNumber
- func (x RelatedArticleSource) String() string
- func (RelatedArticleSource) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RelatedArticleSource_name = map[int32]string{ 0: "RELATED_ARTICLE_SOURCE_UNSPECIFIED", 1: "RELATED_ARTICLE_SOURCE_EDITORIAL", } RelatedArticleSource_value = map[string]int32{ "RELATED_ARTICLE_SOURCE_UNSPECIFIED": 0, "RELATED_ARTICLE_SOURCE_EDITORIAL": 1, } )
Enum value maps for RelatedArticleSource.
View Source
var File_stroeer_page_article_v1_article_page_proto protoreflect.FileDescriptor
View Source
var File_stroeer_page_article_v1_article_page_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArticlePage ¶
type ArticlePage struct { Article *v1.Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` RelatedArticles []*RelatedArticle `protobuf:"bytes,2,rep,name=related_articles,json=relatedArticles,proto3" json:"related_articles,omitempty"` Stages []*v11.Stage `protobuf:"bytes,3,rep,name=stages,proto3" json:"stages,omitempty"` // contains filtered or unexported fields }
func (*ArticlePage) Descriptor
deprecated
func (*ArticlePage) Descriptor() ([]byte, []int)
Deprecated: Use ArticlePage.ProtoReflect.Descriptor instead.
func (*ArticlePage) GetArticle ¶
func (x *ArticlePage) GetArticle() *v1.Article
func (*ArticlePage) GetNavigationMenu ¶
func (x *ArticlePage) GetNavigationMenu() *v1.Reference
func (*ArticlePage) GetRelatedArticles ¶
func (x *ArticlePage) GetRelatedArticles() []*RelatedArticle
func (*ArticlePage) GetStages ¶
func (x *ArticlePage) GetStages() []*v11.Stage
func (*ArticlePage) ProtoMessage ¶
func (*ArticlePage) ProtoMessage()
func (*ArticlePage) ProtoReflect ¶
func (x *ArticlePage) ProtoReflect() protoreflect.Message
func (*ArticlePage) Reset ¶
func (x *ArticlePage) Reset()
func (*ArticlePage) String ¶
func (x *ArticlePage) String() string
type GetArticlePageRequest ¶
type GetArticlePageRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetArticlePageRequest) Descriptor
deprecated
func (*GetArticlePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArticlePageRequest.ProtoReflect.Descriptor instead.
func (*GetArticlePageRequest) GetId ¶
func (x *GetArticlePageRequest) GetId() int64
func (*GetArticlePageRequest) ProtoMessage ¶
func (*GetArticlePageRequest) ProtoMessage()
func (*GetArticlePageRequest) ProtoReflect ¶
func (x *GetArticlePageRequest) ProtoReflect() protoreflect.Message
func (*GetArticlePageRequest) Reset ¶
func (x *GetArticlePageRequest) Reset()
func (*GetArticlePageRequest) String ¶
func (x *GetArticlePageRequest) String() string
type GetArticlePageResponse ¶
type GetArticlePageResponse struct { ArticlePage *ArticlePage `protobuf:"bytes,1,opt,name=article_page,json=articlePage,proto3" json:"article_page,omitempty"` // contains filtered or unexported fields }
func (*GetArticlePageResponse) Descriptor
deprecated
func (*GetArticlePageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArticlePageResponse.ProtoReflect.Descriptor instead.
func (*GetArticlePageResponse) GetArticlePage ¶
func (x *GetArticlePageResponse) GetArticlePage() *ArticlePage
func (*GetArticlePageResponse) ProtoMessage ¶
func (*GetArticlePageResponse) ProtoMessage()
func (*GetArticlePageResponse) ProtoReflect ¶
func (x *GetArticlePageResponse) ProtoReflect() protoreflect.Message
func (*GetArticlePageResponse) Reset ¶
func (x *GetArticlePageResponse) Reset()
func (*GetArticlePageResponse) String ¶
func (x *GetArticlePageResponse) String() string
type RelatedArticle ¶
type RelatedArticle struct { Article *v1.Article `protobuf:"bytes,1,opt,name=article,proto3" json:"article,omitempty"` Source RelatedArticleSource `protobuf:"varint,2,opt,name=source,proto3,enum=stroeer.page.article.v1.RelatedArticleSource" json:"source,omitempty"` RelatedArticleSource string `protobuf:"bytes,3,opt,name=related_article_source,json=relatedArticleSource,proto3" json:"related_article_source,omitempty"` // contains filtered or unexported fields }
func (*RelatedArticle) Descriptor
deprecated
func (*RelatedArticle) Descriptor() ([]byte, []int)
Deprecated: Use RelatedArticle.ProtoReflect.Descriptor instead.
func (*RelatedArticle) GetArticle ¶
func (x *RelatedArticle) GetArticle() *v1.Article
func (*RelatedArticle) GetRelatedArticleSource ¶
func (x *RelatedArticle) GetRelatedArticleSource() string
func (*RelatedArticle) GetSource ¶
func (x *RelatedArticle) GetSource() RelatedArticleSource
func (*RelatedArticle) ProtoMessage ¶
func (*RelatedArticle) ProtoMessage()
func (*RelatedArticle) ProtoReflect ¶
func (x *RelatedArticle) ProtoReflect() protoreflect.Message
func (*RelatedArticle) Reset ¶
func (x *RelatedArticle) Reset()
func (*RelatedArticle) String ¶
func (x *RelatedArticle) String() string
type RelatedArticleSource ¶
type RelatedArticleSource int32
const ( RelatedArticleSource_RELATED_ARTICLE_SOURCE_UNSPECIFIED RelatedArticleSource = 0 RelatedArticleSource_RELATED_ARTICLE_SOURCE_EDITORIAL RelatedArticleSource = 1 )
func (RelatedArticleSource) Descriptor ¶
func (RelatedArticleSource) Descriptor() protoreflect.EnumDescriptor
func (RelatedArticleSource) Enum ¶
func (x RelatedArticleSource) Enum() *RelatedArticleSource
func (RelatedArticleSource) EnumDescriptor
deprecated
func (RelatedArticleSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelatedArticleSource.Descriptor instead.
func (RelatedArticleSource) Number ¶
func (x RelatedArticleSource) Number() protoreflect.EnumNumber
func (RelatedArticleSource) String ¶
func (x RelatedArticleSource) String() string
func (RelatedArticleSource) Type ¶
func (RelatedArticleSource) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.