discussion

package
v0.0.0-...-5dfe74e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigurationService_DescribeDiscussionConfig_FullMethodName = "/eolymp.discussion.ConfigurationService/DescribeDiscussionConfig"
	ConfigurationService_UpdateDiscussionConfig_FullMethodName   = "/eolymp.discussion.ConfigurationService/UpdateDiscussionConfig"
)
View Source
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"
)
View Source
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_DeletePost_FullMethodName              = "/eolymp.discussion.PostService/DeletePost"
	PostService_VotePost_FullMethodName                = "/eolymp.discussion.PostService/VotePost"
	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"
)
View Source
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"
)
View Source
const (
	SubscriptionService_DescribeSubscription_FullMethodName = "/eolymp.discussion.SubscriptionService/DescribeSubscription"
	SubscriptionService_UpdateSubscription_FullMethodName   = "/eolymp.discussion.SubscriptionService/UpdateSubscription"
)
View Source
const (
	ThreadEndpoint_DescribeThread_FullMethodName = "/eolymp.discussion.ThreadEndpoint/DescribeThread"
	ThreadEndpoint_VoteThread_FullMethodName     = "/eolymp.discussion.ThreadEndpoint/VoteThread"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	UpdatePostInput_Patch_name = map[int32]string{
		0: "ALL",
		1: "CONTENT",
		2: "LABELS",
		3: "TYPE_ID",
		4: "LOCALE",
		5: "DRAFT",
		6: "MODERATION",
	}
	UpdatePostInput_Patch_value = map[string]int32{
		"ALL":        0,
		"CONTENT":    1,
		"LABELS":     2,
		"TYPE_ID":    3,
		"LOCALE":     4,
		"DRAFT":      5,
		"MODERATION": 6,
	}
)

Enum value maps for UpdatePostInput_Patch.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
var File_eolymp_discussion_configuration_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_configuration_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_events_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_message_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_message_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_post_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_post_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_post_type_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_post_type_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_subscription_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_subscription_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_thread_endpoint_proto protoreflect.FileDescriptor
View Source
var File_eolymp_discussion_thread_proto protoreflect.FileDescriptor
View Source
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)

View Source
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: "DeletePost",
			Handler:    _PostService_DeletePost_Handler,
		},
		{
			MethodName: "VotePost",
			Handler:    _PostService_VotePost_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)

View Source
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)

View Source
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)

View Source
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 This constructor creates http.Handler, the actual implementation might change at any moment

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 This constructor creates http.Handler, the actual implementation might change at any moment

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 This constructor creates http.Handler, the actual implementation might change at any moment

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 This constructor creates http.Handler, the actual implementation might change at any moment

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 This constructor creates http.Handler, the actual implementation might change at any moment

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 This constructor creates http.Handler, the actual implementation might change at any moment

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.

type ConfigurationServiceInterceptor

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

func NewConfigurationServiceInterceptor

func NewConfigurationServiceInterceptor(cli ConfigurationServiceClient, middleware ..._ConfigurationServiceMiddleware) *ConfigurationServiceInterceptor

NewConfigurationServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*ConfigurationServiceInterceptor) DescribeDiscussionConfig

func (*ConfigurationServiceInterceptor) UpdateDiscussionConfig

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 (*ConfigurationServiceService) UpdateDiscussionConfig

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) Enum

func (Configuration_Moderation) EnumDescriptor deprecated

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

Deprecated: Use Configuration_Moderation.Descriptor instead.

func (Configuration_Moderation) Number

func (Configuration_Moderation) String

func (x Configuration_Moderation) String() string

func (Configuration_Moderation) Type

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 (*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 (*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"`
	// 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) 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 {
	// contains filtered or unexported fields
}

func (*DeletePostOutput) Descriptor deprecated

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

Deprecated: Use DeletePostOutput.ProtoReflect.Descriptor instead.

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 (*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 (*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 (*DescribeDiscussionConfigInput) Reset

func (x *DescribeDiscussionConfigInput) Reset()

func (*DescribeDiscussionConfigInput) 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 (*DescribeDiscussionConfigOutput) ProtoMessage

func (*DescribeDiscussionConfigOutput) ProtoMessage()

func (*DescribeDiscussionConfigOutput) ProtoReflect

func (*DescribeDiscussionConfigOutput) Reset

func (x *DescribeDiscussionConfigOutput) Reset()

func (*DescribeDiscussionConfigOutput) 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 (*DescribePostTranslationInput) Reset

func (x *DescribePostTranslationInput) Reset()

func (*DescribePostTranslationInput) 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 (*DescribePostTranslationOutput) Reset

func (x *DescribePostTranslationOutput) Reset()

func (*DescribePostTranslationOutput) 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 (*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 (*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 (*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 (*ListMessageChangesOutput_Record) ProtoMessage

func (*ListMessageChangesOutput_Record) ProtoMessage()

func (*ListMessageChangesOutput_Record) ProtoReflect

func (*ListMessageChangesOutput_Record) Reset

func (*ListMessageChangesOutput_Record) 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 (*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 (*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 (*ListMessagesInput_Filter) GetMemberId

func (x *ListMessagesInput_Filter) GetMemberId() []*wellknown.ExpressionID

func (*ListMessagesInput_Filter) GetPostedAt

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) Enum

func (ListMessagesInput_Sortable) EnumDescriptor deprecated

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

Deprecated: Use ListMessagesInput_Sortable.Descriptor instead.

func (ListMessagesInput_Sortable) Number

func (ListMessagesInput_Sortable) String

func (ListMessagesInput_Sortable) Type

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 (*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 (*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 (*ListPostTranslationsInput_Filter) GetLocale

func (*ListPostTranslationsInput_Filter) GetQuery

func (*ListPostTranslationsInput_Filter) ProtoMessage

func (*ListPostTranslationsInput_Filter) ProtoMessage()

func (*ListPostTranslationsInput_Filter) ProtoReflect

func (*ListPostTranslationsInput_Filter) Reset

func (*ListPostTranslationsInput_Filter) 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 (*ListPostTranslationsOutput) GetTotal

func (x *ListPostTranslationsOutput) GetTotal() int32

func (*ListPostTranslationsOutput) ProtoMessage

func (*ListPostTranslationsOutput) ProtoMessage()

func (*ListPostTranslationsOutput) ProtoReflect

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"`
	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 (*ListPostsInput_Filter) GetDraft

func (*ListPostsInput_Filter) GetId

func (*ListPostsInput_Filter) GetLabel

func (*ListPostsInput_Filter) GetLocale

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 (*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) Enum

func (ListPostsInput_Sort) EnumDescriptor deprecated

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

Deprecated: Use ListPostsInput_Sort.Descriptor instead.

func (ListPostsInput_Sort) Number

func (ListPostsInput_Sort) String

func (x ListPostsInput_Sort) String() string

func (ListPostsInput_Sort) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetDeletedAt

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

func (*Message) GetEditedAt

func (x *Message) GetEditedAt() *timestamppb.Timestamp

func (*Message) GetId

func (x *Message) GetId() string
func (x *Message) GetLinks() []*wellknown.Link

func (*Message) GetMemberId

func (x *Message) GetMemberId() string

func (*Message) GetMessage

func (x *Message) GetMessage() *ecm.Content

func (*Message) GetPostedAt

func (x *Message) GetPostedAt() *timestamppb.Timestamp

func (*Message) GetReplyCount

func (x *Message) GetReplyCount() int32

func (*Message) GetReplyTo

func (x *Message) GetReplyTo() string

func (*Message) GetRevision

func (x *Message) GetRevision() int32

func (*Message) GetThreadUrl

func (x *Message) GetThreadUrl() string

func (*Message) GetUrl

func (x *Message) GetUrl() string

func (*Message) GetVote

func (x *Message) GetVote() int32

func (*Message) GetVoteCount

func (x *Message) GetVoteCount() int32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageChangedEvent

type MessageChangedEvent struct {
	Before *Message `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"`
	After  *Message `protobuf:"bytes,2,opt,name=after,proto3" json:"after,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) 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.

type MessageServiceInterceptor

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

func NewMessageServiceInterceptor

func NewMessageServiceInterceptor(cli MessageServiceClient, middleware ..._MessageServiceMiddleware) *MessageServiceInterceptor

NewMessageServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*MessageServiceInterceptor) DeleteMessage

func (*MessageServiceInterceptor) DescribeMessage

func (*MessageServiceInterceptor) ListMessageChanges

func (*MessageServiceInterceptor) ListMessages

func (*MessageServiceInterceptor) PostMessage

func (*MessageServiceInterceptor) UpdateMessage

func (*MessageServiceInterceptor) VoteMessage

type MessageServiceServer

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 (*MessageServiceService) DescribeMessage

func (*MessageServiceService) ListMessageChanges

func (*MessageServiceService) ListMessages

func (*MessageServiceService) PostMessage

func (*MessageServiceService) UpdateMessage

func (*MessageServiceService) VoteMessage

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) 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 (Message_Extra) String

func (x Message_Extra) String() string

func (Message_Extra) Type

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)
	Moderation Post_Moderation `protobuf:"varint,5,opt,name=moderation,proto3,enum=eolymp.discussion.Post_Moderation" json:"moderation,omitempty"` // moderation status
	// Types that are assignable 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"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use Post.ProtoReflect.Descriptor instead.

func (*Post) GetAuthor

func (m *Post) GetAuthor() isPost_Author

func (*Post) GetContent

func (x *Post) GetContent() *ecm.Content

func (*Post) GetCreatedAt

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

func (*Post) GetDraft

func (x *Post) GetDraft() bool

func (*Post) GetId

func (x *Post) GetId() string

func (*Post) GetLabels

func (x *Post) GetLabels() []string
func (x *Post) GetLinks() []*wellknown.Link

func (*Post) GetLocale

func (x *Post) GetLocale() string

func (*Post) GetMemberId

func (x *Post) GetMemberId() string

func (*Post) GetModeration

func (x *Post) GetModeration() Post_Moderation

func (*Post) GetPreview

func (x *Post) GetPreview() *Post_Preview

func (*Post) GetPublic

func (x *Post) GetPublic() bool

func (*Post) GetPublishedAt

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

func (*Post) GetReplyCount

func (x *Post) GetReplyCount() int32

func (*Post) GetSourceId

func (x *Post) GetSourceId() string

func (*Post) GetSourceUrl

func (x *Post) GetSourceUrl() string

func (*Post) GetTypeId

func (x *Post) GetTypeId() string

func (*Post) GetUpdatedAt

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

func (*Post) GetUrl

func (x *Post) GetUrl() string

func (*Post) GetUserId

func (x *Post) GetUserId() string

func (*Post) GetVote

func (x *Post) GetVote() int32

func (*Post) GetVoteCount

func (x *Post) GetVoteCount() int32

func (*Post) ProtoMessage

func (*Post) ProtoMessage()

func (*Post) ProtoReflect

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

func (*Post) Reset

func (x *Post) Reset()

func (*Post) String

func (x *Post) String() string

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"`
	// 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) 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 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)
	DeletePost(ctx context.Context, in *DeletePostInput, opts ...grpc.CallOption) (*DeletePostOutput, error)
	VotePost(ctx context.Context, in *VotePostInput, opts ...grpc.CallOption) (*VotePostOutput, 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.

type PostServiceInterceptor

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

func NewPostServiceInterceptor

func NewPostServiceInterceptor(cli PostServiceClient, middleware ..._PostServiceMiddleware) *PostServiceInterceptor

NewPostServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*PostServiceInterceptor) CreatePost

func (*PostServiceInterceptor) CreatePostTranslation

func (*PostServiceInterceptor) DeletePost

func (*PostServiceInterceptor) DeletePostTranslation

func (*PostServiceInterceptor) DescribePost

func (*PostServiceInterceptor) DescribePostTranslation

func (*PostServiceInterceptor) ListPostTranslations

func (*PostServiceInterceptor) ListPosts

func (*PostServiceInterceptor) UpdatePost

func (*PostServiceInterceptor) UpdatePostTranslation

func (*PostServiceInterceptor) VotePost

type PostServiceServer

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 (*PostServiceService) CreatePostTranslation

func (*PostServiceService) DeletePost

func (*PostServiceService) DeletePostTranslation

func (*PostServiceService) DescribePost

func (*PostServiceService) DescribePostTranslation

func (*PostServiceService) ListPostTranslations

func (*PostServiceService) ListPosts

func (*PostServiceService) UpdatePost

func (*PostServiceService) UpdatePostTranslation

func (*PostServiceService) VotePost

type PostTranslationChangedEvent

type PostTranslationChangedEvent struct {
	Post   *Post             `protobuf:"bytes,1,opt,name=post,proto3" json:"post,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"`
	// contains filtered or unexported fields
}

func (*PostTranslationChangedEvent) Descriptor deprecated

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

Deprecated: Use PostTranslationChangedEvent.ProtoReflect.Descriptor instead.

func (*PostTranslationChangedEvent) GetAfter

func (*PostTranslationChangedEvent) GetBefore

func (*PostTranslationChangedEvent) GetPost

func (x *PostTranslationChangedEvent) GetPost() *Post

func (*PostTranslationChangedEvent) ProtoMessage

func (*PostTranslationChangedEvent) ProtoMessage()

func (*PostTranslationChangedEvent) ProtoReflect

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) Descriptor() ([]byte, []int)

Deprecated: Use PostType.ProtoReflect.Descriptor instead.

func (*PostType) GetHidden

func (x *PostType) GetHidden() bool

func (*PostType) GetId

func (x *PostType) GetId() string

func (*PostType) GetName

func (x *PostType) GetName() string

func (*PostType) GetOrder

func (x *PostType) GetOrder() int32

func (*PostType) GetVariants

func (x *PostType) GetVariants() []*PostType_Variant

func (*PostType) ProtoMessage

func (*PostType) ProtoMessage()

func (*PostType) ProtoReflect

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

func (*PostType) Reset

func (x *PostType) Reset()

func (*PostType) String

func (x *PostType) String() string

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.

type PostTypeServiceInterceptor

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

func NewPostTypeServiceInterceptor

func NewPostTypeServiceInterceptor(cli PostTypeServiceClient, middleware ..._PostTypeServiceMiddleware) *PostTypeServiceInterceptor

NewPostTypeServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*PostTypeServiceInterceptor) CreatePostType

func (*PostTypeServiceInterceptor) DeletePostType

func (*PostTypeServiceInterceptor) DescribePostType

func (*PostTypeServiceInterceptor) ListPostTypes

func (*PostTypeServiceInterceptor) UpdatePostType

type PostTypeServiceServer

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 (*PostTypeServiceService) DeletePostType

func (*PostTypeServiceService) DescribePostType

func (*PostTypeServiceService) ListPostTypes

func (*PostTypeServiceService) UpdatePostType

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) 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 (PostType_Extra) String

func (x PostType_Extra) String() string

func (PostType_Extra) Type

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

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) 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 (Post_Moderation) String

func (x Post_Moderation) String() string

func (Post_Moderation) Type

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"`
	// 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) 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 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.

type SubscriptionServiceInterceptor

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

func NewSubscriptionServiceInterceptor

func NewSubscriptionServiceInterceptor(cli SubscriptionServiceClient, middleware ..._SubscriptionServiceMiddleware) *SubscriptionServiceInterceptor

NewSubscriptionServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*SubscriptionServiceInterceptor) DescribeSubscription

func (*SubscriptionServiceInterceptor) UpdateSubscription

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 (*SubscriptionServiceService) UpdateSubscription

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) Enum

func (Subscription_Type) EnumDescriptor deprecated

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

Deprecated: Use Subscription_Type.Descriptor instead.

func (Subscription_Type) Number

func (Subscription_Type) String

func (x Subscription_Type) String() string

func (Subscription_Type) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Thread.ProtoReflect.Descriptor instead.

func (*Thread) GetId

func (x *Thread) GetId() string

func (*Thread) GetName

func (x *Thread) GetName() string

func (*Thread) GetReplyCount

func (x *Thread) GetReplyCount() int32

func (*Thread) GetUrl

func (x *Thread) GetUrl() string

func (*Thread) GetVote

func (x *Thread) GetVote() int32

func (*Thread) GetVoteCount

func (x *Thread) GetVoteCount() int32

func (*Thread) ProtoMessage

func (*Thread) ProtoMessage()

func (*Thread) ProtoReflect

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

func (*Thread) Reset

func (x *Thread) Reset()

func (*Thread) String

func (x *Thread) String() string

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.

type ThreadEndpointInterceptor

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

func NewThreadEndpointInterceptor

func NewThreadEndpointInterceptor(cli ThreadEndpointClient, middleware ..._ThreadEndpointMiddleware) *ThreadEndpointInterceptor

NewThreadEndpointInterceptor constructs additional middleware for a server based on annotations in proto files

func (*ThreadEndpointInterceptor) DescribeThread

func (*ThreadEndpointInterceptor) VoteThread

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 (*ThreadEndpointService) VoteThread

type UnimplementedConfigurationServiceServer

type UnimplementedConfigurationServiceServer struct {
}

UnimplementedConfigurationServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedConfigurationServiceServer) UpdateDiscussionConfig

type UnimplementedMessageServiceServer

type UnimplementedMessageServiceServer struct {
}

UnimplementedMessageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedMessageServiceServer) DeleteMessage

func (UnimplementedMessageServiceServer) DescribeMessage

func (UnimplementedMessageServiceServer) ListMessageChanges

func (UnimplementedMessageServiceServer) ListMessages

func (UnimplementedMessageServiceServer) PostMessage

func (UnimplementedMessageServiceServer) UpdateMessage

func (UnimplementedMessageServiceServer) VoteMessage

type UnimplementedPostServiceServer

type UnimplementedPostServiceServer struct {
}

UnimplementedPostServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPostServiceServer) CreatePost

func (UnimplementedPostServiceServer) DeletePost

func (UnimplementedPostServiceServer) DescribePost

func (UnimplementedPostServiceServer) ListPostTranslations

func (UnimplementedPostServiceServer) ListPosts

func (UnimplementedPostServiceServer) UpdatePost

func (UnimplementedPostServiceServer) VotePost

type UnimplementedPostTypeServiceServer

type UnimplementedPostTypeServiceServer struct {
}

UnimplementedPostTypeServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPostTypeServiceServer) CreatePostType

func (UnimplementedPostTypeServiceServer) DeletePostType

func (UnimplementedPostTypeServiceServer) DescribePostType

func (UnimplementedPostTypeServiceServer) ListPostTypes

func (UnimplementedPostTypeServiceServer) UpdatePostType

type UnimplementedSubscriptionServiceServer

type UnimplementedSubscriptionServiceServer struct {
}

UnimplementedSubscriptionServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSubscriptionServiceServer) DescribeSubscription

func (UnimplementedSubscriptionServiceServer) UpdateSubscription

type UnimplementedThreadEndpointServer

type UnimplementedThreadEndpointServer struct {
}

UnimplementedThreadEndpointServer should be embedded to have forward compatible implementations.

func (UnimplementedThreadEndpointServer) DescribeThread

func (UnimplementedThreadEndpointServer) VoteThread

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 (*UpdateDiscussionConfigInput) ProtoMessage

func (*UpdateDiscussionConfigInput) ProtoMessage()

func (*UpdateDiscussionConfigInput) ProtoReflect

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) Enum

func (UpdateDiscussionConfigInput_Patch) EnumDescriptor deprecated

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

Deprecated: Use UpdateDiscussionConfigInput_Patch.Descriptor instead.

func (UpdateDiscussionConfigInput_Patch) Number

func (UpdateDiscussionConfigInput_Patch) String

func (UpdateDiscussionConfigInput_Patch) Type

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 (*UpdateDiscussionConfigOutput) Reset

func (x *UpdateDiscussionConfigOutput) Reset()

func (*UpdateDiscussionConfigOutput) 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_MODERATION UpdatePostInput_Patch = 6
)

func (UpdatePostInput_Patch) Descriptor

func (UpdatePostInput_Patch) Enum

func (UpdatePostInput_Patch) EnumDescriptor deprecated

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

Deprecated: Use UpdatePostInput_Patch.Descriptor instead.

func (UpdatePostInput_Patch) Number

func (UpdatePostInput_Patch) String

func (x UpdatePostInput_Patch) String() string

func (UpdatePostInput_Patch) Type

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 (*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 (*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) Enum

func (UpdatePostTranslationInput_Patch) EnumDescriptor deprecated

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

Deprecated: Use UpdatePostTranslationInput_Patch.Descriptor instead.

func (UpdatePostTranslationInput_Patch) Number

func (UpdatePostTranslationInput_Patch) String

func (UpdatePostTranslationInput_Patch) Type

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 (*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

Jump to

Keyboard shortcuts

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