Documentation ¶
Index ¶
- Variables
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetCreatedAt() *timestamppb.Timestamp
- func (x *Collection) GetDescription() string
- func (x *Collection) GetId() string
- func (x *Collection) GetKnowledgeBaseId() string
- func (x *Collection) GetOwnerId() string
- func (x *Collection) GetTopic() string
- func (x *Collection) GetTopicIds() []string
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type KnowledgeBase
- func (*KnowledgeBase) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeBase) GetCollections() []*Collection
- func (x *KnowledgeBase) GetCreatedAt() *timestamppb.Timestamp
- func (x *KnowledgeBase) GetDescription() string
- func (x *KnowledgeBase) GetId() string
- func (x *KnowledgeBase) GetOwnerId() string
- func (x *KnowledgeBase) GetTopic() string
- func (*KnowledgeBase) ProtoMessage()
- func (x *KnowledgeBase) ProtoReflect() protoreflect.Message
- func (x *KnowledgeBase) Reset()
- func (x *KnowledgeBase) String() string
- type Topic
- func (*Topic) Descriptor() ([]byte, []int)deprecated
- func (x *Topic) GetCollectionId() string
- func (x *Topic) GetCreatedAt() *timestamppb.Timestamp
- func (x *Topic) GetDescription() string
- func (x *Topic) GetId() string
- func (x *Topic) GetKnowledgeBaseId() string
- func (x *Topic) GetOrder() int32
- func (x *Topic) GetOwnerId() string
- func (x *Topic) GetTopic() string
- func (*Topic) ProtoMessage()
- func (x *Topic) ProtoReflect() protoreflect.Message
- func (x *Topic) Reset()
- func (x *Topic) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_v1_common_collection_proto protoreflect.FileDescriptor
View Source
var File_api_v1_common_knowledge_base_proto protoreflect.FileDescriptor
View Source
var File_api_v1_common_topic_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` KnowledgeBaseId string `protobuf:"bytes,2,opt,name=knowledge_base_id,json=knowledgeBaseId,proto3" json:"knowledge_base_id,omitempty"` OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Topic string `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` TopicIds []string `protobuf:"bytes,6,rep,name=topic_ids,json=topicIds,proto3" json:"topic_ids,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetCreatedAt ¶
func (x *Collection) GetCreatedAt() *timestamppb.Timestamp
func (*Collection) GetDescription ¶
func (x *Collection) GetDescription() string
func (*Collection) GetId ¶
func (x *Collection) GetId() string
func (*Collection) GetKnowledgeBaseId ¶
func (x *Collection) GetKnowledgeBaseId() string
func (*Collection) GetOwnerId ¶
func (x *Collection) GetOwnerId() string
func (*Collection) GetTopic ¶
func (x *Collection) GetTopic() string
func (*Collection) GetTopicIds ¶
func (x *Collection) GetTopicIds() []string
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type KnowledgeBase ¶
type KnowledgeBase struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Collections []*Collection `protobuf:"bytes,5,rep,name=collections,proto3" json:"collections,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*KnowledgeBase) Descriptor
deprecated
func (*KnowledgeBase) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeBase.ProtoReflect.Descriptor instead.
func (*KnowledgeBase) GetCollections ¶
func (x *KnowledgeBase) GetCollections() []*Collection
func (*KnowledgeBase) GetCreatedAt ¶
func (x *KnowledgeBase) GetCreatedAt() *timestamppb.Timestamp
func (*KnowledgeBase) GetDescription ¶
func (x *KnowledgeBase) GetDescription() string
func (*KnowledgeBase) GetId ¶
func (x *KnowledgeBase) GetId() string
func (*KnowledgeBase) GetOwnerId ¶
func (x *KnowledgeBase) GetOwnerId() string
func (*KnowledgeBase) GetTopic ¶
func (x *KnowledgeBase) GetTopic() string
func (*KnowledgeBase) ProtoMessage ¶
func (*KnowledgeBase) ProtoMessage()
func (*KnowledgeBase) ProtoReflect ¶
func (x *KnowledgeBase) ProtoReflect() protoreflect.Message
func (*KnowledgeBase) Reset ¶
func (x *KnowledgeBase) Reset()
func (*KnowledgeBase) String ¶
func (x *KnowledgeBase) String() string
type Topic ¶
type Topic struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` KnowledgeBaseId string `protobuf:"bytes,2,opt,name=knowledge_base_id,json=knowledgeBaseId,proto3" json:"knowledge_base_id,omitempty"` CollectionId string `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` OwnerId string `protobuf:"bytes,4,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Topic string `protobuf:"bytes,5,opt,name=topic,proto3" json:"topic,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Order int32 `protobuf:"varint,7,opt,name=order,proto3" json:"order,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Topic) Descriptor
deprecated
func (*Topic) GetCollectionId ¶
func (*Topic) GetCreatedAt ¶
func (x *Topic) GetCreatedAt() *timestamppb.Timestamp
func (*Topic) GetDescription ¶
func (*Topic) GetKnowledgeBaseId ¶
func (*Topic) GetOwnerId ¶
func (*Topic) ProtoMessage ¶
func (*Topic) ProtoMessage()
func (*Topic) ProtoReflect ¶
func (x *Topic) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.