Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNewsroomAPIServer(s grpc.ServiceRegistrar, srv NewsroomAPIServer)
- type CreateClientArticleRequest
- func (*CreateClientArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientArticleRequest) GetAuthor() string
- func (x *CreateClientArticleRequest) GetContent() string
- func (x *CreateClientArticleRequest) GetImageReferenceId() string
- func (x *CreateClientArticleRequest) GetTitle() string
- func (*CreateClientArticleRequest) ProtoMessage()
- func (x *CreateClientArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClientArticleRequest) Reset()
- func (x *CreateClientArticleRequest) String() string
- type CreateClientArticleResponse
- func (*CreateClientArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientArticleResponse) GetArticleDetails() *NewsArticleDetails
- func (*CreateClientArticleResponse) ProtoMessage()
- func (x *CreateClientArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClientArticleResponse) Reset()
- func (x *CreateClientArticleResponse) String() string
- type CreateNewsArticleRequest
- func (*CreateNewsArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNewsArticleRequest) GetAuthor() string
- func (x *CreateNewsArticleRequest) GetContent() string
- func (x *CreateNewsArticleRequest) GetImageReferenceId() string
- func (x *CreateNewsArticleRequest) GetTitle() string
- func (*CreateNewsArticleRequest) ProtoMessage()
- func (x *CreateNewsArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNewsArticleRequest) Reset()
- func (x *CreateNewsArticleRequest) String() string
- type CreateNewsArticleResponse
- func (*CreateNewsArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
- func (*CreateNewsArticleResponse) ProtoMessage()
- func (x *CreateNewsArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNewsArticleResponse) Reset()
- func (x *CreateNewsArticleResponse) String() string
- type CreatePublishedArticleRequest
- func (*CreatePublishedArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublishedArticleRequest) GetArticleLink() string
- func (x *CreatePublishedArticleRequest) GetDisplayToUser() bool
- func (x *CreatePublishedArticleRequest) GetNewArticleSid() int64
- func (*CreatePublishedArticleRequest) ProtoMessage()
- func (x *CreatePublishedArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePublishedArticleRequest) Reset()
- func (x *CreatePublishedArticleRequest) String() string
- type CreatePublishedArticleResponse
- func (*CreatePublishedArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublishedArticleResponse) GetPublishedArticleDetails() *PublishedArticleDetails
- func (*CreatePublishedArticleResponse) ProtoMessage()
- func (x *CreatePublishedArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePublishedArticleResponse) Reset()
- func (x *CreatePublishedArticleResponse) String() string
- type CreatePublishedClientArticleRequest
- func (*CreatePublishedClientArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublishedClientArticleRequest) GetAlwaysShow() bool
- func (x *CreatePublishedClientArticleRequest) GetArticleLink() string
- func (x *CreatePublishedClientArticleRequest) GetDisplayToUser() bool
- func (x *CreatePublishedClientArticleRequest) GetNewArticleSid() int64
- func (*CreatePublishedClientArticleRequest) ProtoMessage()
- func (x *CreatePublishedClientArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePublishedClientArticleRequest) Reset()
- func (x *CreatePublishedClientArticleRequest) String() string
- type CreatePublishedClientArticleResponse
- func (*CreatePublishedClientArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublishedClientArticleResponse) GetPublishedArticleDetails() *PublishedArticleDetails
- func (*CreatePublishedClientArticleResponse) ProtoMessage()
- func (x *CreatePublishedClientArticleResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePublishedClientArticleResponse) Reset()
- func (x *CreatePublishedClientArticleResponse) String() string
- type GetNewsArticleByIdRequest
- func (*GetNewsArticleByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewsArticleByIdRequest) GetNewArticleSid() int64
- func (*GetNewsArticleByIdRequest) ProtoMessage()
- func (x *GetNewsArticleByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetNewsArticleByIdRequest) Reset()
- func (x *GetNewsArticleByIdRequest) String() string
- type GetNewsArticleByIdResponse
- func (*GetNewsArticleByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewsArticleByIdResponse) GetArticleDetails() *NewsArticleDetails
- func (*GetNewsArticleByIdResponse) ProtoMessage()
- func (x *GetNewsArticleByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetNewsArticleByIdResponse) Reset()
- func (x *GetNewsArticleByIdResponse) String() string
- type GetNewsForUserRequest
- type GetNewsForUserResponse
- func (*GetNewsForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewsForUserResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
- func (*GetNewsForUserResponse) ProtoMessage()
- func (x *GetNewsForUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetNewsForUserResponse) Reset()
- func (x *GetNewsForUserResponse) String() string
- type GetPublishedArticleByIdRequest
- func (*GetPublishedArticleByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishedArticleByIdRequest) GetNewArticleSid() int64deprecated
- func (x *GetPublishedArticleByIdRequest) GetPublishedArticleSid() int64
- func (*GetPublishedArticleByIdRequest) ProtoMessage()
- func (x *GetPublishedArticleByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublishedArticleByIdRequest) Reset()
- func (x *GetPublishedArticleByIdRequest) String() string
- type GetPublishedArticleByIdResponse
- func (*GetPublishedArticleByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishedArticleByIdResponse) GetPublishedArticleDetails() *PublishedArticleDetails
- func (*GetPublishedArticleByIdResponse) ProtoMessage()
- func (x *GetPublishedArticleByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublishedArticleByIdResponse) Reset()
- func (x *GetPublishedArticleByIdResponse) String() string
- type GetPublishedClientArticleByIdRequest
- func (*GetPublishedClientArticleByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishedClientArticleByIdRequest) GetPublishedArticleSid() int64
- func (*GetPublishedClientArticleByIdRequest) ProtoMessage()
- func (x *GetPublishedClientArticleByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublishedClientArticleByIdRequest) Reset()
- func (x *GetPublishedClientArticleByIdRequest) String() string
- type GetPublishedClientArticleByIdResponse
- func (*GetPublishedClientArticleByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishedClientArticleByIdResponse) GetPublishedArticleDetails() *PublishedArticleDetails
- func (*GetPublishedClientArticleByIdResponse) ProtoMessage()
- func (x *GetPublishedClientArticleByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublishedClientArticleByIdResponse) Reset()
- func (x *GetPublishedClientArticleByIdResponse) String() string
- type ListClientArticlesRequest
- func (*ListClientArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClientArticlesRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListClientArticlesRequest) GetStatuses() []commons.ArticleStatus
- func (*ListClientArticlesRequest) ProtoMessage()
- func (x *ListClientArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListClientArticlesRequest) Reset()
- func (x *ListClientArticlesRequest) String() string
- type ListClientArticlesResponse
- func (*ListClientArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClientArticlesResponse) GetArticleDetails() []*NewsArticleDetails
- func (*ListClientArticlesResponse) ProtoMessage()
- func (x *ListClientArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListClientArticlesResponse) Reset()
- func (x *ListClientArticlesResponse) String() string
- type ListImagesForClientArticleRequest
- func (*ListImagesForClientArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesForClientArticleRequest) GetNewArticleSid() int64
- func (*ListImagesForClientArticleRequest) ProtoMessage()
- func (x *ListImagesForClientArticleRequest) ProtoReflect() protoreflect.Message
- func (x *ListImagesForClientArticleRequest) Reset()
- func (x *ListImagesForClientArticleRequest) String() string
- type ListImagesForClientArticleResponse
- func (*ListImagesForClientArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesForClientArticleResponse) GetNewsArticleImages() []*NewsArticleImage
- func (*ListImagesForClientArticleResponse) ProtoMessage()
- func (x *ListImagesForClientArticleResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesForClientArticleResponse) Reset()
- func (x *ListImagesForClientArticleResponse) String() string
- type ListImagesForNewsArticleRequest
- func (*ListImagesForNewsArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesForNewsArticleRequest) GetNewArticleSid() int64
- func (*ListImagesForNewsArticleRequest) ProtoMessage()
- func (x *ListImagesForNewsArticleRequest) ProtoReflect() protoreflect.Message
- func (x *ListImagesForNewsArticleRequest) Reset()
- func (x *ListImagesForNewsArticleRequest) String() string
- type ListImagesForNewsArticleResponse
- func (*ListImagesForNewsArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesForNewsArticleResponse) GetNewsArticleImages() []*NewsArticleImage
- func (*ListImagesForNewsArticleResponse) ProtoMessage()
- func (x *ListImagesForNewsArticleResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesForNewsArticleResponse) Reset()
- func (x *ListImagesForNewsArticleResponse) String() string
- type ListNewsArticlesRequest
- func (*ListNewsArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsArticlesRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *ListNewsArticlesRequest) GetStatuses() []commons.ArticleStatus
- func (*ListNewsArticlesRequest) ProtoMessage()
- func (x *ListNewsArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListNewsArticlesRequest) Reset()
- func (x *ListNewsArticlesRequest) String() string
- type ListNewsArticlesResponse
- func (*ListNewsArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsArticlesResponse) GetArticleDetails() []*NewsArticleDetails
- func (*ListNewsArticlesResponse) ProtoMessage()
- func (x *ListNewsArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNewsArticlesResponse) Reset()
- func (x *ListNewsArticlesResponse) String() string
- type ListPublishedArticlesRequest
- func (*ListPublishedArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPublishedArticlesRequest) ProtoMessage()
- func (x *ListPublishedArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublishedArticlesRequest) Reset()
- func (x *ListPublishedArticlesRequest) String() string
- type ListPublishedArticlesResponse
- func (*ListPublishedArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublishedArticlesResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
- func (*ListPublishedArticlesResponse) ProtoMessage()
- func (x *ListPublishedArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublishedArticlesResponse) Reset()
- func (x *ListPublishedArticlesResponse) String() string
- type ListPublishedClientArticlesRequest
- func (*ListPublishedClientArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPublishedClientArticlesRequest) ProtoMessage()
- func (x *ListPublishedClientArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublishedClientArticlesRequest) Reset()
- func (x *ListPublishedClientArticlesRequest) String() string
- type ListPublishedClientArticlesResponse
- func (*ListPublishedClientArticlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublishedClientArticlesResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
- func (*ListPublishedClientArticlesResponse) ProtoMessage()
- func (x *ListPublishedClientArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublishedClientArticlesResponse) Reset()
- func (x *ListPublishedClientArticlesResponse) String() string
- type NewsArticleDetails
- func (*NewsArticleDetails) Descriptor() ([]byte, []int)deprecated
- func (x *NewsArticleDetails) GetAuthor() string
- func (x *NewsArticleDetails) GetContent() string
- func (x *NewsArticleDetails) GetDateCreated() *timestamppb.Timestamp
- func (x *NewsArticleDetails) GetImageReferenceId() string
- func (x *NewsArticleDetails) GetLastEdited() *timestamppb.Timestamp
- func (x *NewsArticleDetails) GetNewArticleSid() int64
- func (x *NewsArticleDetails) GetStatus() commons.ArticleStatus
- func (x *NewsArticleDetails) GetTitle() string
- func (*NewsArticleDetails) ProtoMessage()
- func (x *NewsArticleDetails) ProtoReflect() protoreflect.Message
- func (x *NewsArticleDetails) Reset()
- func (x *NewsArticleDetails) String() string
- type NewsArticleImage
- func (*NewsArticleImage) Descriptor() ([]byte, []int)deprecated
- func (x *NewsArticleImage) GetContent() string
- func (x *NewsArticleImage) GetDownloadUrl() string
- func (x *NewsArticleImage) GetImageReferenceId() string
- func (x *NewsArticleImage) GetImageType() string
- func (x *NewsArticleImage) GetNewArticleSid() int64
- func (x *NewsArticleImage) GetTempId() *wrapperspb.StringValue
- func (x *NewsArticleImage) GetUuid() string
- func (*NewsArticleImage) ProtoMessage()
- func (x *NewsArticleImage) ProtoReflect() protoreflect.Message
- func (x *NewsArticleImage) Reset()
- func (x *NewsArticleImage) String() string
- type NewsroomAPIClient
- type NewsroomAPIServer
- type PublishedArticleDetails
- func (*PublishedArticleDetails) Descriptor() ([]byte, []int)deprecated
- func (x *PublishedArticleDetails) GetAlwaysDisplay() bool
- func (x *PublishedArticleDetails) GetDatePublished() *timestamppb.Timestamp
- func (x *PublishedArticleDetails) GetDisplayToUser() bool
- func (x *PublishedArticleDetails) GetNewsArticleDetails() *NewsArticleDetails
- func (x *PublishedArticleDetails) GetPublishedArticleSid() int64
- func (*PublishedArticleDetails) ProtoMessage()
- func (x *PublishedArticleDetails) ProtoReflect() protoreflect.Message
- func (x *PublishedArticleDetails) Reset()
- func (x *PublishedArticleDetails) String() string
- type StoreClientArticleImageRequest
- func (*StoreClientArticleImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreClientArticleImageRequest) GetImage() *NewsArticleImage
- func (*StoreClientArticleImageRequest) ProtoMessage()
- func (x *StoreClientArticleImageRequest) ProtoReflect() protoreflect.Message
- func (x *StoreClientArticleImageRequest) Reset()
- func (x *StoreClientArticleImageRequest) String() string
- type StoreClientArticleImageResponse
- func (*StoreClientArticleImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreClientArticleImageResponse) GetImage() *NewsArticleImage
- func (*StoreClientArticleImageResponse) ProtoMessage()
- func (x *StoreClientArticleImageResponse) ProtoReflect() protoreflect.Message
- func (x *StoreClientArticleImageResponse) Reset()
- func (x *StoreClientArticleImageResponse) String() string
- type StoreNewsArticleImageRequest
- func (*StoreNewsArticleImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreNewsArticleImageRequest) GetImage() *NewsArticleImage
- func (*StoreNewsArticleImageRequest) ProtoMessage()
- func (x *StoreNewsArticleImageRequest) ProtoReflect() protoreflect.Message
- func (x *StoreNewsArticleImageRequest) Reset()
- func (x *StoreNewsArticleImageRequest) String() string
- type StoreNewsArticleImageResponse
- func (*StoreNewsArticleImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreNewsArticleImageResponse) GetImage() *NewsArticleImage
- func (*StoreNewsArticleImageResponse) ProtoMessage()
- func (x *StoreNewsArticleImageResponse) ProtoReflect() protoreflect.Message
- func (x *StoreNewsArticleImageResponse) Reset()
- func (x *StoreNewsArticleImageResponse) String() string
- type UnimplementedNewsroomAPIServer
- func (UnimplementedNewsroomAPIServer) CreateClientArticle(context.Context, *CreateClientArticleRequest) (*CreateClientArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) CreateNewsArticle(context.Context, *CreateNewsArticleRequest) (*CreateNewsArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) CreatePublishedArticle(context.Context, *CreatePublishedArticleRequest) (*CreatePublishedArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) CreatePublishedClientArticle(context.Context, *CreatePublishedClientArticleRequest) (*CreatePublishedClientArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) GetNewsArticleById(context.Context, *GetNewsArticleByIdRequest) (*GetNewsArticleByIdResponse, error)
- func (UnimplementedNewsroomAPIServer) GetNewsForUser(context.Context, *GetNewsForUserRequest) (*GetNewsForUserResponse, error)
- func (UnimplementedNewsroomAPIServer) GetPublishedArticleById(context.Context, *GetPublishedArticleByIdRequest) (*GetPublishedArticleByIdResponse, error)
- func (UnimplementedNewsroomAPIServer) GetPublishedClientArticleById(context.Context, *GetPublishedClientArticleByIdRequest) (*GetPublishedClientArticleByIdResponse, error)
- func (UnimplementedNewsroomAPIServer) ListClientArticles(context.Context, *ListClientArticlesRequest) (*ListClientArticlesResponse, error)
- func (UnimplementedNewsroomAPIServer) ListImagesForClientArticle(context.Context, *ListImagesForClientArticleRequest) (*ListImagesForClientArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) ListImagesForNewsArticle(context.Context, *ListImagesForNewsArticleRequest) (*ListImagesForNewsArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) ListNewsArticles(context.Context, *ListNewsArticlesRequest) (*ListNewsArticlesResponse, error)
- func (UnimplementedNewsroomAPIServer) ListPublishedArticles(context.Context, *ListPublishedArticlesRequest) (*ListPublishedArticlesResponse, error)
- func (UnimplementedNewsroomAPIServer) ListPublishedClientArticles(context.Context, *ListPublishedClientArticlesRequest) (*ListPublishedClientArticlesResponse, error)
- func (UnimplementedNewsroomAPIServer) StoreClientArticleImage(context.Context, *StoreClientArticleImageRequest) (*StoreClientArticleImageResponse, error)
- func (UnimplementedNewsroomAPIServer) StoreNewsArticleImage(context.Context, *StoreNewsArticleImageRequest) (*StoreNewsArticleImageResponse, error)
- func (UnimplementedNewsroomAPIServer) UpdateClientArticle(context.Context, *UpdateClientArticleRequest) (*UpdateClientArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) UpdateNewsArticle(context.Context, *UpdateNewsArticleRequest) (*UpdateNewsArticleResponse, error)
- func (UnimplementedNewsroomAPIServer) UploadClientArticleImage(context.Context, *UploadClientArticleImageRequest) (*UploadClientArticleImageResponse, error)
- func (UnimplementedNewsroomAPIServer) UploadNewsArticleImage(context.Context, *UploadNewsArticleImageRequest) (*UploadNewsArticleImageResponse, error)
- func (UnimplementedNewsroomAPIServer) UserActivity(context.Context, *UserActivityRequest) (*UserActivityResponse, error)
- type UnsafeNewsroomAPIServer
- type UpdateClientArticleRequest
- func (*UpdateClientArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClientArticleRequest) GetArticleDetails() *NewsArticleDetails
- func (x *UpdateClientArticleRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (*UpdateClientArticleRequest) ProtoMessage()
- func (x *UpdateClientArticleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClientArticleRequest) Reset()
- func (x *UpdateClientArticleRequest) String() string
- type UpdateClientArticleResponse
- func (*UpdateClientArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClientArticleResponse) GetArticleDetails() *NewsArticleDetails
- func (*UpdateClientArticleResponse) ProtoMessage()
- func (x *UpdateClientArticleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateClientArticleResponse) Reset()
- func (x *UpdateClientArticleResponse) String() string
- type UpdateNewsArticleRequest
- func (*UpdateNewsArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNewsArticleRequest) GetArticleDetails() *NewsArticleDetails
- func (x *UpdateNewsArticleRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (*UpdateNewsArticleRequest) ProtoMessage()
- func (x *UpdateNewsArticleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNewsArticleRequest) Reset()
- func (x *UpdateNewsArticleRequest) String() string
- type UpdateNewsArticleResponse
- func (*UpdateNewsArticleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
- func (*UpdateNewsArticleResponse) ProtoMessage()
- func (x *UpdateNewsArticleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNewsArticleResponse) Reset()
- func (x *UpdateNewsArticleResponse) String() string
- type UploadClientArticleImageRequest
- func (*UploadClientArticleImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadClientArticleImageRequest) GetImage() *NewsArticleImage
- func (*UploadClientArticleImageRequest) ProtoMessage()
- func (x *UploadClientArticleImageRequest) ProtoReflect() protoreflect.Message
- func (x *UploadClientArticleImageRequest) Reset()
- func (x *UploadClientArticleImageRequest) String() string
- type UploadClientArticleImageResponse
- func (*UploadClientArticleImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadClientArticleImageResponse) GetImage() *NewsArticleImage
- func (*UploadClientArticleImageResponse) ProtoMessage()
- func (x *UploadClientArticleImageResponse) ProtoReflect() protoreflect.Message
- func (x *UploadClientArticleImageResponse) Reset()
- func (x *UploadClientArticleImageResponse) String() string
- type UploadNewsArticleImageRequest
- func (*UploadNewsArticleImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadNewsArticleImageRequest) GetImage() *NewsArticleImage
- func (*UploadNewsArticleImageRequest) ProtoMessage()
- func (x *UploadNewsArticleImageRequest) ProtoReflect() protoreflect.Message
- func (x *UploadNewsArticleImageRequest) Reset()
- func (x *UploadNewsArticleImageRequest) String() string
- type UploadNewsArticleImageResponse
- func (*UploadNewsArticleImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadNewsArticleImageResponse) GetImage() *NewsArticleImage
- func (*UploadNewsArticleImageResponse) ProtoMessage()
- func (x *UploadNewsArticleImageResponse) ProtoReflect() protoreflect.Message
- func (x *UploadNewsArticleImageResponse) Reset()
- func (x *UploadNewsArticleImageResponse) String() string
- type UserActivity
- func (*UserActivity) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivity) GetDateCreated() *timestamppb.Timestamp
- func (x *UserActivity) GetUserActivityDetails() *UserActivity_UserActivityDetails
- func (x *UserActivity) GetUserActivityLogSid() int64
- func (*UserActivity) ProtoMessage()
- func (x *UserActivity) ProtoReflect() protoreflect.Message
- func (x *UserActivity) Reset()
- func (x *UserActivity) String() string
- type UserActivityRequest
- func (*UserActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivityRequest) GetForce() bool
- func (x *UserActivityRequest) GetPublishedArticleSid() int64
- func (*UserActivityRequest) ProtoMessage()
- func (x *UserActivityRequest) ProtoReflect() protoreflect.Message
- func (x *UserActivityRequest) Reset()
- func (x *UserActivityRequest) String() string
- type UserActivityResponse
- func (*UserActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivityResponse) GetUserActivity() *UserActivity
- func (*UserActivityResponse) ProtoMessage()
- func (x *UserActivityResponse) ProtoReflect() protoreflect.Message
- func (x *UserActivityResponse) Reset()
- func (x *UserActivityResponse) String() string
- type UserActivity_UserActivityDetails
- func (*UserActivity_UserActivityDetails) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivity_UserActivityDetails) GetPublishedArticleSid() int64
- func (*UserActivity_UserActivityDetails) ProtoMessage()
- func (x *UserActivity_UserActivityDetails) ProtoReflect() protoreflect.Message
- func (x *UserActivity_UserActivityDetails) Reset()
- func (x *UserActivity_UserActivityDetails) String() string
Constants ¶
const ( NewsroomAPI_CreateNewsArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/CreateNewsArticle" NewsroomAPI_ListNewsArticles_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListNewsArticles" NewsroomAPI_GetNewsArticleById_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetNewsArticleById" NewsroomAPI_UpdateNewsArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UpdateNewsArticle" NewsroomAPI_CreatePublishedArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/CreatePublishedArticle" NewsroomAPI_ListPublishedArticles_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListPublishedArticles" NewsroomAPI_GetPublishedArticleById_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetPublishedArticleById" NewsroomAPI_UserActivity_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UserActivity" NewsroomAPI_GetNewsForUser_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetNewsForUser" NewsroomAPI_StoreNewsArticleImage_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/StoreNewsArticleImage" NewsroomAPI_ListImagesForNewsArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListImagesForNewsArticle" NewsroomAPI_UploadNewsArticleImage_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UploadNewsArticleImage" NewsroomAPI_CreateClientArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/CreateClientArticle" NewsroomAPI_UpdateClientArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UpdateClientArticle" NewsroomAPI_ListClientArticles_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListClientArticles" NewsroomAPI_CreatePublishedClientArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/CreatePublishedClientArticle" NewsroomAPI_GetPublishedClientArticleById_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/GetPublishedClientArticleById" NewsroomAPI_StoreClientArticleImage_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/StoreClientArticleImage" NewsroomAPI_ListImagesForClientArticle_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListImagesForClientArticle" NewsroomAPI_UploadClientArticleImage_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/UploadClientArticleImage" NewsroomAPI_ListPublishedClientArticles_FullMethodName = "/api.v1alpha1.newsroom.NewsroomAPI/ListPublishedClientArticles" )
Variables ¶
var File_api_v1alpha1_newsroom_entities_proto protoreflect.FileDescriptor
var File_api_v1alpha1_newsroom_service_proto protoreflect.FileDescriptor
var NewsroomAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.newsroom.NewsroomAPI", HandlerType: (*NewsroomAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNewsArticle", Handler: _NewsroomAPI_CreateNewsArticle_Handler, }, { MethodName: "ListNewsArticles", Handler: _NewsroomAPI_ListNewsArticles_Handler, }, { MethodName: "GetNewsArticleById", Handler: _NewsroomAPI_GetNewsArticleById_Handler, }, { MethodName: "UpdateNewsArticle", Handler: _NewsroomAPI_UpdateNewsArticle_Handler, }, { MethodName: "CreatePublishedArticle", Handler: _NewsroomAPI_CreatePublishedArticle_Handler, }, { MethodName: "ListPublishedArticles", Handler: _NewsroomAPI_ListPublishedArticles_Handler, }, { MethodName: "GetPublishedArticleById", Handler: _NewsroomAPI_GetPublishedArticleById_Handler, }, { MethodName: "UserActivity", Handler: _NewsroomAPI_UserActivity_Handler, }, { MethodName: "GetNewsForUser", Handler: _NewsroomAPI_GetNewsForUser_Handler, }, { MethodName: "StoreNewsArticleImage", Handler: _NewsroomAPI_StoreNewsArticleImage_Handler, }, { MethodName: "ListImagesForNewsArticle", Handler: _NewsroomAPI_ListImagesForNewsArticle_Handler, }, { MethodName: "UploadNewsArticleImage", Handler: _NewsroomAPI_UploadNewsArticleImage_Handler, }, { MethodName: "CreateClientArticle", Handler: _NewsroomAPI_CreateClientArticle_Handler, }, { MethodName: "UpdateClientArticle", Handler: _NewsroomAPI_UpdateClientArticle_Handler, }, { MethodName: "ListClientArticles", Handler: _NewsroomAPI_ListClientArticles_Handler, }, { MethodName: "CreatePublishedClientArticle", Handler: _NewsroomAPI_CreatePublishedClientArticle_Handler, }, { MethodName: "GetPublishedClientArticleById", Handler: _NewsroomAPI_GetPublishedClientArticleById_Handler, }, { MethodName: "StoreClientArticleImage", Handler: _NewsroomAPI_StoreClientArticleImage_Handler, }, { MethodName: "ListImagesForClientArticle", Handler: _NewsroomAPI_ListImagesForClientArticle_Handler, }, { MethodName: "UploadClientArticleImage", Handler: _NewsroomAPI_UploadClientArticleImage_Handler, }, { MethodName: "ListPublishedClientArticles", Handler: _NewsroomAPI_ListPublishedClientArticles_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/newsroom/service.proto", }
NewsroomAPI_ServiceDesc is the grpc.ServiceDesc for NewsroomAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNewsroomAPIServer ¶
func RegisterNewsroomAPIServer(s grpc.ServiceRegistrar, srv NewsroomAPIServer)
Types ¶
type CreateClientArticleRequest ¶ added in v1.9.6
type CreateClientArticleRequest struct { // news article title Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // markdown content Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // article author Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,4,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // contains filtered or unexported fields }
Request to create client news article
func (*CreateClientArticleRequest) Descriptor
deprecated
added in
v1.9.6
func (*CreateClientArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientArticleRequest.ProtoReflect.Descriptor instead.
func (*CreateClientArticleRequest) GetAuthor ¶ added in v1.9.6
func (x *CreateClientArticleRequest) GetAuthor() string
func (*CreateClientArticleRequest) GetContent ¶ added in v1.9.6
func (x *CreateClientArticleRequest) GetContent() string
func (*CreateClientArticleRequest) GetImageReferenceId ¶ added in v1.9.6
func (x *CreateClientArticleRequest) GetImageReferenceId() string
func (*CreateClientArticleRequest) GetTitle ¶ added in v1.9.6
func (x *CreateClientArticleRequest) GetTitle() string
func (*CreateClientArticleRequest) ProtoMessage ¶ added in v1.9.6
func (*CreateClientArticleRequest) ProtoMessage()
func (*CreateClientArticleRequest) ProtoReflect ¶ added in v1.9.6
func (x *CreateClientArticleRequest) ProtoReflect() protoreflect.Message
func (*CreateClientArticleRequest) Reset ¶ added in v1.9.6
func (x *CreateClientArticleRequest) Reset()
func (*CreateClientArticleRequest) String ¶ added in v1.9.6
func (x *CreateClientArticleRequest) String() string
type CreateClientArticleResponse ¶ added in v1.9.6
type CreateClientArticleResponse struct { // news article details ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to create client news article
func (*CreateClientArticleResponse) Descriptor
deprecated
added in
v1.9.6
func (*CreateClientArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientArticleResponse.ProtoReflect.Descriptor instead.
func (*CreateClientArticleResponse) GetArticleDetails ¶ added in v1.9.6
func (x *CreateClientArticleResponse) GetArticleDetails() *NewsArticleDetails
func (*CreateClientArticleResponse) ProtoMessage ¶ added in v1.9.6
func (*CreateClientArticleResponse) ProtoMessage()
func (*CreateClientArticleResponse) ProtoReflect ¶ added in v1.9.6
func (x *CreateClientArticleResponse) ProtoReflect() protoreflect.Message
func (*CreateClientArticleResponse) Reset ¶ added in v1.9.6
func (x *CreateClientArticleResponse) Reset()
func (*CreateClientArticleResponse) String ¶ added in v1.9.6
func (x *CreateClientArticleResponse) String() string
type CreateNewsArticleRequest ¶
type CreateNewsArticleRequest struct { // news article title Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // markdown content Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // article author Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,4,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // contains filtered or unexported fields }
Request to create news article
func (*CreateNewsArticleRequest) Descriptor
deprecated
func (*CreateNewsArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNewsArticleRequest.ProtoReflect.Descriptor instead.
func (*CreateNewsArticleRequest) GetAuthor ¶ added in v1.7.39
func (x *CreateNewsArticleRequest) GetAuthor() string
func (*CreateNewsArticleRequest) GetContent ¶
func (x *CreateNewsArticleRequest) GetContent() string
func (*CreateNewsArticleRequest) GetImageReferenceId ¶ added in v1.7.39
func (x *CreateNewsArticleRequest) GetImageReferenceId() string
func (*CreateNewsArticleRequest) GetTitle ¶
func (x *CreateNewsArticleRequest) GetTitle() string
func (*CreateNewsArticleRequest) ProtoMessage ¶
func (*CreateNewsArticleRequest) ProtoMessage()
func (*CreateNewsArticleRequest) ProtoReflect ¶
func (x *CreateNewsArticleRequest) ProtoReflect() protoreflect.Message
func (*CreateNewsArticleRequest) Reset ¶
func (x *CreateNewsArticleRequest) Reset()
func (*CreateNewsArticleRequest) String ¶
func (x *CreateNewsArticleRequest) String() string
type CreateNewsArticleResponse ¶
type CreateNewsArticleResponse struct { // news article details ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to create news article
func (*CreateNewsArticleResponse) Descriptor
deprecated
func (*CreateNewsArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNewsArticleResponse.ProtoReflect.Descriptor instead.
func (*CreateNewsArticleResponse) GetArticleDetails ¶
func (x *CreateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
func (*CreateNewsArticleResponse) ProtoMessage ¶
func (*CreateNewsArticleResponse) ProtoMessage()
func (*CreateNewsArticleResponse) ProtoReflect ¶
func (x *CreateNewsArticleResponse) ProtoReflect() protoreflect.Message
func (*CreateNewsArticleResponse) Reset ¶
func (x *CreateNewsArticleResponse) Reset()
func (*CreateNewsArticleResponse) String ¶
func (x *CreateNewsArticleResponse) String() string
type CreatePublishedArticleRequest ¶ added in v1.7.35
type CreatePublishedArticleRequest struct { // news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // determines if we show to user DisplayToUser bool `protobuf:"varint,2,opt,name=display_to_user,json=displayToUser,proto3" json:"display_to_user,omitempty"` // link to the published article ArticleLink string `protobuf:"bytes,3,opt,name=article_link,json=articleLink,proto3" json:"article_link,omitempty"` // contains filtered or unexported fields }
Request to create published article
func (*CreatePublishedArticleRequest) Descriptor
deprecated
added in
v1.7.35
func (*CreatePublishedArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublishedArticleRequest.ProtoReflect.Descriptor instead.
func (*CreatePublishedArticleRequest) GetArticleLink ¶ added in v1.7.38
func (x *CreatePublishedArticleRequest) GetArticleLink() string
func (*CreatePublishedArticleRequest) GetDisplayToUser ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) GetDisplayToUser() bool
func (*CreatePublishedArticleRequest) GetNewArticleSid ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) GetNewArticleSid() int64
func (*CreatePublishedArticleRequest) ProtoMessage ¶ added in v1.7.35
func (*CreatePublishedArticleRequest) ProtoMessage()
func (*CreatePublishedArticleRequest) ProtoReflect ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) ProtoReflect() protoreflect.Message
func (*CreatePublishedArticleRequest) Reset ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) Reset()
func (*CreatePublishedArticleRequest) String ¶ added in v1.7.35
func (x *CreatePublishedArticleRequest) String() string
type CreatePublishedArticleResponse ¶ added in v1.7.35
type CreatePublishedArticleResponse struct { // news article details PublishedArticleDetails *PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to create published article
func (*CreatePublishedArticleResponse) Descriptor
deprecated
added in
v1.7.35
func (*CreatePublishedArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublishedArticleResponse.ProtoReflect.Descriptor instead.
func (*CreatePublishedArticleResponse) GetPublishedArticleDetails ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) GetPublishedArticleDetails() *PublishedArticleDetails
func (*CreatePublishedArticleResponse) ProtoMessage ¶ added in v1.7.35
func (*CreatePublishedArticleResponse) ProtoMessage()
func (*CreatePublishedArticleResponse) ProtoReflect ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) ProtoReflect() protoreflect.Message
func (*CreatePublishedArticleResponse) Reset ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) Reset()
func (*CreatePublishedArticleResponse) String ¶ added in v1.7.35
func (x *CreatePublishedArticleResponse) String() string
type CreatePublishedClientArticleRequest ¶ added in v1.9.6
type CreatePublishedClientArticleRequest struct { // news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // determines if we show to user DisplayToUser bool `protobuf:"varint,2,opt,name=display_to_user,json=displayToUser,proto3" json:"display_to_user,omitempty"` // link to the published article ArticleLink string `protobuf:"bytes,3,opt,name=article_link,json=articleLink,proto3" json:"article_link,omitempty"` // determines if we always show this article to the user on login AlwaysShow bool `protobuf:"varint,4,opt,name=always_show,json=alwaysShow,proto3" json:"always_show,omitempty"` // contains filtered or unexported fields }
Request to create published client article
func (*CreatePublishedClientArticleRequest) Descriptor
deprecated
added in
v1.9.6
func (*CreatePublishedClientArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublishedClientArticleRequest.ProtoReflect.Descriptor instead.
func (*CreatePublishedClientArticleRequest) GetAlwaysShow ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) GetAlwaysShow() bool
func (*CreatePublishedClientArticleRequest) GetArticleLink ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) GetArticleLink() string
func (*CreatePublishedClientArticleRequest) GetDisplayToUser ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) GetDisplayToUser() bool
func (*CreatePublishedClientArticleRequest) GetNewArticleSid ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) GetNewArticleSid() int64
func (*CreatePublishedClientArticleRequest) ProtoMessage ¶ added in v1.9.6
func (*CreatePublishedClientArticleRequest) ProtoMessage()
func (*CreatePublishedClientArticleRequest) ProtoReflect ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) ProtoReflect() protoreflect.Message
func (*CreatePublishedClientArticleRequest) Reset ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) Reset()
func (*CreatePublishedClientArticleRequest) String ¶ added in v1.9.6
func (x *CreatePublishedClientArticleRequest) String() string
type CreatePublishedClientArticleResponse ¶ added in v1.9.6
type CreatePublishedClientArticleResponse struct { // news article details PublishedArticleDetails *PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to create published client article
func (*CreatePublishedClientArticleResponse) Descriptor
deprecated
added in
v1.9.6
func (*CreatePublishedClientArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublishedClientArticleResponse.ProtoReflect.Descriptor instead.
func (*CreatePublishedClientArticleResponse) GetPublishedArticleDetails ¶ added in v1.9.6
func (x *CreatePublishedClientArticleResponse) GetPublishedArticleDetails() *PublishedArticleDetails
func (*CreatePublishedClientArticleResponse) ProtoMessage ¶ added in v1.9.6
func (*CreatePublishedClientArticleResponse) ProtoMessage()
func (*CreatePublishedClientArticleResponse) ProtoReflect ¶ added in v1.9.6
func (x *CreatePublishedClientArticleResponse) ProtoReflect() protoreflect.Message
func (*CreatePublishedClientArticleResponse) Reset ¶ added in v1.9.6
func (x *CreatePublishedClientArticleResponse) Reset()
func (*CreatePublishedClientArticleResponse) String ¶ added in v1.9.6
func (x *CreatePublishedClientArticleResponse) String() string
type GetNewsArticleByIdRequest ¶
type GetNewsArticleByIdRequest struct { // the unique news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // contains filtered or unexported fields }
Request to get news article by id
func (*GetNewsArticleByIdRequest) Descriptor
deprecated
func (*GetNewsArticleByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsArticleByIdRequest.ProtoReflect.Descriptor instead.
func (*GetNewsArticleByIdRequest) GetNewArticleSid ¶
func (x *GetNewsArticleByIdRequest) GetNewArticleSid() int64
func (*GetNewsArticleByIdRequest) ProtoMessage ¶
func (*GetNewsArticleByIdRequest) ProtoMessage()
func (*GetNewsArticleByIdRequest) ProtoReflect ¶
func (x *GetNewsArticleByIdRequest) ProtoReflect() protoreflect.Message
func (*GetNewsArticleByIdRequest) Reset ¶
func (x *GetNewsArticleByIdRequest) Reset()
func (*GetNewsArticleByIdRequest) String ¶
func (x *GetNewsArticleByIdRequest) String() string
type GetNewsArticleByIdResponse ¶
type GetNewsArticleByIdResponse struct { // news article details ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to get news article
func (*GetNewsArticleByIdResponse) Descriptor
deprecated
func (*GetNewsArticleByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsArticleByIdResponse.ProtoReflect.Descriptor instead.
func (*GetNewsArticleByIdResponse) GetArticleDetails ¶
func (x *GetNewsArticleByIdResponse) GetArticleDetails() *NewsArticleDetails
func (*GetNewsArticleByIdResponse) ProtoMessage ¶
func (*GetNewsArticleByIdResponse) ProtoMessage()
func (*GetNewsArticleByIdResponse) ProtoReflect ¶
func (x *GetNewsArticleByIdResponse) ProtoReflect() protoreflect.Message
func (*GetNewsArticleByIdResponse) Reset ¶
func (x *GetNewsArticleByIdResponse) Reset()
func (*GetNewsArticleByIdResponse) String ¶
func (x *GetNewsArticleByIdResponse) String() string
type GetNewsForUserRequest ¶ added in v1.7.36
type GetNewsForUserRequest struct {
// contains filtered or unexported fields
}
Request to get unseen news articles for the user
func (*GetNewsForUserRequest) Descriptor
deprecated
added in
v1.7.36
func (*GetNewsForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsForUserRequest.ProtoReflect.Descriptor instead.
func (*GetNewsForUserRequest) ProtoMessage ¶ added in v1.7.36
func (*GetNewsForUserRequest) ProtoMessage()
func (*GetNewsForUserRequest) ProtoReflect ¶ added in v1.7.36
func (x *GetNewsForUserRequest) ProtoReflect() protoreflect.Message
func (*GetNewsForUserRequest) Reset ¶ added in v1.7.36
func (x *GetNewsForUserRequest) Reset()
func (*GetNewsForUserRequest) String ¶ added in v1.7.36
func (x *GetNewsForUserRequest) String() string
type GetNewsForUserResponse ¶ added in v1.7.36
type GetNewsForUserResponse struct { // published article details PublishedArticleDetails []*PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to unseen news articles for the user
func (*GetNewsForUserResponse) Descriptor
deprecated
added in
v1.7.36
func (*GetNewsForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNewsForUserResponse.ProtoReflect.Descriptor instead.
func (*GetNewsForUserResponse) GetPublishedArticleDetails ¶ added in v1.7.36
func (x *GetNewsForUserResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
func (*GetNewsForUserResponse) ProtoMessage ¶ added in v1.7.36
func (*GetNewsForUserResponse) ProtoMessage()
func (*GetNewsForUserResponse) ProtoReflect ¶ added in v1.7.36
func (x *GetNewsForUserResponse) ProtoReflect() protoreflect.Message
func (*GetNewsForUserResponse) Reset ¶ added in v1.7.36
func (x *GetNewsForUserResponse) Reset()
func (*GetNewsForUserResponse) String ¶ added in v1.7.36
func (x *GetNewsForUserResponse) String() string
type GetPublishedArticleByIdRequest ¶ added in v1.7.35
type GetPublishedArticleByIdRequest struct { // deprecated // // Deprecated: Marked as deprecated in api/v1alpha1/newsroom/entities.proto. NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // the unique published article sid PublishedArticleSid int64 `protobuf:"varint,2,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // contains filtered or unexported fields }
Request to get published article by id
func (*GetPublishedArticleByIdRequest) Descriptor
deprecated
added in
v1.7.35
func (*GetPublishedArticleByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishedArticleByIdRequest.ProtoReflect.Descriptor instead.
func (*GetPublishedArticleByIdRequest) GetNewArticleSid
deprecated
added in
v1.7.35
func (x *GetPublishedArticleByIdRequest) GetNewArticleSid() int64
Deprecated: Marked as deprecated in api/v1alpha1/newsroom/entities.proto.
func (*GetPublishedArticleByIdRequest) GetPublishedArticleSid ¶ added in v1.7.36
func (x *GetPublishedArticleByIdRequest) GetPublishedArticleSid() int64
func (*GetPublishedArticleByIdRequest) ProtoMessage ¶ added in v1.7.35
func (*GetPublishedArticleByIdRequest) ProtoMessage()
func (*GetPublishedArticleByIdRequest) ProtoReflect ¶ added in v1.7.35
func (x *GetPublishedArticleByIdRequest) ProtoReflect() protoreflect.Message
func (*GetPublishedArticleByIdRequest) Reset ¶ added in v1.7.35
func (x *GetPublishedArticleByIdRequest) Reset()
func (*GetPublishedArticleByIdRequest) String ¶ added in v1.7.35
func (x *GetPublishedArticleByIdRequest) String() string
type GetPublishedArticleByIdResponse ¶ added in v1.7.35
type GetPublishedArticleByIdResponse struct { // published article details PublishedArticleDetails *PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to get published article
func (*GetPublishedArticleByIdResponse) Descriptor
deprecated
added in
v1.7.35
func (*GetPublishedArticleByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishedArticleByIdResponse.ProtoReflect.Descriptor instead.
func (*GetPublishedArticleByIdResponse) GetPublishedArticleDetails ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) GetPublishedArticleDetails() *PublishedArticleDetails
func (*GetPublishedArticleByIdResponse) ProtoMessage ¶ added in v1.7.35
func (*GetPublishedArticleByIdResponse) ProtoMessage()
func (*GetPublishedArticleByIdResponse) ProtoReflect ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) ProtoReflect() protoreflect.Message
func (*GetPublishedArticleByIdResponse) Reset ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) Reset()
func (*GetPublishedArticleByIdResponse) String ¶ added in v1.7.35
func (x *GetPublishedArticleByIdResponse) String() string
type GetPublishedClientArticleByIdRequest ¶ added in v1.9.6
type GetPublishedClientArticleByIdRequest struct { // the unique published article sid PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // contains filtered or unexported fields }
Request to get published client article by id
func (*GetPublishedClientArticleByIdRequest) Descriptor
deprecated
added in
v1.9.6
func (*GetPublishedClientArticleByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishedClientArticleByIdRequest.ProtoReflect.Descriptor instead.
func (*GetPublishedClientArticleByIdRequest) GetPublishedArticleSid ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdRequest) GetPublishedArticleSid() int64
func (*GetPublishedClientArticleByIdRequest) ProtoMessage ¶ added in v1.9.6
func (*GetPublishedClientArticleByIdRequest) ProtoMessage()
func (*GetPublishedClientArticleByIdRequest) ProtoReflect ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdRequest) ProtoReflect() protoreflect.Message
func (*GetPublishedClientArticleByIdRequest) Reset ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdRequest) Reset()
func (*GetPublishedClientArticleByIdRequest) String ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdRequest) String() string
type GetPublishedClientArticleByIdResponse ¶ added in v1.9.6
type GetPublishedClientArticleByIdResponse struct { // published article details PublishedArticleDetails *PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to get published client article
func (*GetPublishedClientArticleByIdResponse) Descriptor
deprecated
added in
v1.9.6
func (*GetPublishedClientArticleByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishedClientArticleByIdResponse.ProtoReflect.Descriptor instead.
func (*GetPublishedClientArticleByIdResponse) GetPublishedArticleDetails ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdResponse) GetPublishedArticleDetails() *PublishedArticleDetails
func (*GetPublishedClientArticleByIdResponse) ProtoMessage ¶ added in v1.9.6
func (*GetPublishedClientArticleByIdResponse) ProtoMessage()
func (*GetPublishedClientArticleByIdResponse) ProtoReflect ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdResponse) ProtoReflect() protoreflect.Message
func (*GetPublishedClientArticleByIdResponse) Reset ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdResponse) Reset()
func (*GetPublishedClientArticleByIdResponse) String ¶ added in v1.9.6
func (x *GetPublishedClientArticleByIdResponse) String() string
type ListClientArticlesRequest ¶ added in v1.9.6
type ListClientArticlesRequest struct { // the statuses to select by when listing articles (if empty, selects all) Statuses []commons.ArticleStatus `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=api.commons.ArticleStatus" json:"statuses,omitempty"` // list of article details to be Requested FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request to list of client news articles
func (*ListClientArticlesRequest) Descriptor
deprecated
added in
v1.9.6
func (*ListClientArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClientArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListClientArticlesRequest) GetFieldMask ¶ added in v1.9.6
func (x *ListClientArticlesRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListClientArticlesRequest) GetStatuses ¶ added in v1.9.6
func (x *ListClientArticlesRequest) GetStatuses() []commons.ArticleStatus
func (*ListClientArticlesRequest) ProtoMessage ¶ added in v1.9.6
func (*ListClientArticlesRequest) ProtoMessage()
func (*ListClientArticlesRequest) ProtoReflect ¶ added in v1.9.6
func (x *ListClientArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListClientArticlesRequest) Reset ¶ added in v1.9.6
func (x *ListClientArticlesRequest) Reset()
func (*ListClientArticlesRequest) String ¶ added in v1.9.6
func (x *ListClientArticlesRequest) String() string
type ListClientArticlesResponse ¶ added in v1.9.6
type ListClientArticlesResponse struct { // client article details ArticleDetails []*NewsArticleDetails `protobuf:"bytes,1,rep,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to list of client news articles
func (*ListClientArticlesResponse) Descriptor
deprecated
added in
v1.9.6
func (*ListClientArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClientArticlesResponse.ProtoReflect.Descriptor instead.
func (*ListClientArticlesResponse) GetArticleDetails ¶ added in v1.9.6
func (x *ListClientArticlesResponse) GetArticleDetails() []*NewsArticleDetails
func (*ListClientArticlesResponse) ProtoMessage ¶ added in v1.9.6
func (*ListClientArticlesResponse) ProtoMessage()
func (*ListClientArticlesResponse) ProtoReflect ¶ added in v1.9.6
func (x *ListClientArticlesResponse) ProtoReflect() protoreflect.Message
func (*ListClientArticlesResponse) Reset ¶ added in v1.9.6
func (x *ListClientArticlesResponse) Reset()
func (*ListClientArticlesResponse) String ¶ added in v1.9.6
func (x *ListClientArticlesResponse) String() string
type ListImagesForClientArticleRequest ¶ added in v1.9.6
type ListImagesForClientArticleRequest struct { // images for the new article sid NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // contains filtered or unexported fields }
request to list all images for client article
func (*ListImagesForClientArticleRequest) Descriptor
deprecated
added in
v1.9.6
func (*ListImagesForClientArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesForClientArticleRequest.ProtoReflect.Descriptor instead.
func (*ListImagesForClientArticleRequest) GetNewArticleSid ¶ added in v1.9.6
func (x *ListImagesForClientArticleRequest) GetNewArticleSid() int64
func (*ListImagesForClientArticleRequest) ProtoMessage ¶ added in v1.9.6
func (*ListImagesForClientArticleRequest) ProtoMessage()
func (*ListImagesForClientArticleRequest) ProtoReflect ¶ added in v1.9.6
func (x *ListImagesForClientArticleRequest) ProtoReflect() protoreflect.Message
func (*ListImagesForClientArticleRequest) Reset ¶ added in v1.9.6
func (x *ListImagesForClientArticleRequest) Reset()
func (*ListImagesForClientArticleRequest) String ¶ added in v1.9.6
func (x *ListImagesForClientArticleRequest) String() string
type ListImagesForClientArticleResponse ¶ added in v1.9.6
type ListImagesForClientArticleResponse struct { // images for the client news article NewsArticleImages []*NewsArticleImage `protobuf:"bytes,1,rep,name=news_article_images,json=newsArticleImages,proto3" json:"news_article_images,omitempty"` // contains filtered or unexported fields }
response to list all images for the client article
func (*ListImagesForClientArticleResponse) Descriptor
deprecated
added in
v1.9.6
func (*ListImagesForClientArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesForClientArticleResponse.ProtoReflect.Descriptor instead.
func (*ListImagesForClientArticleResponse) GetNewsArticleImages ¶ added in v1.9.6
func (x *ListImagesForClientArticleResponse) GetNewsArticleImages() []*NewsArticleImage
func (*ListImagesForClientArticleResponse) ProtoMessage ¶ added in v1.9.6
func (*ListImagesForClientArticleResponse) ProtoMessage()
func (*ListImagesForClientArticleResponse) ProtoReflect ¶ added in v1.9.6
func (x *ListImagesForClientArticleResponse) ProtoReflect() protoreflect.Message
func (*ListImagesForClientArticleResponse) Reset ¶ added in v1.9.6
func (x *ListImagesForClientArticleResponse) Reset()
func (*ListImagesForClientArticleResponse) String ¶ added in v1.9.6
func (x *ListImagesForClientArticleResponse) String() string
type ListImagesForNewsArticleRequest ¶ added in v1.7.38
type ListImagesForNewsArticleRequest struct { // images for the new article sid NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // contains filtered or unexported fields }
request to list all images news article
func (*ListImagesForNewsArticleRequest) Descriptor
deprecated
added in
v1.7.38
func (*ListImagesForNewsArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesForNewsArticleRequest.ProtoReflect.Descriptor instead.
func (*ListImagesForNewsArticleRequest) GetNewArticleSid ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) GetNewArticleSid() int64
func (*ListImagesForNewsArticleRequest) ProtoMessage ¶ added in v1.7.38
func (*ListImagesForNewsArticleRequest) ProtoMessage()
func (*ListImagesForNewsArticleRequest) ProtoReflect ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) ProtoReflect() protoreflect.Message
func (*ListImagesForNewsArticleRequest) Reset ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) Reset()
func (*ListImagesForNewsArticleRequest) String ¶ added in v1.7.38
func (x *ListImagesForNewsArticleRequest) String() string
type ListImagesForNewsArticleResponse ¶ added in v1.7.38
type ListImagesForNewsArticleResponse struct { // images for the news article NewsArticleImages []*NewsArticleImage `protobuf:"bytes,1,rep,name=news_article_images,json=newsArticleImages,proto3" json:"news_article_images,omitempty"` // contains filtered or unexported fields }
response to list all images for the news article
func (*ListImagesForNewsArticleResponse) Descriptor
deprecated
added in
v1.7.38
func (*ListImagesForNewsArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesForNewsArticleResponse.ProtoReflect.Descriptor instead.
func (*ListImagesForNewsArticleResponse) GetNewsArticleImages ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) GetNewsArticleImages() []*NewsArticleImage
func (*ListImagesForNewsArticleResponse) ProtoMessage ¶ added in v1.7.38
func (*ListImagesForNewsArticleResponse) ProtoMessage()
func (*ListImagesForNewsArticleResponse) ProtoReflect ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) ProtoReflect() protoreflect.Message
func (*ListImagesForNewsArticleResponse) Reset ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) Reset()
func (*ListImagesForNewsArticleResponse) String ¶ added in v1.7.38
func (x *ListImagesForNewsArticleResponse) String() string
type ListNewsArticlesRequest ¶
type ListNewsArticlesRequest struct { // the statuses to select by when listing articles (if empty, selects all) Statuses []commons.ArticleStatus `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=api.commons.ArticleStatus" json:"statuses,omitempty"` // list of article details to be Requested FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request to list of news articles
func (*ListNewsArticlesRequest) Descriptor
deprecated
func (*ListNewsArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListNewsArticlesRequest) GetFieldMask ¶
func (x *ListNewsArticlesRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*ListNewsArticlesRequest) GetStatuses ¶
func (x *ListNewsArticlesRequest) GetStatuses() []commons.ArticleStatus
func (*ListNewsArticlesRequest) ProtoMessage ¶
func (*ListNewsArticlesRequest) ProtoMessage()
func (*ListNewsArticlesRequest) ProtoReflect ¶
func (x *ListNewsArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListNewsArticlesRequest) Reset ¶
func (x *ListNewsArticlesRequest) Reset()
func (*ListNewsArticlesRequest) String ¶
func (x *ListNewsArticlesRequest) String() string
type ListNewsArticlesResponse ¶
type ListNewsArticlesResponse struct { // article details ArticleDetails []*NewsArticleDetails `protobuf:"bytes,1,rep,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to list of news articles
func (*ListNewsArticlesResponse) Descriptor
deprecated
func (*ListNewsArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsArticlesResponse.ProtoReflect.Descriptor instead.
func (*ListNewsArticlesResponse) GetArticleDetails ¶
func (x *ListNewsArticlesResponse) GetArticleDetails() []*NewsArticleDetails
func (*ListNewsArticlesResponse) ProtoMessage ¶
func (*ListNewsArticlesResponse) ProtoMessage()
func (*ListNewsArticlesResponse) ProtoReflect ¶
func (x *ListNewsArticlesResponse) ProtoReflect() protoreflect.Message
func (*ListNewsArticlesResponse) Reset ¶
func (x *ListNewsArticlesResponse) Reset()
func (*ListNewsArticlesResponse) String ¶
func (x *ListNewsArticlesResponse) String() string
type ListPublishedArticlesRequest ¶ added in v1.7.35
type ListPublishedArticlesRequest struct {
// contains filtered or unexported fields
}
Request to list of published articles
func (*ListPublishedArticlesRequest) Descriptor
deprecated
added in
v1.7.35
func (*ListPublishedArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListPublishedArticlesRequest) ProtoMessage ¶ added in v1.7.35
func (*ListPublishedArticlesRequest) ProtoMessage()
func (*ListPublishedArticlesRequest) ProtoReflect ¶ added in v1.7.35
func (x *ListPublishedArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListPublishedArticlesRequest) Reset ¶ added in v1.7.35
func (x *ListPublishedArticlesRequest) Reset()
func (*ListPublishedArticlesRequest) String ¶ added in v1.7.35
func (x *ListPublishedArticlesRequest) String() string
type ListPublishedArticlesResponse ¶ added in v1.7.35
type ListPublishedArticlesResponse struct { // published article details PublishedArticleDetails []*PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to list of published articles
func (*ListPublishedArticlesResponse) Descriptor
deprecated
added in
v1.7.35
func (*ListPublishedArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedArticlesResponse.ProtoReflect.Descriptor instead.
func (*ListPublishedArticlesResponse) GetPublishedArticleDetails ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
func (*ListPublishedArticlesResponse) ProtoMessage ¶ added in v1.7.35
func (*ListPublishedArticlesResponse) ProtoMessage()
func (*ListPublishedArticlesResponse) ProtoReflect ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) ProtoReflect() protoreflect.Message
func (*ListPublishedArticlesResponse) Reset ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) Reset()
func (*ListPublishedArticlesResponse) String ¶ added in v1.7.35
func (x *ListPublishedArticlesResponse) String() string
type ListPublishedClientArticlesRequest ¶ added in v1.9.6
type ListPublishedClientArticlesRequest struct {
// contains filtered or unexported fields
}
Request to list of published client articles
func (*ListPublishedClientArticlesRequest) Descriptor
deprecated
added in
v1.9.6
func (*ListPublishedClientArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedClientArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListPublishedClientArticlesRequest) ProtoMessage ¶ added in v1.9.6
func (*ListPublishedClientArticlesRequest) ProtoMessage()
func (*ListPublishedClientArticlesRequest) ProtoReflect ¶ added in v1.9.6
func (x *ListPublishedClientArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListPublishedClientArticlesRequest) Reset ¶ added in v1.9.6
func (x *ListPublishedClientArticlesRequest) Reset()
func (*ListPublishedClientArticlesRequest) String ¶ added in v1.9.6
func (x *ListPublishedClientArticlesRequest) String() string
type ListPublishedClientArticlesResponse ¶ added in v1.9.6
type ListPublishedClientArticlesResponse struct { // published article details PublishedArticleDetails []*PublishedArticleDetails `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Response to list of published client articles
func (*ListPublishedClientArticlesResponse) Descriptor
deprecated
added in
v1.9.6
func (*ListPublishedClientArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedClientArticlesResponse.ProtoReflect.Descriptor instead.
func (*ListPublishedClientArticlesResponse) GetPublishedArticleDetails ¶ added in v1.9.6
func (x *ListPublishedClientArticlesResponse) GetPublishedArticleDetails() []*PublishedArticleDetails
func (*ListPublishedClientArticlesResponse) ProtoMessage ¶ added in v1.9.6
func (*ListPublishedClientArticlesResponse) ProtoMessage()
func (*ListPublishedClientArticlesResponse) ProtoReflect ¶ added in v1.9.6
func (x *ListPublishedClientArticlesResponse) ProtoReflect() protoreflect.Message
func (*ListPublishedClientArticlesResponse) Reset ¶ added in v1.9.6
func (x *ListPublishedClientArticlesResponse) Reset()
func (*ListPublishedClientArticlesResponse) String ¶ added in v1.9.6
func (x *ListPublishedClientArticlesResponse) String() string
type NewsArticleDetails ¶
type NewsArticleDetails struct { // the unique news article identifier NewArticleSid int64 `protobuf:"varint,1,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // news article title Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // markdown content Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // article status Status commons.ArticleStatus `protobuf:"varint,4,opt,name=status,proto3,enum=api.commons.ArticleStatus" json:"status,omitempty"` // news article creation date DateCreated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // news article last updated date LastEdited *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_edited,json=lastEdited,proto3" json:"last_edited,omitempty"` // article author Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,8,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // contains filtered or unexported fields }
news article details
func (*NewsArticleDetails) Descriptor
deprecated
func (*NewsArticleDetails) Descriptor() ([]byte, []int)
Deprecated: Use NewsArticleDetails.ProtoReflect.Descriptor instead.
func (*NewsArticleDetails) GetAuthor ¶ added in v1.7.39
func (x *NewsArticleDetails) GetAuthor() string
func (*NewsArticleDetails) GetContent ¶
func (x *NewsArticleDetails) GetContent() string
func (*NewsArticleDetails) GetDateCreated ¶
func (x *NewsArticleDetails) GetDateCreated() *timestamppb.Timestamp
func (*NewsArticleDetails) GetImageReferenceId ¶ added in v1.7.39
func (x *NewsArticleDetails) GetImageReferenceId() string
func (*NewsArticleDetails) GetLastEdited ¶
func (x *NewsArticleDetails) GetLastEdited() *timestamppb.Timestamp
func (*NewsArticleDetails) GetNewArticleSid ¶
func (x *NewsArticleDetails) GetNewArticleSid() int64
func (*NewsArticleDetails) GetStatus ¶
func (x *NewsArticleDetails) GetStatus() commons.ArticleStatus
func (*NewsArticleDetails) GetTitle ¶
func (x *NewsArticleDetails) GetTitle() string
func (*NewsArticleDetails) ProtoMessage ¶
func (*NewsArticleDetails) ProtoMessage()
func (*NewsArticleDetails) ProtoReflect ¶
func (x *NewsArticleDetails) ProtoReflect() protoreflect.Message
func (*NewsArticleDetails) Reset ¶
func (x *NewsArticleDetails) Reset()
func (*NewsArticleDetails) String ¶
func (x *NewsArticleDetails) String() string
type NewsArticleImage ¶ added in v1.7.38
type NewsArticleImage struct { // unique name of the image Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // image for the new article NewArticleSid int64 `protobuf:"varint,2,opt,name=new_article_sid,json=newArticleSid,proto3" json:"new_article_sid,omitempty"` // image content Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // download image url DownloadUrl string `protobuf:"bytes,4,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // image reference id ImageReferenceId string `protobuf:"bytes,5,opt,name=image_reference_id,json=imageReferenceId,proto3" json:"image_reference_id,omitempty"` // image type ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` // temp id for the image TempId *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=temp_id,json=tempId,proto3" json:"temp_id,omitempty"` // contains filtered or unexported fields }
image for the news article details
func (*NewsArticleImage) Descriptor
deprecated
added in
v1.7.38
func (*NewsArticleImage) Descriptor() ([]byte, []int)
Deprecated: Use NewsArticleImage.ProtoReflect.Descriptor instead.
func (*NewsArticleImage) GetContent ¶ added in v1.7.38
func (x *NewsArticleImage) GetContent() string
func (*NewsArticleImage) GetDownloadUrl ¶ added in v1.7.38
func (x *NewsArticleImage) GetDownloadUrl() string
func (*NewsArticleImage) GetImageReferenceId ¶ added in v1.7.39
func (x *NewsArticleImage) GetImageReferenceId() string
func (*NewsArticleImage) GetImageType ¶ added in v1.7.39
func (x *NewsArticleImage) GetImageType() string
func (*NewsArticleImage) GetNewArticleSid ¶ added in v1.7.38
func (x *NewsArticleImage) GetNewArticleSid() int64
func (*NewsArticleImage) GetTempId ¶ added in v1.8.11
func (x *NewsArticleImage) GetTempId() *wrapperspb.StringValue
func (*NewsArticleImage) GetUuid ¶ added in v1.7.38
func (x *NewsArticleImage) GetUuid() string
func (*NewsArticleImage) ProtoMessage ¶ added in v1.7.38
func (*NewsArticleImage) ProtoMessage()
func (*NewsArticleImage) ProtoReflect ¶ added in v1.7.38
func (x *NewsArticleImage) ProtoReflect() protoreflect.Message
func (*NewsArticleImage) Reset ¶ added in v1.7.38
func (x *NewsArticleImage) Reset()
func (*NewsArticleImage) String ¶ added in v1.7.38
func (x *NewsArticleImage) String() string
type NewsroomAPIClient ¶
type NewsroomAPIClient interface { // create news article CreateNewsArticle(ctx context.Context, in *CreateNewsArticleRequest, opts ...grpc.CallOption) (*CreateNewsArticleResponse, error) // list news articles ListNewsArticles(ctx context.Context, in *ListNewsArticlesRequest, opts ...grpc.CallOption) (*ListNewsArticlesResponse, error) // get news article details by the id GetNewsArticleById(ctx context.Context, in *GetNewsArticleByIdRequest, opts ...grpc.CallOption) (*GetNewsArticleByIdResponse, error) // update news article UpdateNewsArticle(ctx context.Context, in *UpdateNewsArticleRequest, opts ...grpc.CallOption) (*UpdateNewsArticleResponse, error) // create published article CreatePublishedArticle(ctx context.Context, in *CreatePublishedArticleRequest, opts ...grpc.CallOption) (*CreatePublishedArticleResponse, error) // list published articles ListPublishedArticles(ctx context.Context, in *ListPublishedArticlesRequest, opts ...grpc.CallOption) (*ListPublishedArticlesResponse, error) // get published article details by the id GetPublishedArticleById(ctx context.Context, in *GetPublishedArticleByIdRequest, opts ...grpc.CallOption) (*GetPublishedArticleByIdResponse, error) // user activity updates UserActivity(ctx context.Context, in *UserActivityRequest, opts ...grpc.CallOption) (*UserActivityResponse, error) // fetch the unseen articles for the user GetNewsForUser(ctx context.Context, in *GetNewsForUserRequest, opts ...grpc.CallOption) (*GetNewsForUserResponse, error) // upload newsroom image for the news article StoreNewsArticleImage(ctx context.Context, in *StoreNewsArticleImageRequest, opts ...grpc.CallOption) (*StoreNewsArticleImageResponse, error) // list newsroom images ListImagesForNewsArticle(ctx context.Context, in *ListImagesForNewsArticleRequest, opts ...grpc.CallOption) (*ListImagesForNewsArticleResponse, error) // upload newsroom image for the news article UploadNewsArticleImage(ctx context.Context, in *UploadNewsArticleImageRequest, opts ...grpc.CallOption) (*UploadNewsArticleImageResponse, error) // create a client managed news article CreateClientArticle(ctx context.Context, in *CreateClientArticleRequest, opts ...grpc.CallOption) (*CreateClientArticleResponse, error) // update a client managed news article UpdateClientArticle(ctx context.Context, in *UpdateClientArticleRequest, opts ...grpc.CallOption) (*UpdateClientArticleResponse, error) // list client managed news articles ListClientArticles(ctx context.Context, in *ListClientArticlesRequest, opts ...grpc.CallOption) (*ListClientArticlesResponse, error) // create published client article CreatePublishedClientArticle(ctx context.Context, in *CreatePublishedClientArticleRequest, opts ...grpc.CallOption) (*CreatePublishedClientArticleResponse, error) // get published client article details by the id GetPublishedClientArticleById(ctx context.Context, in *GetPublishedClientArticleByIdRequest, opts ...grpc.CallOption) (*GetPublishedClientArticleByIdResponse, error) // upload newsroom image for the client news article StoreClientArticleImage(ctx context.Context, in *StoreClientArticleImageRequest, opts ...grpc.CallOption) (*StoreClientArticleImageResponse, error) // list newsroom client images ListImagesForClientArticle(ctx context.Context, in *ListImagesForClientArticleRequest, opts ...grpc.CallOption) (*ListImagesForClientArticleResponse, error) // upload newsroom image for the client article UploadClientArticleImage(ctx context.Context, in *UploadClientArticleImageRequest, opts ...grpc.CallOption) (*UploadClientArticleImageResponse, error) // list published client articles ListPublishedClientArticles(ctx context.Context, in *ListPublishedClientArticlesRequest, opts ...grpc.CallOption) (*ListPublishedClientArticlesResponse, error) }
NewsroomAPIClient is the client API for NewsroomAPI 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.
Service for interacting with TCN's Newsroom API system. Accessing all of the methods Requestuire an authenticated user with the correct permissions.
func NewNewsroomAPIClient ¶
func NewNewsroomAPIClient(cc grpc.ClientConnInterface) NewsroomAPIClient
type NewsroomAPIServer ¶
type NewsroomAPIServer interface { // create news article CreateNewsArticle(context.Context, *CreateNewsArticleRequest) (*CreateNewsArticleResponse, error) // list news articles ListNewsArticles(context.Context, *ListNewsArticlesRequest) (*ListNewsArticlesResponse, error) // get news article details by the id GetNewsArticleById(context.Context, *GetNewsArticleByIdRequest) (*GetNewsArticleByIdResponse, error) // update news article UpdateNewsArticle(context.Context, *UpdateNewsArticleRequest) (*UpdateNewsArticleResponse, error) // create published article CreatePublishedArticle(context.Context, *CreatePublishedArticleRequest) (*CreatePublishedArticleResponse, error) // list published articles ListPublishedArticles(context.Context, *ListPublishedArticlesRequest) (*ListPublishedArticlesResponse, error) // get published article details by the id GetPublishedArticleById(context.Context, *GetPublishedArticleByIdRequest) (*GetPublishedArticleByIdResponse, error) // user activity updates UserActivity(context.Context, *UserActivityRequest) (*UserActivityResponse, error) // fetch the unseen articles for the user GetNewsForUser(context.Context, *GetNewsForUserRequest) (*GetNewsForUserResponse, error) // upload newsroom image for the news article StoreNewsArticleImage(context.Context, *StoreNewsArticleImageRequest) (*StoreNewsArticleImageResponse, error) // list newsroom images ListImagesForNewsArticle(context.Context, *ListImagesForNewsArticleRequest) (*ListImagesForNewsArticleResponse, error) // upload newsroom image for the news article UploadNewsArticleImage(context.Context, *UploadNewsArticleImageRequest) (*UploadNewsArticleImageResponse, error) // create a client managed news article CreateClientArticle(context.Context, *CreateClientArticleRequest) (*CreateClientArticleResponse, error) // update a client managed news article UpdateClientArticle(context.Context, *UpdateClientArticleRequest) (*UpdateClientArticleResponse, error) // list client managed news articles ListClientArticles(context.Context, *ListClientArticlesRequest) (*ListClientArticlesResponse, error) // create published client article CreatePublishedClientArticle(context.Context, *CreatePublishedClientArticleRequest) (*CreatePublishedClientArticleResponse, error) // get published client article details by the id GetPublishedClientArticleById(context.Context, *GetPublishedClientArticleByIdRequest) (*GetPublishedClientArticleByIdResponse, error) // upload newsroom image for the client news article StoreClientArticleImage(context.Context, *StoreClientArticleImageRequest) (*StoreClientArticleImageResponse, error) // list newsroom client images ListImagesForClientArticle(context.Context, *ListImagesForClientArticleRequest) (*ListImagesForClientArticleResponse, error) // upload newsroom image for the client article UploadClientArticleImage(context.Context, *UploadClientArticleImageRequest) (*UploadClientArticleImageResponse, error) // list published client articles ListPublishedClientArticles(context.Context, *ListPublishedClientArticlesRequest) (*ListPublishedClientArticlesResponse, error) // contains filtered or unexported methods }
NewsroomAPIServer is the server API for NewsroomAPI service. All implementations must embed UnimplementedNewsroomAPIServer for forward compatibility.
Service for interacting with TCN's Newsroom API system. Accessing all of the methods Requestuire an authenticated user with the correct permissions.
type PublishedArticleDetails ¶ added in v1.7.35
type PublishedArticleDetails struct { // the unique published article identifier PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // news article details NewsArticleDetails *NewsArticleDetails `protobuf:"bytes,2,opt,name=news_article_details,json=newsArticleDetails,proto3" json:"news_article_details,omitempty"` // news article published date DatePublished *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date_published,json=datePublished,proto3" json:"date_published,omitempty"` // this flag determines if we show to user or not DisplayToUser bool `protobuf:"varint,4,opt,name=display_to_user,json=displayToUser,proto3" json:"display_to_user,omitempty"` // this flag determines if we show to the user every time // they log in (for compliance for example) AlwaysDisplay bool `protobuf:"varint,5,opt,name=always_display,json=alwaysDisplay,proto3" json:"always_display,omitempty"` // contains filtered or unexported fields }
published article details
func (*PublishedArticleDetails) Descriptor
deprecated
added in
v1.7.35
func (*PublishedArticleDetails) Descriptor() ([]byte, []int)
Deprecated: Use PublishedArticleDetails.ProtoReflect.Descriptor instead.
func (*PublishedArticleDetails) GetAlwaysDisplay ¶ added in v1.9.6
func (x *PublishedArticleDetails) GetAlwaysDisplay() bool
func (*PublishedArticleDetails) GetDatePublished ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetDatePublished() *timestamppb.Timestamp
func (*PublishedArticleDetails) GetDisplayToUser ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetDisplayToUser() bool
func (*PublishedArticleDetails) GetNewsArticleDetails ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetNewsArticleDetails() *NewsArticleDetails
func (*PublishedArticleDetails) GetPublishedArticleSid ¶ added in v1.7.35
func (x *PublishedArticleDetails) GetPublishedArticleSid() int64
func (*PublishedArticleDetails) ProtoMessage ¶ added in v1.7.35
func (*PublishedArticleDetails) ProtoMessage()
func (*PublishedArticleDetails) ProtoReflect ¶ added in v1.7.35
func (x *PublishedArticleDetails) ProtoReflect() protoreflect.Message
func (*PublishedArticleDetails) Reset ¶ added in v1.7.35
func (x *PublishedArticleDetails) Reset()
func (*PublishedArticleDetails) String ¶ added in v1.7.35
func (x *PublishedArticleDetails) String() string
type StoreClientArticleImageRequest ¶ added in v1.9.6
type StoreClientArticleImageRequest struct { // NewsArticleImage Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
request to upload image for the client news article
func (*StoreClientArticleImageRequest) Descriptor
deprecated
added in
v1.9.6
func (*StoreClientArticleImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreClientArticleImageRequest.ProtoReflect.Descriptor instead.
func (*StoreClientArticleImageRequest) GetImage ¶ added in v1.9.6
func (x *StoreClientArticleImageRequest) GetImage() *NewsArticleImage
func (*StoreClientArticleImageRequest) ProtoMessage ¶ added in v1.9.6
func (*StoreClientArticleImageRequest) ProtoMessage()
func (*StoreClientArticleImageRequest) ProtoReflect ¶ added in v1.9.6
func (x *StoreClientArticleImageRequest) ProtoReflect() protoreflect.Message
func (*StoreClientArticleImageRequest) Reset ¶ added in v1.9.6
func (x *StoreClientArticleImageRequest) Reset()
func (*StoreClientArticleImageRequest) String ¶ added in v1.9.6
func (x *StoreClientArticleImageRequest) String() string
type StoreClientArticleImageResponse ¶ added in v1.9.6
type StoreClientArticleImageResponse struct { // stored image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
response to client uploaded image
func (*StoreClientArticleImageResponse) Descriptor
deprecated
added in
v1.9.6
func (*StoreClientArticleImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreClientArticleImageResponse.ProtoReflect.Descriptor instead.
func (*StoreClientArticleImageResponse) GetImage ¶ added in v1.9.6
func (x *StoreClientArticleImageResponse) GetImage() *NewsArticleImage
func (*StoreClientArticleImageResponse) ProtoMessage ¶ added in v1.9.6
func (*StoreClientArticleImageResponse) ProtoMessage()
func (*StoreClientArticleImageResponse) ProtoReflect ¶ added in v1.9.6
func (x *StoreClientArticleImageResponse) ProtoReflect() protoreflect.Message
func (*StoreClientArticleImageResponse) Reset ¶ added in v1.9.6
func (x *StoreClientArticleImageResponse) Reset()
func (*StoreClientArticleImageResponse) String ¶ added in v1.9.6
func (x *StoreClientArticleImageResponse) String() string
type StoreNewsArticleImageRequest ¶ added in v1.7.38
type StoreNewsArticleImageRequest struct { // NewsArticleImage Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
request to upload image for the news article
func (*StoreNewsArticleImageRequest) Descriptor
deprecated
added in
v1.7.38
func (*StoreNewsArticleImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreNewsArticleImageRequest.ProtoReflect.Descriptor instead.
func (*StoreNewsArticleImageRequest) GetImage ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) GetImage() *NewsArticleImage
func (*StoreNewsArticleImageRequest) ProtoMessage ¶ added in v1.7.38
func (*StoreNewsArticleImageRequest) ProtoMessage()
func (*StoreNewsArticleImageRequest) ProtoReflect ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) ProtoReflect() protoreflect.Message
func (*StoreNewsArticleImageRequest) Reset ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) Reset()
func (*StoreNewsArticleImageRequest) String ¶ added in v1.7.38
func (x *StoreNewsArticleImageRequest) String() string
type StoreNewsArticleImageResponse ¶ added in v1.7.38
type StoreNewsArticleImageResponse struct { // stored image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
response to uploaded image
func (*StoreNewsArticleImageResponse) Descriptor
deprecated
added in
v1.7.38
func (*StoreNewsArticleImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreNewsArticleImageResponse.ProtoReflect.Descriptor instead.
func (*StoreNewsArticleImageResponse) GetImage ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) GetImage() *NewsArticleImage
func (*StoreNewsArticleImageResponse) ProtoMessage ¶ added in v1.7.38
func (*StoreNewsArticleImageResponse) ProtoMessage()
func (*StoreNewsArticleImageResponse) ProtoReflect ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) ProtoReflect() protoreflect.Message
func (*StoreNewsArticleImageResponse) Reset ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) Reset()
func (*StoreNewsArticleImageResponse) String ¶ added in v1.7.38
func (x *StoreNewsArticleImageResponse) String() string
type UnimplementedNewsroomAPIServer ¶
type UnimplementedNewsroomAPIServer struct{}
UnimplementedNewsroomAPIServer must 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 (UnimplementedNewsroomAPIServer) CreateClientArticle ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) CreateClientArticle(context.Context, *CreateClientArticleRequest) (*CreateClientArticleResponse, error)
func (UnimplementedNewsroomAPIServer) CreateNewsArticle ¶
func (UnimplementedNewsroomAPIServer) CreateNewsArticle(context.Context, *CreateNewsArticleRequest) (*CreateNewsArticleResponse, error)
func (UnimplementedNewsroomAPIServer) CreatePublishedArticle ¶ added in v1.7.35
func (UnimplementedNewsroomAPIServer) CreatePublishedArticle(context.Context, *CreatePublishedArticleRequest) (*CreatePublishedArticleResponse, error)
func (UnimplementedNewsroomAPIServer) CreatePublishedClientArticle ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) CreatePublishedClientArticle(context.Context, *CreatePublishedClientArticleRequest) (*CreatePublishedClientArticleResponse, error)
func (UnimplementedNewsroomAPIServer) GetNewsArticleById ¶
func (UnimplementedNewsroomAPIServer) GetNewsArticleById(context.Context, *GetNewsArticleByIdRequest) (*GetNewsArticleByIdResponse, error)
func (UnimplementedNewsroomAPIServer) GetNewsForUser ¶ added in v1.7.36
func (UnimplementedNewsroomAPIServer) GetNewsForUser(context.Context, *GetNewsForUserRequest) (*GetNewsForUserResponse, error)
func (UnimplementedNewsroomAPIServer) GetPublishedArticleById ¶ added in v1.7.35
func (UnimplementedNewsroomAPIServer) GetPublishedArticleById(context.Context, *GetPublishedArticleByIdRequest) (*GetPublishedArticleByIdResponse, error)
func (UnimplementedNewsroomAPIServer) GetPublishedClientArticleById ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) GetPublishedClientArticleById(context.Context, *GetPublishedClientArticleByIdRequest) (*GetPublishedClientArticleByIdResponse, error)
func (UnimplementedNewsroomAPIServer) ListClientArticles ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) ListClientArticles(context.Context, *ListClientArticlesRequest) (*ListClientArticlesResponse, error)
func (UnimplementedNewsroomAPIServer) ListImagesForClientArticle ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) ListImagesForClientArticle(context.Context, *ListImagesForClientArticleRequest) (*ListImagesForClientArticleResponse, error)
func (UnimplementedNewsroomAPIServer) ListImagesForNewsArticle ¶ added in v1.7.38
func (UnimplementedNewsroomAPIServer) ListImagesForNewsArticle(context.Context, *ListImagesForNewsArticleRequest) (*ListImagesForNewsArticleResponse, error)
func (UnimplementedNewsroomAPIServer) ListNewsArticles ¶
func (UnimplementedNewsroomAPIServer) ListNewsArticles(context.Context, *ListNewsArticlesRequest) (*ListNewsArticlesResponse, error)
func (UnimplementedNewsroomAPIServer) ListPublishedArticles ¶ added in v1.7.35
func (UnimplementedNewsroomAPIServer) ListPublishedArticles(context.Context, *ListPublishedArticlesRequest) (*ListPublishedArticlesResponse, error)
func (UnimplementedNewsroomAPIServer) ListPublishedClientArticles ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) ListPublishedClientArticles(context.Context, *ListPublishedClientArticlesRequest) (*ListPublishedClientArticlesResponse, error)
func (UnimplementedNewsroomAPIServer) StoreClientArticleImage ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) StoreClientArticleImage(context.Context, *StoreClientArticleImageRequest) (*StoreClientArticleImageResponse, error)
func (UnimplementedNewsroomAPIServer) StoreNewsArticleImage ¶ added in v1.7.38
func (UnimplementedNewsroomAPIServer) StoreNewsArticleImage(context.Context, *StoreNewsArticleImageRequest) (*StoreNewsArticleImageResponse, error)
func (UnimplementedNewsroomAPIServer) UpdateClientArticle ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) UpdateClientArticle(context.Context, *UpdateClientArticleRequest) (*UpdateClientArticleResponse, error)
func (UnimplementedNewsroomAPIServer) UpdateNewsArticle ¶
func (UnimplementedNewsroomAPIServer) UpdateNewsArticle(context.Context, *UpdateNewsArticleRequest) (*UpdateNewsArticleResponse, error)
func (UnimplementedNewsroomAPIServer) UploadClientArticleImage ¶ added in v1.9.6
func (UnimplementedNewsroomAPIServer) UploadClientArticleImage(context.Context, *UploadClientArticleImageRequest) (*UploadClientArticleImageResponse, error)
func (UnimplementedNewsroomAPIServer) UploadNewsArticleImage ¶ added in v1.8.11
func (UnimplementedNewsroomAPIServer) UploadNewsArticleImage(context.Context, *UploadNewsArticleImageRequest) (*UploadNewsArticleImageResponse, error)
func (UnimplementedNewsroomAPIServer) UserActivity ¶ added in v1.7.36
func (UnimplementedNewsroomAPIServer) UserActivity(context.Context, *UserActivityRequest) (*UserActivityResponse, error)
type UnsafeNewsroomAPIServer ¶
type UnsafeNewsroomAPIServer interface {
// contains filtered or unexported methods
}
UnsafeNewsroomAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NewsroomAPIServer will result in compilation errors.
type UpdateClientArticleRequest ¶ added in v1.9.6
type UpdateClientArticleRequest struct { // the client news article fields specified to be updated ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // list of fields Requested to be updated FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request to update client news article
func (*UpdateClientArticleRequest) Descriptor
deprecated
added in
v1.9.6
func (*UpdateClientArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClientArticleRequest.ProtoReflect.Descriptor instead.
func (*UpdateClientArticleRequest) GetArticleDetails ¶ added in v1.9.6
func (x *UpdateClientArticleRequest) GetArticleDetails() *NewsArticleDetails
func (*UpdateClientArticleRequest) GetFieldMask ¶ added in v1.9.6
func (x *UpdateClientArticleRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateClientArticleRequest) ProtoMessage ¶ added in v1.9.6
func (*UpdateClientArticleRequest) ProtoMessage()
func (*UpdateClientArticleRequest) ProtoReflect ¶ added in v1.9.6
func (x *UpdateClientArticleRequest) ProtoReflect() protoreflect.Message
func (*UpdateClientArticleRequest) Reset ¶ added in v1.9.6
func (x *UpdateClientArticleRequest) Reset()
func (*UpdateClientArticleRequest) String ¶ added in v1.9.6
func (x *UpdateClientArticleRequest) String() string
type UpdateClientArticleResponse ¶ added in v1.9.6
type UpdateClientArticleResponse struct { // updated client news article ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to update client news article
func (*UpdateClientArticleResponse) Descriptor
deprecated
added in
v1.9.6
func (*UpdateClientArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClientArticleResponse.ProtoReflect.Descriptor instead.
func (*UpdateClientArticleResponse) GetArticleDetails ¶ added in v1.9.6
func (x *UpdateClientArticleResponse) GetArticleDetails() *NewsArticleDetails
func (*UpdateClientArticleResponse) ProtoMessage ¶ added in v1.9.6
func (*UpdateClientArticleResponse) ProtoMessage()
func (*UpdateClientArticleResponse) ProtoReflect ¶ added in v1.9.6
func (x *UpdateClientArticleResponse) ProtoReflect() protoreflect.Message
func (*UpdateClientArticleResponse) Reset ¶ added in v1.9.6
func (x *UpdateClientArticleResponse) Reset()
func (*UpdateClientArticleResponse) String ¶ added in v1.9.6
func (x *UpdateClientArticleResponse) String() string
type UpdateNewsArticleRequest ¶
type UpdateNewsArticleRequest struct { // the news article fields specified to be updated ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // list of fields Requested to be updated FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request to update news article
func (*UpdateNewsArticleRequest) Descriptor
deprecated
func (*UpdateNewsArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNewsArticleRequest.ProtoReflect.Descriptor instead.
func (*UpdateNewsArticleRequest) GetArticleDetails ¶
func (x *UpdateNewsArticleRequest) GetArticleDetails() *NewsArticleDetails
func (*UpdateNewsArticleRequest) GetFieldMask ¶
func (x *UpdateNewsArticleRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateNewsArticleRequest) ProtoMessage ¶
func (*UpdateNewsArticleRequest) ProtoMessage()
func (*UpdateNewsArticleRequest) ProtoReflect ¶
func (x *UpdateNewsArticleRequest) ProtoReflect() protoreflect.Message
func (*UpdateNewsArticleRequest) Reset ¶
func (x *UpdateNewsArticleRequest) Reset()
func (*UpdateNewsArticleRequest) String ¶
func (x *UpdateNewsArticleRequest) String() string
type UpdateNewsArticleResponse ¶
type UpdateNewsArticleResponse struct { // updated news article ArticleDetails *NewsArticleDetails `protobuf:"bytes,1,opt,name=article_details,json=articleDetails,proto3" json:"article_details,omitempty"` // contains filtered or unexported fields }
Response to update news article
func (*UpdateNewsArticleResponse) Descriptor
deprecated
func (*UpdateNewsArticleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNewsArticleResponse.ProtoReflect.Descriptor instead.
func (*UpdateNewsArticleResponse) GetArticleDetails ¶
func (x *UpdateNewsArticleResponse) GetArticleDetails() *NewsArticleDetails
func (*UpdateNewsArticleResponse) ProtoMessage ¶
func (*UpdateNewsArticleResponse) ProtoMessage()
func (*UpdateNewsArticleResponse) ProtoReflect ¶
func (x *UpdateNewsArticleResponse) ProtoReflect() protoreflect.Message
func (*UpdateNewsArticleResponse) Reset ¶
func (x *UpdateNewsArticleResponse) Reset()
func (*UpdateNewsArticleResponse) String ¶
func (x *UpdateNewsArticleResponse) String() string
type UploadClientArticleImageRequest ¶ added in v1.9.6
type UploadClientArticleImageRequest struct { // image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
request to upload image for the client news article
func (*UploadClientArticleImageRequest) Descriptor
deprecated
added in
v1.9.6
func (*UploadClientArticleImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadClientArticleImageRequest.ProtoReflect.Descriptor instead.
func (*UploadClientArticleImageRequest) GetImage ¶ added in v1.9.6
func (x *UploadClientArticleImageRequest) GetImage() *NewsArticleImage
func (*UploadClientArticleImageRequest) ProtoMessage ¶ added in v1.9.6
func (*UploadClientArticleImageRequest) ProtoMessage()
func (*UploadClientArticleImageRequest) ProtoReflect ¶ added in v1.9.6
func (x *UploadClientArticleImageRequest) ProtoReflect() protoreflect.Message
func (*UploadClientArticleImageRequest) Reset ¶ added in v1.9.6
func (x *UploadClientArticleImageRequest) Reset()
func (*UploadClientArticleImageRequest) String ¶ added in v1.9.6
func (x *UploadClientArticleImageRequest) String() string
type UploadClientArticleImageResponse ¶ added in v1.9.6
type UploadClientArticleImageResponse struct { // uploaded image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
response after uploading image for the client news article
func (*UploadClientArticleImageResponse) Descriptor
deprecated
added in
v1.9.6
func (*UploadClientArticleImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadClientArticleImageResponse.ProtoReflect.Descriptor instead.
func (*UploadClientArticleImageResponse) GetImage ¶ added in v1.9.6
func (x *UploadClientArticleImageResponse) GetImage() *NewsArticleImage
func (*UploadClientArticleImageResponse) ProtoMessage ¶ added in v1.9.6
func (*UploadClientArticleImageResponse) ProtoMessage()
func (*UploadClientArticleImageResponse) ProtoReflect ¶ added in v1.9.6
func (x *UploadClientArticleImageResponse) ProtoReflect() protoreflect.Message
func (*UploadClientArticleImageResponse) Reset ¶ added in v1.9.6
func (x *UploadClientArticleImageResponse) Reset()
func (*UploadClientArticleImageResponse) String ¶ added in v1.9.6
func (x *UploadClientArticleImageResponse) String() string
type UploadNewsArticleImageRequest ¶ added in v1.8.11
type UploadNewsArticleImageRequest struct { // image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
request to upload image for the news article
func (*UploadNewsArticleImageRequest) Descriptor
deprecated
added in
v1.8.11
func (*UploadNewsArticleImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadNewsArticleImageRequest.ProtoReflect.Descriptor instead.
func (*UploadNewsArticleImageRequest) GetImage ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) GetImage() *NewsArticleImage
func (*UploadNewsArticleImageRequest) ProtoMessage ¶ added in v1.8.11
func (*UploadNewsArticleImageRequest) ProtoMessage()
func (*UploadNewsArticleImageRequest) ProtoReflect ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) ProtoReflect() protoreflect.Message
func (*UploadNewsArticleImageRequest) Reset ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) Reset()
func (*UploadNewsArticleImageRequest) String ¶ added in v1.8.11
func (x *UploadNewsArticleImageRequest) String() string
type UploadNewsArticleImageResponse ¶ added in v1.8.11
type UploadNewsArticleImageResponse struct { // uploaded image details Image *NewsArticleImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
response after uploading image for the news article
func (*UploadNewsArticleImageResponse) Descriptor
deprecated
added in
v1.8.11
func (*UploadNewsArticleImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadNewsArticleImageResponse.ProtoReflect.Descriptor instead.
func (*UploadNewsArticleImageResponse) GetImage ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) GetImage() *NewsArticleImage
func (*UploadNewsArticleImageResponse) ProtoMessage ¶ added in v1.8.11
func (*UploadNewsArticleImageResponse) ProtoMessage()
func (*UploadNewsArticleImageResponse) ProtoReflect ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) ProtoReflect() protoreflect.Message
func (*UploadNewsArticleImageResponse) Reset ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) Reset()
func (*UploadNewsArticleImageResponse) String ¶ added in v1.8.11
func (x *UploadNewsArticleImageResponse) String() string
type UserActivity ¶ added in v1.7.36
type UserActivity struct { // the unique user activity log identifier UserActivityLogSid int64 `protobuf:"varint,1,opt,name=user_activity_log_sid,json=userActivityLogSid,proto3" json:"user_activity_log_sid,omitempty"` // user activity created date DateCreated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // user activity details UserActivityDetails *UserActivity_UserActivityDetails `protobuf:"bytes,3,opt,name=user_activity_details,json=userActivityDetails,proto3" json:"user_activity_details,omitempty"` // contains filtered or unexported fields }
user activity details
func (*UserActivity) Descriptor
deprecated
added in
v1.7.36
func (*UserActivity) Descriptor() ([]byte, []int)
Deprecated: Use UserActivity.ProtoReflect.Descriptor instead.
func (*UserActivity) GetDateCreated ¶ added in v1.7.36
func (x *UserActivity) GetDateCreated() *timestamppb.Timestamp
func (*UserActivity) GetUserActivityDetails ¶ added in v1.7.36
func (x *UserActivity) GetUserActivityDetails() *UserActivity_UserActivityDetails
func (*UserActivity) GetUserActivityLogSid ¶ added in v1.7.36
func (x *UserActivity) GetUserActivityLogSid() int64
func (*UserActivity) ProtoMessage ¶ added in v1.7.36
func (*UserActivity) ProtoMessage()
func (*UserActivity) ProtoReflect ¶ added in v1.7.36
func (x *UserActivity) ProtoReflect() protoreflect.Message
func (*UserActivity) Reset ¶ added in v1.7.36
func (x *UserActivity) Reset()
func (*UserActivity) String ¶ added in v1.7.36
func (x *UserActivity) String() string
type UserActivityRequest ¶ added in v1.7.36
type UserActivityRequest struct { // the unique published article identifier PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // this flag determines whether to allow news article popups while imitating/impersonating Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
Request to update user activity
func (*UserActivityRequest) Descriptor
deprecated
added in
v1.7.36
func (*UserActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserActivityRequest.ProtoReflect.Descriptor instead.
func (*UserActivityRequest) GetForce ¶ added in v1.8.6
func (x *UserActivityRequest) GetForce() bool
func (*UserActivityRequest) GetPublishedArticleSid ¶ added in v1.7.36
func (x *UserActivityRequest) GetPublishedArticleSid() int64
func (*UserActivityRequest) ProtoMessage ¶ added in v1.7.36
func (*UserActivityRequest) ProtoMessage()
func (*UserActivityRequest) ProtoReflect ¶ added in v1.7.36
func (x *UserActivityRequest) ProtoReflect() protoreflect.Message
func (*UserActivityRequest) Reset ¶ added in v1.7.36
func (x *UserActivityRequest) Reset()
func (*UserActivityRequest) String ¶ added in v1.7.36
func (x *UserActivityRequest) String() string
type UserActivityResponse ¶ added in v1.7.36
type UserActivityResponse struct { // user activity details UserActivity *UserActivity `protobuf:"bytes,1,opt,name=user_activity,json=userActivity,proto3" json:"user_activity,omitempty"` // contains filtered or unexported fields }
Response to user activity updates
func (*UserActivityResponse) Descriptor
deprecated
added in
v1.7.36
func (*UserActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserActivityResponse.ProtoReflect.Descriptor instead.
func (*UserActivityResponse) GetUserActivity ¶ added in v1.7.36
func (x *UserActivityResponse) GetUserActivity() *UserActivity
func (*UserActivityResponse) ProtoMessage ¶ added in v1.7.36
func (*UserActivityResponse) ProtoMessage()
func (*UserActivityResponse) ProtoReflect ¶ added in v1.7.36
func (x *UserActivityResponse) ProtoReflect() protoreflect.Message
func (*UserActivityResponse) Reset ¶ added in v1.7.36
func (x *UserActivityResponse) Reset()
func (*UserActivityResponse) String ¶ added in v1.7.36
func (x *UserActivityResponse) String() string
type UserActivity_UserActivityDetails ¶ added in v1.7.36
type UserActivity_UserActivityDetails struct { // the unique published article identifier PublishedArticleSid int64 `protobuf:"varint,1,opt,name=published_article_sid,json=publishedArticleSid,proto3" json:"published_article_sid,omitempty"` // contains filtered or unexported fields }
user activity details
func (*UserActivity_UserActivityDetails) Descriptor
deprecated
added in
v1.7.36
func (*UserActivity_UserActivityDetails) Descriptor() ([]byte, []int)
Deprecated: Use UserActivity_UserActivityDetails.ProtoReflect.Descriptor instead.
func (*UserActivity_UserActivityDetails) GetPublishedArticleSid ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) GetPublishedArticleSid() int64
func (*UserActivity_UserActivityDetails) ProtoMessage ¶ added in v1.7.36
func (*UserActivity_UserActivityDetails) ProtoMessage()
func (*UserActivity_UserActivityDetails) ProtoReflect ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) ProtoReflect() protoreflect.Message
func (*UserActivity_UserActivityDetails) Reset ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) Reset()
func (*UserActivity_UserActivityDetails) String ¶ added in v1.7.36
func (x *UserActivity_UserActivityDetails) String() string