Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterConfigurationServiceHttpHandlers(router *mux.Router, prefix string, cli ConfigurationServiceClient)
- func RegisterConfigurationServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
- func RegisterConfigurationServiceServer(s grpc.ServiceRegistrar, srv ConfigurationServiceServer)
- func RegisterMessageServiceHttpHandlers(router *mux.Router, prefix string, cli MessageServiceClient)
- func RegisterMessageServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
- func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)
- func RegisterPostServiceHttpHandlers(router *mux.Router, prefix string, cli PostServiceClient)
- func RegisterPostServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
- func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
- func RegisterPostTypeServiceHttpHandlers(router *mux.Router, prefix string, cli PostTypeServiceClient)
- func RegisterPostTypeServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
- func RegisterPostTypeServiceServer(s grpc.ServiceRegistrar, srv PostTypeServiceServer)
- func RegisterSubscriptionServiceHttpHandlers(router *mux.Router, prefix string, cli SubscriptionServiceClient)
- func RegisterSubscriptionServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
- func RegisterSubscriptionServiceServer(s grpc.ServiceRegistrar, srv SubscriptionServiceServer)
- func RegisterThreadEndpointHttpHandlers(router *mux.Router, prefix string, cli ThreadEndpointClient)
- func RegisterThreadEndpointHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
- func RegisterThreadEndpointServer(s grpc.ServiceRegistrar, srv ThreadEndpointServer)
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetCommentModeration() Configuration_Moderation
- func (x *Configuration) GetMembersCanCommentOnPosts() bool
- func (x *Configuration) GetMembersCanCommentOnProblems() bool
- func (x *Configuration) GetMembersCanCreatePosts() bool
- func (x *Configuration) GetPostModeration() Configuration_Moderation
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigurationServiceClient
- type ConfigurationServiceServer
- type ConfigurationServiceService
- func (s *ConfigurationServiceService) DescribeDiscussionConfig(ctx context.Context, in *DescribeDiscussionConfigInput) (*DescribeDiscussionConfigOutput, error)
- func (s *ConfigurationServiceService) UpdateDiscussionConfig(ctx context.Context, in *UpdateDiscussionConfigInput) (*UpdateDiscussionConfigOutput, error)
- type Configuration_Moderation
- func (Configuration_Moderation) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_Moderation) Enum() *Configuration_Moderation
- func (Configuration_Moderation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_Moderation) Number() protoreflect.EnumNumber
- func (x Configuration_Moderation) String() string
- func (Configuration_Moderation) Type() protoreflect.EnumType
- type CreatePostInput
- type CreatePostOutput
- type CreatePostTranslationInput
- func (*CreatePostTranslationInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostTranslationInput) GetPostId() string
- func (x *CreatePostTranslationInput) GetTranslation() *Post_Translation
- func (*CreatePostTranslationInput) ProtoMessage()
- func (x *CreatePostTranslationInput) ProtoReflect() protoreflect.Message
- func (x *CreatePostTranslationInput) Reset()
- func (x *CreatePostTranslationInput) String() string
- type CreatePostTranslationOutput
- func (*CreatePostTranslationOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostTranslationOutput) GetTranslationId() string
- func (*CreatePostTranslationOutput) ProtoMessage()
- func (x *CreatePostTranslationOutput) ProtoReflect() protoreflect.Message
- func (x *CreatePostTranslationOutput) Reset()
- func (x *CreatePostTranslationOutput) String() string
- type CreatePostTypeInput
- func (*CreatePostTypeInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostTypeInput) GetType() *PostType
- func (*CreatePostTypeInput) ProtoMessage()
- func (x *CreatePostTypeInput) ProtoReflect() protoreflect.Message
- func (x *CreatePostTypeInput) Reset()
- func (x *CreatePostTypeInput) String() string
- type CreatePostTypeOutput
- func (*CreatePostTypeOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostTypeOutput) GetTypeId() string
- func (*CreatePostTypeOutput) ProtoMessage()
- func (x *CreatePostTypeOutput) ProtoReflect() protoreflect.Message
- func (x *CreatePostTypeOutput) Reset()
- func (x *CreatePostTypeOutput) String() string
- type DeleteMessageInput
- func (*DeleteMessageInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageInput) GetMessageId() string
- func (x *DeleteMessageInput) GetReason() string
- func (*DeleteMessageInput) ProtoMessage()
- func (x *DeleteMessageInput) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageInput) Reset()
- func (x *DeleteMessageInput) String() string
- type DeleteMessageOutput
- type DeletePostInput
- type DeletePostOutput
- type DeletePostTranslationInput
- func (*DeletePostTranslationInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePostTranslationInput) GetPostId() string
- func (x *DeletePostTranslationInput) GetTranslationId() string
- func (*DeletePostTranslationInput) ProtoMessage()
- func (x *DeletePostTranslationInput) ProtoReflect() protoreflect.Message
- func (x *DeletePostTranslationInput) Reset()
- func (x *DeletePostTranslationInput) String() string
- type DeletePostTranslationOutput
- type DeletePostTypeInput
- func (*DeletePostTypeInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePostTypeInput) GetTypeId() string
- func (*DeletePostTypeInput) ProtoMessage()
- func (x *DeletePostTypeInput) ProtoReflect() protoreflect.Message
- func (x *DeletePostTypeInput) Reset()
- func (x *DeletePostTypeInput) String() string
- type DeletePostTypeOutput
- type DescribeDiscussionConfigInput
- func (*DescribeDiscussionConfigInput) Descriptor() ([]byte, []int)deprecated
- func (*DescribeDiscussionConfigInput) ProtoMessage()
- func (x *DescribeDiscussionConfigInput) ProtoReflect() protoreflect.Message
- func (x *DescribeDiscussionConfigInput) Reset()
- func (x *DescribeDiscussionConfigInput) String() string
- type DescribeDiscussionConfigOutput
- func (*DescribeDiscussionConfigOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeDiscussionConfigOutput) GetConfig() *Configuration
- func (*DescribeDiscussionConfigOutput) ProtoMessage()
- func (x *DescribeDiscussionConfigOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeDiscussionConfigOutput) Reset()
- func (x *DescribeDiscussionConfigOutput) String() string
- type DescribeMessageInput
- func (*DescribeMessageInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeMessageInput) GetExtra() []Message_Extra
- func (x *DescribeMessageInput) GetMessageId() string
- func (x *DescribeMessageInput) GetRender() bool
- func (*DescribeMessageInput) ProtoMessage()
- func (x *DescribeMessageInput) ProtoReflect() protoreflect.Message
- func (x *DescribeMessageInput) Reset()
- func (x *DescribeMessageInput) String() string
- type DescribeMessageOutput
- func (*DescribeMessageOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeMessageOutput) GetMessage() *Message
- func (*DescribeMessageOutput) ProtoMessage()
- func (x *DescribeMessageOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeMessageOutput) Reset()
- func (x *DescribeMessageOutput) String() string
- type DescribePostInput
- func (*DescribePostInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePostInput) GetExtra() []Post_Extra
- func (x *DescribePostInput) GetLocale() string
- func (x *DescribePostInput) GetPostId() string
- func (*DescribePostInput) ProtoMessage()
- func (x *DescribePostInput) ProtoReflect() protoreflect.Message
- func (x *DescribePostInput) Reset()
- func (x *DescribePostInput) String() string
- type DescribePostOutput
- type DescribePostTranslationInput
- func (*DescribePostTranslationInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePostTranslationInput) GetExtra() []Post_Extra
- func (x *DescribePostTranslationInput) GetPostId() string
- func (x *DescribePostTranslationInput) GetTranslationId() string
- func (*DescribePostTranslationInput) ProtoMessage()
- func (x *DescribePostTranslationInput) ProtoReflect() protoreflect.Message
- func (x *DescribePostTranslationInput) Reset()
- func (x *DescribePostTranslationInput) String() string
- type DescribePostTranslationOutput
- func (*DescribePostTranslationOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePostTranslationOutput) GetTranslation() *Post_Translation
- func (*DescribePostTranslationOutput) ProtoMessage()
- func (x *DescribePostTranslationOutput) ProtoReflect() protoreflect.Message
- func (x *DescribePostTranslationOutput) Reset()
- func (x *DescribePostTranslationOutput) String() string
- type DescribePostTypeInput
- func (*DescribePostTypeInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePostTypeInput) GetExtra() []PostType_Extra
- func (x *DescribePostTypeInput) GetLocale() string
- func (x *DescribePostTypeInput) GetTypeId() string
- func (*DescribePostTypeInput) ProtoMessage()
- func (x *DescribePostTypeInput) ProtoReflect() protoreflect.Message
- func (x *DescribePostTypeInput) Reset()
- func (x *DescribePostTypeInput) String() string
- type DescribePostTypeOutput
- func (*DescribePostTypeOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePostTypeOutput) GetType() *PostType
- func (*DescribePostTypeOutput) ProtoMessage()
- func (x *DescribePostTypeOutput) ProtoReflect() protoreflect.Message
- func (x *DescribePostTypeOutput) Reset()
- func (x *DescribePostTypeOutput) String() string
- type DescribeSubscriptionInput
- type DescribeSubscriptionOutput
- func (*DescribeSubscriptionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeSubscriptionOutput) GetSubscription() *Subscription
- func (*DescribeSubscriptionOutput) ProtoMessage()
- func (x *DescribeSubscriptionOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeSubscriptionOutput) Reset()
- func (x *DescribeSubscriptionOutput) String() string
- type DescribeThreadInput
- func (*DescribeThreadInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeThreadInput) GetLocale() string
- func (*DescribeThreadInput) ProtoMessage()
- func (x *DescribeThreadInput) ProtoReflect() protoreflect.Message
- func (x *DescribeThreadInput) Reset()
- func (x *DescribeThreadInput) String() string
- type DescribeThreadOutput
- func (*DescribeThreadOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeThreadOutput) GetThread() *Thread
- func (*DescribeThreadOutput) ProtoMessage()
- func (x *DescribeThreadOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeThreadOutput) Reset()
- func (x *DescribeThreadOutput) String() string
- type ListMessageChangesInput
- func (*ListMessageChangesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessageChangesInput) GetMessageId() string
- func (*ListMessageChangesInput) ProtoMessage()
- func (x *ListMessageChangesInput) ProtoReflect() protoreflect.Message
- func (x *ListMessageChangesInput) Reset()
- func (x *ListMessageChangesInput) String() string
- type ListMessageChangesOutput
- func (*ListMessageChangesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessageChangesOutput) GetHistory() []*ListMessageChangesOutput_Record
- func (*ListMessageChangesOutput) ProtoMessage()
- func (x *ListMessageChangesOutput) ProtoReflect() protoreflect.Message
- func (x *ListMessageChangesOutput) Reset()
- func (x *ListMessageChangesOutput) String() string
- type ListMessageChangesOutput_Record
- func (*ListMessageChangesOutput_Record) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessageChangesOutput_Record) GetMessage() *ecm.Content
- func (x *ListMessageChangesOutput_Record) GetRevision() int32
- func (x *ListMessageChangesOutput_Record) GetTimestamp() *timestamppb.Timestamp
- func (*ListMessageChangesOutput_Record) ProtoMessage()
- func (x *ListMessageChangesOutput_Record) ProtoReflect() protoreflect.Message
- func (x *ListMessageChangesOutput_Record) Reset()
- func (x *ListMessageChangesOutput_Record) String() string
- type ListMessagesInput
- func (*ListMessagesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessagesInput) GetAfter() string
- func (x *ListMessagesInput) GetExtra() []Message_Extra
- func (x *ListMessagesInput) GetFilters() *ListMessagesInput_Filter
- func (x *ListMessagesInput) GetOrder() wellknown.Direction
- func (x *ListMessagesInput) GetRender() bool
- func (x *ListMessagesInput) GetSize() int32
- func (x *ListMessagesInput) GetSort() ListMessagesInput_Sortable
- func (*ListMessagesInput) ProtoMessage()
- func (x *ListMessagesInput) ProtoReflect() protoreflect.Message
- func (x *ListMessagesInput) Reset()
- func (x *ListMessagesInput) String() string
- type ListMessagesInput_Filter
- func (*ListMessagesInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessagesInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListMessagesInput_Filter) GetMemberId() []*wellknown.ExpressionID
- func (x *ListMessagesInput_Filter) GetPostedAt() []*wellknown.ExpressionTimestamp
- func (x *ListMessagesInput_Filter) GetQuery() string
- func (x *ListMessagesInput_Filter) GetReplyCount() []*wellknown.ExpressionInt
- func (x *ListMessagesInput_Filter) GetReplyTo() []*wellknown.ExpressionID
- func (x *ListMessagesInput_Filter) GetThreadId() []*wellknown.ExpressionID
- func (x *ListMessagesInput_Filter) GetVoteCount() []*wellknown.ExpressionInt
- func (*ListMessagesInput_Filter) ProtoMessage()
- func (x *ListMessagesInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListMessagesInput_Filter) Reset()
- func (x *ListMessagesInput_Filter) String() string
- type ListMessagesInput_Sortable
- func (ListMessagesInput_Sortable) Descriptor() protoreflect.EnumDescriptor
- func (x ListMessagesInput_Sortable) Enum() *ListMessagesInput_Sortable
- func (ListMessagesInput_Sortable) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListMessagesInput_Sortable) Number() protoreflect.EnumNumber
- func (x ListMessagesInput_Sortable) String() string
- func (ListMessagesInput_Sortable) Type() protoreflect.EnumType
- type ListMessagesOutput
- func (*ListMessagesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListMessagesOutput) GetItems() []*Message
- func (x *ListMessagesOutput) GetTotal() int32
- func (*ListMessagesOutput) ProtoMessage()
- func (x *ListMessagesOutput) ProtoReflect() protoreflect.Message
- func (x *ListMessagesOutput) Reset()
- func (x *ListMessagesOutput) String() string
- type ListPostTranslationsInput
- func (*ListPostTranslationsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostTranslationsInput) GetExtra() []Post_Extra
- func (x *ListPostTranslationsInput) GetFilters() *ListPostTranslationsInput_Filter
- func (x *ListPostTranslationsInput) GetOffset() int32
- func (x *ListPostTranslationsInput) GetPostId() string
- func (x *ListPostTranslationsInput) GetSize() int32
- func (*ListPostTranslationsInput) ProtoMessage()
- func (x *ListPostTranslationsInput) ProtoReflect() protoreflect.Message
- func (x *ListPostTranslationsInput) Reset()
- func (x *ListPostTranslationsInput) String() string
- type ListPostTranslationsInput_Filter
- func (*ListPostTranslationsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostTranslationsInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListPostTranslationsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
- func (x *ListPostTranslationsInput_Filter) GetQuery() string
- func (*ListPostTranslationsInput_Filter) ProtoMessage()
- func (x *ListPostTranslationsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListPostTranslationsInput_Filter) Reset()
- func (x *ListPostTranslationsInput_Filter) String() string
- type ListPostTranslationsOutput
- func (*ListPostTranslationsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostTranslationsOutput) GetItems() []*Post_Translation
- func (x *ListPostTranslationsOutput) GetTotal() int32
- func (*ListPostTranslationsOutput) ProtoMessage()
- func (x *ListPostTranslationsOutput) ProtoReflect() protoreflect.Message
- func (x *ListPostTranslationsOutput) Reset()
- func (x *ListPostTranslationsOutput) String() string
- type ListPostTypesInput
- func (*ListPostTypesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostTypesInput) GetExtra() []PostType_Extra
- func (x *ListPostTypesInput) GetLocale() string
- func (x *ListPostTypesInput) GetOffset() int32
- func (x *ListPostTypesInput) GetSize() int32
- func (*ListPostTypesInput) ProtoMessage()
- func (x *ListPostTypesInput) ProtoReflect() protoreflect.Message
- func (x *ListPostTypesInput) Reset()
- func (x *ListPostTypesInput) String() string
- type ListPostTypesOutput
- func (*ListPostTypesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostTypesOutput) GetItems() []*PostType
- func (x *ListPostTypesOutput) GetTotal() int32
- func (*ListPostTypesOutput) ProtoMessage()
- func (x *ListPostTypesOutput) ProtoReflect() protoreflect.Message
- func (x *ListPostTypesOutput) Reset()
- func (x *ListPostTypesOutput) String() string
- type ListPostsInput
- func (*ListPostsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostsInput) GetAfter() string
- func (x *ListPostsInput) GetExtra() []Post_Extra
- func (x *ListPostsInput) GetFilters() *ListPostsInput_Filter
- func (x *ListPostsInput) GetLocale() string
- func (x *ListPostsInput) GetOffset() int32
- func (x *ListPostsInput) GetOrder() wellknown.Direction
- func (x *ListPostsInput) GetSize() int32
- func (x *ListPostsInput) GetSort() ListPostsInput_Sort
- func (*ListPostsInput) ProtoMessage()
- func (x *ListPostsInput) ProtoReflect() protoreflect.Message
- func (x *ListPostsInput) Reset()
- func (x *ListPostsInput) String() string
- type ListPostsInput_Filter
- func (*ListPostsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostsInput_Filter) GetCreatedAt() []*wellknown.ExpressionTimestamp
- func (x *ListPostsInput_Filter) GetDraft() []*wellknown.ExpressionBool
- func (x *ListPostsInput_Filter) GetFeatured() []*wellknown.ExpressionBool
- func (x *ListPostsInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListPostsInput_Filter) GetLabel() []*wellknown.ExpressionEnum
- func (x *ListPostsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
- func (x *ListPostsInput_Filter) GetMemberId() []*wellknown.ExpressionID
- func (x *ListPostsInput_Filter) GetModeration() []*wellknown.ExpressionEnum
- func (x *ListPostsInput_Filter) GetPublic() []*wellknown.ExpressionBool
- func (x *ListPostsInput_Filter) GetPublishedAt() []*wellknown.ExpressionTimestamp
- func (x *ListPostsInput_Filter) GetQuery() string
- func (x *ListPostsInput_Filter) GetSourceId() []*wellknown.ExpressionID
- func (x *ListPostsInput_Filter) GetTypeId() []*wellknown.ExpressionID
- func (x *ListPostsInput_Filter) GetUserId() []*wellknown.ExpressionID
- func (*ListPostsInput_Filter) ProtoMessage()
- func (x *ListPostsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListPostsInput_Filter) Reset()
- func (x *ListPostsInput_Filter) String() string
- type ListPostsInput_Sort
- func (ListPostsInput_Sort) Descriptor() protoreflect.EnumDescriptor
- func (x ListPostsInput_Sort) Enum() *ListPostsInput_Sort
- func (ListPostsInput_Sort) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListPostsInput_Sort) Number() protoreflect.EnumNumber
- func (x ListPostsInput_Sort) String() string
- func (ListPostsInput_Sort) Type() protoreflect.EnumType
- type ListPostsOutput
- func (*ListPostsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostsOutput) GetItems() []*Post
- func (x *ListPostsOutput) GetNextPageCursor() string
- func (x *ListPostsOutput) GetTotal() int32
- func (*ListPostsOutput) ProtoMessage()
- func (x *ListPostsOutput) ProtoReflect() protoreflect.Message
- func (x *ListPostsOutput) Reset()
- func (x *ListPostsOutput) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetDeletedAt() *timestamppb.Timestamp
- func (x *Message) GetEditedAt() *timestamppb.Timestamp
- func (x *Message) GetId() string
- func (x *Message) GetLinks() []*wellknown.Link
- func (x *Message) GetMemberId() string
- func (x *Message) GetMessage() *ecm.Content
- func (x *Message) GetPostedAt() *timestamppb.Timestamp
- func (x *Message) GetReplyCount() int32
- func (x *Message) GetReplyTo() string
- func (x *Message) GetRevision() int32
- func (x *Message) GetThreadUrl() string
- func (x *Message) GetUrl() string
- func (x *Message) GetVote() int32
- func (x *Message) GetVoteCount() int32
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageChangedEvent
- func (*MessageChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MessageChangedEvent) GetAfter() *Message
- func (x *MessageChangedEvent) GetBefore() *Message
- func (x *MessageChangedEvent) GetReason() string
- func (x *MessageChangedEvent) GetScope() string
- func (*MessageChangedEvent) ProtoMessage()
- func (x *MessageChangedEvent) ProtoReflect() protoreflect.Message
- func (x *MessageChangedEvent) Reset()
- func (x *MessageChangedEvent) String() string
- type MessageServiceClient
- type MessageServiceServer
- type MessageServiceService
- func (s *MessageServiceService) DeleteMessage(ctx context.Context, in *DeleteMessageInput) (*DeleteMessageOutput, error)
- func (s *MessageServiceService) DescribeMessage(ctx context.Context, in *DescribeMessageInput) (*DescribeMessageOutput, error)
- func (s *MessageServiceService) ListMessageChanges(ctx context.Context, in *ListMessageChangesInput) (*ListMessageChangesOutput, error)
- func (s *MessageServiceService) ListMessages(ctx context.Context, in *ListMessagesInput) (*ListMessagesOutput, error)
- func (s *MessageServiceService) PostMessage(ctx context.Context, in *PostMessageInput) (*PostMessageOutput, error)
- func (s *MessageServiceService) UpdateMessage(ctx context.Context, in *UpdateMessageInput) (*UpdateMessageOutput, error)
- func (s *MessageServiceService) VoteMessage(ctx context.Context, in *VoteMessageInput) (*VoteMessageOutput, error)
- type Message_Extra
- func (Message_Extra) Descriptor() protoreflect.EnumDescriptor
- func (x Message_Extra) Enum() *Message_Extra
- func (Message_Extra) EnumDescriptor() ([]byte, []int)deprecated
- func (x Message_Extra) Number() protoreflect.EnumNumber
- func (x Message_Extra) String() string
- func (Message_Extra) Type() protoreflect.EnumType
- type ModeratePostInput
- func (*ModeratePostInput) Descriptor() ([]byte, []int)deprecated
- func (x *ModeratePostInput) GetOutcome() ModeratePostInput_Outcome
- func (x *ModeratePostInput) GetPostId() string
- func (x *ModeratePostInput) GetReason() *ecm.Content
- func (*ModeratePostInput) ProtoMessage()
- func (x *ModeratePostInput) ProtoReflect() protoreflect.Message
- func (x *ModeratePostInput) Reset()
- func (x *ModeratePostInput) String() string
- type ModeratePostInput_Outcome
- func (ModeratePostInput_Outcome) Descriptor() protoreflect.EnumDescriptor
- func (x ModeratePostInput_Outcome) Enum() *ModeratePostInput_Outcome
- func (ModeratePostInput_Outcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModeratePostInput_Outcome) Number() protoreflect.EnumNumber
- func (x ModeratePostInput_Outcome) String() string
- func (ModeratePostInput_Outcome) Type() protoreflect.EnumType
- type ModeratePostOutput
- type Post
- func (*Post) Descriptor() ([]byte, []int)deprecated
- func (x *Post) GetAuthor() isPost_Author
- func (x *Post) GetContent() *ecm.Content
- func (x *Post) GetCreatedAt() *timestamppb.Timestamp
- func (x *Post) GetDraft() bool
- func (x *Post) GetFeatured() bool
- func (x *Post) GetId() string
- func (x *Post) GetImageUrl() string
- func (x *Post) GetLabels() []string
- func (x *Post) GetLinks() []*wellknown.Link
- func (x *Post) GetLocale() string
- func (x *Post) GetMemberId() string
- func (x *Post) GetModeration() Post_Moderation
- func (x *Post) GetPinned() bool
- func (x *Post) GetPreview() *Post_Preview
- func (x *Post) GetPublic() bool
- func (x *Post) GetPublishedAt() *timestamppb.Timestamp
- func (x *Post) GetReplyCount() int32
- func (x *Post) GetSourceId() string
- func (x *Post) GetSourceUrl() string
- func (x *Post) GetTitle() string
- func (x *Post) GetTypeId() string
- func (x *Post) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Post) GetUrl() string
- func (x *Post) GetUserId() string
- func (x *Post) GetVote() int32
- func (x *Post) GetVoteCount() int32
- func (*Post) ProtoMessage()
- func (x *Post) ProtoReflect() protoreflect.Message
- func (x *Post) Reset()
- func (x *Post) String() string
- type PostChangedEvent
- func (*PostChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PostChangedEvent) GetAfter() *Post
- func (x *PostChangedEvent) GetBefore() *Post
- func (x *PostChangedEvent) GetReason() *ecm.Content
- func (*PostChangedEvent) ProtoMessage()
- func (x *PostChangedEvent) ProtoReflect() protoreflect.Message
- func (x *PostChangedEvent) Reset()
- func (x *PostChangedEvent) String() string
- type PostMessageInput
- func (*PostMessageInput) Descriptor() ([]byte, []int)deprecated
- func (x *PostMessageInput) GetMessage() *Message
- func (x *PostMessageInput) GetReplyTo() string
- func (*PostMessageInput) ProtoMessage()
- func (x *PostMessageInput) ProtoReflect() protoreflect.Message
- func (x *PostMessageInput) Reset()
- func (x *PostMessageInput) String() string
- type PostMessageOutput
- type PostPublishedEvent
- func (*PostPublishedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PostPublishedEvent) GetPost() *Post
- func (x *PostPublishedEvent) GetPublished() bool
- func (x *PostPublishedEvent) GetReason() *ecm.Content
- func (*PostPublishedEvent) ProtoMessage()
- func (x *PostPublishedEvent) ProtoReflect() protoreflect.Message
- func (x *PostPublishedEvent) Reset()
- func (x *PostPublishedEvent) String() string
- type PostServiceClient
- type PostServiceServer
- type PostServiceService
- func (s *PostServiceService) CreatePost(ctx context.Context, in *CreatePostInput) (*CreatePostOutput, error)
- func (s *PostServiceService) CreatePostTranslation(ctx context.Context, in *CreatePostTranslationInput) (*CreatePostTranslationOutput, error)
- func (s *PostServiceService) DeletePost(ctx context.Context, in *DeletePostInput) (*DeletePostOutput, error)
- func (s *PostServiceService) DeletePostTranslation(ctx context.Context, in *DeletePostTranslationInput) (*DeletePostTranslationOutput, error)
- func (s *PostServiceService) DescribePost(ctx context.Context, in *DescribePostInput) (*DescribePostOutput, error)
- func (s *PostServiceService) DescribePostTranslation(ctx context.Context, in *DescribePostTranslationInput) (*DescribePostTranslationOutput, error)
- func (s *PostServiceService) ListPostTranslations(ctx context.Context, in *ListPostTranslationsInput) (*ListPostTranslationsOutput, error)
- func (s *PostServiceService) ListPosts(ctx context.Context, in *ListPostsInput) (*ListPostsOutput, error)
- func (s *PostServiceService) ModeratePost(ctx context.Context, in *ModeratePostInput) (*ModeratePostOutput, error)
- func (s *PostServiceService) PublishPost(ctx context.Context, in *PublishPostInput) (*PublishPostOutput, error)
- func (s *PostServiceService) TranslatePost(ctx context.Context, in *TranslatePostInput) (*TranslatePostOutput, error)
- func (s *PostServiceService) UnpublishPost(ctx context.Context, in *UnpublishPostInput) (*UnpublishPostOutput, error)
- func (s *PostServiceService) UpdatePost(ctx context.Context, in *UpdatePostInput) (*UpdatePostOutput, error)
- func (s *PostServiceService) UpdatePostTranslation(ctx context.Context, in *UpdatePostTranslationInput) (*UpdatePostTranslationOutput, error)
- func (s *PostServiceService) VotePost(ctx context.Context, in *VotePostInput) (*VotePostOutput, error)
- type PostTranslationChangedEvent
- func (*PostTranslationChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PostTranslationChangedEvent) GetAfter() *Post_Translation
- func (x *PostTranslationChangedEvent) GetBefore() *Post_Translation
- func (x *PostTranslationChangedEvent) GetPostId() string
- func (x *PostTranslationChangedEvent) GetReason() *ecm.Content
- func (*PostTranslationChangedEvent) ProtoMessage()
- func (x *PostTranslationChangedEvent) ProtoReflect() protoreflect.Message
- func (x *PostTranslationChangedEvent) Reset()
- func (x *PostTranslationChangedEvent) String() string
- type PostType
- func (*PostType) Descriptor() ([]byte, []int)deprecated
- func (x *PostType) GetHidden() bool
- func (x *PostType) GetId() string
- func (x *PostType) GetName() string
- func (x *PostType) GetOrder() int32
- func (x *PostType) GetVariants() []*PostType_Variant
- func (*PostType) ProtoMessage()
- func (x *PostType) ProtoReflect() protoreflect.Message
- func (x *PostType) Reset()
- func (x *PostType) String() string
- type PostTypeServiceClient
- type PostTypeServiceServer
- type PostTypeServiceService
- func (s *PostTypeServiceService) CreatePostType(ctx context.Context, in *CreatePostTypeInput) (*CreatePostTypeOutput, error)
- func (s *PostTypeServiceService) DeletePostType(ctx context.Context, in *DeletePostTypeInput) (*DeletePostTypeOutput, error)
- func (s *PostTypeServiceService) DescribePostType(ctx context.Context, in *DescribePostTypeInput) (*DescribePostTypeOutput, error)
- func (s *PostTypeServiceService) ListPostTypes(ctx context.Context, in *ListPostTypesInput) (*ListPostTypesOutput, error)
- func (s *PostTypeServiceService) UpdatePostType(ctx context.Context, in *UpdatePostTypeInput) (*UpdatePostTypeOutput, error)
- type PostType_Extra
- func (PostType_Extra) Descriptor() protoreflect.EnumDescriptor
- func (x PostType_Extra) Enum() *PostType_Extra
- func (PostType_Extra) EnumDescriptor() ([]byte, []int)deprecated
- func (x PostType_Extra) Number() protoreflect.EnumNumber
- func (x PostType_Extra) String() string
- func (PostType_Extra) Type() protoreflect.EnumType
- type PostType_Variant
- func (*PostType_Variant) Descriptor() ([]byte, []int)deprecated
- func (x *PostType_Variant) GetLocale() string
- func (x *PostType_Variant) GetName() string
- func (*PostType_Variant) ProtoMessage()
- func (x *PostType_Variant) ProtoReflect() protoreflect.Message
- func (x *PostType_Variant) Reset()
- func (x *PostType_Variant) String() string
- type Post_Extra
- type Post_Image
- func (*Post_Image) Descriptor() ([]byte, []int)deprecated
- func (x *Post_Image) GetClass() []string
- func (x *Post_Image) GetHeight() int32
- func (x *Post_Image) GetSrc() string
- func (x *Post_Image) GetWidth() int32
- func (*Post_Image) ProtoMessage()
- func (x *Post_Image) ProtoReflect() protoreflect.Message
- func (x *Post_Image) Reset()
- func (x *Post_Image) String() string
- type Post_MemberId
- type Post_Moderation
- func (Post_Moderation) Descriptor() protoreflect.EnumDescriptor
- func (x Post_Moderation) Enum() *Post_Moderation
- func (Post_Moderation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Post_Moderation) Number() protoreflect.EnumNumber
- func (x Post_Moderation) String() string
- func (Post_Moderation) Type() protoreflect.EnumType
- type Post_Preview
- func (*Post_Preview) Descriptor() ([]byte, []int)deprecated
- func (x *Post_Preview) GetContent() *ecm.Node
- func (x *Post_Preview) GetImage() *Post_Image
- func (x *Post_Preview) GetTitle() string
- func (*Post_Preview) ProtoMessage()
- func (x *Post_Preview) ProtoReflect() protoreflect.Message
- func (x *Post_Preview) Reset()
- func (x *Post_Preview) String() string
- type Post_Translation
- func (*Post_Translation) Descriptor() ([]byte, []int)deprecated
- func (x *Post_Translation) GetAutomatic() bool
- func (x *Post_Translation) GetContent() *ecm.Content
- func (x *Post_Translation) GetId() string
- func (x *Post_Translation) GetLabels() []string
- func (x *Post_Translation) GetLocale() string
- func (*Post_Translation) ProtoMessage()
- func (x *Post_Translation) ProtoReflect() protoreflect.Message
- func (x *Post_Translation) Reset()
- func (x *Post_Translation) String() string
- type Post_UserId
- type PublishPostInput
- type PublishPostOutput
- type Subscription
- type SubscriptionServiceClient
- type SubscriptionServiceServer
- type SubscriptionServiceService
- type Subscription_Type
- func (Subscription_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Subscription_Type) Enum() *Subscription_Type
- func (Subscription_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Subscription_Type) Number() protoreflect.EnumNumber
- func (x Subscription_Type) String() string
- func (Subscription_Type) Type() protoreflect.EnumType
- type Thread
- func (*Thread) Descriptor() ([]byte, []int)deprecated
- func (x *Thread) GetId() string
- func (x *Thread) GetName() string
- func (x *Thread) GetReplyCount() int32
- func (x *Thread) GetUrl() string
- func (x *Thread) GetVote() int32
- func (x *Thread) GetVoteCount() int32
- func (*Thread) ProtoMessage()
- func (x *Thread) ProtoReflect() protoreflect.Message
- func (x *Thread) Reset()
- func (x *Thread) String() string
- type ThreadEndpointClient
- type ThreadEndpointServer
- type ThreadEndpointService
- type TranslatePostInput
- func (*TranslatePostInput) Descriptor() ([]byte, []int)deprecated
- func (x *TranslatePostInput) GetOverrideManual() bool
- func (x *TranslatePostInput) GetPostId() string
- func (x *TranslatePostInput) GetSource() string
- func (x *TranslatePostInput) GetTarget() []string
- func (x *TranslatePostInput) GetTargetAutomatic() bool
- func (*TranslatePostInput) ProtoMessage()
- func (x *TranslatePostInput) ProtoReflect() protoreflect.Message
- func (x *TranslatePostInput) Reset()
- func (x *TranslatePostInput) String() string
- type TranslatePostOutput
- func (*TranslatePostOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TranslatePostOutput) GetJobId() string
- func (*TranslatePostOutput) ProtoMessage()
- func (x *TranslatePostOutput) ProtoReflect() protoreflect.Message
- func (x *TranslatePostOutput) Reset()
- func (x *TranslatePostOutput) String() string
- type UnimplementedConfigurationServiceServer
- func (UnimplementedConfigurationServiceServer) DescribeDiscussionConfig(context.Context, *DescribeDiscussionConfigInput) (*DescribeDiscussionConfigOutput, error)
- func (UnimplementedConfigurationServiceServer) UpdateDiscussionConfig(context.Context, *UpdateDiscussionConfigInput) (*UpdateDiscussionConfigOutput, error)
- type UnimplementedMessageServiceServer
- func (UnimplementedMessageServiceServer) DeleteMessage(context.Context, *DeleteMessageInput) (*DeleteMessageOutput, error)
- func (UnimplementedMessageServiceServer) DescribeMessage(context.Context, *DescribeMessageInput) (*DescribeMessageOutput, error)
- func (UnimplementedMessageServiceServer) ListMessageChanges(context.Context, *ListMessageChangesInput) (*ListMessageChangesOutput, error)
- func (UnimplementedMessageServiceServer) ListMessages(context.Context, *ListMessagesInput) (*ListMessagesOutput, error)
- func (UnimplementedMessageServiceServer) PostMessage(context.Context, *PostMessageInput) (*PostMessageOutput, error)
- func (UnimplementedMessageServiceServer) UpdateMessage(context.Context, *UpdateMessageInput) (*UpdateMessageOutput, error)
- func (UnimplementedMessageServiceServer) VoteMessage(context.Context, *VoteMessageInput) (*VoteMessageOutput, error)
- type UnimplementedPostServiceServer
- func (UnimplementedPostServiceServer) CreatePost(context.Context, *CreatePostInput) (*CreatePostOutput, error)
- func (UnimplementedPostServiceServer) CreatePostTranslation(context.Context, *CreatePostTranslationInput) (*CreatePostTranslationOutput, error)
- func (UnimplementedPostServiceServer) DeletePost(context.Context, *DeletePostInput) (*DeletePostOutput, error)
- func (UnimplementedPostServiceServer) DeletePostTranslation(context.Context, *DeletePostTranslationInput) (*DeletePostTranslationOutput, error)
- func (UnimplementedPostServiceServer) DescribePost(context.Context, *DescribePostInput) (*DescribePostOutput, error)
- func (UnimplementedPostServiceServer) DescribePostTranslation(context.Context, *DescribePostTranslationInput) (*DescribePostTranslationOutput, error)
- func (UnimplementedPostServiceServer) ListPostTranslations(context.Context, *ListPostTranslationsInput) (*ListPostTranslationsOutput, error)
- func (UnimplementedPostServiceServer) ListPosts(context.Context, *ListPostsInput) (*ListPostsOutput, error)
- func (UnimplementedPostServiceServer) ModeratePost(context.Context, *ModeratePostInput) (*ModeratePostOutput, error)
- func (UnimplementedPostServiceServer) PublishPost(context.Context, *PublishPostInput) (*PublishPostOutput, error)
- func (UnimplementedPostServiceServer) TranslatePost(context.Context, *TranslatePostInput) (*TranslatePostOutput, error)
- func (UnimplementedPostServiceServer) UnpublishPost(context.Context, *UnpublishPostInput) (*UnpublishPostOutput, error)
- func (UnimplementedPostServiceServer) UpdatePost(context.Context, *UpdatePostInput) (*UpdatePostOutput, error)
- func (UnimplementedPostServiceServer) UpdatePostTranslation(context.Context, *UpdatePostTranslationInput) (*UpdatePostTranslationOutput, error)
- func (UnimplementedPostServiceServer) VotePost(context.Context, *VotePostInput) (*VotePostOutput, error)
- type UnimplementedPostTypeServiceServer
- func (UnimplementedPostTypeServiceServer) CreatePostType(context.Context, *CreatePostTypeInput) (*CreatePostTypeOutput, error)
- func (UnimplementedPostTypeServiceServer) DeletePostType(context.Context, *DeletePostTypeInput) (*DeletePostTypeOutput, error)
- func (UnimplementedPostTypeServiceServer) DescribePostType(context.Context, *DescribePostTypeInput) (*DescribePostTypeOutput, error)
- func (UnimplementedPostTypeServiceServer) ListPostTypes(context.Context, *ListPostTypesInput) (*ListPostTypesOutput, error)
- func (UnimplementedPostTypeServiceServer) UpdatePostType(context.Context, *UpdatePostTypeInput) (*UpdatePostTypeOutput, error)
- type UnimplementedSubscriptionServiceServer
- type UnimplementedThreadEndpointServer
- type UnpublishPostInput
- func (*UnpublishPostInput) Descriptor() ([]byte, []int)deprecated
- func (x *UnpublishPostInput) GetPostId() string
- func (x *UnpublishPostInput) GetReason() *ecm.Content
- func (*UnpublishPostInput) ProtoMessage()
- func (x *UnpublishPostInput) ProtoReflect() protoreflect.Message
- func (x *UnpublishPostInput) Reset()
- func (x *UnpublishPostInput) String() string
- type UnpublishPostOutput
- type UnsafeConfigurationServiceServer
- type UnsafeMessageServiceServer
- type UnsafePostServiceServer
- type UnsafePostTypeServiceServer
- type UnsafeSubscriptionServiceServer
- type UnsafeThreadEndpointServer
- type UpdateDiscussionConfigInput
- func (*UpdateDiscussionConfigInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDiscussionConfigInput) GetConfig() *Configuration
- func (*UpdateDiscussionConfigInput) ProtoMessage()
- func (x *UpdateDiscussionConfigInput) ProtoReflect() protoreflect.Message
- func (x *UpdateDiscussionConfigInput) Reset()
- func (x *UpdateDiscussionConfigInput) String() string
- type UpdateDiscussionConfigInput_Patch
- func (UpdateDiscussionConfigInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateDiscussionConfigInput_Patch) Enum() *UpdateDiscussionConfigInput_Patch
- func (UpdateDiscussionConfigInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateDiscussionConfigInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdateDiscussionConfigInput_Patch) String() string
- func (UpdateDiscussionConfigInput_Patch) Type() protoreflect.EnumType
- type UpdateDiscussionConfigOutput
- func (*UpdateDiscussionConfigOutput) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDiscussionConfigOutput) ProtoMessage()
- func (x *UpdateDiscussionConfigOutput) ProtoReflect() protoreflect.Message
- func (x *UpdateDiscussionConfigOutput) Reset()
- func (x *UpdateDiscussionConfigOutput) String() string
- type UpdateMessageInput
- func (*UpdateMessageInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMessageInput) GetMessage() *Message
- func (x *UpdateMessageInput) GetMessageId() string
- func (*UpdateMessageInput) ProtoMessage()
- func (x *UpdateMessageInput) ProtoReflect() protoreflect.Message
- func (x *UpdateMessageInput) Reset()
- func (x *UpdateMessageInput) String() string
- type UpdateMessageOutput
- type UpdatePostInput
- func (*UpdatePostInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostInput) GetPatch() []UpdatePostInput_Patch
- func (x *UpdatePostInput) GetPost() *Post
- func (x *UpdatePostInput) GetPostId() string
- func (*UpdatePostInput) ProtoMessage()
- func (x *UpdatePostInput) ProtoReflect() protoreflect.Message
- func (x *UpdatePostInput) Reset()
- func (x *UpdatePostInput) String() string
- type UpdatePostInput_Patch
- func (UpdatePostInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdatePostInput_Patch) Enum() *UpdatePostInput_Patch
- func (UpdatePostInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdatePostInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdatePostInput_Patch) String() string
- func (UpdatePostInput_Patch) Type() protoreflect.EnumType
- type UpdatePostOutput
- type UpdatePostTranslationInput
- func (*UpdatePostTranslationInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostTranslationInput) GetPatch() []UpdatePostTranslationInput_Patch
- func (x *UpdatePostTranslationInput) GetPostId() string
- func (x *UpdatePostTranslationInput) GetTranslation() *Post_Translation
- func (x *UpdatePostTranslationInput) GetTranslationId() string
- func (*UpdatePostTranslationInput) ProtoMessage()
- func (x *UpdatePostTranslationInput) ProtoReflect() protoreflect.Message
- func (x *UpdatePostTranslationInput) Reset()
- func (x *UpdatePostTranslationInput) String() string
- type UpdatePostTranslationInput_Patch
- func (UpdatePostTranslationInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdatePostTranslationInput_Patch) Enum() *UpdatePostTranslationInput_Patch
- func (UpdatePostTranslationInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdatePostTranslationInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdatePostTranslationInput_Patch) String() string
- func (UpdatePostTranslationInput_Patch) Type() protoreflect.EnumType
- type UpdatePostTranslationOutput
- type UpdatePostTypeInput
- func (*UpdatePostTypeInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostTypeInput) GetType() *PostType
- func (x *UpdatePostTypeInput) GetTypeId() string
- func (*UpdatePostTypeInput) ProtoMessage()
- func (x *UpdatePostTypeInput) ProtoReflect() protoreflect.Message
- func (x *UpdatePostTypeInput) Reset()
- func (x *UpdatePostTypeInput) String() string
- type UpdatePostTypeOutput
- type UpdateSubscriptionInput
- func (*UpdateSubscriptionInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscriptionInput) GetSubscription() *Subscription
- func (*UpdateSubscriptionInput) ProtoMessage()
- func (x *UpdateSubscriptionInput) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscriptionInput) Reset()
- func (x *UpdateSubscriptionInput) String() string
- type UpdateSubscriptionOutput
- type VoteMessageInput
- func (*VoteMessageInput) Descriptor() ([]byte, []int)deprecated
- func (x *VoteMessageInput) GetMessageId() string
- func (x *VoteMessageInput) GetVote() int32
- func (*VoteMessageInput) ProtoMessage()
- func (x *VoteMessageInput) ProtoReflect() protoreflect.Message
- func (x *VoteMessageInput) Reset()
- func (x *VoteMessageInput) String() string
- type VoteMessageOutput
- type VotePostInput
- func (*VotePostInput) Descriptor() ([]byte, []int)deprecated
- func (x *VotePostInput) GetPostId() string
- func (x *VotePostInput) GetVote() int32
- func (*VotePostInput) ProtoMessage()
- func (x *VotePostInput) ProtoReflect() protoreflect.Message
- func (x *VotePostInput) Reset()
- func (x *VotePostInput) String() string
- type VotePostOutput
- type VoteThreadInput
- func (*VoteThreadInput) Descriptor() ([]byte, []int)deprecated
- func (x *VoteThreadInput) GetMessageId() string
- func (x *VoteThreadInput) GetVote() int32
- func (*VoteThreadInput) ProtoMessage()
- func (x *VoteThreadInput) ProtoReflect() protoreflect.Message
- func (x *VoteThreadInput) Reset()
- func (x *VoteThreadInput) String() string
- type VoteThreadOutput
Constants ¶
const ( ConfigurationService_DescribeDiscussionConfig_FullMethodName = "/eolymp.discussion.ConfigurationService/DescribeDiscussionConfig" ConfigurationService_UpdateDiscussionConfig_FullMethodName = "/eolymp.discussion.ConfigurationService/UpdateDiscussionConfig" )
const ( MessageService_DescribeMessage_FullMethodName = "/eolymp.discussion.MessageService/DescribeMessage" MessageService_ListMessages_FullMethodName = "/eolymp.discussion.MessageService/ListMessages" MessageService_PostMessage_FullMethodName = "/eolymp.discussion.MessageService/PostMessage" MessageService_UpdateMessage_FullMethodName = "/eolymp.discussion.MessageService/UpdateMessage" MessageService_DeleteMessage_FullMethodName = "/eolymp.discussion.MessageService/DeleteMessage" MessageService_VoteMessage_FullMethodName = "/eolymp.discussion.MessageService/VoteMessage" MessageService_ListMessageChanges_FullMethodName = "/eolymp.discussion.MessageService/ListMessageChanges" )
const ( PostService_DescribePost_FullMethodName = "/eolymp.discussion.PostService/DescribePost" PostService_ListPosts_FullMethodName = "/eolymp.discussion.PostService/ListPosts" PostService_CreatePost_FullMethodName = "/eolymp.discussion.PostService/CreatePost" PostService_UpdatePost_FullMethodName = "/eolymp.discussion.PostService/UpdatePost" PostService_PublishPost_FullMethodName = "/eolymp.discussion.PostService/PublishPost" PostService_UnpublishPost_FullMethodName = "/eolymp.discussion.PostService/UnpublishPost" PostService_ModeratePost_FullMethodName = "/eolymp.discussion.PostService/ModeratePost" PostService_DeletePost_FullMethodName = "/eolymp.discussion.PostService/DeletePost" PostService_VotePost_FullMethodName = "/eolymp.discussion.PostService/VotePost" PostService_TranslatePost_FullMethodName = "/eolymp.discussion.PostService/TranslatePost" PostService_DescribePostTranslation_FullMethodName = "/eolymp.discussion.PostService/DescribePostTranslation" PostService_ListPostTranslations_FullMethodName = "/eolymp.discussion.PostService/ListPostTranslations" PostService_CreatePostTranslation_FullMethodName = "/eolymp.discussion.PostService/CreatePostTranslation" PostService_UpdatePostTranslation_FullMethodName = "/eolymp.discussion.PostService/UpdatePostTranslation" PostService_DeletePostTranslation_FullMethodName = "/eolymp.discussion.PostService/DeletePostTranslation" )
const ( PostTypeService_DescribePostType_FullMethodName = "/eolymp.discussion.PostTypeService/DescribePostType" PostTypeService_ListPostTypes_FullMethodName = "/eolymp.discussion.PostTypeService/ListPostTypes" PostTypeService_CreatePostType_FullMethodName = "/eolymp.discussion.PostTypeService/CreatePostType" PostTypeService_UpdatePostType_FullMethodName = "/eolymp.discussion.PostTypeService/UpdatePostType" PostTypeService_DeletePostType_FullMethodName = "/eolymp.discussion.PostTypeService/DeletePostType" )
const ( SubscriptionService_DescribeSubscription_FullMethodName = "/eolymp.discussion.SubscriptionService/DescribeSubscription" SubscriptionService_UpdateSubscription_FullMethodName = "/eolymp.discussion.SubscriptionService/UpdateSubscription" )
const ( ThreadEndpoint_DescribeThread_FullMethodName = "/eolymp.discussion.ThreadEndpoint/DescribeThread" ThreadEndpoint_VoteThread_FullMethodName = "/eolymp.discussion.ThreadEndpoint/VoteThread" )
Variables ¶
var ( Configuration_Moderation_name = map[int32]string{ 0: "UNKNOWN_MODERATION", 1: "NO_MODERATION", 2: "PRE_MODERATION", 3: "POST_MODERATION", } Configuration_Moderation_value = map[string]int32{ "UNKNOWN_MODERATION": 0, "NO_MODERATION": 1, "PRE_MODERATION": 2, "POST_MODERATION": 3, } )
Enum value maps for Configuration_Moderation.
var ( UpdateDiscussionConfigInput_Patch_name = map[int32]string{ 0: "ALL", 1: "MEMBERS_CAN_CREATE_POSTS", 2: "MEMBERS_CAN_COMMENT_ON_POSTS", 3: "MEMBERS_CAN_COMMENT_ON_PROBLEMS", 4: "POST_MODERATION", 5: "COMMENT_MODERATION", } UpdateDiscussionConfigInput_Patch_value = map[string]int32{ "ALL": 0, "MEMBERS_CAN_CREATE_POSTS": 1, "MEMBERS_CAN_COMMENT_ON_POSTS": 2, "MEMBERS_CAN_COMMENT_ON_PROBLEMS": 3, "POST_MODERATION": 4, "COMMENT_MODERATION": 5, } )
Enum value maps for UpdateDiscussionConfigInput_Patch.
var ( Message_Extra_name = map[int32]string{ 0: "UNKNOWN_EXTRA", 1: "MESSAGE_VALUE", 2: "MESSAGE_RENDER", 3: "MESSAGE_PREVIEW", 4: "VOTE", } Message_Extra_value = map[string]int32{ "UNKNOWN_EXTRA": 0, "MESSAGE_VALUE": 1, "MESSAGE_RENDER": 2, "MESSAGE_PREVIEW": 3, "VOTE": 4, } )
Enum value maps for Message_Extra.
var ( ListMessagesInput_Sortable_name = map[int32]string{ 0: "DEFAULT", 1: "POSTED_AT", 2: "VOTE_COUNT", 3: "REPLY_COUNT", } ListMessagesInput_Sortable_value = map[string]int32{ "DEFAULT": 0, "POSTED_AT": 1, "VOTE_COUNT": 2, "REPLY_COUNT": 3, } )
Enum value maps for ListMessagesInput_Sortable.
var ( Post_Moderation_name = map[int32]string{ 0: "UNKNOWN_MODERATION", 1: "PENDING", 2: "IN_REVIEW", 3: "APPROVED", 4: "REJECTED", } Post_Moderation_value = map[string]int32{ "UNKNOWN_MODERATION": 0, "PENDING": 1, "IN_REVIEW": 2, "APPROVED": 3, "REJECTED": 4, } )
Enum value maps for Post_Moderation.
var ( Post_Extra_name = map[int32]string{ 0: "UNKNOWN_EXTRA", 1: "CONTENT_VALUE", 2: "CONTENT_RENDER", 3: "PREVIEW", 4: "VOTE", } Post_Extra_value = map[string]int32{ "UNKNOWN_EXTRA": 0, "CONTENT_VALUE": 1, "CONTENT_RENDER": 2, "PREVIEW": 3, "VOTE": 4, } )
Enum value maps for Post_Extra.
var ( ListPostsInput_Sort_name = map[int32]string{ 0: "UNKNOWN_SORT", 1: "PUBLISHED_AT", 2: "CREATED_AT", 3: "VOTE_COUNT", 4: "REPLY_COUNT", 5: "POPULARITY", } ListPostsInput_Sort_value = map[string]int32{ "UNKNOWN_SORT": 0, "PUBLISHED_AT": 1, "CREATED_AT": 2, "VOTE_COUNT": 3, "REPLY_COUNT": 4, "POPULARITY": 5, } )
Enum value maps for ListPostsInput_Sort.
var ( UpdatePostInput_Patch_name = map[int32]string{ 0: "ALL", 1: "CONTENT", 2: "LABELS", 3: "TYPE_ID", 4: "LOCALE", 5: "DRAFT", 7: "FEATURED", 8: "PINNED", 6: "MODERATION", } UpdatePostInput_Patch_value = map[string]int32{ "ALL": 0, "CONTENT": 1, "LABELS": 2, "TYPE_ID": 3, "LOCALE": 4, "DRAFT": 5, "FEATURED": 7, "PINNED": 8, "MODERATION": 6, } )
Enum value maps for UpdatePostInput_Patch.
var ( ModeratePostInput_Outcome_name = map[int32]string{ 0: "UNKNOWN_OUTCOME", 1: "APPROVED", 2: "REJECTED", 3: "IN_REVIEW", } ModeratePostInput_Outcome_value = map[string]int32{ "UNKNOWN_OUTCOME": 0, "APPROVED": 1, "REJECTED": 2, "IN_REVIEW": 3, } )
Enum value maps for ModeratePostInput_Outcome.
var ( UpdatePostTranslationInput_Patch_name = map[int32]string{ 0: "ALL", 1: "CONTENT", 2: "LABELS", 4: "LOCALE", } UpdatePostTranslationInput_Patch_value = map[string]int32{ "ALL": 0, "CONTENT": 1, "LABELS": 2, "LOCALE": 4, } )
Enum value maps for UpdatePostTranslationInput_Patch.
var ( PostType_Extra_name = map[int32]string{ 0: "UNKNOWN_EXTRA", 1: "VARIANTS", } PostType_Extra_value = map[string]int32{ "UNKNOWN_EXTRA": 0, "VARIANTS": 1, } )
Enum value maps for PostType_Extra.
var ( Subscription_Type_name = map[int32]string{ 0: "NONE", 1: "MUTED", 2: "SUBSCRIBED", 3: "WATCHING", } Subscription_Type_value = map[string]int32{ "NONE": 0, "MUTED": 1, "SUBSCRIBED": 2, "WATCHING": 3, } )
Enum value maps for Subscription_Type.
var ConfigurationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.discussion.ConfigurationService", HandlerType: (*ConfigurationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeDiscussionConfig", Handler: _ConfigurationService_DescribeDiscussionConfig_Handler, }, { MethodName: "UpdateDiscussionConfig", Handler: _ConfigurationService_UpdateDiscussionConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/discussion/configuration_service.proto", }
ConfigurationService_ServiceDesc is the grpc.ServiceDesc for ConfigurationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_eolymp_discussion_configuration_proto protoreflect.FileDescriptor
var File_eolymp_discussion_configuration_service_proto protoreflect.FileDescriptor
var File_eolymp_discussion_message_proto protoreflect.FileDescriptor
var File_eolymp_discussion_message_service_proto protoreflect.FileDescriptor
var File_eolymp_discussion_post_proto protoreflect.FileDescriptor
var File_eolymp_discussion_post_service_proto protoreflect.FileDescriptor
var File_eolymp_discussion_post_type_proto protoreflect.FileDescriptor
var File_eolymp_discussion_post_type_service_proto protoreflect.FileDescriptor
var File_eolymp_discussion_subscription_proto protoreflect.FileDescriptor
var File_eolymp_discussion_subscription_service_proto protoreflect.FileDescriptor
var File_eolymp_discussion_thread_endpoint_proto protoreflect.FileDescriptor
var File_eolymp_discussion_thread_proto protoreflect.FileDescriptor
var MessageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.discussion.MessageService", HandlerType: (*MessageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeMessage", Handler: _MessageService_DescribeMessage_Handler, }, { MethodName: "ListMessages", Handler: _MessageService_ListMessages_Handler, }, { MethodName: "PostMessage", Handler: _MessageService_PostMessage_Handler, }, { MethodName: "UpdateMessage", Handler: _MessageService_UpdateMessage_Handler, }, { MethodName: "DeleteMessage", Handler: _MessageService_DeleteMessage_Handler, }, { MethodName: "VoteMessage", Handler: _MessageService_VoteMessage_Handler, }, { MethodName: "ListMessageChanges", Handler: _MessageService_ListMessageChanges_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/discussion/message_service.proto", }
MessageService_ServiceDesc is the grpc.ServiceDesc for MessageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PostService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.discussion.PostService", HandlerType: (*PostServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribePost", Handler: _PostService_DescribePost_Handler, }, { MethodName: "ListPosts", Handler: _PostService_ListPosts_Handler, }, { MethodName: "CreatePost", Handler: _PostService_CreatePost_Handler, }, { MethodName: "UpdatePost", Handler: _PostService_UpdatePost_Handler, }, { MethodName: "PublishPost", Handler: _PostService_PublishPost_Handler, }, { MethodName: "UnpublishPost", Handler: _PostService_UnpublishPost_Handler, }, { MethodName: "ModeratePost", Handler: _PostService_ModeratePost_Handler, }, { MethodName: "DeletePost", Handler: _PostService_DeletePost_Handler, }, { MethodName: "VotePost", Handler: _PostService_VotePost_Handler, }, { MethodName: "TranslatePost", Handler: _PostService_TranslatePost_Handler, }, { MethodName: "DescribePostTranslation", Handler: _PostService_DescribePostTranslation_Handler, }, { MethodName: "ListPostTranslations", Handler: _PostService_ListPostTranslations_Handler, }, { MethodName: "CreatePostTranslation", Handler: _PostService_CreatePostTranslation_Handler, }, { MethodName: "UpdatePostTranslation", Handler: _PostService_UpdatePostTranslation_Handler, }, { MethodName: "DeletePostTranslation", Handler: _PostService_DeletePostTranslation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/discussion/post_service.proto", }
PostService_ServiceDesc is the grpc.ServiceDesc for PostService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PostTypeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.discussion.PostTypeService", HandlerType: (*PostTypeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribePostType", Handler: _PostTypeService_DescribePostType_Handler, }, { MethodName: "ListPostTypes", Handler: _PostTypeService_ListPostTypes_Handler, }, { MethodName: "CreatePostType", Handler: _PostTypeService_CreatePostType_Handler, }, { MethodName: "UpdatePostType", Handler: _PostTypeService_UpdatePostType_Handler, }, { MethodName: "DeletePostType", Handler: _PostTypeService_DeletePostType_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/discussion/post_type_service.proto", }
PostTypeService_ServiceDesc is the grpc.ServiceDesc for PostTypeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SubscriptionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.discussion.SubscriptionService", HandlerType: (*SubscriptionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeSubscription", Handler: _SubscriptionService_DescribeSubscription_Handler, }, { MethodName: "UpdateSubscription", Handler: _SubscriptionService_UpdateSubscription_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/discussion/subscription_service.proto", }
SubscriptionService_ServiceDesc is the grpc.ServiceDesc for SubscriptionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ThreadEndpoint_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.discussion.ThreadEndpoint", HandlerType: (*ThreadEndpointServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeThread", Handler: _ThreadEndpoint_DescribeThread_Handler, }, { MethodName: "VoteThread", Handler: _ThreadEndpoint_VoteThread_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/discussion/thread_endpoint.proto", }
ThreadEndpoint_ServiceDesc is the grpc.ServiceDesc for ThreadEndpoint service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterConfigurationServiceHttpHandlers ¶
func RegisterConfigurationServiceHttpHandlers(router *mux.Router, prefix string, cli ConfigurationServiceClient)
RegisterConfigurationServiceHttpHandlers adds handlers for for ConfigurationServiceClient
func RegisterConfigurationServiceHttpProxy ¶
func RegisterConfigurationServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
RegisterConfigurationServiceHttpProxy adds proxy handlers for for ConfigurationServiceClient
func RegisterConfigurationServiceServer ¶
func RegisterConfigurationServiceServer(s grpc.ServiceRegistrar, srv ConfigurationServiceServer)
func RegisterMessageServiceHttpHandlers ¶
func RegisterMessageServiceHttpHandlers(router *mux.Router, prefix string, cli MessageServiceClient)
RegisterMessageServiceHttpHandlers adds handlers for for MessageServiceClient
func RegisterMessageServiceHttpProxy ¶
func RegisterMessageServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
RegisterMessageServiceHttpProxy adds proxy handlers for for MessageServiceClient
func RegisterMessageServiceServer ¶
func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)
func RegisterPostServiceHttpHandlers ¶
func RegisterPostServiceHttpHandlers(router *mux.Router, prefix string, cli PostServiceClient)
RegisterPostServiceHttpHandlers adds handlers for for PostServiceClient
func RegisterPostServiceHttpProxy ¶
func RegisterPostServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
RegisterPostServiceHttpProxy adds proxy handlers for for PostServiceClient
func RegisterPostServiceServer ¶
func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
func RegisterPostTypeServiceHttpHandlers ¶
func RegisterPostTypeServiceHttpHandlers(router *mux.Router, prefix string, cli PostTypeServiceClient)
RegisterPostTypeServiceHttpHandlers adds handlers for for PostTypeServiceClient
func RegisterPostTypeServiceHttpProxy ¶
func RegisterPostTypeServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
RegisterPostTypeServiceHttpProxy adds proxy handlers for for PostTypeServiceClient
func RegisterPostTypeServiceServer ¶
func RegisterPostTypeServiceServer(s grpc.ServiceRegistrar, srv PostTypeServiceServer)
func RegisterSubscriptionServiceHttpHandlers ¶
func RegisterSubscriptionServiceHttpHandlers(router *mux.Router, prefix string, cli SubscriptionServiceClient)
RegisterSubscriptionServiceHttpHandlers adds handlers for for SubscriptionServiceClient
func RegisterSubscriptionServiceHttpProxy ¶
func RegisterSubscriptionServiceHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
RegisterSubscriptionServiceHttpProxy adds proxy handlers for for SubscriptionServiceClient
func RegisterSubscriptionServiceServer ¶
func RegisterSubscriptionServiceServer(s grpc.ServiceRegistrar, srv SubscriptionServiceServer)
func RegisterThreadEndpointHttpHandlers ¶
func RegisterThreadEndpointHttpHandlers(router *mux.Router, prefix string, cli ThreadEndpointClient)
RegisterThreadEndpointHttpHandlers adds handlers for for ThreadEndpointClient
func RegisterThreadEndpointHttpProxy ¶
func RegisterThreadEndpointHttpProxy(router *mux.Router, prefix string, conn grpc.ClientConnInterface)
RegisterThreadEndpointHttpProxy adds proxy handlers for for ThreadEndpointClient
func RegisterThreadEndpointServer ¶
func RegisterThreadEndpointServer(s grpc.ServiceRegistrar, srv ThreadEndpointServer)
Types ¶
type Configuration ¶
type Configuration struct { MembersCanCreatePosts bool `` /* 129-byte string literal not displayed */ MembersCanCommentOnPosts bool `` /* 140-byte string literal not displayed */ MembersCanCommentOnProblems bool `` /* 149-byte string literal not displayed */ PostModeration Configuration_Moderation `` /* 152-byte string literal not displayed */ CommentModeration Configuration_Moderation `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetCommentModeration ¶
func (x *Configuration) GetCommentModeration() Configuration_Moderation
func (*Configuration) GetMembersCanCommentOnPosts ¶
func (x *Configuration) GetMembersCanCommentOnPosts() bool
func (*Configuration) GetMembersCanCommentOnProblems ¶
func (x *Configuration) GetMembersCanCommentOnProblems() bool
func (*Configuration) GetMembersCanCreatePosts ¶
func (x *Configuration) GetMembersCanCreatePosts() bool
func (*Configuration) GetPostModeration ¶
func (x *Configuration) GetPostModeration() Configuration_Moderation
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type ConfigurationServiceClient ¶
type ConfigurationServiceClient interface { // Describe identity provider configuration DescribeDiscussionConfig(ctx context.Context, in *DescribeDiscussionConfigInput, opts ...grpc.CallOption) (*DescribeDiscussionConfigOutput, error) // Update identity provider configuration UpdateDiscussionConfig(ctx context.Context, in *UpdateDiscussionConfigInput, opts ...grpc.CallOption) (*UpdateDiscussionConfigOutput, error) }
ConfigurationServiceClient is the client API for ConfigurationService 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.
func NewConfigurationServiceClient ¶
func NewConfigurationServiceClient(cc grpc.ClientConnInterface) ConfigurationServiceClient
type ConfigurationServiceServer ¶
type ConfigurationServiceServer interface { // Describe identity provider configuration DescribeDiscussionConfig(context.Context, *DescribeDiscussionConfigInput) (*DescribeDiscussionConfigOutput, error) // Update identity provider configuration UpdateDiscussionConfig(context.Context, *UpdateDiscussionConfigInput) (*UpdateDiscussionConfigOutput, error) }
ConfigurationServiceServer is the server API for ConfigurationService service. All implementations should embed UnimplementedConfigurationServiceServer for forward compatibility.
type ConfigurationServiceService ¶
type ConfigurationServiceService struct {
// contains filtered or unexported fields
}
func NewConfigurationServiceHttpClient ¶
func NewConfigurationServiceHttpClient(url string, cli _ConfigurationServiceHttpClient) *ConfigurationServiceService
NewConfigurationServiceHttpClient constructs client for ConfigurationService
func (*ConfigurationServiceService) DescribeDiscussionConfig ¶
func (s *ConfigurationServiceService) DescribeDiscussionConfig(ctx context.Context, in *DescribeDiscussionConfigInput) (*DescribeDiscussionConfigOutput, error)
func (*ConfigurationServiceService) UpdateDiscussionConfig ¶
func (s *ConfigurationServiceService) UpdateDiscussionConfig(ctx context.Context, in *UpdateDiscussionConfigInput) (*UpdateDiscussionConfigOutput, error)
type Configuration_Moderation ¶
type Configuration_Moderation int32
const ( Configuration_UNKNOWN_MODERATION Configuration_Moderation = 0 Configuration_NO_MODERATION Configuration_Moderation = 1 Configuration_PRE_MODERATION Configuration_Moderation = 2 Configuration_POST_MODERATION Configuration_Moderation = 3 )
func (Configuration_Moderation) Descriptor ¶
func (Configuration_Moderation) Descriptor() protoreflect.EnumDescriptor
func (Configuration_Moderation) Enum ¶
func (x Configuration_Moderation) Enum() *Configuration_Moderation
func (Configuration_Moderation) EnumDescriptor
deprecated
func (Configuration_Moderation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_Moderation.Descriptor instead.
func (Configuration_Moderation) Number ¶
func (x Configuration_Moderation) Number() protoreflect.EnumNumber
func (Configuration_Moderation) String ¶
func (x Configuration_Moderation) String() string
func (Configuration_Moderation) Type ¶
func (Configuration_Moderation) Type() protoreflect.EnumType
type CreatePostInput ¶
type CreatePostInput struct { Post *Post `protobuf:"bytes,1,opt,name=post,proto3" json:"post,omitempty"` // contains filtered or unexported fields }
func (*CreatePostInput) Descriptor
deprecated
func (*CreatePostInput) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostInput.ProtoReflect.Descriptor instead.
func (*CreatePostInput) GetPost ¶
func (x *CreatePostInput) GetPost() *Post
func (*CreatePostInput) ProtoMessage ¶
func (*CreatePostInput) ProtoMessage()
func (*CreatePostInput) ProtoReflect ¶
func (x *CreatePostInput) ProtoReflect() protoreflect.Message
func (*CreatePostInput) Reset ¶
func (x *CreatePostInput) Reset()
func (*CreatePostInput) String ¶
func (x *CreatePostInput) String() string
type CreatePostOutput ¶
type CreatePostOutput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // contains filtered or unexported fields }
func (*CreatePostOutput) Descriptor
deprecated
func (*CreatePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostOutput.ProtoReflect.Descriptor instead.
func (*CreatePostOutput) GetPostId ¶
func (x *CreatePostOutput) GetPostId() string
func (*CreatePostOutput) ProtoMessage ¶
func (*CreatePostOutput) ProtoMessage()
func (*CreatePostOutput) ProtoReflect ¶
func (x *CreatePostOutput) ProtoReflect() protoreflect.Message
func (*CreatePostOutput) Reset ¶
func (x *CreatePostOutput) Reset()
func (*CreatePostOutput) String ¶
func (x *CreatePostOutput) String() string
type CreatePostTranslationInput ¶
type CreatePostTranslationInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Translation *Post_Translation `protobuf:"bytes,2,opt,name=translation,proto3" json:"translation,omitempty"` // contains filtered or unexported fields }
func (*CreatePostTranslationInput) Descriptor
deprecated
func (*CreatePostTranslationInput) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostTranslationInput.ProtoReflect.Descriptor instead.
func (*CreatePostTranslationInput) GetPostId ¶
func (x *CreatePostTranslationInput) GetPostId() string
func (*CreatePostTranslationInput) GetTranslation ¶
func (x *CreatePostTranslationInput) GetTranslation() *Post_Translation
func (*CreatePostTranslationInput) ProtoMessage ¶
func (*CreatePostTranslationInput) ProtoMessage()
func (*CreatePostTranslationInput) ProtoReflect ¶
func (x *CreatePostTranslationInput) ProtoReflect() protoreflect.Message
func (*CreatePostTranslationInput) Reset ¶
func (x *CreatePostTranslationInput) Reset()
func (*CreatePostTranslationInput) String ¶
func (x *CreatePostTranslationInput) String() string
type CreatePostTranslationOutput ¶
type CreatePostTranslationOutput struct { TranslationId string `protobuf:"bytes,1,opt,name=translation_id,json=translationId,proto3" json:"translation_id,omitempty"` // contains filtered or unexported fields }
func (*CreatePostTranslationOutput) Descriptor
deprecated
func (*CreatePostTranslationOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostTranslationOutput.ProtoReflect.Descriptor instead.
func (*CreatePostTranslationOutput) GetTranslationId ¶
func (x *CreatePostTranslationOutput) GetTranslationId() string
func (*CreatePostTranslationOutput) ProtoMessage ¶
func (*CreatePostTranslationOutput) ProtoMessage()
func (*CreatePostTranslationOutput) ProtoReflect ¶
func (x *CreatePostTranslationOutput) ProtoReflect() protoreflect.Message
func (*CreatePostTranslationOutput) Reset ¶
func (x *CreatePostTranslationOutput) Reset()
func (*CreatePostTranslationOutput) String ¶
func (x *CreatePostTranslationOutput) String() string
type CreatePostTypeInput ¶
type CreatePostTypeInput struct { Type *PostType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CreatePostTypeInput) Descriptor
deprecated
func (*CreatePostTypeInput) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostTypeInput.ProtoReflect.Descriptor instead.
func (*CreatePostTypeInput) GetType ¶
func (x *CreatePostTypeInput) GetType() *PostType
func (*CreatePostTypeInput) ProtoMessage ¶
func (*CreatePostTypeInput) ProtoMessage()
func (*CreatePostTypeInput) ProtoReflect ¶
func (x *CreatePostTypeInput) ProtoReflect() protoreflect.Message
func (*CreatePostTypeInput) Reset ¶
func (x *CreatePostTypeInput) Reset()
func (*CreatePostTypeInput) String ¶
func (x *CreatePostTypeInput) String() string
type CreatePostTypeOutput ¶
type CreatePostTypeOutput struct { TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // contains filtered or unexported fields }
func (*CreatePostTypeOutput) Descriptor
deprecated
func (*CreatePostTypeOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostTypeOutput.ProtoReflect.Descriptor instead.
func (*CreatePostTypeOutput) GetTypeId ¶
func (x *CreatePostTypeOutput) GetTypeId() string
func (*CreatePostTypeOutput) ProtoMessage ¶
func (*CreatePostTypeOutput) ProtoMessage()
func (*CreatePostTypeOutput) ProtoReflect ¶
func (x *CreatePostTypeOutput) ProtoReflect() protoreflect.Message
func (*CreatePostTypeOutput) Reset ¶
func (x *CreatePostTypeOutput) Reset()
func (*CreatePostTypeOutput) String ¶
func (x *CreatePostTypeOutput) String() string
type DeleteMessageInput ¶
type DeleteMessageInput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*DeleteMessageInput) Descriptor
deprecated
func (*DeleteMessageInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageInput.ProtoReflect.Descriptor instead.
func (*DeleteMessageInput) GetMessageId ¶
func (x *DeleteMessageInput) GetMessageId() string
func (*DeleteMessageInput) GetReason ¶
func (x *DeleteMessageInput) GetReason() string
func (*DeleteMessageInput) ProtoMessage ¶
func (*DeleteMessageInput) ProtoMessage()
func (*DeleteMessageInput) ProtoReflect ¶
func (x *DeleteMessageInput) ProtoReflect() protoreflect.Message
func (*DeleteMessageInput) Reset ¶
func (x *DeleteMessageInput) Reset()
func (*DeleteMessageInput) String ¶
func (x *DeleteMessageInput) String() string
type DeleteMessageOutput ¶
type DeleteMessageOutput struct {
// contains filtered or unexported fields
}
func (*DeleteMessageOutput) Descriptor
deprecated
func (*DeleteMessageOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageOutput.ProtoReflect.Descriptor instead.
func (*DeleteMessageOutput) ProtoMessage ¶
func (*DeleteMessageOutput) ProtoMessage()
func (*DeleteMessageOutput) ProtoReflect ¶
func (x *DeleteMessageOutput) ProtoReflect() protoreflect.Message
func (*DeleteMessageOutput) Reset ¶
func (x *DeleteMessageOutput) Reset()
func (*DeleteMessageOutput) String ¶
func (x *DeleteMessageOutput) String() string
type DeletePostInput ¶
type DeletePostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePostInput) Descriptor
deprecated
func (*DeletePostInput) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostInput.ProtoReflect.Descriptor instead.
func (*DeletePostInput) GetPostId ¶
func (x *DeletePostInput) GetPostId() string
func (*DeletePostInput) ProtoMessage ¶
func (*DeletePostInput) ProtoMessage()
func (*DeletePostInput) ProtoReflect ¶
func (x *DeletePostInput) ProtoReflect() protoreflect.Message
func (*DeletePostInput) Reset ¶
func (x *DeletePostInput) Reset()
func (*DeletePostInput) String ¶
func (x *DeletePostInput) String() string
type DeletePostOutput ¶
type DeletePostOutput struct { Reason *ecm.Content `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*DeletePostOutput) Descriptor
deprecated
func (*DeletePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostOutput.ProtoReflect.Descriptor instead.
func (*DeletePostOutput) GetReason ¶
func (x *DeletePostOutput) GetReason() *ecm.Content
func (*DeletePostOutput) ProtoMessage ¶
func (*DeletePostOutput) ProtoMessage()
func (*DeletePostOutput) ProtoReflect ¶
func (x *DeletePostOutput) ProtoReflect() protoreflect.Message
func (*DeletePostOutput) Reset ¶
func (x *DeletePostOutput) Reset()
func (*DeletePostOutput) String ¶
func (x *DeletePostOutput) String() string
type DeletePostTranslationInput ¶
type DeletePostTranslationInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` TranslationId string `protobuf:"bytes,2,opt,name=translation_id,json=translationId,proto3" json:"translation_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePostTranslationInput) Descriptor
deprecated
func (*DeletePostTranslationInput) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostTranslationInput.ProtoReflect.Descriptor instead.
func (*DeletePostTranslationInput) GetPostId ¶
func (x *DeletePostTranslationInput) GetPostId() string
func (*DeletePostTranslationInput) GetTranslationId ¶
func (x *DeletePostTranslationInput) GetTranslationId() string
func (*DeletePostTranslationInput) ProtoMessage ¶
func (*DeletePostTranslationInput) ProtoMessage()
func (*DeletePostTranslationInput) ProtoReflect ¶
func (x *DeletePostTranslationInput) ProtoReflect() protoreflect.Message
func (*DeletePostTranslationInput) Reset ¶
func (x *DeletePostTranslationInput) Reset()
func (*DeletePostTranslationInput) String ¶
func (x *DeletePostTranslationInput) String() string
type DeletePostTranslationOutput ¶
type DeletePostTranslationOutput struct {
// contains filtered or unexported fields
}
func (*DeletePostTranslationOutput) Descriptor
deprecated
func (*DeletePostTranslationOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostTranslationOutput.ProtoReflect.Descriptor instead.
func (*DeletePostTranslationOutput) ProtoMessage ¶
func (*DeletePostTranslationOutput) ProtoMessage()
func (*DeletePostTranslationOutput) ProtoReflect ¶
func (x *DeletePostTranslationOutput) ProtoReflect() protoreflect.Message
func (*DeletePostTranslationOutput) Reset ¶
func (x *DeletePostTranslationOutput) Reset()
func (*DeletePostTranslationOutput) String ¶
func (x *DeletePostTranslationOutput) String() string
type DeletePostTypeInput ¶
type DeletePostTypeInput struct { TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // contains filtered or unexported fields }
func (*DeletePostTypeInput) Descriptor
deprecated
func (*DeletePostTypeInput) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostTypeInput.ProtoReflect.Descriptor instead.
func (*DeletePostTypeInput) GetTypeId ¶
func (x *DeletePostTypeInput) GetTypeId() string
func (*DeletePostTypeInput) ProtoMessage ¶
func (*DeletePostTypeInput) ProtoMessage()
func (*DeletePostTypeInput) ProtoReflect ¶
func (x *DeletePostTypeInput) ProtoReflect() protoreflect.Message
func (*DeletePostTypeInput) Reset ¶
func (x *DeletePostTypeInput) Reset()
func (*DeletePostTypeInput) String ¶
func (x *DeletePostTypeInput) String() string
type DeletePostTypeOutput ¶
type DeletePostTypeOutput struct {
// contains filtered or unexported fields
}
func (*DeletePostTypeOutput) Descriptor
deprecated
func (*DeletePostTypeOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostTypeOutput.ProtoReflect.Descriptor instead.
func (*DeletePostTypeOutput) ProtoMessage ¶
func (*DeletePostTypeOutput) ProtoMessage()
func (*DeletePostTypeOutput) ProtoReflect ¶
func (x *DeletePostTypeOutput) ProtoReflect() protoreflect.Message
func (*DeletePostTypeOutput) Reset ¶
func (x *DeletePostTypeOutput) Reset()
func (*DeletePostTypeOutput) String ¶
func (x *DeletePostTypeOutput) String() string
type DescribeDiscussionConfigInput ¶
type DescribeDiscussionConfigInput struct {
// contains filtered or unexported fields
}
func (*DescribeDiscussionConfigInput) Descriptor
deprecated
func (*DescribeDiscussionConfigInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDiscussionConfigInput.ProtoReflect.Descriptor instead.
func (*DescribeDiscussionConfigInput) ProtoMessage ¶
func (*DescribeDiscussionConfigInput) ProtoMessage()
func (*DescribeDiscussionConfigInput) ProtoReflect ¶
func (x *DescribeDiscussionConfigInput) ProtoReflect() protoreflect.Message
func (*DescribeDiscussionConfigInput) Reset ¶
func (x *DescribeDiscussionConfigInput) Reset()
func (*DescribeDiscussionConfigInput) String ¶
func (x *DescribeDiscussionConfigInput) String() string
type DescribeDiscussionConfigOutput ¶
type DescribeDiscussionConfigOutput struct { Config *Configuration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*DescribeDiscussionConfigOutput) Descriptor
deprecated
func (*DescribeDiscussionConfigOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeDiscussionConfigOutput.ProtoReflect.Descriptor instead.
func (*DescribeDiscussionConfigOutput) GetConfig ¶
func (x *DescribeDiscussionConfigOutput) GetConfig() *Configuration
func (*DescribeDiscussionConfigOutput) ProtoMessage ¶
func (*DescribeDiscussionConfigOutput) ProtoMessage()
func (*DescribeDiscussionConfigOutput) ProtoReflect ¶
func (x *DescribeDiscussionConfigOutput) ProtoReflect() protoreflect.Message
func (*DescribeDiscussionConfigOutput) Reset ¶
func (x *DescribeDiscussionConfigOutput) Reset()
func (*DescribeDiscussionConfigOutput) String ¶
func (x *DescribeDiscussionConfigOutput) String() string
type DescribeMessageInput ¶
type DescribeMessageInput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Render bool `protobuf:"varint,2,opt,name=render,proto3" json:"render,omitempty"` Extra []Message_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.Message_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*DescribeMessageInput) Descriptor
deprecated
func (*DescribeMessageInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeMessageInput.ProtoReflect.Descriptor instead.
func (*DescribeMessageInput) GetExtra ¶
func (x *DescribeMessageInput) GetExtra() []Message_Extra
func (*DescribeMessageInput) GetMessageId ¶
func (x *DescribeMessageInput) GetMessageId() string
func (*DescribeMessageInput) GetRender ¶
func (x *DescribeMessageInput) GetRender() bool
func (*DescribeMessageInput) ProtoMessage ¶
func (*DescribeMessageInput) ProtoMessage()
func (*DescribeMessageInput) ProtoReflect ¶
func (x *DescribeMessageInput) ProtoReflect() protoreflect.Message
func (*DescribeMessageInput) Reset ¶
func (x *DescribeMessageInput) Reset()
func (*DescribeMessageInput) String ¶
func (x *DescribeMessageInput) String() string
type DescribeMessageOutput ¶
type DescribeMessageOutput struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DescribeMessageOutput) Descriptor
deprecated
func (*DescribeMessageOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeMessageOutput.ProtoReflect.Descriptor instead.
func (*DescribeMessageOutput) GetMessage ¶
func (x *DescribeMessageOutput) GetMessage() *Message
func (*DescribeMessageOutput) ProtoMessage ¶
func (*DescribeMessageOutput) ProtoMessage()
func (*DescribeMessageOutput) ProtoReflect ¶
func (x *DescribeMessageOutput) ProtoReflect() protoreflect.Message
func (*DescribeMessageOutput) Reset ¶
func (x *DescribeMessageOutput) Reset()
func (*DescribeMessageOutput) String ¶
func (x *DescribeMessageOutput) String() string
type DescribePostInput ¶
type DescribePostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Locale string `protobuf:"bytes,60,opt,name=locale,proto3" json:"locale,omitempty"` Extra []Post_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.Post_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*DescribePostInput) Descriptor
deprecated
func (*DescribePostInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribePostInput.ProtoReflect.Descriptor instead.
func (*DescribePostInput) GetExtra ¶
func (x *DescribePostInput) GetExtra() []Post_Extra
func (*DescribePostInput) GetLocale ¶
func (x *DescribePostInput) GetLocale() string
func (*DescribePostInput) GetPostId ¶
func (x *DescribePostInput) GetPostId() string
func (*DescribePostInput) ProtoMessage ¶
func (*DescribePostInput) ProtoMessage()
func (*DescribePostInput) ProtoReflect ¶
func (x *DescribePostInput) ProtoReflect() protoreflect.Message
func (*DescribePostInput) Reset ¶
func (x *DescribePostInput) Reset()
func (*DescribePostInput) String ¶
func (x *DescribePostInput) String() string
type DescribePostOutput ¶
type DescribePostOutput struct { Post *Post `protobuf:"bytes,1,opt,name=post,proto3" json:"post,omitempty"` // contains filtered or unexported fields }
func (*DescribePostOutput) Descriptor
deprecated
func (*DescribePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribePostOutput.ProtoReflect.Descriptor instead.
func (*DescribePostOutput) GetPost ¶
func (x *DescribePostOutput) GetPost() *Post
func (*DescribePostOutput) ProtoMessage ¶
func (*DescribePostOutput) ProtoMessage()
func (*DescribePostOutput) ProtoReflect ¶
func (x *DescribePostOutput) ProtoReflect() protoreflect.Message
func (*DescribePostOutput) Reset ¶
func (x *DescribePostOutput) Reset()
func (*DescribePostOutput) String ¶
func (x *DescribePostOutput) String() string
type DescribePostTranslationInput ¶
type DescribePostTranslationInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` TranslationId string `protobuf:"bytes,2,opt,name=translation_id,json=translationId,proto3" json:"translation_id,omitempty"` Extra []Post_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.Post_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*DescribePostTranslationInput) Descriptor
deprecated
func (*DescribePostTranslationInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribePostTranslationInput.ProtoReflect.Descriptor instead.
func (*DescribePostTranslationInput) GetExtra ¶
func (x *DescribePostTranslationInput) GetExtra() []Post_Extra
func (*DescribePostTranslationInput) GetPostId ¶
func (x *DescribePostTranslationInput) GetPostId() string
func (*DescribePostTranslationInput) GetTranslationId ¶
func (x *DescribePostTranslationInput) GetTranslationId() string
func (*DescribePostTranslationInput) ProtoMessage ¶
func (*DescribePostTranslationInput) ProtoMessage()
func (*DescribePostTranslationInput) ProtoReflect ¶
func (x *DescribePostTranslationInput) ProtoReflect() protoreflect.Message
func (*DescribePostTranslationInput) Reset ¶
func (x *DescribePostTranslationInput) Reset()
func (*DescribePostTranslationInput) String ¶
func (x *DescribePostTranslationInput) String() string
type DescribePostTranslationOutput ¶
type DescribePostTranslationOutput struct { Translation *Post_Translation `protobuf:"bytes,1,opt,name=translation,proto3" json:"translation,omitempty"` // contains filtered or unexported fields }
func (*DescribePostTranslationOutput) Descriptor
deprecated
func (*DescribePostTranslationOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribePostTranslationOutput.ProtoReflect.Descriptor instead.
func (*DescribePostTranslationOutput) GetTranslation ¶
func (x *DescribePostTranslationOutput) GetTranslation() *Post_Translation
func (*DescribePostTranslationOutput) ProtoMessage ¶
func (*DescribePostTranslationOutput) ProtoMessage()
func (*DescribePostTranslationOutput) ProtoReflect ¶
func (x *DescribePostTranslationOutput) ProtoReflect() protoreflect.Message
func (*DescribePostTranslationOutput) Reset ¶
func (x *DescribePostTranslationOutput) Reset()
func (*DescribePostTranslationOutput) String ¶
func (x *DescribePostTranslationOutput) String() string
type DescribePostTypeInput ¶
type DescribePostTypeInput struct { TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` Locale string `protobuf:"bytes,10,opt,name=locale,proto3" json:"locale,omitempty"` // if set, load type name in a given locale Extra []PostType_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.PostType_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*DescribePostTypeInput) Descriptor
deprecated
func (*DescribePostTypeInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribePostTypeInput.ProtoReflect.Descriptor instead.
func (*DescribePostTypeInput) GetExtra ¶
func (x *DescribePostTypeInput) GetExtra() []PostType_Extra
func (*DescribePostTypeInput) GetLocale ¶
func (x *DescribePostTypeInput) GetLocale() string
func (*DescribePostTypeInput) GetTypeId ¶
func (x *DescribePostTypeInput) GetTypeId() string
func (*DescribePostTypeInput) ProtoMessage ¶
func (*DescribePostTypeInput) ProtoMessage()
func (*DescribePostTypeInput) ProtoReflect ¶
func (x *DescribePostTypeInput) ProtoReflect() protoreflect.Message
func (*DescribePostTypeInput) Reset ¶
func (x *DescribePostTypeInput) Reset()
func (*DescribePostTypeInput) String ¶
func (x *DescribePostTypeInput) String() string
type DescribePostTypeOutput ¶
type DescribePostTypeOutput struct { Type *PostType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*DescribePostTypeOutput) Descriptor
deprecated
func (*DescribePostTypeOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribePostTypeOutput.ProtoReflect.Descriptor instead.
func (*DescribePostTypeOutput) GetType ¶
func (x *DescribePostTypeOutput) GetType() *PostType
func (*DescribePostTypeOutput) ProtoMessage ¶
func (*DescribePostTypeOutput) ProtoMessage()
func (*DescribePostTypeOutput) ProtoReflect ¶
func (x *DescribePostTypeOutput) ProtoReflect() protoreflect.Message
func (*DescribePostTypeOutput) Reset ¶
func (x *DescribePostTypeOutput) Reset()
func (*DescribePostTypeOutput) String ¶
func (x *DescribePostTypeOutput) String() string
type DescribeSubscriptionInput ¶
type DescribeSubscriptionInput struct {
// contains filtered or unexported fields
}
func (*DescribeSubscriptionInput) Descriptor
deprecated
func (*DescribeSubscriptionInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeSubscriptionInput.ProtoReflect.Descriptor instead.
func (*DescribeSubscriptionInput) ProtoMessage ¶
func (*DescribeSubscriptionInput) ProtoMessage()
func (*DescribeSubscriptionInput) ProtoReflect ¶
func (x *DescribeSubscriptionInput) ProtoReflect() protoreflect.Message
func (*DescribeSubscriptionInput) Reset ¶
func (x *DescribeSubscriptionInput) Reset()
func (*DescribeSubscriptionInput) String ¶
func (x *DescribeSubscriptionInput) String() string
type DescribeSubscriptionOutput ¶
type DescribeSubscriptionOutput struct { Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*DescribeSubscriptionOutput) Descriptor
deprecated
func (*DescribeSubscriptionOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeSubscriptionOutput.ProtoReflect.Descriptor instead.
func (*DescribeSubscriptionOutput) GetSubscription ¶
func (x *DescribeSubscriptionOutput) GetSubscription() *Subscription
func (*DescribeSubscriptionOutput) ProtoMessage ¶
func (*DescribeSubscriptionOutput) ProtoMessage()
func (*DescribeSubscriptionOutput) ProtoReflect ¶
func (x *DescribeSubscriptionOutput) ProtoReflect() protoreflect.Message
func (*DescribeSubscriptionOutput) Reset ¶
func (x *DescribeSubscriptionOutput) Reset()
func (*DescribeSubscriptionOutput) String ¶
func (x *DescribeSubscriptionOutput) String() string
type DescribeThreadInput ¶
type DescribeThreadInput struct { Locale string `protobuf:"bytes,10,opt,name=locale,proto3" json:"locale,omitempty"` // locale preference // contains filtered or unexported fields }
func (*DescribeThreadInput) Descriptor
deprecated
func (*DescribeThreadInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeThreadInput.ProtoReflect.Descriptor instead.
func (*DescribeThreadInput) GetLocale ¶
func (x *DescribeThreadInput) GetLocale() string
func (*DescribeThreadInput) ProtoMessage ¶
func (*DescribeThreadInput) ProtoMessage()
func (*DescribeThreadInput) ProtoReflect ¶
func (x *DescribeThreadInput) ProtoReflect() protoreflect.Message
func (*DescribeThreadInput) Reset ¶
func (x *DescribeThreadInput) Reset()
func (*DescribeThreadInput) String ¶
func (x *DescribeThreadInput) String() string
type DescribeThreadOutput ¶
type DescribeThreadOutput struct { Thread *Thread `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"` // contains filtered or unexported fields }
func (*DescribeThreadOutput) Descriptor
deprecated
func (*DescribeThreadOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeThreadOutput.ProtoReflect.Descriptor instead.
func (*DescribeThreadOutput) GetThread ¶
func (x *DescribeThreadOutput) GetThread() *Thread
func (*DescribeThreadOutput) ProtoMessage ¶
func (*DescribeThreadOutput) ProtoMessage()
func (*DescribeThreadOutput) ProtoReflect ¶
func (x *DescribeThreadOutput) ProtoReflect() protoreflect.Message
func (*DescribeThreadOutput) Reset ¶
func (x *DescribeThreadOutput) Reset()
func (*DescribeThreadOutput) String ¶
func (x *DescribeThreadOutput) String() string
type ListMessageChangesInput ¶
type ListMessageChangesInput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*ListMessageChangesInput) Descriptor
deprecated
func (*ListMessageChangesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListMessageChangesInput.ProtoReflect.Descriptor instead.
func (*ListMessageChangesInput) GetMessageId ¶
func (x *ListMessageChangesInput) GetMessageId() string
func (*ListMessageChangesInput) ProtoMessage ¶
func (*ListMessageChangesInput) ProtoMessage()
func (*ListMessageChangesInput) ProtoReflect ¶
func (x *ListMessageChangesInput) ProtoReflect() protoreflect.Message
func (*ListMessageChangesInput) Reset ¶
func (x *ListMessageChangesInput) Reset()
func (*ListMessageChangesInput) String ¶
func (x *ListMessageChangesInput) String() string
type ListMessageChangesOutput ¶
type ListMessageChangesOutput struct { History []*ListMessageChangesOutput_Record `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
func (*ListMessageChangesOutput) Descriptor
deprecated
func (*ListMessageChangesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListMessageChangesOutput.ProtoReflect.Descriptor instead.
func (*ListMessageChangesOutput) GetHistory ¶
func (x *ListMessageChangesOutput) GetHistory() []*ListMessageChangesOutput_Record
func (*ListMessageChangesOutput) ProtoMessage ¶
func (*ListMessageChangesOutput) ProtoMessage()
func (*ListMessageChangesOutput) ProtoReflect ¶
func (x *ListMessageChangesOutput) ProtoReflect() protoreflect.Message
func (*ListMessageChangesOutput) Reset ¶
func (x *ListMessageChangesOutput) Reset()
func (*ListMessageChangesOutput) String ¶
func (x *ListMessageChangesOutput) String() string
type ListMessageChangesOutput_Record ¶
type ListMessageChangesOutput_Record struct { Revision int32 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Message *ecm.Content `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ListMessageChangesOutput_Record) Descriptor
deprecated
func (*ListMessageChangesOutput_Record) Descriptor() ([]byte, []int)
Deprecated: Use ListMessageChangesOutput_Record.ProtoReflect.Descriptor instead.
func (*ListMessageChangesOutput_Record) GetMessage ¶
func (x *ListMessageChangesOutput_Record) GetMessage() *ecm.Content
func (*ListMessageChangesOutput_Record) GetRevision ¶
func (x *ListMessageChangesOutput_Record) GetRevision() int32
func (*ListMessageChangesOutput_Record) GetTimestamp ¶
func (x *ListMessageChangesOutput_Record) GetTimestamp() *timestamppb.Timestamp
func (*ListMessageChangesOutput_Record) ProtoMessage ¶
func (*ListMessageChangesOutput_Record) ProtoMessage()
func (*ListMessageChangesOutput_Record) ProtoReflect ¶
func (x *ListMessageChangesOutput_Record) ProtoReflect() protoreflect.Message
func (*ListMessageChangesOutput_Record) Reset ¶
func (x *ListMessageChangesOutput_Record) Reset()
func (*ListMessageChangesOutput_Record) String ¶
func (x *ListMessageChangesOutput_Record) String() string
type ListMessagesInput ¶
type ListMessagesInput struct { Render bool `protobuf:"varint,1,opt,name=render,proto3" json:"render,omitempty"` // pagination After string `protobuf:"bytes,10,opt,name=after,proto3" json:"after,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` Sort ListMessagesInput_Sortable `protobuf:"varint,50,opt,name=sort,proto3,enum=eolymp.discussion.ListMessagesInput_Sortable" json:"sort,omitempty"` Order wellknown.Direction `protobuf:"varint,51,opt,name=order,proto3,enum=eolymp.wellknown.Direction" json:"order,omitempty"` // data filters Filters *ListMessagesInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` Extra []Message_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.Message_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*ListMessagesInput) Descriptor
deprecated
func (*ListMessagesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListMessagesInput.ProtoReflect.Descriptor instead.
func (*ListMessagesInput) GetAfter ¶
func (x *ListMessagesInput) GetAfter() string
func (*ListMessagesInput) GetExtra ¶
func (x *ListMessagesInput) GetExtra() []Message_Extra
func (*ListMessagesInput) GetFilters ¶
func (x *ListMessagesInput) GetFilters() *ListMessagesInput_Filter
func (*ListMessagesInput) GetOrder ¶
func (x *ListMessagesInput) GetOrder() wellknown.Direction
func (*ListMessagesInput) GetRender ¶
func (x *ListMessagesInput) GetRender() bool
func (*ListMessagesInput) GetSize ¶
func (x *ListMessagesInput) GetSize() int32
func (*ListMessagesInput) GetSort ¶
func (x *ListMessagesInput) GetSort() ListMessagesInput_Sortable
func (*ListMessagesInput) ProtoMessage ¶
func (*ListMessagesInput) ProtoMessage()
func (*ListMessagesInput) ProtoReflect ¶
func (x *ListMessagesInput) ProtoReflect() protoreflect.Message
func (*ListMessagesInput) Reset ¶
func (x *ListMessagesInput) Reset()
func (*ListMessagesInput) String ¶
func (x *ListMessagesInput) String() string
type ListMessagesInput_Filter ¶
type ListMessagesInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` ReplyTo []*wellknown.ExpressionID `protobuf:"bytes,3,rep,name=reply_to,json=replyTo,proto3" json:"reply_to,omitempty"` MemberId []*wellknown.ExpressionID `protobuf:"bytes,4,rep,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` ThreadId []*wellknown.ExpressionID `protobuf:"bytes,5,rep,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` VoteCount []*wellknown.ExpressionInt `protobuf:"bytes,6,rep,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` ReplyCount []*wellknown.ExpressionInt `protobuf:"bytes,7,rep,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"` PostedAt []*wellknown.ExpressionTimestamp `protobuf:"bytes,8,rep,name=posted_at,json=postedAt,proto3" json:"posted_at,omitempty"` // contains filtered or unexported fields }
func (*ListMessagesInput_Filter) Descriptor
deprecated
func (*ListMessagesInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListMessagesInput_Filter.ProtoReflect.Descriptor instead.
func (*ListMessagesInput_Filter) GetId ¶
func (x *ListMessagesInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListMessagesInput_Filter) GetMemberId ¶
func (x *ListMessagesInput_Filter) GetMemberId() []*wellknown.ExpressionID
func (*ListMessagesInput_Filter) GetPostedAt ¶
func (x *ListMessagesInput_Filter) GetPostedAt() []*wellknown.ExpressionTimestamp
func (*ListMessagesInput_Filter) GetQuery ¶
func (x *ListMessagesInput_Filter) GetQuery() string
func (*ListMessagesInput_Filter) GetReplyCount ¶
func (x *ListMessagesInput_Filter) GetReplyCount() []*wellknown.ExpressionInt
func (*ListMessagesInput_Filter) GetReplyTo ¶
func (x *ListMessagesInput_Filter) GetReplyTo() []*wellknown.ExpressionID
func (*ListMessagesInput_Filter) GetThreadId ¶
func (x *ListMessagesInput_Filter) GetThreadId() []*wellknown.ExpressionID
func (*ListMessagesInput_Filter) GetVoteCount ¶
func (x *ListMessagesInput_Filter) GetVoteCount() []*wellknown.ExpressionInt
func (*ListMessagesInput_Filter) ProtoMessage ¶
func (*ListMessagesInput_Filter) ProtoMessage()
func (*ListMessagesInput_Filter) ProtoReflect ¶
func (x *ListMessagesInput_Filter) ProtoReflect() protoreflect.Message
func (*ListMessagesInput_Filter) Reset ¶
func (x *ListMessagesInput_Filter) Reset()
func (*ListMessagesInput_Filter) String ¶
func (x *ListMessagesInput_Filter) String() string
type ListMessagesInput_Sortable ¶
type ListMessagesInput_Sortable int32
const ( ListMessagesInput_DEFAULT ListMessagesInput_Sortable = 0 ListMessagesInput_POSTED_AT ListMessagesInput_Sortable = 1 ListMessagesInput_VOTE_COUNT ListMessagesInput_Sortable = 2 ListMessagesInput_REPLY_COUNT ListMessagesInput_Sortable = 3 )
func (ListMessagesInput_Sortable) Descriptor ¶
func (ListMessagesInput_Sortable) Descriptor() protoreflect.EnumDescriptor
func (ListMessagesInput_Sortable) Enum ¶
func (x ListMessagesInput_Sortable) Enum() *ListMessagesInput_Sortable
func (ListMessagesInput_Sortable) EnumDescriptor
deprecated
func (ListMessagesInput_Sortable) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListMessagesInput_Sortable.Descriptor instead.
func (ListMessagesInput_Sortable) Number ¶
func (x ListMessagesInput_Sortable) Number() protoreflect.EnumNumber
func (ListMessagesInput_Sortable) String ¶
func (x ListMessagesInput_Sortable) String() string
func (ListMessagesInput_Sortable) Type ¶
func (ListMessagesInput_Sortable) Type() protoreflect.EnumType
type ListMessagesOutput ¶
type ListMessagesOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Message `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListMessagesOutput) Descriptor
deprecated
func (*ListMessagesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListMessagesOutput.ProtoReflect.Descriptor instead.
func (*ListMessagesOutput) GetItems ¶
func (x *ListMessagesOutput) GetItems() []*Message
func (*ListMessagesOutput) GetTotal ¶
func (x *ListMessagesOutput) GetTotal() int32
func (*ListMessagesOutput) ProtoMessage ¶
func (*ListMessagesOutput) ProtoMessage()
func (*ListMessagesOutput) ProtoReflect ¶
func (x *ListMessagesOutput) ProtoReflect() protoreflect.Message
func (*ListMessagesOutput) Reset ¶
func (x *ListMessagesOutput) Reset()
func (*ListMessagesOutput) String ¶
func (x *ListMessagesOutput) String() string
type ListPostTranslationsInput ¶
type ListPostTranslationsInput struct { PostId string `protobuf:"bytes,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListPostTranslationsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` Extra []Post_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.Post_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*ListPostTranslationsInput) Descriptor
deprecated
func (*ListPostTranslationsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListPostTranslationsInput.ProtoReflect.Descriptor instead.
func (*ListPostTranslationsInput) GetExtra ¶
func (x *ListPostTranslationsInput) GetExtra() []Post_Extra
func (*ListPostTranslationsInput) GetFilters ¶
func (x *ListPostTranslationsInput) GetFilters() *ListPostTranslationsInput_Filter
func (*ListPostTranslationsInput) GetOffset ¶
func (x *ListPostTranslationsInput) GetOffset() int32
func (*ListPostTranslationsInput) GetPostId ¶
func (x *ListPostTranslationsInput) GetPostId() string
func (*ListPostTranslationsInput) GetSize ¶
func (x *ListPostTranslationsInput) GetSize() int32
func (*ListPostTranslationsInput) ProtoMessage ¶
func (*ListPostTranslationsInput) ProtoMessage()
func (*ListPostTranslationsInput) ProtoReflect ¶
func (x *ListPostTranslationsInput) ProtoReflect() protoreflect.Message
func (*ListPostTranslationsInput) Reset ¶
func (x *ListPostTranslationsInput) Reset()
func (*ListPostTranslationsInput) String ¶
func (x *ListPostTranslationsInput) String() string
type ListPostTranslationsInput_Filter ¶
type ListPostTranslationsInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` Locale []*wellknown.ExpressionEnum `protobuf:"bytes,4,rep,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*ListPostTranslationsInput_Filter) Descriptor
deprecated
func (*ListPostTranslationsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListPostTranslationsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListPostTranslationsInput_Filter) GetId ¶
func (x *ListPostTranslationsInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListPostTranslationsInput_Filter) GetLocale ¶
func (x *ListPostTranslationsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
func (*ListPostTranslationsInput_Filter) GetQuery ¶
func (x *ListPostTranslationsInput_Filter) GetQuery() string
func (*ListPostTranslationsInput_Filter) ProtoMessage ¶
func (*ListPostTranslationsInput_Filter) ProtoMessage()
func (*ListPostTranslationsInput_Filter) ProtoReflect ¶
func (x *ListPostTranslationsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListPostTranslationsInput_Filter) Reset ¶
func (x *ListPostTranslationsInput_Filter) Reset()
func (*ListPostTranslationsInput_Filter) String ¶
func (x *ListPostTranslationsInput_Filter) String() string
type ListPostTranslationsOutput ¶
type ListPostTranslationsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Post_Translation `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListPostTranslationsOutput) Descriptor
deprecated
func (*ListPostTranslationsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListPostTranslationsOutput.ProtoReflect.Descriptor instead.
func (*ListPostTranslationsOutput) GetItems ¶
func (x *ListPostTranslationsOutput) GetItems() []*Post_Translation
func (*ListPostTranslationsOutput) GetTotal ¶
func (x *ListPostTranslationsOutput) GetTotal() int32
func (*ListPostTranslationsOutput) ProtoMessage ¶
func (*ListPostTranslationsOutput) ProtoMessage()
func (*ListPostTranslationsOutput) ProtoReflect ¶
func (x *ListPostTranslationsOutput) ProtoReflect() protoreflect.Message
func (*ListPostTranslationsOutput) Reset ¶
func (x *ListPostTranslationsOutput) Reset()
func (*ListPostTranslationsOutput) String ¶
func (x *ListPostTranslationsOutput) String() string
type ListPostTypesInput ¶
type ListPostTypesInput struct { Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` Locale string `protobuf:"bytes,20,opt,name=locale,proto3" json:"locale,omitempty"` // if set, load type name in a given locale Extra []PostType_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.PostType_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*ListPostTypesInput) Descriptor
deprecated
func (*ListPostTypesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListPostTypesInput.ProtoReflect.Descriptor instead.
func (*ListPostTypesInput) GetExtra ¶
func (x *ListPostTypesInput) GetExtra() []PostType_Extra
func (*ListPostTypesInput) GetLocale ¶
func (x *ListPostTypesInput) GetLocale() string
func (*ListPostTypesInput) GetOffset ¶
func (x *ListPostTypesInput) GetOffset() int32
func (*ListPostTypesInput) GetSize ¶
func (x *ListPostTypesInput) GetSize() int32
func (*ListPostTypesInput) ProtoMessage ¶
func (*ListPostTypesInput) ProtoMessage()
func (*ListPostTypesInput) ProtoReflect ¶
func (x *ListPostTypesInput) ProtoReflect() protoreflect.Message
func (*ListPostTypesInput) Reset ¶
func (x *ListPostTypesInput) Reset()
func (*ListPostTypesInput) String ¶
func (x *ListPostTypesInput) String() string
type ListPostTypesOutput ¶
type ListPostTypesOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*PostType `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListPostTypesOutput) Descriptor
deprecated
func (*ListPostTypesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListPostTypesOutput.ProtoReflect.Descriptor instead.
func (*ListPostTypesOutput) GetItems ¶
func (x *ListPostTypesOutput) GetItems() []*PostType
func (*ListPostTypesOutput) GetTotal ¶
func (x *ListPostTypesOutput) GetTotal() int32
func (*ListPostTypesOutput) ProtoMessage ¶
func (*ListPostTypesOutput) ProtoMessage()
func (*ListPostTypesOutput) ProtoReflect ¶
func (x *ListPostTypesOutput) ProtoReflect() protoreflect.Message
func (*ListPostTypesOutput) Reset ¶
func (x *ListPostTypesOutput) Reset()
func (*ListPostTypesOutput) String ¶
func (x *ListPostTypesOutput) String() string
type ListPostsInput ¶
type ListPostsInput struct { // pagination After string `protobuf:"bytes,10,opt,name=after,proto3" json:"after,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` Offset int32 `protobuf:"varint,12,opt,name=offset,proto3" json:"offset,omitempty"` // pagination using offset, only if after is empty Sort ListPostsInput_Sort `protobuf:"varint,50,opt,name=sort,proto3,enum=eolymp.discussion.ListPostsInput_Sort" json:"sort,omitempty"` Order wellknown.Direction `protobuf:"varint,51,opt,name=order,proto3,enum=eolymp.wellknown.Direction" json:"order,omitempty"` // data filters Filters *ListPostsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` Locale string `protobuf:"bytes,60,opt,name=locale,proto3" json:"locale,omitempty"` Extra []Post_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.discussion.Post_Extra" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*ListPostsInput) Descriptor
deprecated
func (*ListPostsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListPostsInput.ProtoReflect.Descriptor instead.
func (*ListPostsInput) GetAfter ¶
func (x *ListPostsInput) GetAfter() string
func (*ListPostsInput) GetExtra ¶
func (x *ListPostsInput) GetExtra() []Post_Extra
func (*ListPostsInput) GetFilters ¶
func (x *ListPostsInput) GetFilters() *ListPostsInput_Filter
func (*ListPostsInput) GetLocale ¶
func (x *ListPostsInput) GetLocale() string
func (*ListPostsInput) GetOffset ¶
func (x *ListPostsInput) GetOffset() int32
func (*ListPostsInput) GetOrder ¶
func (x *ListPostsInput) GetOrder() wellknown.Direction
func (*ListPostsInput) GetSize ¶
func (x *ListPostsInput) GetSize() int32
func (*ListPostsInput) GetSort ¶
func (x *ListPostsInput) GetSort() ListPostsInput_Sort
func (*ListPostsInput) ProtoMessage ¶
func (*ListPostsInput) ProtoMessage()
func (*ListPostsInput) ProtoReflect ¶
func (x *ListPostsInput) ProtoReflect() protoreflect.Message
func (*ListPostsInput) Reset ¶
func (x *ListPostsInput) Reset()
func (*ListPostsInput) String ¶
func (x *ListPostsInput) String() string
type ListPostsInput_Filter ¶
type ListPostsInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` SourceId []*wellknown.ExpressionID `protobuf:"bytes,13,rep,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` UserId []*wellknown.ExpressionID `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` MemberId []*wellknown.ExpressionID `protobuf:"bytes,4,rep,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` TypeId []*wellknown.ExpressionID `protobuf:"bytes,8,rep,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` CreatedAt []*wellknown.ExpressionTimestamp `protobuf:"bytes,5,rep,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` PublishedAt []*wellknown.ExpressionTimestamp `protobuf:"bytes,6,rep,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` Draft []*wellknown.ExpressionBool `protobuf:"bytes,14,rep,name=draft,proto3" json:"draft,omitempty"` Public []*wellknown.ExpressionBool `protobuf:"bytes,12,rep,name=public,proto3" json:"public,omitempty"` Featured []*wellknown.ExpressionBool `protobuf:"bytes,15,rep,name=featured,proto3" json:"featured,omitempty"` Moderation []*wellknown.ExpressionEnum `protobuf:"bytes,11,rep,name=moderation,proto3" json:"moderation,omitempty"` Locale []*wellknown.ExpressionEnum `protobuf:"bytes,9,rep,name=locale,proto3" json:"locale,omitempty"` Label []*wellknown.ExpressionEnum `protobuf:"bytes,10,rep,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*ListPostsInput_Filter) Descriptor
deprecated
func (*ListPostsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListPostsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListPostsInput_Filter) GetCreatedAt ¶
func (x *ListPostsInput_Filter) GetCreatedAt() []*wellknown.ExpressionTimestamp
func (*ListPostsInput_Filter) GetDraft ¶
func (x *ListPostsInput_Filter) GetDraft() []*wellknown.ExpressionBool
func (*ListPostsInput_Filter) GetFeatured ¶
func (x *ListPostsInput_Filter) GetFeatured() []*wellknown.ExpressionBool
func (*ListPostsInput_Filter) GetId ¶
func (x *ListPostsInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListPostsInput_Filter) GetLabel ¶
func (x *ListPostsInput_Filter) GetLabel() []*wellknown.ExpressionEnum
func (*ListPostsInput_Filter) GetLocale ¶
func (x *ListPostsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
func (*ListPostsInput_Filter) GetMemberId ¶
func (x *ListPostsInput_Filter) GetMemberId() []*wellknown.ExpressionID
func (*ListPostsInput_Filter) GetModeration ¶
func (x *ListPostsInput_Filter) GetModeration() []*wellknown.ExpressionEnum
func (*ListPostsInput_Filter) GetPublic ¶
func (x *ListPostsInput_Filter) GetPublic() []*wellknown.ExpressionBool
func (*ListPostsInput_Filter) GetPublishedAt ¶
func (x *ListPostsInput_Filter) GetPublishedAt() []*wellknown.ExpressionTimestamp
func (*ListPostsInput_Filter) GetQuery ¶
func (x *ListPostsInput_Filter) GetQuery() string
func (*ListPostsInput_Filter) GetSourceId ¶
func (x *ListPostsInput_Filter) GetSourceId() []*wellknown.ExpressionID
func (*ListPostsInput_Filter) GetTypeId ¶
func (x *ListPostsInput_Filter) GetTypeId() []*wellknown.ExpressionID
func (*ListPostsInput_Filter) GetUserId ¶
func (x *ListPostsInput_Filter) GetUserId() []*wellknown.ExpressionID
func (*ListPostsInput_Filter) ProtoMessage ¶
func (*ListPostsInput_Filter) ProtoMessage()
func (*ListPostsInput_Filter) ProtoReflect ¶
func (x *ListPostsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListPostsInput_Filter) Reset ¶
func (x *ListPostsInput_Filter) Reset()
func (*ListPostsInput_Filter) String ¶
func (x *ListPostsInput_Filter) String() string
type ListPostsInput_Sort ¶
type ListPostsInput_Sort int32
const ( ListPostsInput_UNKNOWN_SORT ListPostsInput_Sort = 0 ListPostsInput_PUBLISHED_AT ListPostsInput_Sort = 1 ListPostsInput_CREATED_AT ListPostsInput_Sort = 2 ListPostsInput_VOTE_COUNT ListPostsInput_Sort = 3 ListPostsInput_REPLY_COUNT ListPostsInput_Sort = 4 ListPostsInput_POPULARITY ListPostsInput_Sort = 5 )
func (ListPostsInput_Sort) Descriptor ¶
func (ListPostsInput_Sort) Descriptor() protoreflect.EnumDescriptor
func (ListPostsInput_Sort) Enum ¶
func (x ListPostsInput_Sort) Enum() *ListPostsInput_Sort
func (ListPostsInput_Sort) EnumDescriptor
deprecated
func (ListPostsInput_Sort) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListPostsInput_Sort.Descriptor instead.
func (ListPostsInput_Sort) Number ¶
func (x ListPostsInput_Sort) Number() protoreflect.EnumNumber
func (ListPostsInput_Sort) String ¶
func (x ListPostsInput_Sort) String() string
func (ListPostsInput_Sort) Type ¶
func (ListPostsInput_Sort) Type() protoreflect.EnumType
type ListPostsOutput ¶
type ListPostsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Post `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` NextPageCursor string `protobuf:"bytes,3,opt,name=next_page_cursor,json=nextPageCursor,proto3" json:"next_page_cursor,omitempty"` // contains filtered or unexported fields }
func (*ListPostsOutput) Descriptor
deprecated
func (*ListPostsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListPostsOutput.ProtoReflect.Descriptor instead.
func (*ListPostsOutput) GetItems ¶
func (x *ListPostsOutput) GetItems() []*Post
func (*ListPostsOutput) GetNextPageCursor ¶
func (x *ListPostsOutput) GetNextPageCursor() string
func (*ListPostsOutput) GetTotal ¶
func (x *ListPostsOutput) GetTotal() int32
func (*ListPostsOutput) ProtoMessage ¶
func (*ListPostsOutput) ProtoMessage()
func (*ListPostsOutput) ProtoReflect ¶
func (x *ListPostsOutput) ProtoReflect() protoreflect.Message
func (*ListPostsOutput) Reset ¶
func (x *ListPostsOutput) Reset()
func (*ListPostsOutput) String ¶
func (x *ListPostsOutput) String() string
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` ThreadUrl string `protobuf:"bytes,2,opt,name=thread_url,json=threadUrl,proto3" json:"thread_url,omitempty"` MemberId string `protobuf:"bytes,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` ReplyTo string `protobuf:"bytes,4,opt,name=reply_to,json=replyTo,proto3" json:"reply_to,omitempty"` Vote int32 `protobuf:"varint,12,opt,name=vote,proto3" json:"vote,omitempty"` // vote of authenticated user (+1 or -1) VoteCount int32 `protobuf:"varint,10,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // total vote count ReplyCount int32 `protobuf:"varint,11,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"` // total number of replies PostedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=posted_at,json=postedAt,proto3" json:"posted_at,omitempty"` EditedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=edited_at,json=editedAt,proto3" json:"edited_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` Revision int32 `protobuf:"varint,13,opt,name=revision,proto3" json:"revision,omitempty"` Message *ecm.Content `protobuf:"bytes,100,opt,name=message,proto3" json:"message,omitempty"` Links []*wellknown.Link `protobuf:"bytes,200,rep,name=links,proto3" json:"links,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetDeletedAt ¶
func (x *Message) GetDeletedAt() *timestamppb.Timestamp
func (*Message) GetEditedAt ¶
func (x *Message) GetEditedAt() *timestamppb.Timestamp
func (*Message) GetMemberId ¶
func (*Message) GetMessage ¶
func (*Message) GetPostedAt ¶
func (x *Message) GetPostedAt() *timestamppb.Timestamp
func (*Message) GetReplyCount ¶
func (*Message) GetReplyTo ¶
func (*Message) GetRevision ¶
func (*Message) GetThreadUrl ¶
func (*Message) GetVoteCount ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageChangedEvent ¶
type MessageChangedEvent struct { Scope string `protobuf:"bytes,10,opt,name=scope,proto3" json:"scope,omitempty"` Before *Message `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *Message `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*MessageChangedEvent) Descriptor
deprecated
func (*MessageChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use MessageChangedEvent.ProtoReflect.Descriptor instead.
func (*MessageChangedEvent) GetAfter ¶
func (x *MessageChangedEvent) GetAfter() *Message
func (*MessageChangedEvent) GetBefore ¶
func (x *MessageChangedEvent) GetBefore() *Message
func (*MessageChangedEvent) GetReason ¶
func (x *MessageChangedEvent) GetReason() string
func (*MessageChangedEvent) GetScope ¶
func (x *MessageChangedEvent) GetScope() string
func (*MessageChangedEvent) ProtoMessage ¶
func (*MessageChangedEvent) ProtoMessage()
func (*MessageChangedEvent) ProtoReflect ¶
func (x *MessageChangedEvent) ProtoReflect() protoreflect.Message
func (*MessageChangedEvent) Reset ¶
func (x *MessageChangedEvent) Reset()
func (*MessageChangedEvent) String ¶
func (x *MessageChangedEvent) String() string
type MessageServiceClient ¶
type MessageServiceClient interface { DescribeMessage(ctx context.Context, in *DescribeMessageInput, opts ...grpc.CallOption) (*DescribeMessageOutput, error) ListMessages(ctx context.Context, in *ListMessagesInput, opts ...grpc.CallOption) (*ListMessagesOutput, error) PostMessage(ctx context.Context, in *PostMessageInput, opts ...grpc.CallOption) (*PostMessageOutput, error) UpdateMessage(ctx context.Context, in *UpdateMessageInput, opts ...grpc.CallOption) (*UpdateMessageOutput, error) DeleteMessage(ctx context.Context, in *DeleteMessageInput, opts ...grpc.CallOption) (*DeleteMessageOutput, error) VoteMessage(ctx context.Context, in *VoteMessageInput, opts ...grpc.CallOption) (*VoteMessageOutput, error) ListMessageChanges(ctx context.Context, in *ListMessageChangesInput, opts ...grpc.CallOption) (*ListMessageChangesOutput, error) }
MessageServiceClient is the client API for MessageService 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.
func NewMessageServiceClient ¶
func NewMessageServiceClient(cc grpc.ClientConnInterface) MessageServiceClient
type MessageServiceServer ¶
type MessageServiceServer interface { DescribeMessage(context.Context, *DescribeMessageInput) (*DescribeMessageOutput, error) ListMessages(context.Context, *ListMessagesInput) (*ListMessagesOutput, error) PostMessage(context.Context, *PostMessageInput) (*PostMessageOutput, error) UpdateMessage(context.Context, *UpdateMessageInput) (*UpdateMessageOutput, error) DeleteMessage(context.Context, *DeleteMessageInput) (*DeleteMessageOutput, error) VoteMessage(context.Context, *VoteMessageInput) (*VoteMessageOutput, error) ListMessageChanges(context.Context, *ListMessageChangesInput) (*ListMessageChangesOutput, error) }
MessageServiceServer is the server API for MessageService service. All implementations should embed UnimplementedMessageServiceServer for forward compatibility.
type MessageServiceService ¶
type MessageServiceService struct {
// contains filtered or unexported fields
}
func NewMessageServiceHttpClient ¶
func NewMessageServiceHttpClient(url string, cli _MessageServiceHttpClient) *MessageServiceService
NewMessageServiceHttpClient constructs client for MessageService
func (*MessageServiceService) DeleteMessage ¶
func (s *MessageServiceService) DeleteMessage(ctx context.Context, in *DeleteMessageInput) (*DeleteMessageOutput, error)
func (*MessageServiceService) DescribeMessage ¶
func (s *MessageServiceService) DescribeMessage(ctx context.Context, in *DescribeMessageInput) (*DescribeMessageOutput, error)
func (*MessageServiceService) ListMessageChanges ¶
func (s *MessageServiceService) ListMessageChanges(ctx context.Context, in *ListMessageChangesInput) (*ListMessageChangesOutput, error)
func (*MessageServiceService) ListMessages ¶
func (s *MessageServiceService) ListMessages(ctx context.Context, in *ListMessagesInput) (*ListMessagesOutput, error)
func (*MessageServiceService) PostMessage ¶
func (s *MessageServiceService) PostMessage(ctx context.Context, in *PostMessageInput) (*PostMessageOutput, error)
func (*MessageServiceService) UpdateMessage ¶
func (s *MessageServiceService) UpdateMessage(ctx context.Context, in *UpdateMessageInput) (*UpdateMessageOutput, error)
func (*MessageServiceService) VoteMessage ¶
func (s *MessageServiceService) VoteMessage(ctx context.Context, in *VoteMessageInput) (*VoteMessageOutput, error)
type Message_Extra ¶
type Message_Extra int32
const ( Message_UNKNOWN_EXTRA Message_Extra = 0 Message_MESSAGE_VALUE Message_Extra = 1 // include message source (original Markdown, LaTeX etc) Message_MESSAGE_RENDER Message_Extra = 2 // include rendered message in ECM Message_MESSAGE_PREVIEW Message_Extra = 3 // include rendered but trimmed message in ECM, overrides MESSAGE_RENDER Message_VOTE Message_Extra = 4 // include vote field )
func (Message_Extra) Descriptor ¶
func (Message_Extra) Descriptor() protoreflect.EnumDescriptor
func (Message_Extra) Enum ¶
func (x Message_Extra) Enum() *Message_Extra
func (Message_Extra) EnumDescriptor
deprecated
func (Message_Extra) EnumDescriptor() ([]byte, []int)
Deprecated: Use Message_Extra.Descriptor instead.
func (Message_Extra) Number ¶
func (x Message_Extra) Number() protoreflect.EnumNumber
func (Message_Extra) String ¶
func (x Message_Extra) String() string
func (Message_Extra) Type ¶
func (Message_Extra) Type() protoreflect.EnumType
type ModeratePostInput ¶
type ModeratePostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Outcome ModeratePostInput_Outcome `protobuf:"varint,2,opt,name=outcome,proto3,enum=eolymp.discussion.ModeratePostInput_Outcome" json:"outcome,omitempty"` Reason *ecm.Content `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ModeratePostInput) Descriptor
deprecated
func (*ModeratePostInput) Descriptor() ([]byte, []int)
Deprecated: Use ModeratePostInput.ProtoReflect.Descriptor instead.
func (*ModeratePostInput) GetOutcome ¶
func (x *ModeratePostInput) GetOutcome() ModeratePostInput_Outcome
func (*ModeratePostInput) GetPostId ¶
func (x *ModeratePostInput) GetPostId() string
func (*ModeratePostInput) GetReason ¶
func (x *ModeratePostInput) GetReason() *ecm.Content
func (*ModeratePostInput) ProtoMessage ¶
func (*ModeratePostInput) ProtoMessage()
func (*ModeratePostInput) ProtoReflect ¶
func (x *ModeratePostInput) ProtoReflect() protoreflect.Message
func (*ModeratePostInput) Reset ¶
func (x *ModeratePostInput) Reset()
func (*ModeratePostInput) String ¶
func (x *ModeratePostInput) String() string
type ModeratePostInput_Outcome ¶
type ModeratePostInput_Outcome int32
const ( ModeratePostInput_UNKNOWN_OUTCOME ModeratePostInput_Outcome = 0 ModeratePostInput_APPROVED ModeratePostInput_Outcome = 1 ModeratePostInput_REJECTED ModeratePostInput_Outcome = 2 ModeratePostInput_IN_REVIEW ModeratePostInput_Outcome = 3 )
func (ModeratePostInput_Outcome) Descriptor ¶
func (ModeratePostInput_Outcome) Descriptor() protoreflect.EnumDescriptor
func (ModeratePostInput_Outcome) Enum ¶
func (x ModeratePostInput_Outcome) Enum() *ModeratePostInput_Outcome
func (ModeratePostInput_Outcome) EnumDescriptor
deprecated
func (ModeratePostInput_Outcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModeratePostInput_Outcome.Descriptor instead.
func (ModeratePostInput_Outcome) Number ¶
func (x ModeratePostInput_Outcome) Number() protoreflect.EnumNumber
func (ModeratePostInput_Outcome) String ¶
func (x ModeratePostInput_Outcome) String() string
func (ModeratePostInput_Outcome) Type ¶
func (ModeratePostInput_Outcome) Type() protoreflect.EnumType
type ModeratePostOutput ¶
type ModeratePostOutput struct {
// contains filtered or unexported fields
}
func (*ModeratePostOutput) Descriptor
deprecated
func (*ModeratePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use ModeratePostOutput.ProtoReflect.Descriptor instead.
func (*ModeratePostOutput) ProtoMessage ¶
func (*ModeratePostOutput) ProtoMessage()
func (*ModeratePostOutput) ProtoReflect ¶
func (x *ModeratePostOutput) ProtoReflect() protoreflect.Message
func (*ModeratePostOutput) Reset ¶
func (x *ModeratePostOutput) Reset()
func (*ModeratePostOutput) String ¶
func (x *ModeratePostOutput) String() string
type Post ¶
type Post struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` SourceId string `protobuf:"bytes,7,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` // if set, marks this post as translation for a post specified in this field SourceUrl string `protobuf:"bytes,8,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` // populated if source_id is set Draft bool `protobuf:"varint,3,opt,name=draft,proto3" json:"draft,omitempty"` // marked as draft and only shown to author Public bool `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"` // visible and available to everyone (ie. published and passed moderation) Featured bool `protobuf:"varint,9,opt,name=featured,proto3" json:"featured,omitempty"` // marked as featured (shown on home page) Pinned bool `protobuf:"varint,13,opt,name=pinned,proto3" json:"pinned,omitempty"` // pinned on top of the page Moderation Post_Moderation `protobuf:"varint,5,opt,name=moderation,proto3,enum=eolymp.discussion.Post_Moderation" json:"moderation,omitempty"` // moderation status // Types that are valid to be assigned to Author: // // *Post_UserId // *Post_MemberId Author isPost_Author `protobuf_oneof:"author"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` PublishedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` TypeId string `protobuf:"bytes,6,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // optionally, post type from PostTypeService Locale string `protobuf:"bytes,102,opt,name=locale,proto3" json:"locale,omitempty"` Title string `protobuf:"bytes,103,opt,name=title,proto3" json:"title,omitempty"` // automatically populated from content ImageUrl string `protobuf:"bytes,104,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // automatically populated from content Content *ecm.Content `protobuf:"bytes,101,opt,name=content,proto3" json:"content,omitempty"` Preview *Post_Preview `protobuf:"bytes,110,opt,name=preview,proto3" json:"preview,omitempty"` // preview is generated automatically from the content Vote int32 `protobuf:"varint,12,opt,name=vote,proto3" json:"vote,omitempty"` // vote of authenticated user (+1 or -1) VoteCount int32 `protobuf:"varint,30,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // total vote count ReplyCount int32 `protobuf:"varint,31,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"` // total number of replies Labels []string `protobuf:"bytes,120,rep,name=labels,proto3" json:"labels,omitempty"` Links []*wellknown.Link `protobuf:"bytes,200,rep,name=links,proto3" json:"links,omitempty"` // contains filtered or unexported fields }
func (*Post) Descriptor
deprecated
func (*Post) GetContent ¶
func (*Post) GetCreatedAt ¶
func (x *Post) GetCreatedAt() *timestamppb.Timestamp
func (*Post) GetFeatured ¶
func (*Post) GetImageUrl ¶
func (*Post) GetMemberId ¶
func (*Post) GetModeration ¶
func (x *Post) GetModeration() Post_Moderation
func (*Post) GetPreview ¶
func (x *Post) GetPreview() *Post_Preview
func (*Post) GetPublishedAt ¶
func (x *Post) GetPublishedAt() *timestamppb.Timestamp
func (*Post) GetReplyCount ¶
func (*Post) GetSourceId ¶
func (*Post) GetSourceUrl ¶
func (*Post) GetUpdatedAt ¶
func (x *Post) GetUpdatedAt() *timestamppb.Timestamp
func (*Post) GetVoteCount ¶
func (*Post) ProtoMessage ¶
func (*Post) ProtoMessage()
func (*Post) ProtoReflect ¶
func (x *Post) ProtoReflect() protoreflect.Message
type PostChangedEvent ¶
type PostChangedEvent struct { Before *Post `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *Post `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` Reason *ecm.Content `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*PostChangedEvent) Descriptor
deprecated
func (*PostChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use PostChangedEvent.ProtoReflect.Descriptor instead.
func (*PostChangedEvent) GetAfter ¶
func (x *PostChangedEvent) GetAfter() *Post
func (*PostChangedEvent) GetBefore ¶
func (x *PostChangedEvent) GetBefore() *Post
func (*PostChangedEvent) GetReason ¶
func (x *PostChangedEvent) GetReason() *ecm.Content
func (*PostChangedEvent) ProtoMessage ¶
func (*PostChangedEvent) ProtoMessage()
func (*PostChangedEvent) ProtoReflect ¶
func (x *PostChangedEvent) ProtoReflect() protoreflect.Message
func (*PostChangedEvent) Reset ¶
func (x *PostChangedEvent) Reset()
func (*PostChangedEvent) String ¶
func (x *PostChangedEvent) String() string
type PostMessageInput ¶
type PostMessageInput struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` ReplyTo string `protobuf:"bytes,2,opt,name=reply_to,json=replyTo,proto3" json:"reply_to,omitempty"` // contains filtered or unexported fields }
func (*PostMessageInput) Descriptor
deprecated
func (*PostMessageInput) Descriptor() ([]byte, []int)
Deprecated: Use PostMessageInput.ProtoReflect.Descriptor instead.
func (*PostMessageInput) GetMessage ¶
func (x *PostMessageInput) GetMessage() *Message
func (*PostMessageInput) GetReplyTo ¶
func (x *PostMessageInput) GetReplyTo() string
func (*PostMessageInput) ProtoMessage ¶
func (*PostMessageInput) ProtoMessage()
func (*PostMessageInput) ProtoReflect ¶
func (x *PostMessageInput) ProtoReflect() protoreflect.Message
func (*PostMessageInput) Reset ¶
func (x *PostMessageInput) Reset()
func (*PostMessageInput) String ¶
func (x *PostMessageInput) String() string
type PostMessageOutput ¶
type PostMessageOutput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*PostMessageOutput) Descriptor
deprecated
func (*PostMessageOutput) Descriptor() ([]byte, []int)
Deprecated: Use PostMessageOutput.ProtoReflect.Descriptor instead.
func (*PostMessageOutput) GetMessageId ¶
func (x *PostMessageOutput) GetMessageId() string
func (*PostMessageOutput) ProtoMessage ¶
func (*PostMessageOutput) ProtoMessage()
func (*PostMessageOutput) ProtoReflect ¶
func (x *PostMessageOutput) ProtoReflect() protoreflect.Message
func (*PostMessageOutput) Reset ¶
func (x *PostMessageOutput) Reset()
func (*PostMessageOutput) String ¶
func (x *PostMessageOutput) String() string
type PostPublishedEvent ¶
type PostPublishedEvent struct { Published bool `protobuf:"varint,1,opt,name=published,proto3" json:"published,omitempty"` Post *Post `protobuf:"bytes,2,opt,name=post,proto3" json:"post,omitempty"` Reason *ecm.Content `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*PostPublishedEvent) Descriptor
deprecated
func (*PostPublishedEvent) Descriptor() ([]byte, []int)
Deprecated: Use PostPublishedEvent.ProtoReflect.Descriptor instead.
func (*PostPublishedEvent) GetPost ¶
func (x *PostPublishedEvent) GetPost() *Post
func (*PostPublishedEvent) GetPublished ¶
func (x *PostPublishedEvent) GetPublished() bool
func (*PostPublishedEvent) GetReason ¶
func (x *PostPublishedEvent) GetReason() *ecm.Content
func (*PostPublishedEvent) ProtoMessage ¶
func (*PostPublishedEvent) ProtoMessage()
func (*PostPublishedEvent) ProtoReflect ¶
func (x *PostPublishedEvent) ProtoReflect() protoreflect.Message
func (*PostPublishedEvent) Reset ¶
func (x *PostPublishedEvent) Reset()
func (*PostPublishedEvent) String ¶
func (x *PostPublishedEvent) String() string
type PostServiceClient ¶
type PostServiceClient interface { DescribePost(ctx context.Context, in *DescribePostInput, opts ...grpc.CallOption) (*DescribePostOutput, error) ListPosts(ctx context.Context, in *ListPostsInput, opts ...grpc.CallOption) (*ListPostsOutput, error) CreatePost(ctx context.Context, in *CreatePostInput, opts ...grpc.CallOption) (*CreatePostOutput, error) UpdatePost(ctx context.Context, in *UpdatePostInput, opts ...grpc.CallOption) (*UpdatePostOutput, error) PublishPost(ctx context.Context, in *PublishPostInput, opts ...grpc.CallOption) (*PublishPostOutput, error) UnpublishPost(ctx context.Context, in *UnpublishPostInput, opts ...grpc.CallOption) (*UnpublishPostOutput, error) ModeratePost(ctx context.Context, in *ModeratePostInput, opts ...grpc.CallOption) (*ModeratePostOutput, error) DeletePost(ctx context.Context, in *DeletePostInput, opts ...grpc.CallOption) (*DeletePostOutput, error) VotePost(ctx context.Context, in *VotePostInput, opts ...grpc.CallOption) (*VotePostOutput, error) TranslatePost(ctx context.Context, in *TranslatePostInput, opts ...grpc.CallOption) (*TranslatePostOutput, error) DescribePostTranslation(ctx context.Context, in *DescribePostTranslationInput, opts ...grpc.CallOption) (*DescribePostTranslationOutput, error) ListPostTranslations(ctx context.Context, in *ListPostTranslationsInput, opts ...grpc.CallOption) (*ListPostTranslationsOutput, error) CreatePostTranslation(ctx context.Context, in *CreatePostTranslationInput, opts ...grpc.CallOption) (*CreatePostTranslationOutput, error) UpdatePostTranslation(ctx context.Context, in *UpdatePostTranslationInput, opts ...grpc.CallOption) (*UpdatePostTranslationOutput, error) DeletePostTranslation(ctx context.Context, in *DeletePostTranslationInput, opts ...grpc.CallOption) (*DeletePostTranslationOutput, error) }
PostServiceClient is the client API for PostService 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.
func NewPostServiceClient ¶
func NewPostServiceClient(cc grpc.ClientConnInterface) PostServiceClient
type PostServiceServer ¶
type PostServiceServer interface { DescribePost(context.Context, *DescribePostInput) (*DescribePostOutput, error) ListPosts(context.Context, *ListPostsInput) (*ListPostsOutput, error) CreatePost(context.Context, *CreatePostInput) (*CreatePostOutput, error) UpdatePost(context.Context, *UpdatePostInput) (*UpdatePostOutput, error) PublishPost(context.Context, *PublishPostInput) (*PublishPostOutput, error) UnpublishPost(context.Context, *UnpublishPostInput) (*UnpublishPostOutput, error) ModeratePost(context.Context, *ModeratePostInput) (*ModeratePostOutput, error) DeletePost(context.Context, *DeletePostInput) (*DeletePostOutput, error) VotePost(context.Context, *VotePostInput) (*VotePostOutput, error) TranslatePost(context.Context, *TranslatePostInput) (*TranslatePostOutput, error) DescribePostTranslation(context.Context, *DescribePostTranslationInput) (*DescribePostTranslationOutput, error) ListPostTranslations(context.Context, *ListPostTranslationsInput) (*ListPostTranslationsOutput, error) CreatePostTranslation(context.Context, *CreatePostTranslationInput) (*CreatePostTranslationOutput, error) UpdatePostTranslation(context.Context, *UpdatePostTranslationInput) (*UpdatePostTranslationOutput, error) DeletePostTranslation(context.Context, *DeletePostTranslationInput) (*DeletePostTranslationOutput, error) }
PostServiceServer is the server API for PostService service. All implementations should embed UnimplementedPostServiceServer for forward compatibility.
type PostServiceService ¶
type PostServiceService struct {
// contains filtered or unexported fields
}
func NewPostServiceHttpClient ¶
func NewPostServiceHttpClient(url string, cli _PostServiceHttpClient) *PostServiceService
NewPostServiceHttpClient constructs client for PostService
func (*PostServiceService) CreatePost ¶
func (s *PostServiceService) CreatePost(ctx context.Context, in *CreatePostInput) (*CreatePostOutput, error)
func (*PostServiceService) CreatePostTranslation ¶
func (s *PostServiceService) CreatePostTranslation(ctx context.Context, in *CreatePostTranslationInput) (*CreatePostTranslationOutput, error)
func (*PostServiceService) DeletePost ¶
func (s *PostServiceService) DeletePost(ctx context.Context, in *DeletePostInput) (*DeletePostOutput, error)
func (*PostServiceService) DeletePostTranslation ¶
func (s *PostServiceService) DeletePostTranslation(ctx context.Context, in *DeletePostTranslationInput) (*DeletePostTranslationOutput, error)
func (*PostServiceService) DescribePost ¶
func (s *PostServiceService) DescribePost(ctx context.Context, in *DescribePostInput) (*DescribePostOutput, error)
func (*PostServiceService) DescribePostTranslation ¶
func (s *PostServiceService) DescribePostTranslation(ctx context.Context, in *DescribePostTranslationInput) (*DescribePostTranslationOutput, error)
func (*PostServiceService) ListPostTranslations ¶
func (s *PostServiceService) ListPostTranslations(ctx context.Context, in *ListPostTranslationsInput) (*ListPostTranslationsOutput, error)
func (*PostServiceService) ListPosts ¶
func (s *PostServiceService) ListPosts(ctx context.Context, in *ListPostsInput) (*ListPostsOutput, error)
func (*PostServiceService) ModeratePost ¶
func (s *PostServiceService) ModeratePost(ctx context.Context, in *ModeratePostInput) (*ModeratePostOutput, error)
func (*PostServiceService) PublishPost ¶
func (s *PostServiceService) PublishPost(ctx context.Context, in *PublishPostInput) (*PublishPostOutput, error)
func (*PostServiceService) TranslatePost ¶
func (s *PostServiceService) TranslatePost(ctx context.Context, in *TranslatePostInput) (*TranslatePostOutput, error)
func (*PostServiceService) UnpublishPost ¶
func (s *PostServiceService) UnpublishPost(ctx context.Context, in *UnpublishPostInput) (*UnpublishPostOutput, error)
func (*PostServiceService) UpdatePost ¶
func (s *PostServiceService) UpdatePost(ctx context.Context, in *UpdatePostInput) (*UpdatePostOutput, error)
func (*PostServiceService) UpdatePostTranslation ¶
func (s *PostServiceService) UpdatePostTranslation(ctx context.Context, in *UpdatePostTranslationInput) (*UpdatePostTranslationOutput, error)
func (*PostServiceService) VotePost ¶
func (s *PostServiceService) VotePost(ctx context.Context, in *VotePostInput) (*VotePostOutput, error)
type PostTranslationChangedEvent ¶
type PostTranslationChangedEvent struct { PostId string `protobuf:"bytes,10,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Before *Post_Translation `protobuf:"bytes,2,opt,name=before,proto3" json:"before,omitempty"` After *Post_Translation `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` Reason *ecm.Content `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*PostTranslationChangedEvent) Descriptor
deprecated
func (*PostTranslationChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use PostTranslationChangedEvent.ProtoReflect.Descriptor instead.
func (*PostTranslationChangedEvent) GetAfter ¶
func (x *PostTranslationChangedEvent) GetAfter() *Post_Translation
func (*PostTranslationChangedEvent) GetBefore ¶
func (x *PostTranslationChangedEvent) GetBefore() *Post_Translation
func (*PostTranslationChangedEvent) GetPostId ¶
func (x *PostTranslationChangedEvent) GetPostId() string
func (*PostTranslationChangedEvent) GetReason ¶
func (x *PostTranslationChangedEvent) GetReason() *ecm.Content
func (*PostTranslationChangedEvent) ProtoMessage ¶
func (*PostTranslationChangedEvent) ProtoMessage()
func (*PostTranslationChangedEvent) ProtoReflect ¶
func (x *PostTranslationChangedEvent) ProtoReflect() protoreflect.Message
func (*PostTranslationChangedEvent) Reset ¶
func (x *PostTranslationChangedEvent) Reset()
func (*PostTranslationChangedEvent) String ¶
func (x *PostTranslationChangedEvent) String() string
type PostType ¶
type PostType struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"` Order int32 `protobuf:"varint,10,opt,name=order,proto3" json:"order,omitempty"` Variants []*PostType_Variant `protobuf:"bytes,100,rep,name=variants,proto3" json:"variants,omitempty"` // contains filtered or unexported fields }
func (*PostType) Descriptor
deprecated
func (*PostType) GetVariants ¶
func (x *PostType) GetVariants() []*PostType_Variant
func (*PostType) ProtoMessage ¶
func (*PostType) ProtoMessage()
func (*PostType) ProtoReflect ¶
func (x *PostType) ProtoReflect() protoreflect.Message
type PostTypeServiceClient ¶
type PostTypeServiceClient interface { DescribePostType(ctx context.Context, in *DescribePostTypeInput, opts ...grpc.CallOption) (*DescribePostTypeOutput, error) ListPostTypes(ctx context.Context, in *ListPostTypesInput, opts ...grpc.CallOption) (*ListPostTypesOutput, error) CreatePostType(ctx context.Context, in *CreatePostTypeInput, opts ...grpc.CallOption) (*CreatePostTypeOutput, error) UpdatePostType(ctx context.Context, in *UpdatePostTypeInput, opts ...grpc.CallOption) (*UpdatePostTypeOutput, error) DeletePostType(ctx context.Context, in *DeletePostTypeInput, opts ...grpc.CallOption) (*DeletePostTypeOutput, error) }
PostTypeServiceClient is the client API for PostTypeService 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.
func NewPostTypeServiceClient ¶
func NewPostTypeServiceClient(cc grpc.ClientConnInterface) PostTypeServiceClient
type PostTypeServiceServer ¶
type PostTypeServiceServer interface { DescribePostType(context.Context, *DescribePostTypeInput) (*DescribePostTypeOutput, error) ListPostTypes(context.Context, *ListPostTypesInput) (*ListPostTypesOutput, error) CreatePostType(context.Context, *CreatePostTypeInput) (*CreatePostTypeOutput, error) UpdatePostType(context.Context, *UpdatePostTypeInput) (*UpdatePostTypeOutput, error) DeletePostType(context.Context, *DeletePostTypeInput) (*DeletePostTypeOutput, error) }
PostTypeServiceServer is the server API for PostTypeService service. All implementations should embed UnimplementedPostTypeServiceServer for forward compatibility.
type PostTypeServiceService ¶
type PostTypeServiceService struct {
// contains filtered or unexported fields
}
func NewPostTypeServiceHttpClient ¶
func NewPostTypeServiceHttpClient(url string, cli _PostTypeServiceHttpClient) *PostTypeServiceService
NewPostTypeServiceHttpClient constructs client for PostTypeService
func (*PostTypeServiceService) CreatePostType ¶
func (s *PostTypeServiceService) CreatePostType(ctx context.Context, in *CreatePostTypeInput) (*CreatePostTypeOutput, error)
func (*PostTypeServiceService) DeletePostType ¶
func (s *PostTypeServiceService) DeletePostType(ctx context.Context, in *DeletePostTypeInput) (*DeletePostTypeOutput, error)
func (*PostTypeServiceService) DescribePostType ¶
func (s *PostTypeServiceService) DescribePostType(ctx context.Context, in *DescribePostTypeInput) (*DescribePostTypeOutput, error)
func (*PostTypeServiceService) ListPostTypes ¶
func (s *PostTypeServiceService) ListPostTypes(ctx context.Context, in *ListPostTypesInput) (*ListPostTypesOutput, error)
func (*PostTypeServiceService) UpdatePostType ¶
func (s *PostTypeServiceService) UpdatePostType(ctx context.Context, in *UpdatePostTypeInput) (*UpdatePostTypeOutput, error)
type PostType_Extra ¶
type PostType_Extra int32
const ( PostType_UNKNOWN_EXTRA PostType_Extra = 0 PostType_VARIANTS PostType_Extra = 1 // include post name translations )
func (PostType_Extra) Descriptor ¶
func (PostType_Extra) Descriptor() protoreflect.EnumDescriptor
func (PostType_Extra) Enum ¶
func (x PostType_Extra) Enum() *PostType_Extra
func (PostType_Extra) EnumDescriptor
deprecated
func (PostType_Extra) EnumDescriptor() ([]byte, []int)
Deprecated: Use PostType_Extra.Descriptor instead.
func (PostType_Extra) Number ¶
func (x PostType_Extra) Number() protoreflect.EnumNumber
func (PostType_Extra) String ¶
func (x PostType_Extra) String() string
func (PostType_Extra) Type ¶
func (PostType_Extra) Type() protoreflect.EnumType
type PostType_Variant ¶
type PostType_Variant struct { Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PostType_Variant) Descriptor
deprecated
func (*PostType_Variant) Descriptor() ([]byte, []int)
Deprecated: Use PostType_Variant.ProtoReflect.Descriptor instead.
func (*PostType_Variant) GetLocale ¶
func (x *PostType_Variant) GetLocale() string
func (*PostType_Variant) GetName ¶
func (x *PostType_Variant) GetName() string
func (*PostType_Variant) ProtoMessage ¶
func (*PostType_Variant) ProtoMessage()
func (*PostType_Variant) ProtoReflect ¶
func (x *PostType_Variant) ProtoReflect() protoreflect.Message
func (*PostType_Variant) Reset ¶
func (x *PostType_Variant) Reset()
func (*PostType_Variant) String ¶
func (x *PostType_Variant) String() string
type Post_Extra ¶
type Post_Extra int32
const ( Post_UNKNOWN_EXTRA Post_Extra = 0 Post_CONTENT_VALUE Post_Extra = 1 // include content source (original Markdown, LaTeX etc) Post_CONTENT_RENDER Post_Extra = 2 // include rendered content in ECM Post_PREVIEW Post_Extra = 3 // include rendered but trimmed message in ECM Post_VOTE Post_Extra = 4 // include vote field )
func (Post_Extra) Descriptor ¶
func (Post_Extra) Descriptor() protoreflect.EnumDescriptor
func (Post_Extra) Enum ¶
func (x Post_Extra) Enum() *Post_Extra
func (Post_Extra) EnumDescriptor
deprecated
func (Post_Extra) EnumDescriptor() ([]byte, []int)
Deprecated: Use Post_Extra.Descriptor instead.
func (Post_Extra) Number ¶
func (x Post_Extra) Number() protoreflect.EnumNumber
func (Post_Extra) String ¶
func (x Post_Extra) String() string
func (Post_Extra) Type ¶
func (Post_Extra) Type() protoreflect.EnumType
type Post_Image ¶
type Post_Image struct { Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Class []string `protobuf:"bytes,4,rep,name=class,proto3" json:"class,omitempty"` // contains filtered or unexported fields }
func (*Post_Image) Descriptor
deprecated
func (*Post_Image) Descriptor() ([]byte, []int)
Deprecated: Use Post_Image.ProtoReflect.Descriptor instead.
func (*Post_Image) GetClass ¶
func (x *Post_Image) GetClass() []string
func (*Post_Image) GetHeight ¶
func (x *Post_Image) GetHeight() int32
func (*Post_Image) GetSrc ¶
func (x *Post_Image) GetSrc() string
func (*Post_Image) GetWidth ¶
func (x *Post_Image) GetWidth() int32
func (*Post_Image) ProtoMessage ¶
func (*Post_Image) ProtoMessage()
func (*Post_Image) ProtoReflect ¶
func (x *Post_Image) ProtoReflect() protoreflect.Message
func (*Post_Image) Reset ¶
func (x *Post_Image) Reset()
func (*Post_Image) String ¶
func (x *Post_Image) String() string
type Post_MemberId ¶
type Post_MemberId struct {
MemberId string `protobuf:"bytes,11,opt,name=member_id,json=memberId,proto3,oneof"`
}
type Post_Moderation ¶
type Post_Moderation int32
const ( Post_UNKNOWN_MODERATION Post_Moderation = 0 // not used Post_PENDING Post_Moderation = 1 // not reviewed by moderator Post_IN_REVIEW Post_Moderation = 2 // in review by moderator Post_APPROVED Post_Moderation = 3 // approved by moderator Post_REJECTED Post_Moderation = 4 // rejected by moderator )
func (Post_Moderation) Descriptor ¶
func (Post_Moderation) Descriptor() protoreflect.EnumDescriptor
func (Post_Moderation) Enum ¶
func (x Post_Moderation) Enum() *Post_Moderation
func (Post_Moderation) EnumDescriptor
deprecated
func (Post_Moderation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Post_Moderation.Descriptor instead.
func (Post_Moderation) Number ¶
func (x Post_Moderation) Number() protoreflect.EnumNumber
func (Post_Moderation) String ¶
func (x Post_Moderation) String() string
func (Post_Moderation) Type ¶
func (Post_Moderation) Type() protoreflect.EnumType
type Post_Preview ¶
type Post_Preview struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Image *Post_Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Content *ecm.Node `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Post_Preview) Descriptor
deprecated
func (*Post_Preview) Descriptor() ([]byte, []int)
Deprecated: Use Post_Preview.ProtoReflect.Descriptor instead.
func (*Post_Preview) GetContent ¶
func (x *Post_Preview) GetContent() *ecm.Node
func (*Post_Preview) GetImage ¶
func (x *Post_Preview) GetImage() *Post_Image
func (*Post_Preview) GetTitle ¶
func (x *Post_Preview) GetTitle() string
func (*Post_Preview) ProtoMessage ¶
func (*Post_Preview) ProtoMessage()
func (*Post_Preview) ProtoReflect ¶
func (x *Post_Preview) ProtoReflect() protoreflect.Message
func (*Post_Preview) Reset ¶
func (x *Post_Preview) Reset()
func (*Post_Preview) String ¶
func (x *Post_Preview) String() string
type Post_Translation ¶
type Post_Translation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Locale string `protobuf:"bytes,102,opt,name=locale,proto3" json:"locale,omitempty"` Content *ecm.Content `protobuf:"bytes,101,opt,name=content,proto3" json:"content,omitempty"` Labels []string `protobuf:"bytes,120,rep,name=labels,proto3" json:"labels,omitempty"` Automatic bool `protobuf:"varint,103,opt,name=automatic,proto3" json:"automatic,omitempty"` // contains filtered or unexported fields }
func (*Post_Translation) Descriptor
deprecated
func (*Post_Translation) Descriptor() ([]byte, []int)
Deprecated: Use Post_Translation.ProtoReflect.Descriptor instead.
func (*Post_Translation) GetAutomatic ¶
func (x *Post_Translation) GetAutomatic() bool
func (*Post_Translation) GetContent ¶
func (x *Post_Translation) GetContent() *ecm.Content
func (*Post_Translation) GetId ¶
func (x *Post_Translation) GetId() string
func (*Post_Translation) GetLabels ¶
func (x *Post_Translation) GetLabels() []string
func (*Post_Translation) GetLocale ¶
func (x *Post_Translation) GetLocale() string
func (*Post_Translation) ProtoMessage ¶
func (*Post_Translation) ProtoMessage()
func (*Post_Translation) ProtoReflect ¶
func (x *Post_Translation) ProtoReflect() protoreflect.Message
func (*Post_Translation) Reset ¶
func (x *Post_Translation) Reset()
func (*Post_Translation) String ¶
func (x *Post_Translation) String() string
type Post_UserId ¶
type Post_UserId struct {
UserId string `protobuf:"bytes,10,opt,name=user_id,json=userId,proto3,oneof"`
}
type PublishPostInput ¶
type PublishPostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // contains filtered or unexported fields }
func (*PublishPostInput) Descriptor
deprecated
func (*PublishPostInput) Descriptor() ([]byte, []int)
Deprecated: Use PublishPostInput.ProtoReflect.Descriptor instead.
func (*PublishPostInput) GetPostId ¶
func (x *PublishPostInput) GetPostId() string
func (*PublishPostInput) ProtoMessage ¶
func (*PublishPostInput) ProtoMessage()
func (*PublishPostInput) ProtoReflect ¶
func (x *PublishPostInput) ProtoReflect() protoreflect.Message
func (*PublishPostInput) Reset ¶
func (x *PublishPostInput) Reset()
func (*PublishPostInput) String ¶
func (x *PublishPostInput) String() string
type PublishPostOutput ¶
type PublishPostOutput struct {
// contains filtered or unexported fields
}
func (*PublishPostOutput) Descriptor
deprecated
func (*PublishPostOutput) Descriptor() ([]byte, []int)
Deprecated: Use PublishPostOutput.ProtoReflect.Descriptor instead.
func (*PublishPostOutput) ProtoMessage ¶
func (*PublishPostOutput) ProtoMessage()
func (*PublishPostOutput) ProtoReflect ¶
func (x *PublishPostOutput) ProtoReflect() protoreflect.Message
func (*PublishPostOutput) Reset ¶
func (x *PublishPostOutput) Reset()
func (*PublishPostOutput) String ¶
func (x *PublishPostOutput) String() string
type Subscription ¶
type Subscription struct { Type Subscription_Type `protobuf:"varint,1,opt,name=type,proto3,enum=eolymp.discussion.Subscription_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Subscription) Descriptor
deprecated
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (*Subscription) GetType ¶
func (x *Subscription) GetType() Subscription_Type
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) ProtoReflect ¶
func (x *Subscription) ProtoReflect() protoreflect.Message
func (*Subscription) Reset ¶
func (x *Subscription) Reset()
func (*Subscription) String ¶
func (x *Subscription) String() string
type SubscriptionServiceClient ¶
type SubscriptionServiceClient interface { DescribeSubscription(ctx context.Context, in *DescribeSubscriptionInput, opts ...grpc.CallOption) (*DescribeSubscriptionOutput, error) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionInput, opts ...grpc.CallOption) (*UpdateSubscriptionOutput, error) }
SubscriptionServiceClient is the client API for SubscriptionService 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.
func NewSubscriptionServiceClient ¶
func NewSubscriptionServiceClient(cc grpc.ClientConnInterface) SubscriptionServiceClient
type SubscriptionServiceServer ¶
type SubscriptionServiceServer interface { DescribeSubscription(context.Context, *DescribeSubscriptionInput) (*DescribeSubscriptionOutput, error) UpdateSubscription(context.Context, *UpdateSubscriptionInput) (*UpdateSubscriptionOutput, error) }
SubscriptionServiceServer is the server API for SubscriptionService service. All implementations should embed UnimplementedSubscriptionServiceServer for forward compatibility.
type SubscriptionServiceService ¶
type SubscriptionServiceService struct {
// contains filtered or unexported fields
}
func NewSubscriptionServiceHttpClient ¶
func NewSubscriptionServiceHttpClient(url string, cli _SubscriptionServiceHttpClient) *SubscriptionServiceService
NewSubscriptionServiceHttpClient constructs client for SubscriptionService
func (*SubscriptionServiceService) DescribeSubscription ¶
func (s *SubscriptionServiceService) DescribeSubscription(ctx context.Context, in *DescribeSubscriptionInput) (*DescribeSubscriptionOutput, error)
func (*SubscriptionServiceService) UpdateSubscription ¶
func (s *SubscriptionServiceService) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionInput) (*UpdateSubscriptionOutput, error)
type Subscription_Type ¶
type Subscription_Type int32
const ( Subscription_NONE Subscription_Type = 0 Subscription_MUTED Subscription_Type = 1 Subscription_SUBSCRIBED Subscription_Type = 2 Subscription_WATCHING Subscription_Type = 3 )
func (Subscription_Type) Descriptor ¶
func (Subscription_Type) Descriptor() protoreflect.EnumDescriptor
func (Subscription_Type) Enum ¶
func (x Subscription_Type) Enum() *Subscription_Type
func (Subscription_Type) EnumDescriptor
deprecated
func (Subscription_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Subscription_Type.Descriptor instead.
func (Subscription_Type) Number ¶
func (x Subscription_Type) Number() protoreflect.EnumNumber
func (Subscription_Type) String ¶
func (x Subscription_Type) String() string
func (Subscription_Type) Type ¶
func (Subscription_Type) Type() protoreflect.EnumType
type Thread ¶
type Thread struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Vote int32 `protobuf:"varint,12,opt,name=vote,proto3" json:"vote,omitempty"` // vote of authenticated user (+1 or -1) VoteCount int32 `protobuf:"varint,10,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // total vote count ReplyCount int32 `protobuf:"varint,11,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"` // total number of replies // contains filtered or unexported fields }
func (*Thread) Descriptor
deprecated
func (*Thread) GetReplyCount ¶
func (*Thread) GetVoteCount ¶
func (*Thread) ProtoMessage ¶
func (*Thread) ProtoMessage()
func (*Thread) ProtoReflect ¶
func (x *Thread) ProtoReflect() protoreflect.Message
type ThreadEndpointClient ¶
type ThreadEndpointClient interface { DescribeThread(ctx context.Context, in *DescribeThreadInput, opts ...grpc.CallOption) (*DescribeThreadOutput, error) VoteThread(ctx context.Context, in *VoteThreadInput, opts ...grpc.CallOption) (*VoteThreadOutput, error) }
ThreadEndpointClient is the client API for ThreadEndpoint 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.
func NewThreadEndpointClient ¶
func NewThreadEndpointClient(cc grpc.ClientConnInterface) ThreadEndpointClient
type ThreadEndpointServer ¶
type ThreadEndpointServer interface { DescribeThread(context.Context, *DescribeThreadInput) (*DescribeThreadOutput, error) VoteThread(context.Context, *VoteThreadInput) (*VoteThreadOutput, error) }
ThreadEndpointServer is the server API for ThreadEndpoint service. All implementations should embed UnimplementedThreadEndpointServer for forward compatibility.
type ThreadEndpointService ¶
type ThreadEndpointService struct {
// contains filtered or unexported fields
}
func NewThreadEndpointHttpClient ¶
func NewThreadEndpointHttpClient(url string, cli _ThreadEndpointHttpClient) *ThreadEndpointService
NewThreadEndpointHttpClient constructs client for ThreadEndpoint
func (*ThreadEndpointService) DescribeThread ¶
func (s *ThreadEndpointService) DescribeThread(ctx context.Context, in *DescribeThreadInput) (*DescribeThreadOutput, error)
func (*ThreadEndpointService) VoteThread ¶
func (s *ThreadEndpointService) VoteThread(ctx context.Context, in *VoteThreadInput) (*VoteThreadOutput, error)
type TranslatePostInput ¶
type TranslatePostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // source language (by default post content is used) Target []string `protobuf:"bytes,3,rep,name=target,proto3" json:"target,omitempty"` // list of target languages, if statement exists and it has automatic=true (or override_manual=true) it will be updated TargetAutomatic bool `protobuf:"varint,4,opt,name=target_automatic,json=targetAutomatic,proto3" json:"target_automatic,omitempty"` // add to targets all editorials with automatic=true OverrideManual bool `protobuf:"varint,5,opt,name=override_manual,json=overrideManual,proto3" json:"override_manual,omitempty"` // update editorials even if automatic=false // contains filtered or unexported fields }
func (*TranslatePostInput) Descriptor
deprecated
func (*TranslatePostInput) Descriptor() ([]byte, []int)
Deprecated: Use TranslatePostInput.ProtoReflect.Descriptor instead.
func (*TranslatePostInput) GetOverrideManual ¶
func (x *TranslatePostInput) GetOverrideManual() bool
func (*TranslatePostInput) GetPostId ¶
func (x *TranslatePostInput) GetPostId() string
func (*TranslatePostInput) GetSource ¶
func (x *TranslatePostInput) GetSource() string
func (*TranslatePostInput) GetTarget ¶
func (x *TranslatePostInput) GetTarget() []string
func (*TranslatePostInput) GetTargetAutomatic ¶
func (x *TranslatePostInput) GetTargetAutomatic() bool
func (*TranslatePostInput) ProtoMessage ¶
func (*TranslatePostInput) ProtoMessage()
func (*TranslatePostInput) ProtoReflect ¶
func (x *TranslatePostInput) ProtoReflect() protoreflect.Message
func (*TranslatePostInput) Reset ¶
func (x *TranslatePostInput) Reset()
func (*TranslatePostInput) String ¶
func (x *TranslatePostInput) String() string
type TranslatePostOutput ¶
type TranslatePostOutput struct { JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // contains filtered or unexported fields }
func (*TranslatePostOutput) Descriptor
deprecated
func (*TranslatePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use TranslatePostOutput.ProtoReflect.Descriptor instead.
func (*TranslatePostOutput) GetJobId ¶
func (x *TranslatePostOutput) GetJobId() string
func (*TranslatePostOutput) ProtoMessage ¶
func (*TranslatePostOutput) ProtoMessage()
func (*TranslatePostOutput) ProtoReflect ¶
func (x *TranslatePostOutput) ProtoReflect() protoreflect.Message
func (*TranslatePostOutput) Reset ¶
func (x *TranslatePostOutput) Reset()
func (*TranslatePostOutput) String ¶
func (x *TranslatePostOutput) String() string
type UnimplementedConfigurationServiceServer ¶
type UnimplementedConfigurationServiceServer struct{}
UnimplementedConfigurationServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedConfigurationServiceServer) DescribeDiscussionConfig ¶
func (UnimplementedConfigurationServiceServer) DescribeDiscussionConfig(context.Context, *DescribeDiscussionConfigInput) (*DescribeDiscussionConfigOutput, error)
func (UnimplementedConfigurationServiceServer) UpdateDiscussionConfig ¶
func (UnimplementedConfigurationServiceServer) UpdateDiscussionConfig(context.Context, *UpdateDiscussionConfigInput) (*UpdateDiscussionConfigOutput, error)
type UnimplementedMessageServiceServer ¶
type UnimplementedMessageServiceServer struct{}
UnimplementedMessageServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMessageServiceServer) DeleteMessage ¶
func (UnimplementedMessageServiceServer) DeleteMessage(context.Context, *DeleteMessageInput) (*DeleteMessageOutput, error)
func (UnimplementedMessageServiceServer) DescribeMessage ¶
func (UnimplementedMessageServiceServer) DescribeMessage(context.Context, *DescribeMessageInput) (*DescribeMessageOutput, error)
func (UnimplementedMessageServiceServer) ListMessageChanges ¶
func (UnimplementedMessageServiceServer) ListMessageChanges(context.Context, *ListMessageChangesInput) (*ListMessageChangesOutput, error)
func (UnimplementedMessageServiceServer) ListMessages ¶
func (UnimplementedMessageServiceServer) ListMessages(context.Context, *ListMessagesInput) (*ListMessagesOutput, error)
func (UnimplementedMessageServiceServer) PostMessage ¶
func (UnimplementedMessageServiceServer) PostMessage(context.Context, *PostMessageInput) (*PostMessageOutput, error)
func (UnimplementedMessageServiceServer) UpdateMessage ¶
func (UnimplementedMessageServiceServer) UpdateMessage(context.Context, *UpdateMessageInput) (*UpdateMessageOutput, error)
func (UnimplementedMessageServiceServer) VoteMessage ¶
func (UnimplementedMessageServiceServer) VoteMessage(context.Context, *VoteMessageInput) (*VoteMessageOutput, error)
type UnimplementedPostServiceServer ¶
type UnimplementedPostServiceServer struct{}
UnimplementedPostServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPostServiceServer) CreatePost ¶
func (UnimplementedPostServiceServer) CreatePost(context.Context, *CreatePostInput) (*CreatePostOutput, error)
func (UnimplementedPostServiceServer) CreatePostTranslation ¶
func (UnimplementedPostServiceServer) CreatePostTranslation(context.Context, *CreatePostTranslationInput) (*CreatePostTranslationOutput, error)
func (UnimplementedPostServiceServer) DeletePost ¶
func (UnimplementedPostServiceServer) DeletePost(context.Context, *DeletePostInput) (*DeletePostOutput, error)
func (UnimplementedPostServiceServer) DeletePostTranslation ¶
func (UnimplementedPostServiceServer) DeletePostTranslation(context.Context, *DeletePostTranslationInput) (*DeletePostTranslationOutput, error)
func (UnimplementedPostServiceServer) DescribePost ¶
func (UnimplementedPostServiceServer) DescribePost(context.Context, *DescribePostInput) (*DescribePostOutput, error)
func (UnimplementedPostServiceServer) DescribePostTranslation ¶
func (UnimplementedPostServiceServer) DescribePostTranslation(context.Context, *DescribePostTranslationInput) (*DescribePostTranslationOutput, error)
func (UnimplementedPostServiceServer) ListPostTranslations ¶
func (UnimplementedPostServiceServer) ListPostTranslations(context.Context, *ListPostTranslationsInput) (*ListPostTranslationsOutput, error)
func (UnimplementedPostServiceServer) ListPosts ¶
func (UnimplementedPostServiceServer) ListPosts(context.Context, *ListPostsInput) (*ListPostsOutput, error)
func (UnimplementedPostServiceServer) ModeratePost ¶
func (UnimplementedPostServiceServer) ModeratePost(context.Context, *ModeratePostInput) (*ModeratePostOutput, error)
func (UnimplementedPostServiceServer) PublishPost ¶
func (UnimplementedPostServiceServer) PublishPost(context.Context, *PublishPostInput) (*PublishPostOutput, error)
func (UnimplementedPostServiceServer) TranslatePost ¶
func (UnimplementedPostServiceServer) TranslatePost(context.Context, *TranslatePostInput) (*TranslatePostOutput, error)
func (UnimplementedPostServiceServer) UnpublishPost ¶
func (UnimplementedPostServiceServer) UnpublishPost(context.Context, *UnpublishPostInput) (*UnpublishPostOutput, error)
func (UnimplementedPostServiceServer) UpdatePost ¶
func (UnimplementedPostServiceServer) UpdatePost(context.Context, *UpdatePostInput) (*UpdatePostOutput, error)
func (UnimplementedPostServiceServer) UpdatePostTranslation ¶
func (UnimplementedPostServiceServer) UpdatePostTranslation(context.Context, *UpdatePostTranslationInput) (*UpdatePostTranslationOutput, error)
func (UnimplementedPostServiceServer) VotePost ¶
func (UnimplementedPostServiceServer) VotePost(context.Context, *VotePostInput) (*VotePostOutput, error)
type UnimplementedPostTypeServiceServer ¶
type UnimplementedPostTypeServiceServer struct{}
UnimplementedPostTypeServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPostTypeServiceServer) CreatePostType ¶
func (UnimplementedPostTypeServiceServer) CreatePostType(context.Context, *CreatePostTypeInput) (*CreatePostTypeOutput, error)
func (UnimplementedPostTypeServiceServer) DeletePostType ¶
func (UnimplementedPostTypeServiceServer) DeletePostType(context.Context, *DeletePostTypeInput) (*DeletePostTypeOutput, error)
func (UnimplementedPostTypeServiceServer) DescribePostType ¶
func (UnimplementedPostTypeServiceServer) DescribePostType(context.Context, *DescribePostTypeInput) (*DescribePostTypeOutput, error)
func (UnimplementedPostTypeServiceServer) ListPostTypes ¶
func (UnimplementedPostTypeServiceServer) ListPostTypes(context.Context, *ListPostTypesInput) (*ListPostTypesOutput, error)
func (UnimplementedPostTypeServiceServer) UpdatePostType ¶
func (UnimplementedPostTypeServiceServer) UpdatePostType(context.Context, *UpdatePostTypeInput) (*UpdatePostTypeOutput, error)
type UnimplementedSubscriptionServiceServer ¶
type UnimplementedSubscriptionServiceServer struct{}
UnimplementedSubscriptionServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSubscriptionServiceServer) DescribeSubscription ¶
func (UnimplementedSubscriptionServiceServer) DescribeSubscription(context.Context, *DescribeSubscriptionInput) (*DescribeSubscriptionOutput, error)
func (UnimplementedSubscriptionServiceServer) UpdateSubscription ¶
func (UnimplementedSubscriptionServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionInput) (*UpdateSubscriptionOutput, error)
type UnimplementedThreadEndpointServer ¶
type UnimplementedThreadEndpointServer struct{}
UnimplementedThreadEndpointServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedThreadEndpointServer) DescribeThread ¶
func (UnimplementedThreadEndpointServer) DescribeThread(context.Context, *DescribeThreadInput) (*DescribeThreadOutput, error)
func (UnimplementedThreadEndpointServer) VoteThread ¶
func (UnimplementedThreadEndpointServer) VoteThread(context.Context, *VoteThreadInput) (*VoteThreadOutput, error)
type UnpublishPostInput ¶
type UnpublishPostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Reason *ecm.Content `protobuf:"bytes,11,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*UnpublishPostInput) Descriptor
deprecated
func (*UnpublishPostInput) Descriptor() ([]byte, []int)
Deprecated: Use UnpublishPostInput.ProtoReflect.Descriptor instead.
func (*UnpublishPostInput) GetPostId ¶
func (x *UnpublishPostInput) GetPostId() string
func (*UnpublishPostInput) GetReason ¶
func (x *UnpublishPostInput) GetReason() *ecm.Content
func (*UnpublishPostInput) ProtoMessage ¶
func (*UnpublishPostInput) ProtoMessage()
func (*UnpublishPostInput) ProtoReflect ¶
func (x *UnpublishPostInput) ProtoReflect() protoreflect.Message
func (*UnpublishPostInput) Reset ¶
func (x *UnpublishPostInput) Reset()
func (*UnpublishPostInput) String ¶
func (x *UnpublishPostInput) String() string
type UnpublishPostOutput ¶
type UnpublishPostOutput struct {
// contains filtered or unexported fields
}
func (*UnpublishPostOutput) Descriptor
deprecated
func (*UnpublishPostOutput) Descriptor() ([]byte, []int)
Deprecated: Use UnpublishPostOutput.ProtoReflect.Descriptor instead.
func (*UnpublishPostOutput) ProtoMessage ¶
func (*UnpublishPostOutput) ProtoMessage()
func (*UnpublishPostOutput) ProtoReflect ¶
func (x *UnpublishPostOutput) ProtoReflect() protoreflect.Message
func (*UnpublishPostOutput) Reset ¶
func (x *UnpublishPostOutput) Reset()
func (*UnpublishPostOutput) String ¶
func (x *UnpublishPostOutput) String() string
type UnsafeConfigurationServiceServer ¶
type UnsafeConfigurationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConfigurationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigurationServiceServer will result in compilation errors.
type UnsafeMessageServiceServer ¶
type UnsafeMessageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMessageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessageServiceServer will result in compilation errors.
type UnsafePostServiceServer ¶
type UnsafePostServiceServer interface {
// contains filtered or unexported methods
}
UnsafePostServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostServiceServer will result in compilation errors.
type UnsafePostTypeServiceServer ¶
type UnsafePostTypeServiceServer interface {
// contains filtered or unexported methods
}
UnsafePostTypeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostTypeServiceServer will result in compilation errors.
type UnsafeSubscriptionServiceServer ¶
type UnsafeSubscriptionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSubscriptionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubscriptionServiceServer will result in compilation errors.
type UnsafeThreadEndpointServer ¶
type UnsafeThreadEndpointServer interface {
// contains filtered or unexported methods
}
UnsafeThreadEndpointServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ThreadEndpointServer will result in compilation errors.
type UpdateDiscussionConfigInput ¶
type UpdateDiscussionConfigInput struct { Config *Configuration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*UpdateDiscussionConfigInput) Descriptor
deprecated
func (*UpdateDiscussionConfigInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiscussionConfigInput.ProtoReflect.Descriptor instead.
func (*UpdateDiscussionConfigInput) GetConfig ¶
func (x *UpdateDiscussionConfigInput) GetConfig() *Configuration
func (*UpdateDiscussionConfigInput) ProtoMessage ¶
func (*UpdateDiscussionConfigInput) ProtoMessage()
func (*UpdateDiscussionConfigInput) ProtoReflect ¶
func (x *UpdateDiscussionConfigInput) ProtoReflect() protoreflect.Message
func (*UpdateDiscussionConfigInput) Reset ¶
func (x *UpdateDiscussionConfigInput) Reset()
func (*UpdateDiscussionConfigInput) String ¶
func (x *UpdateDiscussionConfigInput) String() string
type UpdateDiscussionConfigInput_Patch ¶
type UpdateDiscussionConfigInput_Patch int32
const ( UpdateDiscussionConfigInput_ALL UpdateDiscussionConfigInput_Patch = 0 UpdateDiscussionConfigInput_MEMBERS_CAN_CREATE_POSTS UpdateDiscussionConfigInput_Patch = 1 UpdateDiscussionConfigInput_MEMBERS_CAN_COMMENT_ON_POSTS UpdateDiscussionConfigInput_Patch = 2 UpdateDiscussionConfigInput_MEMBERS_CAN_COMMENT_ON_PROBLEMS UpdateDiscussionConfigInput_Patch = 3 UpdateDiscussionConfigInput_POST_MODERATION UpdateDiscussionConfigInput_Patch = 4 UpdateDiscussionConfigInput_COMMENT_MODERATION UpdateDiscussionConfigInput_Patch = 5 )
func (UpdateDiscussionConfigInput_Patch) Descriptor ¶
func (UpdateDiscussionConfigInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdateDiscussionConfigInput_Patch) Enum ¶
func (x UpdateDiscussionConfigInput_Patch) Enum() *UpdateDiscussionConfigInput_Patch
func (UpdateDiscussionConfigInput_Patch) EnumDescriptor
deprecated
func (UpdateDiscussionConfigInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateDiscussionConfigInput_Patch.Descriptor instead.
func (UpdateDiscussionConfigInput_Patch) Number ¶
func (x UpdateDiscussionConfigInput_Patch) Number() protoreflect.EnumNumber
func (UpdateDiscussionConfigInput_Patch) String ¶
func (x UpdateDiscussionConfigInput_Patch) String() string
func (UpdateDiscussionConfigInput_Patch) Type ¶
func (UpdateDiscussionConfigInput_Patch) Type() protoreflect.EnumType
type UpdateDiscussionConfigOutput ¶
type UpdateDiscussionConfigOutput struct {
// contains filtered or unexported fields
}
func (*UpdateDiscussionConfigOutput) Descriptor
deprecated
func (*UpdateDiscussionConfigOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiscussionConfigOutput.ProtoReflect.Descriptor instead.
func (*UpdateDiscussionConfigOutput) ProtoMessage ¶
func (*UpdateDiscussionConfigOutput) ProtoMessage()
func (*UpdateDiscussionConfigOutput) ProtoReflect ¶
func (x *UpdateDiscussionConfigOutput) ProtoReflect() protoreflect.Message
func (*UpdateDiscussionConfigOutput) Reset ¶
func (x *UpdateDiscussionConfigOutput) Reset()
func (*UpdateDiscussionConfigOutput) String ¶
func (x *UpdateDiscussionConfigOutput) String() string
type UpdateMessageInput ¶
type UpdateMessageInput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UpdateMessageInput) Descriptor
deprecated
func (*UpdateMessageInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMessageInput.ProtoReflect.Descriptor instead.
func (*UpdateMessageInput) GetMessage ¶
func (x *UpdateMessageInput) GetMessage() *Message
func (*UpdateMessageInput) GetMessageId ¶
func (x *UpdateMessageInput) GetMessageId() string
func (*UpdateMessageInput) ProtoMessage ¶
func (*UpdateMessageInput) ProtoMessage()
func (*UpdateMessageInput) ProtoReflect ¶
func (x *UpdateMessageInput) ProtoReflect() protoreflect.Message
func (*UpdateMessageInput) Reset ¶
func (x *UpdateMessageInput) Reset()
func (*UpdateMessageInput) String ¶
func (x *UpdateMessageInput) String() string
type UpdateMessageOutput ¶
type UpdateMessageOutput struct {
// contains filtered or unexported fields
}
func (*UpdateMessageOutput) Descriptor
deprecated
func (*UpdateMessageOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMessageOutput.ProtoReflect.Descriptor instead.
func (*UpdateMessageOutput) ProtoMessage ¶
func (*UpdateMessageOutput) ProtoMessage()
func (*UpdateMessageOutput) ProtoReflect ¶
func (x *UpdateMessageOutput) ProtoReflect() protoreflect.Message
func (*UpdateMessageOutput) Reset ¶
func (x *UpdateMessageOutput) Reset()
func (*UpdateMessageOutput) String ¶
func (x *UpdateMessageOutput) String() string
type UpdatePostInput ¶
type UpdatePostInput struct { Patch []UpdatePostInput_Patch `protobuf:"varint,1,rep,packed,name=patch,proto3,enum=eolymp.discussion.UpdatePostInput_Patch" json:"patch,omitempty"` PostId string `protobuf:"bytes,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Post *Post `protobuf:"bytes,3,opt,name=post,proto3" json:"post,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostInput) Descriptor
deprecated
func (*UpdatePostInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostInput.ProtoReflect.Descriptor instead.
func (*UpdatePostInput) GetPatch ¶
func (x *UpdatePostInput) GetPatch() []UpdatePostInput_Patch
func (*UpdatePostInput) GetPost ¶
func (x *UpdatePostInput) GetPost() *Post
func (*UpdatePostInput) GetPostId ¶
func (x *UpdatePostInput) GetPostId() string
func (*UpdatePostInput) ProtoMessage ¶
func (*UpdatePostInput) ProtoMessage()
func (*UpdatePostInput) ProtoReflect ¶
func (x *UpdatePostInput) ProtoReflect() protoreflect.Message
func (*UpdatePostInput) Reset ¶
func (x *UpdatePostInput) Reset()
func (*UpdatePostInput) String ¶
func (x *UpdatePostInput) String() string
type UpdatePostInput_Patch ¶
type UpdatePostInput_Patch int32
const ( UpdatePostInput_ALL UpdatePostInput_Patch = 0 UpdatePostInput_CONTENT UpdatePostInput_Patch = 1 UpdatePostInput_LABELS UpdatePostInput_Patch = 2 UpdatePostInput_TYPE_ID UpdatePostInput_Patch = 3 UpdatePostInput_LOCALE UpdatePostInput_Patch = 4 UpdatePostInput_DRAFT UpdatePostInput_Patch = 5 UpdatePostInput_FEATURED UpdatePostInput_Patch = 7 UpdatePostInput_PINNED UpdatePostInput_Patch = 8 UpdatePostInput_MODERATION UpdatePostInput_Patch = 6 )
func (UpdatePostInput_Patch) Descriptor ¶
func (UpdatePostInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdatePostInput_Patch) Enum ¶
func (x UpdatePostInput_Patch) Enum() *UpdatePostInput_Patch
func (UpdatePostInput_Patch) EnumDescriptor
deprecated
func (UpdatePostInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdatePostInput_Patch.Descriptor instead.
func (UpdatePostInput_Patch) Number ¶
func (x UpdatePostInput_Patch) Number() protoreflect.EnumNumber
func (UpdatePostInput_Patch) String ¶
func (x UpdatePostInput_Patch) String() string
func (UpdatePostInput_Patch) Type ¶
func (UpdatePostInput_Patch) Type() protoreflect.EnumType
type UpdatePostOutput ¶
type UpdatePostOutput struct {
// contains filtered or unexported fields
}
func (*UpdatePostOutput) Descriptor
deprecated
func (*UpdatePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostOutput.ProtoReflect.Descriptor instead.
func (*UpdatePostOutput) ProtoMessage ¶
func (*UpdatePostOutput) ProtoMessage()
func (*UpdatePostOutput) ProtoReflect ¶
func (x *UpdatePostOutput) ProtoReflect() protoreflect.Message
func (*UpdatePostOutput) Reset ¶
func (x *UpdatePostOutput) Reset()
func (*UpdatePostOutput) String ¶
func (x *UpdatePostOutput) String() string
type UpdatePostTranslationInput ¶
type UpdatePostTranslationInput struct { Patch []UpdatePostTranslationInput_Patch `` /* 127-byte string literal not displayed */ PostId string `protobuf:"bytes,2,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` TranslationId string `protobuf:"bytes,3,opt,name=translation_id,json=translationId,proto3" json:"translation_id,omitempty"` Translation *Post_Translation `protobuf:"bytes,4,opt,name=translation,proto3" json:"translation,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostTranslationInput) Descriptor
deprecated
func (*UpdatePostTranslationInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostTranslationInput.ProtoReflect.Descriptor instead.
func (*UpdatePostTranslationInput) GetPatch ¶
func (x *UpdatePostTranslationInput) GetPatch() []UpdatePostTranslationInput_Patch
func (*UpdatePostTranslationInput) GetPostId ¶
func (x *UpdatePostTranslationInput) GetPostId() string
func (*UpdatePostTranslationInput) GetTranslation ¶
func (x *UpdatePostTranslationInput) GetTranslation() *Post_Translation
func (*UpdatePostTranslationInput) GetTranslationId ¶
func (x *UpdatePostTranslationInput) GetTranslationId() string
func (*UpdatePostTranslationInput) ProtoMessage ¶
func (*UpdatePostTranslationInput) ProtoMessage()
func (*UpdatePostTranslationInput) ProtoReflect ¶
func (x *UpdatePostTranslationInput) ProtoReflect() protoreflect.Message
func (*UpdatePostTranslationInput) Reset ¶
func (x *UpdatePostTranslationInput) Reset()
func (*UpdatePostTranslationInput) String ¶
func (x *UpdatePostTranslationInput) String() string
type UpdatePostTranslationInput_Patch ¶
type UpdatePostTranslationInput_Patch int32
const ( UpdatePostTranslationInput_ALL UpdatePostTranslationInput_Patch = 0 UpdatePostTranslationInput_CONTENT UpdatePostTranslationInput_Patch = 1 UpdatePostTranslationInput_LABELS UpdatePostTranslationInput_Patch = 2 UpdatePostTranslationInput_LOCALE UpdatePostTranslationInput_Patch = 4 )
func (UpdatePostTranslationInput_Patch) Descriptor ¶
func (UpdatePostTranslationInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdatePostTranslationInput_Patch) Enum ¶
func (x UpdatePostTranslationInput_Patch) Enum() *UpdatePostTranslationInput_Patch
func (UpdatePostTranslationInput_Patch) EnumDescriptor
deprecated
func (UpdatePostTranslationInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdatePostTranslationInput_Patch.Descriptor instead.
func (UpdatePostTranslationInput_Patch) Number ¶
func (x UpdatePostTranslationInput_Patch) Number() protoreflect.EnumNumber
func (UpdatePostTranslationInput_Patch) String ¶
func (x UpdatePostTranslationInput_Patch) String() string
func (UpdatePostTranslationInput_Patch) Type ¶
func (UpdatePostTranslationInput_Patch) Type() protoreflect.EnumType
type UpdatePostTranslationOutput ¶
type UpdatePostTranslationOutput struct {
// contains filtered or unexported fields
}
func (*UpdatePostTranslationOutput) Descriptor
deprecated
func (*UpdatePostTranslationOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostTranslationOutput.ProtoReflect.Descriptor instead.
func (*UpdatePostTranslationOutput) ProtoMessage ¶
func (*UpdatePostTranslationOutput) ProtoMessage()
func (*UpdatePostTranslationOutput) ProtoReflect ¶
func (x *UpdatePostTranslationOutput) ProtoReflect() protoreflect.Message
func (*UpdatePostTranslationOutput) Reset ¶
func (x *UpdatePostTranslationOutput) Reset()
func (*UpdatePostTranslationOutput) String ¶
func (x *UpdatePostTranslationOutput) String() string
type UpdatePostTypeInput ¶
type UpdatePostTypeInput struct { TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` Type *PostType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*UpdatePostTypeInput) Descriptor
deprecated
func (*UpdatePostTypeInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostTypeInput.ProtoReflect.Descriptor instead.
func (*UpdatePostTypeInput) GetType ¶
func (x *UpdatePostTypeInput) GetType() *PostType
func (*UpdatePostTypeInput) GetTypeId ¶
func (x *UpdatePostTypeInput) GetTypeId() string
func (*UpdatePostTypeInput) ProtoMessage ¶
func (*UpdatePostTypeInput) ProtoMessage()
func (*UpdatePostTypeInput) ProtoReflect ¶
func (x *UpdatePostTypeInput) ProtoReflect() protoreflect.Message
func (*UpdatePostTypeInput) Reset ¶
func (x *UpdatePostTypeInput) Reset()
func (*UpdatePostTypeInput) String ¶
func (x *UpdatePostTypeInput) String() string
type UpdatePostTypeOutput ¶
type UpdatePostTypeOutput struct {
// contains filtered or unexported fields
}
func (*UpdatePostTypeOutput) Descriptor
deprecated
func (*UpdatePostTypeOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostTypeOutput.ProtoReflect.Descriptor instead.
func (*UpdatePostTypeOutput) ProtoMessage ¶
func (*UpdatePostTypeOutput) ProtoMessage()
func (*UpdatePostTypeOutput) ProtoReflect ¶
func (x *UpdatePostTypeOutput) ProtoReflect() protoreflect.Message
func (*UpdatePostTypeOutput) Reset ¶
func (x *UpdatePostTypeOutput) Reset()
func (*UpdatePostTypeOutput) String ¶
func (x *UpdatePostTypeOutput) String() string
type UpdateSubscriptionInput ¶
type UpdateSubscriptionInput struct { Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscriptionInput) Descriptor
deprecated
func (*UpdateSubscriptionInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionInput.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionInput) GetSubscription ¶
func (x *UpdateSubscriptionInput) GetSubscription() *Subscription
func (*UpdateSubscriptionInput) ProtoMessage ¶
func (*UpdateSubscriptionInput) ProtoMessage()
func (*UpdateSubscriptionInput) ProtoReflect ¶
func (x *UpdateSubscriptionInput) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionInput) Reset ¶
func (x *UpdateSubscriptionInput) Reset()
func (*UpdateSubscriptionInput) String ¶
func (x *UpdateSubscriptionInput) String() string
type UpdateSubscriptionOutput ¶
type UpdateSubscriptionOutput struct {
// contains filtered or unexported fields
}
func (*UpdateSubscriptionOutput) Descriptor
deprecated
func (*UpdateSubscriptionOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionOutput.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionOutput) ProtoMessage ¶
func (*UpdateSubscriptionOutput) ProtoMessage()
func (*UpdateSubscriptionOutput) ProtoReflect ¶
func (x *UpdateSubscriptionOutput) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionOutput) Reset ¶
func (x *UpdateSubscriptionOutput) Reset()
func (*UpdateSubscriptionOutput) String ¶
func (x *UpdateSubscriptionOutput) String() string
type VoteMessageInput ¶
type VoteMessageInput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Vote int32 `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VoteMessageInput) Descriptor
deprecated
func (*VoteMessageInput) Descriptor() ([]byte, []int)
Deprecated: Use VoteMessageInput.ProtoReflect.Descriptor instead.
func (*VoteMessageInput) GetMessageId ¶
func (x *VoteMessageInput) GetMessageId() string
func (*VoteMessageInput) GetVote ¶
func (x *VoteMessageInput) GetVote() int32
func (*VoteMessageInput) ProtoMessage ¶
func (*VoteMessageInput) ProtoMessage()
func (*VoteMessageInput) ProtoReflect ¶
func (x *VoteMessageInput) ProtoReflect() protoreflect.Message
func (*VoteMessageInput) Reset ¶
func (x *VoteMessageInput) Reset()
func (*VoteMessageInput) String ¶
func (x *VoteMessageInput) String() string
type VoteMessageOutput ¶
type VoteMessageOutput struct { VoteCount int32 `protobuf:"varint,1,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // contains filtered or unexported fields }
func (*VoteMessageOutput) Descriptor
deprecated
func (*VoteMessageOutput) Descriptor() ([]byte, []int)
Deprecated: Use VoteMessageOutput.ProtoReflect.Descriptor instead.
func (*VoteMessageOutput) GetVoteCount ¶
func (x *VoteMessageOutput) GetVoteCount() int32
func (*VoteMessageOutput) ProtoMessage ¶
func (*VoteMessageOutput) ProtoMessage()
func (*VoteMessageOutput) ProtoReflect ¶
func (x *VoteMessageOutput) ProtoReflect() protoreflect.Message
func (*VoteMessageOutput) Reset ¶
func (x *VoteMessageOutput) Reset()
func (*VoteMessageOutput) String ¶
func (x *VoteMessageOutput) String() string
type VotePostInput ¶
type VotePostInput struct { PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` Vote int32 `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VotePostInput) Descriptor
deprecated
func (*VotePostInput) Descriptor() ([]byte, []int)
Deprecated: Use VotePostInput.ProtoReflect.Descriptor instead.
func (*VotePostInput) GetPostId ¶
func (x *VotePostInput) GetPostId() string
func (*VotePostInput) GetVote ¶
func (x *VotePostInput) GetVote() int32
func (*VotePostInput) ProtoMessage ¶
func (*VotePostInput) ProtoMessage()
func (*VotePostInput) ProtoReflect ¶
func (x *VotePostInput) ProtoReflect() protoreflect.Message
func (*VotePostInput) Reset ¶
func (x *VotePostInput) Reset()
func (*VotePostInput) String ¶
func (x *VotePostInput) String() string
type VotePostOutput ¶
type VotePostOutput struct { VoteCount int32 `protobuf:"varint,1,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // contains filtered or unexported fields }
func (*VotePostOutput) Descriptor
deprecated
func (*VotePostOutput) Descriptor() ([]byte, []int)
Deprecated: Use VotePostOutput.ProtoReflect.Descriptor instead.
func (*VotePostOutput) GetVoteCount ¶
func (x *VotePostOutput) GetVoteCount() int32
func (*VotePostOutput) ProtoMessage ¶
func (*VotePostOutput) ProtoMessage()
func (*VotePostOutput) ProtoReflect ¶
func (x *VotePostOutput) ProtoReflect() protoreflect.Message
func (*VotePostOutput) Reset ¶
func (x *VotePostOutput) Reset()
func (*VotePostOutput) String ¶
func (x *VotePostOutput) String() string
type VoteThreadInput ¶
type VoteThreadInput struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Vote int32 `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*VoteThreadInput) Descriptor
deprecated
func (*VoteThreadInput) Descriptor() ([]byte, []int)
Deprecated: Use VoteThreadInput.ProtoReflect.Descriptor instead.
func (*VoteThreadInput) GetMessageId ¶
func (x *VoteThreadInput) GetMessageId() string
func (*VoteThreadInput) GetVote ¶
func (x *VoteThreadInput) GetVote() int32
func (*VoteThreadInput) ProtoMessage ¶
func (*VoteThreadInput) ProtoMessage()
func (*VoteThreadInput) ProtoReflect ¶
func (x *VoteThreadInput) ProtoReflect() protoreflect.Message
func (*VoteThreadInput) Reset ¶
func (x *VoteThreadInput) Reset()
func (*VoteThreadInput) String ¶
func (x *VoteThreadInput) String() string
type VoteThreadOutput ¶
type VoteThreadOutput struct { VoteCount int32 `protobuf:"varint,1,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` // contains filtered or unexported fields }
func (*VoteThreadOutput) Descriptor
deprecated
func (*VoteThreadOutput) Descriptor() ([]byte, []int)
Deprecated: Use VoteThreadOutput.ProtoReflect.Descriptor instead.
func (*VoteThreadOutput) GetVoteCount ¶
func (x *VoteThreadOutput) GetVoteCount() int32
func (*VoteThreadOutput) ProtoMessage ¶
func (*VoteThreadOutput) ProtoMessage()
func (*VoteThreadOutput) ProtoReflect ¶
func (x *VoteThreadOutput) ProtoReflect() protoreflect.Message
func (*VoteThreadOutput) Reset ¶
func (x *VoteThreadOutput) Reset()
func (*VoteThreadOutput) String ¶
func (x *VoteThreadOutput) String() string
Source Files ¶
- configuration.pb.go
- configuration_service.pb.go
- configuration_service_esdk.pb.go
- configuration_service_grpc.pb.go
- configuration_service_http.pb.go
- message.pb.go
- message_service.pb.go
- message_service_esdk.pb.go
- message_service_grpc.pb.go
- message_service_http.pb.go
- post.pb.go
- post_service.pb.go
- post_service_esdk.pb.go
- post_service_grpc.pb.go
- post_service_http.pb.go
- post_type.pb.go
- post_type_service.pb.go
- post_type_service_esdk.pb.go
- post_type_service_grpc.pb.go
- post_type_service_http.pb.go
- subscription.pb.go
- subscription_service.pb.go
- subscription_service_esdk.pb.go
- subscription_service_grpc.pb.go
- subscription_service_http.pb.go
- thread.pb.go
- thread_endpoint.pb.go
- thread_endpoint_esdk.pb.go
- thread_endpoint_grpc.pb.go
- thread_endpoint_http.pb.go