Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterArticlesServer(s grpc.ServiceRegistrar, srv ArticlesServer)
- func RegisterKnowledgebaseSearchServer(s grpc.ServiceRegistrar, srv KnowledgebaseSearchServer)
- func RegisterSpacesServer(s grpc.ServiceRegistrar, srv SpacesServer)
- func RegisterTagsServer(s grpc.ServiceRegistrar, srv TagsServer)
- type Article
- func (*Article) Descriptor() ([]byte, []int)deprecated
- func (x *Article) GetCreatedAt() int64
- func (x *Article) GetCreatedBy() *Lookup
- func (x *Article) GetEtag() string
- func (x *Article) GetHasChildren() bool
- func (x *Article) GetId() string
- func (x *Article) GetParentArticle() int64
- func (x *Article) GetPinned() bool
- func (x *Article) GetSpaceId() int64
- func (x *Article) GetState() bool
- func (x *Article) GetTags() []string
- func (x *Article) GetText() string
- func (x *Article) GetTitle() string
- func (x *Article) GetUpdatedAt() int64
- func (x *Article) GetUpdatedBy() *Lookup
- func (x *Article) GetVer() int32
- func (*Article) ProtoMessage()
- func (x *Article) ProtoReflect() protoreflect.Message
- func (x *Article) Reset()
- func (x *Article) String() string
- type ArticleList
- func (*ArticleList) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleList) GetData() []*Article
- func (x *ArticleList) GetNext() bool
- func (x *ArticleList) GetPage() int32
- func (*ArticleList) ProtoMessage()
- func (x *ArticleList) ProtoReflect() protoreflect.Message
- func (x *ArticleList) Reset()
- func (x *ArticleList) String() string
- type ArticleVersion
- func (*ArticleVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleVersion) GetId() string
- func (x *ArticleVersion) GetParentArticle() int64
- func (x *ArticleVersion) GetSpaceId() int64
- func (x *ArticleVersion) GetTags() []string
- func (x *ArticleVersion) GetText() string
- func (x *ArticleVersion) GetTitle() string
- func (x *ArticleVersion) GetUpdatedAt() int64
- func (x *ArticleVersion) GetUpdatedBy() *Lookup
- func (x *ArticleVersion) GetVer() int32
- func (*ArticleVersion) ProtoMessage()
- func (x *ArticleVersion) ProtoReflect() protoreflect.Message
- func (x *ArticleVersion) Reset()
- func (x *ArticleVersion) String() string
- type ArticleVersionList
- func (*ArticleVersionList) Descriptor() ([]byte, []int)deprecated
- func (x *ArticleVersionList) GetData() []*ArticleVersion
- func (x *ArticleVersionList) GetNext() bool
- func (x *ArticleVersionList) GetPage() int32
- func (*ArticleVersionList) ProtoMessage()
- func (x *ArticleVersionList) ProtoReflect() protoreflect.Message
- func (x *ArticleVersionList) Reset()
- func (x *ArticleVersionList) String() string
- type ArticlesClient
- type ArticlesServer
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)deprecated
- func (x *Attachment) GetId() string
- func (x *Attachment) GetSize() int32
- func (x *Attachment) GetTitle() string
- func (x *Attachment) GetUploadedBy() *Lookup
- func (*Attachment) ProtoMessage()
- func (x *Attachment) ProtoReflect() protoreflect.Message
- func (x *Attachment) Reset()
- func (x *Attachment) String() string
- type AttachmentList
- func (*AttachmentList) Descriptor() ([]byte, []int)deprecated
- func (x *AttachmentList) GetData() []*Attachment
- func (x *AttachmentList) GetNext() bool
- func (x *AttachmentList) GetPage() int32
- func (*AttachmentList) ProtoMessage()
- func (x *AttachmentList) ProtoReflect() protoreflect.Message
- func (x *AttachmentList) Reset()
- func (x *AttachmentList) String() string
- type Combined
- func (*Combined) Descriptor() ([]byte, []int)deprecated
- func (x *Combined) GetId() string
- func (x *Combined) GetName() string
- func (x *Combined) GetType() string
- func (*Combined) ProtoMessage()
- func (x *Combined) ProtoReflect() protoreflect.Message
- func (x *Combined) Reset()
- func (x *Combined) String() string
- type CombinedList
- func (*CombinedList) Descriptor() ([]byte, []int)deprecated
- func (x *CombinedList) GetData() []*Combined
- func (x *CombinedList) GetNext() bool
- func (x *CombinedList) GetPage() int32
- func (*CombinedList) ProtoMessage()
- func (x *CombinedList) ProtoReflect() protoreflect.Message
- func (x *CombinedList) Reset()
- func (x *CombinedList) String() string
- type CombinedSearchRequest
- func (*CombinedSearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CombinedSearchRequest) GetPage() int32
- func (x *CombinedSearchRequest) GetQ() string
- func (x *CombinedSearchRequest) GetSize() int32
- func (x *CombinedSearchRequest) GetSort() []string
- func (x *CombinedSearchRequest) GetState() *wrapperspb.BoolValue
- func (x *CombinedSearchRequest) GetTags() []string
- func (*CombinedSearchRequest) ProtoMessage()
- func (x *CombinedSearchRequest) ProtoReflect() protoreflect.Message
- func (x *CombinedSearchRequest) Reset()
- func (x *CombinedSearchRequest) String() string
- type CreateArticleRequest
- func (*CreateArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateArticleRequest) GetFields() []string
- func (x *CreateArticleRequest) GetInput() *InputArticle
- func (x *CreateArticleRequest) GetSpaceId() string
- func (x *CreateArticleRequest) GetXJsonMask() []string
- func (*CreateArticleRequest) ProtoMessage()
- func (x *CreateArticleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateArticleRequest) Reset()
- func (x *CreateArticleRequest) String() string
- type CreateSpacesRequest
- func (*CreateSpacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSpacesRequest) GetFields() []string
- func (x *CreateSpacesRequest) GetInput() []*InputSpace
- func (*CreateSpacesRequest) ProtoMessage()
- func (x *CreateSpacesRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSpacesRequest) Reset()
- func (x *CreateSpacesRequest) String() string
- type DeleteArticleRequest
- func (*DeleteArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteArticleRequest) GetEtag() string
- func (x *DeleteArticleRequest) GetFields() []string
- func (x *DeleteArticleRequest) GetSpaceId() string
- func (*DeleteArticleRequest) ProtoMessage()
- func (x *DeleteArticleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteArticleRequest) Reset()
- func (x *DeleteArticleRequest) String() string
- type DeleteSpaceRequest
- func (*DeleteSpaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSpaceRequest) GetEtag() string
- func (x *DeleteSpaceRequest) GetFields() []string
- func (*DeleteSpaceRequest) ProtoMessage()
- func (x *DeleteSpaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSpaceRequest) Reset()
- func (x *DeleteSpaceRequest) String() string
- type DeleteSpacesRequest
- func (*DeleteSpacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSpacesRequest) GetEtag() []string
- func (x *DeleteSpacesRequest) GetFields() []string
- func (*DeleteSpacesRequest) ProtoMessage()
- func (x *DeleteSpacesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSpacesRequest) Reset()
- func (x *DeleteSpacesRequest) String() string
- type InputArticle
- func (*InputArticle) Descriptor() ([]byte, []int)deprecated
- func (x *InputArticle) GetEtag() string
- func (x *InputArticle) GetParentArticle() int64
- func (x *InputArticle) GetPinned() bool
- func (x *InputArticle) GetSpaceId() int64
- func (x *InputArticle) GetState() bool
- func (x *InputArticle) GetTags() []string
- func (x *InputArticle) GetText() string
- func (x *InputArticle) GetTitle() string
- func (*InputArticle) ProtoMessage()
- func (x *InputArticle) ProtoReflect() protoreflect.Message
- func (x *InputArticle) Reset()
- func (x *InputArticle) String() string
- type InputSpace
- func (*InputSpace) Descriptor() ([]byte, []int)deprecated
- func (x *InputSpace) GetEtag() string
- func (x *InputSpace) GetHomePage() string
- func (x *InputSpace) GetName() string
- func (x *InputSpace) GetState() bool
- func (*InputSpace) ProtoMessage()
- func (x *InputSpace) ProtoReflect() protoreflect.Message
- func (x *InputSpace) Reset()
- func (x *InputSpace) String() string
- type InputSpaceRequest
- func (*InputSpaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InputSpaceRequest) GetFields() []string
- func (x *InputSpaceRequest) GetInput() []*InputSpace
- func (x *InputSpaceRequest) GetXJsonMask() []string
- func (*InputSpaceRequest) ProtoMessage()
- func (x *InputSpaceRequest) ProtoReflect() protoreflect.Message
- func (x *InputSpaceRequest) Reset()
- func (x *InputSpaceRequest) String() string
- type KnowledgebaseSearchClient
- type KnowledgebaseSearchServer
- type ListArticleVersionsRequest
- func (*ListArticleVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArticleVersionsRequest) GetArticleId() string
- func (x *ListArticleVersionsRequest) GetPage() int32
- func (x *ListArticleVersionsRequest) GetSize() int32
- func (x *ListArticleVersionsRequest) GetSort() []string
- func (x *ListArticleVersionsRequest) GetSpaceId() string
- func (*ListArticleVersionsRequest) ProtoMessage()
- func (x *ListArticleVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListArticleVersionsRequest) Reset()
- func (x *ListArticleVersionsRequest) String() string
- type ListArticlesRequest
- func (*ListArticlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArticlesRequest) GetArticleId() string
- func (x *ListArticlesRequest) GetFields() []string
- func (x *ListArticlesRequest) GetPage() int32
- func (x *ListArticlesRequest) GetQ() string
- func (x *ListArticlesRequest) GetSize() int32
- func (x *ListArticlesRequest) GetSort() []string
- func (x *ListArticlesRequest) GetSpaceId() string
- func (x *ListArticlesRequest) GetState() *wrapperspb.BoolValue
- func (x *ListArticlesRequest) GetTags() []string
- func (*ListArticlesRequest) ProtoMessage()
- func (x *ListArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListArticlesRequest) Reset()
- func (x *ListArticlesRequest) String() string
- type ListAttachmentsRequest
- func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttachmentsRequest) GetArticleId() string
- func (x *ListAttachmentsRequest) GetPage() int32
- func (x *ListAttachmentsRequest) GetSize() int32
- func (x *ListAttachmentsRequest) GetSort() []string
- func (x *ListAttachmentsRequest) GetSpaceId() string
- func (*ListAttachmentsRequest) ProtoMessage()
- func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttachmentsRequest) Reset()
- func (x *ListAttachmentsRequest) String() string
- type ListSpacesRequest
- func (*ListSpacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSpacesRequest) GetFields() []string
- func (x *ListSpacesRequest) GetId() []string
- func (x *ListSpacesRequest) GetPage() int32
- func (x *ListSpacesRequest) GetQ() string
- func (x *ListSpacesRequest) GetSize() int32
- func (x *ListSpacesRequest) GetSort() []string
- func (*ListSpacesRequest) ProtoMessage()
- func (x *ListSpacesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSpacesRequest) Reset()
- func (x *ListSpacesRequest) String() string
- type ListTagsRequest
- func (*ListTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsRequest) GetPage() int32
- func (x *ListTagsRequest) GetSize() int32
- func (*ListTagsRequest) ProtoMessage()
- func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagsRequest) Reset()
- func (x *ListTagsRequest) String() string
- type LocateArticleRequest
- func (*LocateArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LocateArticleRequest) GetEtag() string
- func (x *LocateArticleRequest) GetFields() []string
- func (x *LocateArticleRequest) GetSpaceId() string
- func (*LocateArticleRequest) ProtoMessage()
- func (x *LocateArticleRequest) ProtoReflect() protoreflect.Message
- func (x *LocateArticleRequest) Reset()
- func (x *LocateArticleRequest) String() string
- type LocateArticleVersionRequest
- func (*LocateArticleVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LocateArticleVersionRequest) GetArticleId() string
- func (x *LocateArticleVersionRequest) GetSpaceId() string
- func (x *LocateArticleVersionRequest) GetVersionId() int64
- func (*LocateArticleVersionRequest) ProtoMessage()
- func (x *LocateArticleVersionRequest) ProtoReflect() protoreflect.Message
- func (x *LocateArticleVersionRequest) Reset()
- func (x *LocateArticleVersionRequest) String() string
- type LocateSpacesRequest
- func (*LocateSpacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LocateSpacesRequest) GetEtag() string
- func (x *LocateSpacesRequest) GetFields() []string
- func (*LocateSpacesRequest) ProtoMessage()
- func (x *LocateSpacesRequest) ProtoReflect() protoreflect.Message
- func (x *LocateSpacesRequest) Reset()
- func (x *LocateSpacesRequest) String() string
- type Lookup
- type Space
- func (*Space) Descriptor() ([]byte, []int)deprecated
- func (x *Space) GetCreatedAt() int64
- func (x *Space) GetCreatedBy() *Lookup
- func (x *Space) GetDomain() *Lookup
- func (x *Space) GetEtag() string
- func (x *Space) GetHasChildren() bool
- func (x *Space) GetHomePage() string
- func (x *Space) GetId() string
- func (x *Space) GetMode() string
- func (x *Space) GetName() string
- func (x *Space) GetState() bool
- func (x *Space) GetUpdatedAt() int64
- func (x *Space) GetUpdatedBy() *Lookup
- func (x *Space) GetVer() int32
- func (*Space) ProtoMessage()
- func (x *Space) ProtoReflect() protoreflect.Message
- func (x *Space) Reset()
- func (x *Space) String() string
- type SpaceList
- func (*SpaceList) Descriptor() ([]byte, []int)deprecated
- func (x *SpaceList) GetData() []*Space
- func (x *SpaceList) GetNext() bool
- func (x *SpaceList) GetPage() int32
- func (*SpaceList) ProtoMessage()
- func (x *SpaceList) ProtoReflect() protoreflect.Message
- func (x *SpaceList) Reset()
- func (x *SpaceList) String() string
- type SpacesClient
- type SpacesServer
- type Tag
- type TagsClient
- type TagsList
- func (*TagsList) Descriptor() ([]byte, []int)deprecated
- func (x *TagsList) GetData() []*Tag
- func (x *TagsList) GetNext() bool
- func (x *TagsList) GetPage() int32
- func (*TagsList) ProtoMessage()
- func (x *TagsList) ProtoReflect() protoreflect.Message
- func (x *TagsList) Reset()
- func (x *TagsList) String() string
- type TagsServer
- type UnimplementedArticlesServer
- func (UnimplementedArticlesServer) ArticleVersionsList(context.Context, *ListArticleVersionsRequest) (*ArticleVersionList, error)
- func (UnimplementedArticlesServer) ArticlesAttachmentList(context.Context, *ListAttachmentsRequest) (*AttachmentList, error)
- func (UnimplementedArticlesServer) CreateArticle(context.Context, *CreateArticleRequest) (*ArticleList, error)
- func (UnimplementedArticlesServer) DeleteArticle(context.Context, *DeleteArticleRequest) (*Article, error)
- func (UnimplementedArticlesServer) ListArticles(context.Context, *ListArticlesRequest) (*ArticleList, error)
- func (UnimplementedArticlesServer) LocateArticle(context.Context, *LocateArticleRequest) (*Article, error)
- func (UnimplementedArticlesServer) LocateArticleVersion(context.Context, *LocateArticleVersionRequest) (*ArticleVersion, error)
- func (UnimplementedArticlesServer) UpdateArticle(context.Context, *UpdateArticleRequest) (*ArticleList, error)
- type UnimplementedKnowledgebaseSearchServer
- type UnimplementedSpacesServer
- func (UnimplementedSpacesServer) CreateSpace(context.Context, *InputSpaceRequest) (*Space, error)
- func (UnimplementedSpacesServer) DeleteSpace(context.Context, *DeleteSpaceRequest) (*Space, error)
- func (UnimplementedSpacesServer) ListSpaces(context.Context, *ListSpacesRequest) (*SpaceList, error)
- func (UnimplementedSpacesServer) LocateSpace(context.Context, *LocateSpacesRequest) (*Space, error)
- func (UnimplementedSpacesServer) UpdateSpace(context.Context, *UpdateSpaceRequest) (*Space, error)
- type UnimplementedTagsServer
- type UnsafeArticlesServer
- type UnsafeKnowledgebaseSearchServer
- type UnsafeSpacesServer
- type UnsafeTagsServer
- type UpdateArticleRequest
- func (*UpdateArticleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateArticleRequest) GetFields() []string
- func (x *UpdateArticleRequest) GetInput() *InputArticle
- func (x *UpdateArticleRequest) GetSpaceId() string
- func (x *UpdateArticleRequest) GetXJsonMask() []string
- func (*UpdateArticleRequest) ProtoMessage()
- func (x *UpdateArticleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateArticleRequest) Reset()
- func (x *UpdateArticleRequest) String() string
- type UpdateSpaceRequest
- func (*UpdateSpaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSpaceRequest) GetFields() []string
- func (x *UpdateSpaceRequest) GetInput() *InputSpace
- func (x *UpdateSpaceRequest) GetXJsonMask() []string
- func (*UpdateSpaceRequest) ProtoMessage()
- func (x *UpdateSpaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSpaceRequest) Reset()
- func (x *UpdateSpaceRequest) String() string
Constants ¶
const ( Articles_ListArticles_FullMethodName = "/webitel.knowledgebase.Articles/ListArticles" Articles_LocateArticle_FullMethodName = "/webitel.knowledgebase.Articles/LocateArticle" Articles_CreateArticle_FullMethodName = "/webitel.knowledgebase.Articles/CreateArticle" Articles_UpdateArticle_FullMethodName = "/webitel.knowledgebase.Articles/UpdateArticle" Articles_DeleteArticle_FullMethodName = "/webitel.knowledgebase.Articles/DeleteArticle" Articles_ArticlesAttachmentList_FullMethodName = "/webitel.knowledgebase.Articles/ArticlesAttachmentList" Articles_ArticleVersionsList_FullMethodName = "/webitel.knowledgebase.Articles/ArticleVersionsList" Articles_LocateArticleVersion_FullMethodName = "/webitel.knowledgebase.Articles/LocateArticleVersion" )
const ( Spaces_ListSpaces_FullMethodName = "/webitel.knowledgebase.Spaces/ListSpaces" Spaces_LocateSpace_FullMethodName = "/webitel.knowledgebase.Spaces/LocateSpace" Spaces_CreateSpace_FullMethodName = "/webitel.knowledgebase.Spaces/CreateSpace" Spaces_UpdateSpace_FullMethodName = "/webitel.knowledgebase.Spaces/UpdateSpace" Spaces_DeleteSpace_FullMethodName = "/webitel.knowledgebase.Spaces/DeleteSpace" )
const (
KnowledgebaseSearch_SpacesArticlesSearch_FullMethodName = "/webitel.knowledgebase.KnowledgebaseSearch/SpacesArticlesSearch"
)
const (
Tags_ListTags_FullMethodName = "/webitel.knowledgebase.Tags/ListTags"
)
Variables ¶
var Articles_ServiceDesc = grpc.ServiceDesc{ ServiceName: "webitel.knowledgebase.Articles", HandlerType: (*ArticlesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListArticles", Handler: _Articles_ListArticles_Handler, }, { MethodName: "LocateArticle", Handler: _Articles_LocateArticle_Handler, }, { MethodName: "CreateArticle", Handler: _Articles_CreateArticle_Handler, }, { MethodName: "UpdateArticle", Handler: _Articles_UpdateArticle_Handler, }, { MethodName: "DeleteArticle", Handler: _Articles_DeleteArticle_Handler, }, { MethodName: "ArticlesAttachmentList", Handler: _Articles_ArticlesAttachmentList_Handler, }, { MethodName: "ArticleVersionsList", Handler: _Articles_ArticleVersionsList_Handler, }, { MethodName: "LocateArticleVersion", Handler: _Articles_LocateArticleVersion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "knowledgebase/article.proto", }
Articles_ServiceDesc is the grpc.ServiceDesc for Articles service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_knowledgebase_article_proto protoreflect.FileDescriptor
var File_knowledgebase_fields_proto protoreflect.FileDescriptor
var File_knowledgebase_search_proto protoreflect.FileDescriptor
var File_knowledgebase_space_proto protoreflect.FileDescriptor
var File_knowledgebase_spaces_proto protoreflect.FileDescriptor
var KnowledgebaseSearch_ServiceDesc = grpc.ServiceDesc{ ServiceName: "webitel.knowledgebase.KnowledgebaseSearch", HandlerType: (*KnowledgebaseSearchServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SpacesArticlesSearch", Handler: _KnowledgebaseSearch_SpacesArticlesSearch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "knowledgebase/search.proto", }
KnowledgebaseSearch_ServiceDesc is the grpc.ServiceDesc for KnowledgebaseSearch service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Spaces_ServiceDesc = grpc.ServiceDesc{ ServiceName: "webitel.knowledgebase.Spaces", HandlerType: (*SpacesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListSpaces", Handler: _Spaces_ListSpaces_Handler, }, { MethodName: "LocateSpace", Handler: _Spaces_LocateSpace_Handler, }, { MethodName: "CreateSpace", Handler: _Spaces_CreateSpace_Handler, }, { MethodName: "UpdateSpace", Handler: _Spaces_UpdateSpace_Handler, }, { MethodName: "DeleteSpace", Handler: _Spaces_DeleteSpace_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "knowledgebase/spaces.proto", }
Spaces_ServiceDesc is the grpc.ServiceDesc for Spaces service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Tags_ServiceDesc = grpc.ServiceDesc{ ServiceName: "webitel.knowledgebase.Tags", HandlerType: (*TagsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTags", Handler: _Tags_ListTags_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "knowledgebase/tags.proto", }
Tags_ServiceDesc is the grpc.ServiceDesc for Tags service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterArticlesServer ¶
func RegisterArticlesServer(s grpc.ServiceRegistrar, srv ArticlesServer)
func RegisterKnowledgebaseSearchServer ¶
func RegisterKnowledgebaseSearchServer(s grpc.ServiceRegistrar, srv KnowledgebaseSearchServer)
func RegisterSpacesServer ¶
func RegisterSpacesServer(s grpc.ServiceRegistrar, srv SpacesServer)
func RegisterTagsServer ¶
func RegisterTagsServer(s grpc.ServiceRegistrar, srv TagsServer)
Types ¶
type Article ¶
type Article struct { // The unique ID of the association. Never changes. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // READONLY. Operational attributes // Version of the latest update. Numeric sequence. Ver int32 `protobuf:"varint,2,opt,name=ver,proto3" json:"ver,omitempty"` // Unique ID of the latest version of the update. // This ID changes after any update to the underlying value(s). Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // The user who created this Field. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Timestamp(milli) of the Field creation. CreatedBy *Lookup `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Timestamp(milli) of the last Field update. // Take part in Etag generation. UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The user who performed last Update. UpdatedBy *Lookup `protobuf:"bytes,7,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // Space ID associated with. SpaceId int64 `protobuf:"varint,8,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Indicates the state of the article. State bool `protobuf:"varint,9,opt,name=state,proto3" json:"state,omitempty"` // The text content of the article. Text string `protobuf:"bytes,10,opt,name=text,proto3" json:"text,omitempty"` // Tags associated with the article. Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` // The title of the article. Title string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"` // The parent article ID. ParentArticle int64 `protobuf:"varint,13,opt,name=parent_article,json=parentArticle,proto3" json:"parent_article,omitempty"` // Indicates that the article has children. HasChildren bool `protobuf:"varint,14,opt,name=has_children,json=hasChildren,proto3" json:"has_children,omitempty"` // Indicates that the article is pinned on the top of list. Pinned bool `protobuf:"varint,15,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*Article) Descriptor
deprecated
func (*Article) GetCreatedAt ¶
func (*Article) GetCreatedBy ¶
func (*Article) GetHasChildren ¶
func (*Article) GetParentArticle ¶
func (*Article) GetSpaceId ¶
func (*Article) GetUpdatedAt ¶
func (*Article) GetUpdatedBy ¶
func (*Article) ProtoMessage ¶
func (*Article) ProtoMessage()
func (*Article) ProtoReflect ¶
func (x *Article) ProtoReflect() protoreflect.Message
type ArticleList ¶
type ArticleList struct { // Article dataset page. Data []*Article `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // The page number of the partial result. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Indicates that this is a partial result. // More data available upon query: ?size=${data.len}&page=${page++} Next bool `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
Article dataset. NOTE: Edge represents connection between two nodes. So this spaceArticles.data are always subordinate to some space.id.
func (*ArticleList) Descriptor
deprecated
func (*ArticleList) Descriptor() ([]byte, []int)
Deprecated: Use ArticleList.ProtoReflect.Descriptor instead.
func (*ArticleList) GetData ¶
func (x *ArticleList) GetData() []*Article
func (*ArticleList) GetNext ¶
func (x *ArticleList) GetNext() bool
func (*ArticleList) GetPage ¶
func (x *ArticleList) GetPage() int32
func (*ArticleList) ProtoMessage ¶
func (*ArticleList) ProtoMessage()
func (*ArticleList) ProtoReflect ¶
func (x *ArticleList) ProtoReflect() protoreflect.Message
func (*ArticleList) Reset ¶
func (x *ArticleList) Reset()
func (*ArticleList) String ¶
func (x *ArticleList) String() string
type ArticleVersion ¶
type ArticleVersion struct { // The unique ID of the association. Never changes. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The title of the article. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // The text content of the article. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // The user who loaded this attachment. UpdatedBy *Lookup `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // Timestamp(milli) of the last Field update. UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The parent article ID. ParentArticle int64 `protobuf:"varint,6,opt,name=parent_article,json=parentArticle,proto3" json:"parent_article,omitempty"` // Tags associated with the article. Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` // Space ID associated with. SpaceId int64 `protobuf:"varint,8,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Version of the latest update. Numeric sequence. Ver int32 `protobuf:"varint,9,opt,name=ver,proto3" json:"ver,omitempty"` // contains filtered or unexported fields }
func (*ArticleVersion) Descriptor
deprecated
func (*ArticleVersion) Descriptor() ([]byte, []int)
Deprecated: Use ArticleVersion.ProtoReflect.Descriptor instead.
func (*ArticleVersion) GetId ¶
func (x *ArticleVersion) GetId() string
func (*ArticleVersion) GetParentArticle ¶
func (x *ArticleVersion) GetParentArticle() int64
func (*ArticleVersion) GetSpaceId ¶
func (x *ArticleVersion) GetSpaceId() int64
func (*ArticleVersion) GetTags ¶
func (x *ArticleVersion) GetTags() []string
func (*ArticleVersion) GetText ¶
func (x *ArticleVersion) GetText() string
func (*ArticleVersion) GetTitle ¶
func (x *ArticleVersion) GetTitle() string
func (*ArticleVersion) GetUpdatedAt ¶
func (x *ArticleVersion) GetUpdatedAt() int64
func (*ArticleVersion) GetUpdatedBy ¶
func (x *ArticleVersion) GetUpdatedBy() *Lookup
func (*ArticleVersion) GetVer ¶
func (x *ArticleVersion) GetVer() int32
func (*ArticleVersion) ProtoMessage ¶
func (*ArticleVersion) ProtoMessage()
func (*ArticleVersion) ProtoReflect ¶
func (x *ArticleVersion) ProtoReflect() protoreflect.Message
func (*ArticleVersion) Reset ¶
func (x *ArticleVersion) Reset()
func (*ArticleVersion) String ¶
func (x *ArticleVersion) String() string
type ArticleVersionList ¶
type ArticleVersionList struct { Data []*ArticleVersion `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // The page number of the partial result. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Indicates that this is a partial result. // More data available upon query: ?size=${data.len}&page=${page++} Next bool `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*ArticleVersionList) Descriptor
deprecated
func (*ArticleVersionList) Descriptor() ([]byte, []int)
Deprecated: Use ArticleVersionList.ProtoReflect.Descriptor instead.
func (*ArticleVersionList) GetData ¶
func (x *ArticleVersionList) GetData() []*ArticleVersion
func (*ArticleVersionList) GetNext ¶
func (x *ArticleVersionList) GetNext() bool
func (*ArticleVersionList) GetPage ¶
func (x *ArticleVersionList) GetPage() int32
func (*ArticleVersionList) ProtoMessage ¶
func (*ArticleVersionList) ProtoMessage()
func (*ArticleVersionList) ProtoReflect ¶
func (x *ArticleVersionList) ProtoReflect() protoreflect.Message
func (*ArticleVersionList) Reset ¶
func (x *ArticleVersionList) Reset()
func (*ArticleVersionList) String ¶
func (x *ArticleVersionList) String() string
type ArticlesClient ¶
type ArticlesClient interface { // List of the Space's Article(s). ListArticles(ctx context.Context, in *ListArticlesRequest, opts ...grpc.CallOption) (*ArticleList, error) // Locate the space's Article association. LocateArticle(ctx context.Context, in *LocateArticleRequest, opts ...grpc.CallOption) (*Article, error) CreateArticle(ctx context.Context, in *CreateArticleRequest, opts ...grpc.CallOption) (*ArticleList, error) // Update the space's Article details. UpdateArticle(ctx context.Context, in *UpdateArticleRequest, opts ...grpc.CallOption) (*ArticleList, error) // Remove the space's Article association. DeleteArticle(ctx context.Context, in *DeleteArticleRequest, opts ...grpc.CallOption) (*Article, error) ArticlesAttachmentList(ctx context.Context, in *ListAttachmentsRequest, opts ...grpc.CallOption) (*AttachmentList, error) ArticleVersionsList(ctx context.Context, in *ListArticleVersionsRequest, opts ...grpc.CallOption) (*ArticleVersionList, error) LocateArticleVersion(ctx context.Context, in *LocateArticleVersionRequest, opts ...grpc.CallOption) (*ArticleVersion, error) }
ArticlesClient is the client API for Articles 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.
Articles service catalogs.
func NewArticlesClient ¶
func NewArticlesClient(cc grpc.ClientConnInterface) ArticlesClient
type ArticlesServer ¶
type ArticlesServer interface { // List of the Space's Article(s). ListArticles(context.Context, *ListArticlesRequest) (*ArticleList, error) // Locate the space's Article association. LocateArticle(context.Context, *LocateArticleRequest) (*Article, error) CreateArticle(context.Context, *CreateArticleRequest) (*ArticleList, error) // Update the space's Article details. UpdateArticle(context.Context, *UpdateArticleRequest) (*ArticleList, error) // Remove the space's Article association. DeleteArticle(context.Context, *DeleteArticleRequest) (*Article, error) ArticlesAttachmentList(context.Context, *ListAttachmentsRequest) (*AttachmentList, error) ArticleVersionsList(context.Context, *ListArticleVersionsRequest) (*ArticleVersionList, error) LocateArticleVersion(context.Context, *LocateArticleVersionRequest) (*ArticleVersion, error) // contains filtered or unexported methods }
ArticlesServer is the server API for Articles service. All implementations must embed UnimplementedArticlesServer for forward compatibility.
Articles service catalogs.
type Attachment ¶
type Attachment struct { // The unique ID of the association. Never changes. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The title of the article. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // The size of the attachment. Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // The user who loaded this attachment. UploadedBy *Lookup `protobuf:"bytes,4,opt,name=uploaded_by,json=uploadedBy,proto3" json:"uploaded_by,omitempty"` // contains filtered or unexported fields }
func (*Attachment) Descriptor
deprecated
func (*Attachment) Descriptor() ([]byte, []int)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetId ¶
func (x *Attachment) GetId() string
func (*Attachment) GetSize ¶
func (x *Attachment) GetSize() int32
func (*Attachment) GetTitle ¶
func (x *Attachment) GetTitle() string
func (*Attachment) GetUploadedBy ¶
func (x *Attachment) GetUploadedBy() *Lookup
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) ProtoReflect ¶
func (x *Attachment) ProtoReflect() protoreflect.Message
func (*Attachment) Reset ¶
func (x *Attachment) Reset()
func (*Attachment) String ¶
func (x *Attachment) String() string
type AttachmentList ¶
type AttachmentList struct { // Attachment dataset page. Data []*Attachment `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // The page number of the partial result. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Indicates that this is a partial result. // More data available upon query: ?size=${data.len}&page=${page++} Next bool `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*AttachmentList) Descriptor
deprecated
func (*AttachmentList) Descriptor() ([]byte, []int)
Deprecated: Use AttachmentList.ProtoReflect.Descriptor instead.
func (*AttachmentList) GetData ¶
func (x *AttachmentList) GetData() []*Attachment
func (*AttachmentList) GetNext ¶
func (x *AttachmentList) GetNext() bool
func (*AttachmentList) GetPage ¶
func (x *AttachmentList) GetPage() int32
func (*AttachmentList) ProtoMessage ¶
func (*AttachmentList) ProtoMessage()
func (*AttachmentList) ProtoReflect ¶
func (x *AttachmentList) ProtoReflect() protoreflect.Message
func (*AttachmentList) Reset ¶
func (x *AttachmentList) Reset()
func (*AttachmentList) String ¶
func (x *AttachmentList) String() string
type Combined ¶
type Combined struct { // Id of the record (article or space) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Display name of the record (article or space) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Type of the record: article/space Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Combined) Descriptor
deprecated
func (*Combined) ProtoMessage ¶
func (*Combined) ProtoMessage()
func (*Combined) ProtoReflect ¶
func (x *Combined) ProtoReflect() protoreflect.Message
type CombinedList ¶
type CombinedList struct { Data []*Combined `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // The page number of the partial result. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Indicates that this is a partial result. // More data available upon query: ?size=${data.len}&page=${page++} Next bool `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*CombinedList) Descriptor
deprecated
func (*CombinedList) Descriptor() ([]byte, []int)
Deprecated: Use CombinedList.ProtoReflect.Descriptor instead.
func (*CombinedList) GetData ¶
func (x *CombinedList) GetData() []*Combined
func (*CombinedList) GetNext ¶
func (x *CombinedList) GetNext() bool
func (*CombinedList) GetPage ¶
func (x *CombinedList) GetPage() int32
func (*CombinedList) ProtoMessage ¶
func (*CombinedList) ProtoMessage()
func (*CombinedList) ProtoReflect ¶
func (x *CombinedList) ProtoReflect() protoreflect.Message
func (*CombinedList) Reset ¶
func (x *CombinedList) Reset()
func (*CombinedList) String ¶
func (x *CombinedList) String() string
type CombinedSearchRequest ¶
type CombinedSearchRequest struct { // Size count of records on result page. limit = (size++) Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Page number of result dataset records. offset = (page*size) Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Sort the result according to fields. Sort []string `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` // Search term: location name; // `?` - matches any one character // `*` - matches 0 or more characters Q string `protobuf:"bytes,4,opt,name=q,proto3" json:"q,omitempty"` // Active Article only. State *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` // Tags associated with the article. Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
Search for the space's Article(s) request.
func (*CombinedSearchRequest) Descriptor
deprecated
func (*CombinedSearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use CombinedSearchRequest.ProtoReflect.Descriptor instead.
func (*CombinedSearchRequest) GetPage ¶
func (x *CombinedSearchRequest) GetPage() int32
func (*CombinedSearchRequest) GetQ ¶
func (x *CombinedSearchRequest) GetQ() string
func (*CombinedSearchRequest) GetSize ¶
func (x *CombinedSearchRequest) GetSize() int32
func (*CombinedSearchRequest) GetSort ¶
func (x *CombinedSearchRequest) GetSort() []string
func (*CombinedSearchRequest) GetState ¶
func (x *CombinedSearchRequest) GetState() *wrapperspb.BoolValue
func (*CombinedSearchRequest) GetTags ¶
func (x *CombinedSearchRequest) GetTags() []string
func (*CombinedSearchRequest) ProtoMessage ¶
func (*CombinedSearchRequest) ProtoMessage()
func (*CombinedSearchRequest) ProtoReflect ¶
func (x *CombinedSearchRequest) ProtoReflect() protoreflect.Message
func (*CombinedSearchRequest) Reset ¶
func (x *CombinedSearchRequest) Reset()
func (*CombinedSearchRequest) String ¶
func (x *CombinedSearchRequest) String() string
type CreateArticleRequest ¶
type CreateArticleRequest struct { // JSON PATCH fields mask. // List of JPath fields specified in body(input). XJsonMask []string `protobuf:"bytes,1,rep,name=x_json_mask,json=xJsonMask,proto3" json:"x_json_mask,omitempty"` // Fields to be retrieved into result of changes. Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // Link space ID. SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // NEW Update of the Article link. Input *InputArticle `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*CreateArticleRequest) Descriptor
deprecated
func (*CreateArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateArticleRequest.ProtoReflect.Descriptor instead.
func (*CreateArticleRequest) GetFields ¶
func (x *CreateArticleRequest) GetFields() []string
func (*CreateArticleRequest) GetInput ¶
func (x *CreateArticleRequest) GetInput() *InputArticle
func (*CreateArticleRequest) GetSpaceId ¶
func (x *CreateArticleRequest) GetSpaceId() string
func (*CreateArticleRequest) GetXJsonMask ¶
func (x *CreateArticleRequest) GetXJsonMask() []string
func (*CreateArticleRequest) ProtoMessage ¶
func (*CreateArticleRequest) ProtoMessage()
func (*CreateArticleRequest) ProtoReflect ¶
func (x *CreateArticleRequest) ProtoReflect() protoreflect.Message
func (*CreateArticleRequest) Reset ¶
func (x *CreateArticleRequest) Reset()
func (*CreateArticleRequest) String ¶
func (x *CreateArticleRequest) String() string
type CreateSpacesRequest ¶
type CreateSpacesRequest struct { // Fields to be retrieved into result of changes. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Data is a set of Spaces to be created. Input []*InputSpace `protobuf:"bytes,2,rep,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*CreateSpacesRequest) Descriptor
deprecated
func (*CreateSpacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSpacesRequest.ProtoReflect.Descriptor instead.
func (*CreateSpacesRequest) GetFields ¶
func (x *CreateSpacesRequest) GetFields() []string
func (*CreateSpacesRequest) GetInput ¶
func (x *CreateSpacesRequest) GetInput() []*InputSpace
func (*CreateSpacesRequest) ProtoMessage ¶
func (*CreateSpacesRequest) ProtoMessage()
func (*CreateSpacesRequest) ProtoReflect ¶
func (x *CreateSpacesRequest) ProtoReflect() protoreflect.Message
func (*CreateSpacesRequest) Reset ¶
func (x *CreateSpacesRequest) Reset()
func (*CreateSpacesRequest) String ¶
func (x *CreateSpacesRequest) String() string
type DeleteArticleRequest ¶
type DeleteArticleRequest struct { // Fields to be retrieved as a result. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Space ID associated with. SpaceId string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Unique ID to remove. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*DeleteArticleRequest) Descriptor
deprecated
func (*DeleteArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArticleRequest.ProtoReflect.Descriptor instead.
func (*DeleteArticleRequest) GetEtag ¶
func (x *DeleteArticleRequest) GetEtag() string
func (*DeleteArticleRequest) GetFields ¶
func (x *DeleteArticleRequest) GetFields() []string
func (*DeleteArticleRequest) GetSpaceId ¶
func (x *DeleteArticleRequest) GetSpaceId() string
func (*DeleteArticleRequest) ProtoMessage ¶
func (*DeleteArticleRequest) ProtoMessage()
func (*DeleteArticleRequest) ProtoReflect ¶
func (x *DeleteArticleRequest) ProtoReflect() protoreflect.Message
func (*DeleteArticleRequest) Reset ¶
func (x *DeleteArticleRequest) Reset()
func (*DeleteArticleRequest) String ¶
func (x *DeleteArticleRequest) String() string
type DeleteSpaceRequest ¶
type DeleteSpaceRequest struct { // Fields to be retrieved into result of changes. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Unique ID of the latest version of a resource. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*DeleteSpaceRequest) Descriptor
deprecated
func (*DeleteSpaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSpaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteSpaceRequest) GetEtag ¶
func (x *DeleteSpaceRequest) GetEtag() string
func (*DeleteSpaceRequest) GetFields ¶
func (x *DeleteSpaceRequest) GetFields() []string
func (*DeleteSpaceRequest) ProtoMessage ¶
func (*DeleteSpaceRequest) ProtoMessage()
func (*DeleteSpaceRequest) ProtoReflect ¶
func (x *DeleteSpaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteSpaceRequest) Reset ¶
func (x *DeleteSpaceRequest) Reset()
func (*DeleteSpaceRequest) String ¶
func (x *DeleteSpaceRequest) String() string
type DeleteSpacesRequest ¶
type DeleteSpacesRequest struct { // Fields to be retrieved into result of changes. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Set of unique Space IDs to deal with Etag []string `protobuf:"bytes,2,rep,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*DeleteSpacesRequest) Descriptor
deprecated
func (*DeleteSpacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSpacesRequest.ProtoReflect.Descriptor instead.
func (*DeleteSpacesRequest) GetEtag ¶
func (x *DeleteSpacesRequest) GetEtag() []string
func (*DeleteSpacesRequest) GetFields ¶
func (x *DeleteSpacesRequest) GetFields() []string
func (*DeleteSpacesRequest) ProtoMessage ¶
func (*DeleteSpacesRequest) ProtoMessage()
func (*DeleteSpacesRequest) ProtoReflect ¶
func (x *DeleteSpacesRequest) ProtoReflect() protoreflect.Message
func (*DeleteSpacesRequest) Reset ¶
func (x *DeleteSpacesRequest) Reset()
func (*DeleteSpacesRequest) String ¶
func (x *DeleteSpacesRequest) String() string
type InputArticle ¶
type InputArticle struct { // Unique ID of the latest version of an existing resource. Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` // [VALUE]: -------------------------------------- // Space ID associated with. SpaceId int64 `protobuf:"varint,8,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Indicates if article is active and actual. State bool `protobuf:"varint,9,opt,name=state,proto3" json:"state,omitempty"` // The text content of the article. Text string `protobuf:"bytes,10,opt,name=text,proto3" json:"text,omitempty"` // Tags associated with the article. Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` // The title of the article. Title string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"` // The parent article ID. ParentArticle int64 `protobuf:"varint,13,opt,name=parent_article,json=parentArticle,proto3" json:"parent_article,omitempty"` // Indicates that the article is pinned on the top of list. Pinned bool `protobuf:"varint,15,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
An input of the Space's Articles.
func (*InputArticle) Descriptor
deprecated
func (*InputArticle) Descriptor() ([]byte, []int)
Deprecated: Use InputArticle.ProtoReflect.Descriptor instead.
func (*InputArticle) GetEtag ¶
func (x *InputArticle) GetEtag() string
func (*InputArticle) GetParentArticle ¶
func (x *InputArticle) GetParentArticle() int64
func (*InputArticle) GetPinned ¶
func (x *InputArticle) GetPinned() bool
func (*InputArticle) GetSpaceId ¶
func (x *InputArticle) GetSpaceId() int64
func (*InputArticle) GetState ¶
func (x *InputArticle) GetState() bool
func (*InputArticle) GetTags ¶
func (x *InputArticle) GetTags() []string
func (*InputArticle) GetText ¶
func (x *InputArticle) GetText() string
func (*InputArticle) GetTitle ¶
func (x *InputArticle) GetTitle() string
func (*InputArticle) ProtoMessage ¶
func (*InputArticle) ProtoMessage()
func (*InputArticle) ProtoReflect ¶
func (x *InputArticle) ProtoReflect() protoreflect.Message
func (*InputArticle) Reset ¶
func (x *InputArticle) Reset()
func (*InputArticle) String ¶
func (x *InputArticle) String() string
type InputSpace ¶
type InputSpace struct { // Unique ID of the latest version of an existing resorce. Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` // Represents the name of the knowledge base space. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // BIO. Short description about the space. // OPTIONAL. Multi-lined text. HomePage string `protobuf:"bytes,11,opt,name=home_page,json=homePage,proto3" json:"home_page,omitempty"` // The state of the space. State bool `protobuf:"varint,12,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
The Space principal input.
func (*InputSpace) Descriptor
deprecated
func (*InputSpace) Descriptor() ([]byte, []int)
Deprecated: Use InputSpace.ProtoReflect.Descriptor instead.
func (*InputSpace) GetEtag ¶
func (x *InputSpace) GetEtag() string
func (*InputSpace) GetHomePage ¶
func (x *InputSpace) GetHomePage() string
func (*InputSpace) GetName ¶
func (x *InputSpace) GetName() string
func (*InputSpace) GetState ¶
func (x *InputSpace) GetState() bool
func (*InputSpace) ProtoMessage ¶
func (*InputSpace) ProtoMessage()
func (*InputSpace) ProtoReflect ¶
func (x *InputSpace) ProtoReflect() protoreflect.Message
func (*InputSpace) Reset ¶
func (x *InputSpace) Reset()
func (*InputSpace) String ¶
func (x *InputSpace) String() string
type InputSpaceRequest ¶
type InputSpaceRequest struct { // JSON PATCH fields mask. // List of JPath fields specified in body(input). XJsonMask []string `protobuf:"bytes,1,rep,name=x_json_mask,json=xJsonMask,proto3" json:"x_json_mask,omitempty"` // Source Fields to return into result. Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // NEW Spaces source changes Input []*InputSpace `protobuf:"bytes,3,rep,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*InputSpaceRequest) Descriptor
deprecated
func (*InputSpaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use InputSpaceRequest.ProtoReflect.Descriptor instead.
func (*InputSpaceRequest) GetFields ¶
func (x *InputSpaceRequest) GetFields() []string
func (*InputSpaceRequest) GetInput ¶
func (x *InputSpaceRequest) GetInput() []*InputSpace
func (*InputSpaceRequest) GetXJsonMask ¶
func (x *InputSpaceRequest) GetXJsonMask() []string
func (*InputSpaceRequest) ProtoMessage ¶
func (*InputSpaceRequest) ProtoMessage()
func (*InputSpaceRequest) ProtoReflect ¶
func (x *InputSpaceRequest) ProtoReflect() protoreflect.Message
func (*InputSpaceRequest) Reset ¶
func (x *InputSpaceRequest) Reset()
func (*InputSpaceRequest) String ¶
func (x *InputSpaceRequest) String() string
type KnowledgebaseSearchClient ¶
type KnowledgebaseSearchClient interface {
SpacesArticlesSearch(ctx context.Context, in *CombinedSearchRequest, opts ...grpc.CallOption) (*CombinedList, error)
}
KnowledgebaseSearchClient is the client API for KnowledgebaseSearch 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.
Articles service catalogs.
func NewKnowledgebaseSearchClient ¶
func NewKnowledgebaseSearchClient(cc grpc.ClientConnInterface) KnowledgebaseSearchClient
type KnowledgebaseSearchServer ¶
type KnowledgebaseSearchServer interface { SpacesArticlesSearch(context.Context, *CombinedSearchRequest) (*CombinedList, error) // contains filtered or unexported methods }
KnowledgebaseSearchServer is the server API for KnowledgebaseSearch service. All implementations must embed UnimplementedKnowledgebaseSearchServer for forward compatibility.
Articles service catalogs.
type ListArticleVersionsRequest ¶
type ListArticleVersionsRequest struct { // Page number of result dataset records. offset = (page*size) Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Size count of records on result page. limit = (size++) Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Sort the result according to fields. Sort []string `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` // Record(s) with unique ID only. ArticleId string `protobuf:"bytes,7,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` // Space ID associated with. SpaceId string `protobuf:"bytes,5,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // contains filtered or unexported fields }
func (*ListArticleVersionsRequest) Descriptor
deprecated
func (*ListArticleVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArticleVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListArticleVersionsRequest) GetArticleId ¶
func (x *ListArticleVersionsRequest) GetArticleId() string
func (*ListArticleVersionsRequest) GetPage ¶
func (x *ListArticleVersionsRequest) GetPage() int32
func (*ListArticleVersionsRequest) GetSize ¶
func (x *ListArticleVersionsRequest) GetSize() int32
func (*ListArticleVersionsRequest) GetSort ¶
func (x *ListArticleVersionsRequest) GetSort() []string
func (*ListArticleVersionsRequest) GetSpaceId ¶
func (x *ListArticleVersionsRequest) GetSpaceId() string
func (*ListArticleVersionsRequest) ProtoMessage ¶
func (*ListArticleVersionsRequest) ProtoMessage()
func (*ListArticleVersionsRequest) ProtoReflect ¶
func (x *ListArticleVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListArticleVersionsRequest) Reset ¶
func (x *ListArticleVersionsRequest) Reset()
func (*ListArticleVersionsRequest) String ¶
func (x *ListArticleVersionsRequest) String() string
type ListArticlesRequest ¶
type ListArticlesRequest struct { // Page number of result dataset records. offset = (page*size) Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Size count of records on result page. limit = (size++) Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Sort the result according to fields. Sort []string `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` // Fields to be retrieved as a result. Fields []string `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` // Search term: location name; // `?` - matches any one character // `*` - matches 0 or more characters Q string `protobuf:"bytes,6,opt,name=q,proto3" json:"q,omitempty"` // Space ID associated with. SpaceId string `protobuf:"bytes,5,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Record(s) with unique ID only. ArticleId string `protobuf:"bytes,7,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` // Active Article only. State *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` // Tags associated with the article. Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
Search for the space's Article(s) request.
func (*ListArticlesRequest) Descriptor
deprecated
func (*ListArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArticlesRequest.ProtoReflect.Descriptor instead.
func (*ListArticlesRequest) GetArticleId ¶
func (x *ListArticlesRequest) GetArticleId() string
func (*ListArticlesRequest) GetFields ¶
func (x *ListArticlesRequest) GetFields() []string
func (*ListArticlesRequest) GetPage ¶
func (x *ListArticlesRequest) GetPage() int32
func (*ListArticlesRequest) GetQ ¶
func (x *ListArticlesRequest) GetQ() string
func (*ListArticlesRequest) GetSize ¶
func (x *ListArticlesRequest) GetSize() int32
func (*ListArticlesRequest) GetSort ¶
func (x *ListArticlesRequest) GetSort() []string
func (*ListArticlesRequest) GetSpaceId ¶
func (x *ListArticlesRequest) GetSpaceId() string
func (*ListArticlesRequest) GetState ¶
func (x *ListArticlesRequest) GetState() *wrapperspb.BoolValue
func (*ListArticlesRequest) GetTags ¶
func (x *ListArticlesRequest) GetTags() []string
func (*ListArticlesRequest) ProtoMessage ¶
func (*ListArticlesRequest) ProtoMessage()
func (*ListArticlesRequest) ProtoReflect ¶
func (x *ListArticlesRequest) ProtoReflect() protoreflect.Message
func (*ListArticlesRequest) Reset ¶
func (x *ListArticlesRequest) Reset()
func (*ListArticlesRequest) String ¶
func (x *ListArticlesRequest) String() string
type ListAttachmentsRequest ¶
type ListAttachmentsRequest struct { // Page number of result dataset records. offset = (page*size) Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Size count of records on result page. limit = (size++) Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Sort the result according to fields. Sort []string `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` // Space ID associated with. SpaceId string `protobuf:"bytes,5,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Record(s) with unique ID only. ArticleId string `protobuf:"bytes,7,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` // contains filtered or unexported fields }
func (*ListAttachmentsRequest) Descriptor
deprecated
func (*ListAttachmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.
func (*ListAttachmentsRequest) GetArticleId ¶
func (x *ListAttachmentsRequest) GetArticleId() string
func (*ListAttachmentsRequest) GetPage ¶
func (x *ListAttachmentsRequest) GetPage() int32
func (*ListAttachmentsRequest) GetSize ¶
func (x *ListAttachmentsRequest) GetSize() int32
func (*ListAttachmentsRequest) GetSort ¶
func (x *ListAttachmentsRequest) GetSort() []string
func (*ListAttachmentsRequest) GetSpaceId ¶
func (x *ListAttachmentsRequest) GetSpaceId() string
func (*ListAttachmentsRequest) ProtoMessage ¶
func (*ListAttachmentsRequest) ProtoMessage()
func (*ListAttachmentsRequest) ProtoReflect ¶
func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message
func (*ListAttachmentsRequest) Reset ¶
func (x *ListAttachmentsRequest) Reset()
func (*ListAttachmentsRequest) String ¶
func (x *ListAttachmentsRequest) String() string
type ListSpacesRequest ¶
type ListSpacesRequest struct { Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Limit of result page records count. _default(16); limit=(size<=0?-1:size+1);_ // // “`javascript // const // // default = 16 // , maximum = 32 // // ; // // “` Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Search term: // `?` - matches any character // `*` - matches 0 or more characters // Used to query records within a set of `qin` fields, eg: name, etc... Q string `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"` // Sort result dataset of records by fields. // “` // sort ::= *( ORDER name ) // // ORDER = ASC / DESC // DESC = "-" / "!" // ASC = [ "+" ] ; Default // “` // // # Fields available // // - `id`(seq) // - `domain`{name} // - `state` Sort []string `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` Fields []string `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` // Records with unique IDentifier(s). // Accept: `id` -or- `etag`. Id []string `protobuf:"bytes,6,rep,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListSpacesRequest) Descriptor
deprecated
func (*ListSpacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSpacesRequest.ProtoReflect.Descriptor instead.
func (*ListSpacesRequest) GetFields ¶
func (x *ListSpacesRequest) GetFields() []string
func (*ListSpacesRequest) GetId ¶
func (x *ListSpacesRequest) GetId() []string
func (*ListSpacesRequest) GetPage ¶
func (x *ListSpacesRequest) GetPage() int32
func (*ListSpacesRequest) GetQ ¶
func (x *ListSpacesRequest) GetQ() string
func (*ListSpacesRequest) GetSize ¶
func (x *ListSpacesRequest) GetSize() int32
func (*ListSpacesRequest) GetSort ¶
func (x *ListSpacesRequest) GetSort() []string
func (*ListSpacesRequest) ProtoMessage ¶
func (*ListSpacesRequest) ProtoMessage()
func (*ListSpacesRequest) ProtoReflect ¶
func (x *ListSpacesRequest) ProtoReflect() protoreflect.Message
func (*ListSpacesRequest) Reset ¶
func (x *ListSpacesRequest) Reset()
func (*ListSpacesRequest) String ¶
func (x *ListSpacesRequest) String() string
type ListTagsRequest ¶
type ListTagsRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetPage ¶
func (x *ListTagsRequest) GetPage() int32
func (*ListTagsRequest) GetSize ¶
func (x *ListTagsRequest) GetSize() int32
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type LocateArticleRequest ¶
type LocateArticleRequest struct { // Fields to be retrieved into result. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Space ID associated with. SpaceId string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // Unique Article link IDentifier. // Accept: `etag` (obsolete+) or `id`. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Locate single Link by unique IDentifier.
func (*LocateArticleRequest) Descriptor
deprecated
func (*LocateArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use LocateArticleRequest.ProtoReflect.Descriptor instead.
func (*LocateArticleRequest) GetEtag ¶
func (x *LocateArticleRequest) GetEtag() string
func (*LocateArticleRequest) GetFields ¶
func (x *LocateArticleRequest) GetFields() []string
func (*LocateArticleRequest) GetSpaceId ¶
func (x *LocateArticleRequest) GetSpaceId() string
func (*LocateArticleRequest) ProtoMessage ¶
func (*LocateArticleRequest) ProtoMessage()
func (*LocateArticleRequest) ProtoReflect ¶
func (x *LocateArticleRequest) ProtoReflect() protoreflect.Message
func (*LocateArticleRequest) Reset ¶
func (x *LocateArticleRequest) Reset()
func (*LocateArticleRequest) String ¶
func (x *LocateArticleRequest) String() string
type LocateArticleVersionRequest ¶
type LocateArticleVersionRequest struct { // Record(s) with unique ID only. ArticleId string `protobuf:"bytes,1,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"` // The unique ID of version record VersionId int64 `protobuf:"varint,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Space ID associated with. SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // contains filtered or unexported fields }
func (*LocateArticleVersionRequest) Descriptor
deprecated
func (*LocateArticleVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use LocateArticleVersionRequest.ProtoReflect.Descriptor instead.
func (*LocateArticleVersionRequest) GetArticleId ¶
func (x *LocateArticleVersionRequest) GetArticleId() string
func (*LocateArticleVersionRequest) GetSpaceId ¶
func (x *LocateArticleVersionRequest) GetSpaceId() string
func (*LocateArticleVersionRequest) GetVersionId ¶
func (x *LocateArticleVersionRequest) GetVersionId() int64
func (*LocateArticleVersionRequest) ProtoMessage ¶
func (*LocateArticleVersionRequest) ProtoMessage()
func (*LocateArticleVersionRequest) ProtoReflect ¶
func (x *LocateArticleVersionRequest) ProtoReflect() protoreflect.Message
func (*LocateArticleVersionRequest) Reset ¶
func (x *LocateArticleVersionRequest) Reset()
func (*LocateArticleVersionRequest) String ¶
func (x *LocateArticleVersionRequest) String() string
type LocateSpacesRequest ¶
type LocateSpacesRequest struct { // Source Fields to return into result. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // The Space source IDentifier. // Accept: `etag` (obsolete+) or `id`. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
func (*LocateSpacesRequest) Descriptor
deprecated
func (*LocateSpacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use LocateSpacesRequest.ProtoReflect.Descriptor instead.
func (*LocateSpacesRequest) GetEtag ¶
func (x *LocateSpacesRequest) GetEtag() string
func (*LocateSpacesRequest) GetFields ¶
func (x *LocateSpacesRequest) GetFields() []string
func (*LocateSpacesRequest) ProtoMessage ¶
func (*LocateSpacesRequest) ProtoMessage()
func (*LocateSpacesRequest) ProtoReflect ¶
func (x *LocateSpacesRequest) ProtoReflect() protoreflect.Message
func (*LocateSpacesRequest) Reset ¶
func (x *LocateSpacesRequest) Reset()
func (*LocateSpacesRequest) String ¶
func (x *LocateSpacesRequest) String() string
type Lookup ¶
type Lookup struct { // Reference Object unique ID. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Reference Object well-known type. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Reference Object display name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Lookup reference information. Simplified search filter to uniquely identify related object.
func (*Lookup) Descriptor
deprecated
func (*Lookup) ProtoMessage ¶
func (*Lookup) ProtoMessage()
func (*Lookup) ProtoReflect ¶
func (x *Lookup) ProtoReflect() protoreflect.Message
type Space ¶
type Space struct { // The unique ID of the association. Never changes. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // READONLY. Operational attributes // Version of the latest update. Numeric sequence. Ver int32 `protobuf:"varint,2,opt,name=ver,proto3" json:"ver,omitempty"` // Unique ID of the latest version of the update. // This ID changes after any update to the underlying value(s). Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // [R]ecord[b]ased[A]ccess[C]ontrol mode granted. Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"` // READONLY. The space's metadata. Domain *Lookup `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` // The timestamp when the space was created (in Unix time). CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // The user who created the space. CreatedBy *Lookup `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // The timestamp when the space was last updated (in Unix time). UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The user who last updated the space. UpdatedBy *Lookup `protobuf:"bytes,9,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // The name of the space. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // BIO. Short description about the space. HomePage string `protobuf:"bytes,11,opt,name=home_page,json=homePage,proto3" json:"home_page,omitempty"` // The state of the space. State bool `protobuf:"varint,12,opt,name=state,proto3" json:"state,omitempty"` // Indicates if the space has children. HasChildren bool `protobuf:"varint,13,opt,name=has_children,json=hasChildren,proto3" json:"has_children,omitempty"` // contains filtered or unexported fields }
func (*Space) Descriptor
deprecated
func (*Space) GetCreatedAt ¶
func (*Space) GetCreatedBy ¶
func (*Space) GetHasChildren ¶
func (*Space) GetHomePage ¶
func (*Space) GetUpdatedAt ¶
func (*Space) GetUpdatedBy ¶
func (*Space) ProtoMessage ¶
func (*Space) ProtoMessage()
func (*Space) ProtoReflect ¶
func (x *Space) ProtoReflect() protoreflect.Message
type SpaceList ¶
type SpaceList struct { // Space(s) dataset page. Data []*Space `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // The page number of the partial result. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // Indicates that this is a partial result. // More data available upon query: ?size=${data.len}&page=${page++} Next bool `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*SpaceList) Descriptor
deprecated
func (*SpaceList) ProtoMessage ¶
func (*SpaceList) ProtoMessage()
func (*SpaceList) ProtoReflect ¶
func (x *SpaceList) ProtoReflect() protoreflect.Message
type SpacesClient ¶
type SpacesClient interface { ListSpaces(ctx context.Context, in *ListSpacesRequest, opts ...grpc.CallOption) (*SpaceList, error) // Locate spaces source LocateSpace(ctx context.Context, in *LocateSpacesRequest, opts ...grpc.CallOption) (*Space, error) // Create NEW Space CreateSpace(ctx context.Context, in *InputSpaceRequest, opts ...grpc.CallOption) (*Space, error) // NEW Update of the Space source UpdateSpace(ctx context.Context, in *UpdateSpaceRequest, opts ...grpc.CallOption) (*Space, error) // Remove Space source DeleteSpace(ctx context.Context, in *DeleteSpaceRequest, opts ...grpc.CallOption) (*Space, error) }
SpacesClient is the client API for Spaces service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSpacesClient ¶
func NewSpacesClient(cc grpc.ClientConnInterface) SpacesClient
type SpacesServer ¶
type SpacesServer interface { ListSpaces(context.Context, *ListSpacesRequest) (*SpaceList, error) // Locate spaces source LocateSpace(context.Context, *LocateSpacesRequest) (*Space, error) // Create NEW Space CreateSpace(context.Context, *InputSpaceRequest) (*Space, error) // NEW Update of the Space source UpdateSpace(context.Context, *UpdateSpaceRequest) (*Space, error) // Remove Space source DeleteSpace(context.Context, *DeleteSpaceRequest) (*Space, error) // contains filtered or unexported methods }
SpacesServer is the server API for Spaces service. All implementations must embed UnimplementedSpacesServer for forward compatibility.
type Tag ¶
type Tag struct { // The name of the tag. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TagsClient ¶
type TagsClient interface { // List of the all Articles's Tag(s). ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*TagsList, error) }
TagsClient is the client API for Tags service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTagsClient ¶
func NewTagsClient(cc grpc.ClientConnInterface) TagsClient
type TagsList ¶
type TagsList struct { Data []*Tag `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Next bool `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*TagsList) Descriptor
deprecated
func (*TagsList) ProtoMessage ¶
func (*TagsList) ProtoMessage()
func (*TagsList) ProtoReflect ¶
func (x *TagsList) ProtoReflect() protoreflect.Message
type TagsServer ¶
type TagsServer interface { // List of the all Articles's Tag(s). ListTags(context.Context, *ListTagsRequest) (*TagsList, error) // contains filtered or unexported methods }
TagsServer is the server API for Tags service. All implementations must embed UnimplementedTagsServer for forward compatibility.
type UnimplementedArticlesServer ¶
type UnimplementedArticlesServer struct{}
UnimplementedArticlesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedArticlesServer) ArticleVersionsList ¶
func (UnimplementedArticlesServer) ArticleVersionsList(context.Context, *ListArticleVersionsRequest) (*ArticleVersionList, error)
func (UnimplementedArticlesServer) ArticlesAttachmentList ¶
func (UnimplementedArticlesServer) ArticlesAttachmentList(context.Context, *ListAttachmentsRequest) (*AttachmentList, error)
func (UnimplementedArticlesServer) CreateArticle ¶
func (UnimplementedArticlesServer) CreateArticle(context.Context, *CreateArticleRequest) (*ArticleList, error)
func (UnimplementedArticlesServer) DeleteArticle ¶
func (UnimplementedArticlesServer) DeleteArticle(context.Context, *DeleteArticleRequest) (*Article, error)
func (UnimplementedArticlesServer) ListArticles ¶
func (UnimplementedArticlesServer) ListArticles(context.Context, *ListArticlesRequest) (*ArticleList, error)
func (UnimplementedArticlesServer) LocateArticle ¶
func (UnimplementedArticlesServer) LocateArticle(context.Context, *LocateArticleRequest) (*Article, error)
func (UnimplementedArticlesServer) LocateArticleVersion ¶
func (UnimplementedArticlesServer) LocateArticleVersion(context.Context, *LocateArticleVersionRequest) (*ArticleVersion, error)
func (UnimplementedArticlesServer) UpdateArticle ¶
func (UnimplementedArticlesServer) UpdateArticle(context.Context, *UpdateArticleRequest) (*ArticleList, error)
type UnimplementedKnowledgebaseSearchServer ¶
type UnimplementedKnowledgebaseSearchServer struct{}
UnimplementedKnowledgebaseSearchServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKnowledgebaseSearchServer) SpacesArticlesSearch ¶
func (UnimplementedKnowledgebaseSearchServer) SpacesArticlesSearch(context.Context, *CombinedSearchRequest) (*CombinedList, error)
type UnimplementedSpacesServer ¶
type UnimplementedSpacesServer struct{}
UnimplementedSpacesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSpacesServer) CreateSpace ¶
func (UnimplementedSpacesServer) CreateSpace(context.Context, *InputSpaceRequest) (*Space, error)
func (UnimplementedSpacesServer) DeleteSpace ¶
func (UnimplementedSpacesServer) DeleteSpace(context.Context, *DeleteSpaceRequest) (*Space, error)
func (UnimplementedSpacesServer) ListSpaces ¶
func (UnimplementedSpacesServer) ListSpaces(context.Context, *ListSpacesRequest) (*SpaceList, error)
func (UnimplementedSpacesServer) LocateSpace ¶
func (UnimplementedSpacesServer) LocateSpace(context.Context, *LocateSpacesRequest) (*Space, error)
func (UnimplementedSpacesServer) UpdateSpace ¶
func (UnimplementedSpacesServer) UpdateSpace(context.Context, *UpdateSpaceRequest) (*Space, error)
type UnimplementedTagsServer ¶
type UnimplementedTagsServer struct{}
UnimplementedTagsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTagsServer) ListTags ¶
func (UnimplementedTagsServer) ListTags(context.Context, *ListTagsRequest) (*TagsList, error)
type UnsafeArticlesServer ¶
type UnsafeArticlesServer interface {
// contains filtered or unexported methods
}
UnsafeArticlesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ArticlesServer will result in compilation errors.
type UnsafeKnowledgebaseSearchServer ¶
type UnsafeKnowledgebaseSearchServer interface {
// contains filtered or unexported methods
}
UnsafeKnowledgebaseSearchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KnowledgebaseSearchServer will result in compilation errors.
type UnsafeSpacesServer ¶
type UnsafeSpacesServer interface {
// contains filtered or unexported methods
}
UnsafeSpacesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SpacesServer will result in compilation errors.
type UnsafeTagsServer ¶
type UnsafeTagsServer interface {
// contains filtered or unexported methods
}
UnsafeTagsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagsServer will result in compilation errors.
type UpdateArticleRequest ¶
type UpdateArticleRequest struct { // JSON PATCH fields mask. // List of JPath fields specified in body(input). XJsonMask []string `protobuf:"bytes,1,rep,name=x_json_mask,json=xJsonMask,proto3" json:"x_json_mask,omitempty"` // Fields to be retrieved into result of changes. Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // Link space ID. SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // NEW Update of the Article link. Input *InputArticle `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*UpdateArticleRequest) Descriptor
deprecated
func (*UpdateArticleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateArticleRequest.ProtoReflect.Descriptor instead.
func (*UpdateArticleRequest) GetFields ¶
func (x *UpdateArticleRequest) GetFields() []string
func (*UpdateArticleRequest) GetInput ¶
func (x *UpdateArticleRequest) GetInput() *InputArticle
func (*UpdateArticleRequest) GetSpaceId ¶
func (x *UpdateArticleRequest) GetSpaceId() string
func (*UpdateArticleRequest) GetXJsonMask ¶
func (x *UpdateArticleRequest) GetXJsonMask() []string
func (*UpdateArticleRequest) ProtoMessage ¶
func (*UpdateArticleRequest) ProtoMessage()
func (*UpdateArticleRequest) ProtoReflect ¶
func (x *UpdateArticleRequest) ProtoReflect() protoreflect.Message
func (*UpdateArticleRequest) Reset ¶
func (x *UpdateArticleRequest) Reset()
func (*UpdateArticleRequest) String ¶
func (x *UpdateArticleRequest) String() string
type UpdateSpaceRequest ¶
type UpdateSpaceRequest struct { // JSON PATCH fields mask. // List of JPath fields specified in body(input). XJsonMask []string `protobuf:"bytes,1,rep,name=x_json_mask,json=xJsonMask,proto3" json:"x_json_mask,omitempty"` // Source Fields to return into result. Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // NEW Space source changes Input *InputSpace `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*UpdateSpaceRequest) Descriptor
deprecated
func (*UpdateSpaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSpaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateSpaceRequest) GetFields ¶
func (x *UpdateSpaceRequest) GetFields() []string
func (*UpdateSpaceRequest) GetInput ¶
func (x *UpdateSpaceRequest) GetInput() *InputSpace
func (*UpdateSpaceRequest) GetXJsonMask ¶
func (x *UpdateSpaceRequest) GetXJsonMask() []string
func (*UpdateSpaceRequest) ProtoMessage ¶
func (*UpdateSpaceRequest) ProtoMessage()
func (*UpdateSpaceRequest) ProtoReflect ¶
func (x *UpdateSpaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateSpaceRequest) Reset ¶
func (x *UpdateSpaceRequest) Reset()
func (*UpdateSpaceRequest) String ¶
func (x *UpdateSpaceRequest) String() string