common

package
v0.0.0-...-953e6da Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use Topic.ProtoReflect.Descriptor instead.

func (*Topic) GetCollectionId

func (x *Topic) GetCollectionId() string

func (*Topic) GetCreatedAt

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

func (*Topic) GetDescription

func (x *Topic) GetDescription() string

func (*Topic) GetId

func (x *Topic) GetId() string

func (*Topic) GetKnowledgeBaseId

func (x *Topic) GetKnowledgeBaseId() string

func (*Topic) GetOrder

func (x *Topic) GetOrder() int32

func (*Topic) GetOwnerId

func (x *Topic) GetOwnerId() string

func (*Topic) GetTopic

func (x *Topic) GetTopic() string

func (*Topic) ProtoMessage

func (*Topic) ProtoMessage()

func (*Topic) ProtoReflect

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

func (*Topic) Reset

func (x *Topic) Reset()

func (*Topic) String

func (x *Topic) String() string

Jump to

Keyboard shortcuts

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